pass callee_id on early

This commit is contained in:
Anthony Minessale 2013-11-23 02:53:05 +05:00
parent 8015a3a0a6
commit 882b82aa91
1 changed files with 1 additions and 0 deletions

View File

@ -3478,6 +3478,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) { if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) {
status = SWITCH_STATUS_SUCCESS; status = SWITCH_STATUS_SUCCESS;
} else { } else {
switch_channel_pass_callee_id(peer_channel, caller_channel);
status = switch_channel_pre_answer(caller_channel); status = switch_channel_pre_answer(caller_channel);
} }
} else { } else {