pass callee_id on early
This commit is contained in:
parent
8015a3a0a6
commit
882b82aa91
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue