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 2014-04-09 07:35:38 +00:00
parent 75b8f3e0a8
commit 4a8dace5ab
1 changed files with 1 additions and 0 deletions

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;
}
}