]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
actually send bye on error condition
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Oct 2008 23:17:18 +0000 (23:17 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 10 Oct 2008 23:17:18 +0000 (23:17 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9950 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 7dfc3b989242fd0b623fdcb776da813fb2e2b7e8..d823b54964804083c81728642927be552a84bd26 100644 (file)
@@ -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);
                }
-
        }
 }