From f122a5ae87114ce2c137727b2d0f3fd3359fa74b Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Wed, 9 Apr 2014 07:35:38 +0000 Subject: [PATCH] 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. --- src/switch_ivr_play_say.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 2480d54a67..b174f25aa9 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -312,7 +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; } }