From: Brian West Date: Thu, 20 Nov 2014 03:51:09 +0000 (-0600) Subject: FS-7021 #resolve X-Git-Tag: v1.4.15^2~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79de78a0fba1bd8379667b6cae73db00288f760e;p=thirdparty%2Ffreeswitch.git FS-7021 #resolve --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 10130dc224..65d3b0c496 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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 {