Skip to content
Snippets Groups Projects
Commit b631c8f3 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Stepan Salenikovich
Browse files

sips: fix bad ended call when hangup

When SIPS transport receives a BYE sip method,
the TLS connection is also closed at mostly the same moment.
But the handling of the BYE causes PJSIP trying to also send
an acknowledgement to this BYE. As the send cannot succeed
as the TLS session is closed and as the send return an error
in such case, PSIP ends the current INVITE by an error
and not by a success as it should do to process the BYE.
This patch fixes this problem by queueing PJSIP msg when
the TLS session is disconnected.

Change-Id: I416c1e98a8934bd794a654358c50f58141c76bac
Tuleap: #998
parent 7eea48ef
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment