From: Anthony Minessale Date: Thu, 10 Feb 2011 18:37:14 +0000 (-0600) Subject: don't bow out on att_xfer bridge X-Git-Tag: v1.2-rc1~187^2~13^2~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3546654615f88058fb6769fe79e07162602fa4af;p=thirdparty%2Ffreeswitch.git don't bow out on att_xfer bridge --- diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index be9b4994d6..b098ede2c7 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -637,8 +637,13 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc tech_pvt->other_tech_pvt && switch_test_flag(tech_pvt, TFLAG_BRIDGE) && switch_test_flag(tech_pvt->other_tech_pvt, TFLAG_BRIDGE) && + switch_channel_test_flag(tech_pvt->channel, CF_BRIDGED) && switch_channel_test_flag(tech_pvt->other_channel, CF_BRIDGED) && + + !switch_channel_test_flag(tech_pvt->channel, CF_INNER_BRIDGE) && + !switch_channel_test_flag(tech_pvt->other_channel, CF_INNER_BRIDGE) && + switch_channel_test_flag(tech_pvt->channel, CF_ANSWERED) && switch_channel_test_flag(tech_pvt->other_channel, CF_ANSWERED) && !--tech_pvt->bowout_frame_count <= 0) { const char *a_uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE);