Fixed failure to close FS call when H.323 call is closed from remote in early phase.

This commit is contained in:
Robert Jongbloed 2012-09-25 12:55:41 +10:00
parent 4bb5c93e4a
commit 9d2aa0cd4c
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ void FSConnection::OnReleased()
m_rxAudioOpened.Signal(); // Just in case
m_txAudioOpened.Signal();
if (m_fsChannel == NULL) {
if (m_fsChannel != NULL) {
PTRACE(3, "mod_opal\tHanging up FS side");
switch_channel_hangup(m_fsChannel, (switch_call_cause_t)callEndReason.q931);
}