]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5085 I discovered that the bowout is happening from both legs at once, we only...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 8 May 2013 18:17:07 +0000 (13:17 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 8 May 2013 18:17:45 +0000 (13:17 -0500)
src/mod/endpoints/mod_loopback/mod_loopback.c

index 430c0e1dda7796cbc3721db36148b4f1de1371bb..0c0e64a548057fbf102f5c7df02619aae6534d4f 100644 (file)
@@ -800,6 +800,7 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc
        if (!switch_test_flag(tech_pvt, TFLAG_BOWOUT) &&
                tech_pvt->other_tech_pvt &&
                switch_test_flag(tech_pvt, TFLAG_BRIDGE) &&
+               !switch_test_flag(tech_pvt, TFLAG_BLEG) &&
                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) &&