Commit d3844449 authored by Simon Morlat's avatar Simon Morlat
Browse files
parent fa541d67
......@@ -411,6 +411,15 @@ int belle_sip_client_transaction_send_request_to(belle_sip_client_transaction_t
} else if (t->base.request->dialog_queued){
/*this request was created by belle_sip_dialog_create_queued_request().*/
if (dialog == NULL){
belle_sip_error("belle_sip_client_transaction_send_request(): transaction [%p], cannot send"
" request because it was created in the context of a dialog that appears to be "
" no longer existing.", t);
return -1;
if (belle_sip_dialog_request_pending(dialog) || dialog->queued_ct!=NULL){
/*it cannot be sent immediately, queue the transaction into dialog*/
belle_sip_message("belle_sip_client_transaction_send_request(): transaction [%p], cannot send request now because dialog [%p] is busy"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment