mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
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.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5111 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1be54b24ac
commit
a4e031c021
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user