FSCORE-526

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16311 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-01-14 17:20:13 +00:00
parent 97fd8f359e
commit 99b45eb1fb
1 changed files with 1 additions and 2 deletions

View File

@ -1602,8 +1602,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_channel_set_flag(caller_channel, CF_PROXY_MODE);
} else {
if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) {
switch_ivr_media(switch_core_session_get_uuid(session), SMF_REBRIDGE);
switch_channel_set_flag(caller_channel, CF_PROXY_MODE);
switch_channel_set_variable(caller_channel, SWITCH_B_SDP_VARIABLE, NULL);
} else {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG,
"Channel is already up, delaying proxy mode 'till both legs are answered.\n");