From: Anthony Minessale Date: Fri, 21 May 2010 21:17:20 +0000 (-0500) Subject: remove race X-Git-Tag: git2svn-syncpoint-master~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb3090591389af6cf34a8c5e5e295ce0a2505774;p=thirdparty%2Ffreeswitch.git remove race --- 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); } }