提交 9b303411 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8235 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 21f73e68
...@@ -320,7 +320,7 @@ SWITCH_DECLARE_CONSTRUCTOR CoreSession::~CoreSession() ...@@ -320,7 +320,7 @@ SWITCH_DECLARE_CONSTRUCTOR CoreSession::~CoreSession()
if (session) { if (session) {
channel = switch_core_session_get_channel(session); channel = switch_core_session_get_channel(session);
if (switch_test_flag(this, S_HUP)) { if (switch_test_flag(this, S_HUP) && !switch_channel_test_flag(channel, CF_TRANSFER)) {
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
} }
switch_core_session_rwunlock(session); switch_core_session_rwunlock(session);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论