git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-10-26 15:52:11 +00:00
parent a3839376f7
commit 280daaf56c

View File

@ -1927,7 +1927,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
}
if (caller_channel && !switch_channel_ready(caller_channel)) {
break;
goto notready;
}
if ((time(NULL) - start) > (time_t)timelimit_sec) {
@ -2011,6 +2011,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
}
notready:
if (!switch_channel_ready(caller_channel)) {
idx = IDX_CANCEL;
}