diff --git a/coreapi/bellesip_sal/sal_op_call.c b/coreapi/bellesip_sal/sal_op_call.c index c8a06a95b..c6e35e1db 100644 --- a/coreapi/bellesip_sal/sal_op_call.c +++ b/coreapi/bellesip_sal/sal_op_call.c @@ -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;