From: Anthony Minessale Date: Fri, 10 Oct 2008 23:17:18 +0000 (+0000) Subject: actually send bye on error condition X-Git-Tag: v1.0.2~856 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca1cfb3198b376e428c163552d5c94c368d762bd;p=thirdparty%2Ffreeswitch.git actually send bye on error condition git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9950 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 7dfc3b9892..d823b54964 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -2166,11 +2166,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Sending CANCEL to orphan call.\n"); nua_cancel(nh, TAG_END()); } - - nua_handle_bind(nh, NULL); - nua_handle_destroy(nh); } - } }