From: Anthony Minessale Date: Tue, 28 Aug 2012 17:57:47 +0000 (-0500) Subject: FS-4565 --resolve X-Git-Tag: v1.2.3^2~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffb553bef52e221cfdf239361539af50bb91a23f;p=thirdparty%2Ffreeswitch.git FS-4565 --resolve --- 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;