mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
Fixed failure to close FS call when H.323 call is closed from remote in early phase.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user