From eb3090591389af6cf34a8c5e5e295ce0a2505774 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 21 May 2010 16:17:20 -0500 Subject: [PATCH] remove race --- src/mod/endpoints/mod_sofia/sofia.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 81b783debd..38cc457b34 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6524,8 +6524,6 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_ destination_number = switch_core_session_sprintf(b_session, "answer,intercept:%s", uuid); if ((c_session = switch_core_session_locate(uuid))) { switch_channel_t *c_channel = switch_core_session_get_channel(c_session); - - switch_channel_hangup(c_channel, SWITCH_CAUSE_ATTENDED_TRANSFER); switch_core_session_rwunlock(c_session); } }