Avoid considering more phrase actions after break

Previously we would continue considering phrase actions even after
receiving a break action; we would only break on the next input
clause.  It appears the intent here was to break before the next
action.
This commit is contained in:
Travis Cross committed 2014-04-09 18:41:02 +00:00
1 parent 75b8f3e0a8
commit 4a8dace5ab
1 file changed
+1
+1
View File
@@ -312,6 +312,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
switch_ivr_sleep(session, pause, SWITCH_FALSE, NULL);
switch_safe_free(expanded);
switch_safe_free(substituted);
if (done) break;
}
}