From ffb553bef52e221cfdf239361539af50bb91a23f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 28 Aug 2012 12:57:47 -0500 Subject: [PATCH] FS-4565 --resolve --- src/switch_ivr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 3296161c9d..0f98a9b856 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -556,9 +556,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se if (!switch_channel_test_flag(channel, CF_BRIDGED) || switch_channel_test_flag(channel, CF_BROADCAST)) { inner++; hold_bleg = NULL; - } else { + } + + if (!switch_channel_test_flag(channel, CF_BROADCAST)) { switch_channel_set_flag(channel, CF_BROADCAST); + inner--; } + if (hold_bleg && switch_true(hold_bleg)) { if ((b_uuid = switch_channel_get_partner_uuid(channel))) { const char *stream;