Skip to content
  • Guillaume Roguez's avatar
    sips: fix bad ended call when hangup · b631c8f3
    Guillaume Roguez authored
    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
    b631c8f3