]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
minor tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 22 Mar 2010 17:32:03 +0000 (17:32 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 22 Mar 2010 17:32:03 +0000 (17:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17069 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 66d61bd4ab24c9baaa03f63f4ad6a5ff8f0fbd93..2df902bcc45ffc0cf5278fa4eb0550b4fbda7722 100644 (file)
@@ -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;
        }