From 438dddc66827a22ab40f9071d26c8708f1bf0333 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 22 Mar 2010 17:32:03 +0000 Subject: [PATCH] minor tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17069 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }