From: Michael Jerris Date: Wed, 19 Dec 2007 00:27:40 +0000 (+0000) Subject: use the dialplan and context from caller profile not sofia profile on refer X-Git-Tag: v1.0-rc1~978 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62daeafce4b29c0337a3d1e05c74ccca4c647710;p=thirdparty%2Ffreeswitch.git use the dialplan and context from caller profile not sofia profile on refer git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6890 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 3cb19c6cd6..f5aa7c8d65 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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); }