]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix bug where originate can return success when it should not
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:28:43 +0000 (11:28 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 16:28:43 +0000 (11:28 -0500)
src/switch_ivr_originate.c

index d1e3c37649aab6f82db186be3790494a2927ad5b..f204ee1f4e47fa93e646d969e8957bb10becc0e4 100644 (file)
@@ -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: