[commit] r5111 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua
Author: mikej Date: Wed May 9 10:43:35 2007 New Revision: 5111 Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_stack.c Log: get event callbacks after you shutdown a ua so that we can handle call cleanup. Still to come on this is a tag to properly set this behavior. Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_stack.c ============================================================================== --- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_stack.c (original) +++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_stack.c Wed May 9 10:43:35 2007 @@ -271,7 +271,9 @@ 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;
participants (1)
-
Freeswitch SVN