]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
get event callbacks after you shutdown a ua so that we can handle call cleanup. ...
authorMichael Jerris <mike@jerris.com>
Wed, 9 May 2007 14:43:35 +0000 (14:43 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 9 May 2007 14:43:35 +0000 (14:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5111 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/libsofia-sip-ua/nua/nua_stack.c

index 9f10212981871755de319d055db2886a4cb611bf..95acc205e9a67ca7f8752743ffd5084d8af46bc2 100644 (file)
@@ -271,7 +271,9 @@ int nua_stack_event(nua_t *nua, nua_handle_t *nh, msg_t *msg,
   if ((event > nua_r_authenticate && event <= nua_r_ack)
       || event < nua_i_error
       || (nh && !nh->nh_valid)
-      || (nua->nua_shutdown && event != nua_r_shutdown)) {
+         /* disable hiding all events after shutdown so that we can get state callbacks to properly tear down our calls */
+      /* || (nua->nua_shutdown && event != nua_r_shutdown) */
+         ) {
     if (msg)
       msg_destroy(msg);
     return event;