From 62daeafce4b29c0337a3d1e05c74ccca4c647710 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 19 Dec 2007 00:27:40 +0000 Subject: [PATCH] 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 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }