Author: mikej Date: Tue Dec 18 19:27:40 2007 New Revision: 6890 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Log: use the dialplan and context from caller profile not sofia profile on refer Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Tue Dec 18 19:27:40 2007 @@ -1872,7 +1872,7 @@ 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); }