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:
parent
75b8f3e0a8
commit
4a8dace5ab
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue