]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use the dialplan and context from caller profile not sofia profile on refer
authorMichael Jerris <mike@jerris.com>
Wed, 19 Dec 2007 00:27:40 +0000 (00:27 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 19 Dec 2007 00:27:40 +0000 (00:27 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6890 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 3cb19c6cd630477bb3768a1e1c39fe6e5f21b523..f5aa7c8d65ef4d7817beb1f0f6136a2861da184c 100644 (file)
@@ -1872,7 +1872,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t
 
                        if ((b_session = switch_core_session_locate(br))) {
                                switch_channel_set_variable(channel, "TRANSFER_FALLBACK", from->a_user);
-                               switch_ivr_session_transfer(b_session, exten, profile->dialplan, profile->context);
+                               switch_ivr_session_transfer(b_session, exten, NULL, NULL);
                                switch_core_session_rwunlock(b_session);
                        }