mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-25 02:51:30 +00:00
fix small broadcast bug
This commit is contained in:
parent
687dae1084
commit
4ef1eeb853
@ -560,8 +560,10 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
|
||||
|
||||
if (!switch_channel_test_flag(channel, CF_BROADCAST)) {
|
||||
switch_channel_set_flag(channel, CF_BROADCAST);
|
||||
if (inner) {
|
||||
inner--;
|
||||
}
|
||||
}
|
||||
|
||||
if (hold_bleg && switch_true(hold_bleg)) {
|
||||
if ((b_uuid = switch_channel_get_partner_uuid(channel))) {
|
||||
@ -611,7 +613,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se
|
||||
|
||||
if (switch_core_session_execute_application(session, app_name, app_arg) != SWITCH_STATUS_SUCCESS) {
|
||||
if (!inner || switch_channel_test_flag(channel, CF_STOP_BROADCAST)) switch_channel_clear_flag(channel, CF_BROADCAST);
|
||||
goto done;
|
||||
break;
|
||||
}
|
||||
|
||||
aftr = switch_micro_time_now();
|
||||
|
Loading…
x
Reference in New Issue
Block a user