Commit 3d283b29 authored by Simon Morlat's avatar Simon Morlat

stop transaction's retransmissions when a call is cancelled.

parent 648119fd
......@@ -1141,6 +1141,9 @@ int sal_call_terminate_with_error(SalOp *op, const SalErrorInfo *info){
* The state is passed to Terminating to remember to terminate later.
*/
op->state=SalOpStateTerminating;
/* However, even if the transaction is kept alive, we can stop sending retransmissions to avoid flowing the network with no longer
* necessary messages and avoid confusion in logs.*/
belle_sip_client_transaction_stop_retransmissions(op->pending_client_trans);
}
}
break;
......
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