From: Anthony Minessale Date: Wed, 30 Jan 2013 20:08:08 +0000 (-0600) Subject: FS-5065 please test this version X-Git-Tag: v1.3.13~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8b5a906944391e4ad087841e7b5b53be5bce5f;p=thirdparty%2Ffreeswitch.git FS-5065 please test this version --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 859214237d..79d33fc497 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -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);