]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3303 --resolve this was an edge case between fail_on_single_reject and group_confirm
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 18 May 2011 21:10:46 +0000 (16:10 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 18 May 2011 21:10:46 +0000 (16:10 -0500)
src/switch_ivr_originate.c

index b0a159eea99c4dcf78aad9ea2ad2de16ef3fa4fd..ff8aa88d666316e3af3b8c2b5f6ae5ade71ea09b 100644 (file)
@@ -2454,6 +2454,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
 
                                                if (fail_on_single_reject == 1 || switch_stristr(cause_str, fail_on_single_reject_var)) {
                                                        force_reason = reason;
+                                                       status = SWITCH_STATUS_FALSE;
                                                        goto outer_for;
                                                }
                                        }