fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8235 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
21f73e6827
commit
9b30341170
|
@ -320,7 +320,7 @@ SWITCH_DECLARE_CONSTRUCTOR CoreSession::~CoreSession()
|
|||
|
||||
if (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_core_session_rwunlock(session);
|
||||
|
|
Loading…
Reference in New Issue