]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fixed failure to close FS call when H.323 call is closed from remote in early phase.
authorRobert Jongbloed <robertj@voxlucida.com.au>
Tue, 25 Sep 2012 02:55:41 +0000 (12:55 +1000)
committerRobert Jongbloed <robertj@voxlucida.com.au>
Thu, 27 Sep 2012 00:16:11 +0000 (10:16 +1000)
src/mod/endpoints/mod_opal/mod_opal.cpp

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