mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
stop transaction's retransmissions when a call is cancelled.
This commit is contained in:
parent
648119fd4b
commit
3d283b2953
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue