[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 10:47:12 CDT 2010


branch "transfer" has been updated
       via  c0f7a2d811ea73492b1170ca53031fcd2b543ff8 (commit)
      from  2c7f7440e30bc4d923823224bac18d933f93b813 (commit)

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


- Log -----------------------------------------------------------------
commit c0f7a2d811ea73492b1170ca53031fcd2b543ff8
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Oct 13 12:45:12 2010 -0300

    After performing the blind transfer stop the transferring session.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index ab5c9b8..fba705e 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -496,6 +496,8 @@ void PJSipSessionModule::handleRefer(pjsip_inv_session *inv, pjsip_rx_data *rdat
 	 SipSessionPtr session = session_mod_info->getSessionPtr();
 	 mSessionRouter->connectBridgedSessionsWithDestination(session->getSessionProxy(), target);
 	 pjsip_dlg_respond(inv->dlg, rdata, 200, NULL, NULL, NULL);
+	 Ice::Current current;
+	 session->stop(new ResponseCode(16), current);
       }
       catch (AsteriskSCF::Core::Routing::V1::DestinationNotFoundException&)
       {

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list