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:
parent
a5d295bda4
commit
62daeafce4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue