FS-7021 #resolve

This commit is contained in:
Brian West 2014-11-19 21:51:09 -06:00
parent c645ab3889
commit 79de78a0fb
1 changed files with 3 additions and 0 deletions

View File

@ -2458,6 +2458,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_ivr_sleep(oglobals.session, sleep_ms, SWITCH_TRUE, NULL);
if (!switch_channel_ready(caller_channel)) {
status = SWITCH_STATUS_FALSE;
/* set try and retries to 0 */
try = 0;
retries = 0;
goto done;
}
} else {