[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
Tue Oct 12 10:28:16 CDT 2010


branch "transfer" has been updated
       via  c3810529cf0895fc62a7f72d6de4b35ae495e979 (commit)
      from  ce69a3d44dd548559cc9745648839fd66add4369 (commit)

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


- Log -----------------------------------------------------------------
commit c3810529cf0895fc62a7f72d6de4b35ae495e979
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Oct 12 12:26:14 2010 -0300

    Respond successfully if a blind transfer progresses smoothly.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 3bcf3dd..f8900ad 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -427,6 +427,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);
+      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