From: Anthony Minessale Date: Wed, 27 Mar 2013 16:28:43 +0000 (-0500) Subject: fix bug where originate can return success when it should not X-Git-Tag: v1.3.17-final~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe24be75d6b5d360198a5294ab589520a63b5de;p=thirdparty%2Ffreeswitch.git fix bug where originate can return success when it should not --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index d1e3c37649..f204ee1f4e 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -3045,6 +3045,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess goto notready; break; case SWITCH_STATUS_BREAK: + status = SWITCH_STATUS_FALSE; goto done; break; default: