regression from a9d72bc35d

This commit is contained in:
Anthony Minessale
2012-09-11 14:31:35 -04:00
committed by Ken Rice
parent 29a4824b98
commit 35aaa693d0
+6 -2
View File
@@ -631,8 +631,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
}
}
if (!inner || switch_channel_test_flag(channel, CF_STOP_BROADCAST)) {
switch_channel_clear_flag(channel, CF_BROADCAST);
if (!inner) {
switch_channel_clear_flag(channel, CF_BROADCAST);
}
if (switch_channel_test_flag(channel, CF_STOP_BROADCAST)) {
switch_channel_clear_flag(channel, CF_BROADCAST);
switch_channel_set_flag(channel, CF_BREAK);
}