// Proceed to cancellation if the user requested.
if (this._is_canceled)
{
if (response.status_code >= 100 && response.status_code < 200)
{
this._request.cancel(this._cancel_reason);
}
else if (response.status_code >= 200 && response.status_code < 299)
{
this._acceptAndTerminate(response);
}
return;
}
When JSSIP canceled the operation when the status was 1XX received, is canceled flag was not set to true, which resulted in no ACK and BYE being sent when the subsequent 200 OK was received.
What do you thing about it? Is it a bug or am I wrong in my conclusions?
Hi, We have the following situation:
The Session is not ended in server and clientB, thus call is hanging until clientB trigger terminate of the session.
I've found the following code whice seems like the reason of the issue:
https://github.com/versatica/JsSIP/blob/master/lib/RTCSession.js#L850
https://github.com/versatica/JsSIP/blob/master/lib/RTCSession.js#L2772
When JSSIP canceled the operation when the status was 1XX received, is canceled flag was not set to true, which resulted in no ACK and BYE being sent when the subsequent 200 OK was received.
What do you thing about it? Is it a bug or am I wrong in my conclusions?