提交 996cfa54 authored 作者: Anthony Minessale's avatar Anthony Minessale

force swap thing on hangup to find hangup hook

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8362 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8c273b1c
...@@ -435,7 +435,9 @@ SWITCH_DECLARE(void) CoreSession::hangup(char *cause) ...@@ -435,7 +435,9 @@ SWITCH_DECLARE(void) CoreSession::hangup(char *cause)
{ {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "CoreSession::hangup\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "CoreSession::hangup\n");
sanity_check_noreturn; sanity_check_noreturn;
this->begin_allow_threads();
switch_channel_hangup(channel, switch_channel_str2cause(cause)); switch_channel_hangup(channel, switch_channel_str2cause(cause));
this->end_allow_threads();
} }
SWITCH_DECLARE(void) CoreSession::setPrivate(char *var, void *val) SWITCH_DECLARE(void) CoreSession::setPrivate(char *var, void *val)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论