From 7d328478949ec67baf97457f6b1d3d02d015a39b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 28 Jul 2010 14:18:49 -0500 Subject: [PATCH] only do this when we are a SCA call --- src/mod/endpoints/mod_sofia/sofia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index e4736690b7..ae1e78698f 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6593,10 +6593,10 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_ int do_conf = 0; const char *c_app = NULL; const char *c_data = NULL; - + uuid = switch_core_session_strdup(b_session, uuid); - if ((c_session = switch_core_session_locate(uuid))) { + if (call_info && (c_session = switch_core_session_locate(uuid))) { switch_channel_t *c_channel = switch_core_session_get_channel(c_session); private_object_t *c_tech_pvt = NULL;