regression from a9d72bc35d

This commit is contained in:
Anthony Minessale
2012-09-06 11:32:50 -05:00
parent 4cb0e2e5bd
commit d528ceee19

View File

@@ -631,7 +631,11 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
}
}
if (!inner || switch_channel_test_flag(channel, CF_STOP_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);
}