提交 a4e031c0 authored 作者: Michael Jerris's avatar Michael Jerris

get event callbacks after you shutdown a ua so that we can handle call cleanup. …

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
上级 1be54b24
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论