From ca1cfb3198b376e428c163552d5c94c368d762bd Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 10 Oct 2008 23:17:18 +0000 Subject: [PATCH] actually send bye on error condition git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9950 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 4 ---- 1 file changed, 4 deletions(-) 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); } - } }