[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 03:54:11 CDT 2010


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

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


- Log -----------------------------------------------------------------
commit 2c7f7440e30bc4d923823224bac18d933f93b813
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Oct 13 05:52:00 2010 -0300

    Update to latest slice, which is essentially renaming two things to better describe what is actually happening.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index b7c28e8..ab5c9b8 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -476,7 +476,7 @@ void PJSipSessionModule::handleRefer(pjsip_inv_session *inv, pjsip_rx_data *rdat
 
       try
       {
-	 mSessionRouter->replaceSessionWithSession(session->getSessionProxy(), other_session->getSessionProxy());
+	 mSessionRouter->connectBridgedSessions(session->getSessionProxy(), other_session->getSessionProxy());
 	 pjsip_dlg_respond(inv->dlg, rdata, 200, NULL, NULL, NULL);
       }
       catch (...)
@@ -494,7 +494,7 @@ void PJSipSessionModule::handleRefer(pjsip_inv_session *inv, pjsip_rx_data *rdat
       {
 	 PJSipSessionModInfo *session_mod_info = (PJSipSessionModInfo*)inv->mod_data[mModule.id];
 	 SipSessionPtr session = session_mod_info->getSessionPtr();
-	 mSessionRouter->replaceSessionWithDestination(session->getSessionProxy(), target);
+	 mSessionRouter->connectBridgedSessionsWithDestination(session->getSessionProxy(), target);
 	 pjsip_dlg_respond(inv->dlg, rdata, 200, NULL, NULL, NULL);
       }
       catch (AsteriskSCF::Core::Routing::V1::DestinationNotFoundException&)

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list