]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5065 please test this version
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Jan 2013 20:08:08 +0000 (14:08 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Jan 2013 20:08:08 +0000 (14:08 -0600)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 859214237d75cf83a2f7252422830352f9c374d2..79d33fc4974ce5ddf2bde88b666eda5bdd54402e 100644 (file)
@@ -6802,7 +6802,8 @@ int sofia_glue_tech_simplify(private_object_t *tech_pvt)
                goto end;
        }
 
-       if ((uuid = switch_channel_get_partner_uuid(tech_pvt->channel)) && (other_session = switch_core_session_locate(uuid))) {
+       if (switch_channel_test_flag(tech_pvt->channel, CF_BRIDGED) && 
+               (uuid = switch_channel_get_partner_uuid(tech_pvt->channel)) && (other_session = switch_core_session_locate(uuid))) {
 
                other_channel = switch_core_session_get_channel(other_session);