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
This commit is contained in:
Michael Jerris 2007-12-19 00:27:40 +00:00
parent a5d295bda4
commit 62daeafce4
1 changed files with 1 additions and 1 deletions

View 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);
}