regression from a9d72bc35d0e021f8db1ea480b1ddb0744d73bac

This commit is contained in:
Anthony Minessale 2012-09-06 11:32:50 -05:00 committed by Ken Rice
parent 29a4824b98
commit 35aaa693d0

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