[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "transfer" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Oct 13 14:24:06 CDT 2010


branch "transfer" has been updated
       via  9bc2c4cf3c7b265ba02e2f23354f946a05dd96cb (commit)
      from  c0f7a2d811ea73492b1170ca53031fcd2b543ff8 (commit)

Summary of changes:
 src/PJSipSessionModule.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 9bc2c4cf3c7b265ba02e2f23354f946a05dd96cb
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Oct 13 16:21:57 2010 -0300

    Actually hang the transferer session up when completing an attended transfer.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index fba705e..637b512 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -478,6 +478,8 @@ void PJSipSessionModule::handleRefer(pjsip_inv_session *inv, pjsip_rx_data *rdat
       {
 	 mSessionRouter->connectBridgedSessions(session->getSessionProxy(), other_session->getSessionProxy());
 	 pjsip_dlg_respond(inv->dlg, rdata, 200, NULL, NULL, NULL);
+	 Ice::Current current;
+	 session->stop(new ResponseCode(16), current);
       }
       catch (...)
       {

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list