[SIPForum-discussion] Solving "the delaying bye" when 200OK is not ACK-ed

Paul Kyzivat pkyzivat at alum.mit.edu
Wed Apr 13 19:22:43 UTC 2016

On 4/12/16 11:45 AM, Nabila Salmi wrote:
> Hello experts,
> I use a the PJSUA library 2.2.1 in a voice server that i maintains.
> I'm facing a problem of  unfreed resources, when an incoming call
> arrives and the 180 response is sent, then 200OK, but this latter is not
> confirmed by the pabx (the ACK is never received), causing a continuous
> retransmission of 200OK, then a hangup of the call is launched by the
> server, which causes the delaying BYE problem. The non confirmed dialog
> is then never released and the BYE never sent. So, how to do ?
> Can anyone help me please ??

In this case you should be retransmitting the 200 a few times and then 
eventually timing out. At that point you can send the BYE and release 
the dialog.


More information about the discussion mailing list