From 3f8b5a906944391e4ad087841e7b5b53be5bce5f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 30 Jan 2013 14:08:08 -0600 Subject: [PATCH] FS-5065 please test this version --- src/mod/endpoints/mod_sofia/sofia_glue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);