mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 19:52:35 +00:00
FS-3555 --resolve
This commit is contained in:
parent
51b7445d40
commit
d9b096b44d
@ -1050,6 +1050,15 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t
|
|||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (switch_channel_test_flag(caller_channel, CF_XFER_ZOMBIE)) {
|
||||||
|
switch_channel_state_t peer_state = switch_channel_get_state(peer_channel);
|
||||||
|
|
||||||
|
while (switch_channel_ready(peer_channel) && switch_channel_get_state(peer_channel) == peer_state) {
|
||||||
|
switch_channel_ready(caller_channel);
|
||||||
|
switch_yield(20000);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (caller_channel && !switch_channel_up(caller_channel)) {
|
if (caller_channel && !switch_channel_up(caller_channel)) {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user