]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't bow out on att_xfer bridge
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 10 Feb 2011 18:37:14 +0000 (12:37 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 10 Feb 2011 18:37:14 +0000 (12:37 -0600)
src/mod/endpoints/mod_loopback/mod_loopback.c

index be9b4994d6f17ab9cff93f3ef3f2b78c88675285..b098ede2c707c2250fe8b020bedc6c597cd69854 100644 (file)
@@ -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);