diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 66d61bd4ab..2df902bcc4 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -1020,7 +1020,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t status = SWITCH_STATUS_FALSE; } - if (caller_channel && !switch_channel_ready(caller_channel)) { + if (caller_channel && !switch_channel_up(caller_channel)) { status = SWITCH_STATUS_FALSE; }