From 68892e25a30cd296f61ea90ec405917a96f4c689 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Tue, 26 Apr 2011 18:43:28 -0400 Subject: [PATCH] [#5666] Emit bye request when subscription is terminated --- sflphone-common/src/sip/sipvoiplink.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 9b2fa66954..f218ee6aea 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -4509,9 +4509,9 @@ void transfer_client_cb (pjsip_evsub *sub, pjsip_event *event) _debug ("UserAgent: Fail to send end session msg!"); } - // link->transferStep2 (call); - cont = PJ_FALSE; + + Manager::instance().hangupCall(call->getCallId()); } if (!cont) { @@ -4573,7 +4573,7 @@ void transfer_server_cb (pjsip_evsub *sub, pjsip_event *event) call->setXferSub (NULL); - Manager::instance().hangupCall(call->getCallId()); + // Manager::instance().hangupCall(call->getCallId()); _error ("UserAgent: Xfer server subscription terminated"); } -- GitLab