]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Updated to current stable version of PTLib/OPAL.
authorRobert Jongbloed <robertj@voxlucida.com.au>
Mon, 2 Dec 2013 22:48:06 +0000 (09:48 +1100)
committerRobert Jongbloed <robertj@voxlucida.com.au>
Mon, 2 Dec 2013 22:48:06 +0000 (09:48 +1100)
src/mod/endpoints/mod_opal/mod_opal.cpp [changed mode: 0644->0755]
src/mod/endpoints/mod_opal/mod_opal.h [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 6f0fb3a..7d97c29
@@ -1031,7 +1031,7 @@ switch_status_t FSConnection::receive_message(switch_core_session_message_t *msg
       {\r
         PTRACE(2, "mod_opal\tRequesting switch to T.38");\r
         PSafePtr<OpalConnection> other = GetOtherPartyConnection();\r
-        if (other != NULL && other->SwitchT38(true))\r
+        if (other != NULL && other->SwitchFaxMediaStreams(true))\r
             switch_channel_set_flag(m_fsChannel, CF_REQ_MEDIA);\r
         else {\r
             PTRACE(1, "mod_opal\tMode change request to T.38 failed");\r
old mode 100644 (file)
new mode 100755 (executable)
index 7b3993b..4b0cd62
 #endif\r
 \r
 #include <ptlib.h>\r
+#include <opal/manager.h>\r
 \r
-#if !defined(PTLIB_CHECK_VERSION)\r
-  #error PTLib is too old to use, must be >= 2.10.6\r
+#ifndef OPAL_CHECK_VERSION\r
+  #define OPAL_CHECK_VERSION(a,b,c) 0\r
 #endif\r
 \r
-#include <opal/manager.h>\r
-#include <opal/localep.h>\r
+#if !OPAL_CHECK_VERSION(3,12,8)\r
+  #error OPAL is too old to use, must be >= 2.12.8\r
+#endif\r
+\r
+#include <ep/localep.h>\r
 #include <h323/h323ep.h>\r
 #include <iax2/iax2ep.h>\r
 \r
 \r
 #define MODNAME "mod_opal"\r
 \r
-#ifndef OPAL_CHECK_VERSION\r
-  #define OPAL_CHECK_VERSION(a,b,c) 0\r
-#endif\r
+#define HAVE_T38 OPAL_T38_CAPABILITY\r
 \r
-#define HAVE_T38 (OPAL_CHECK_VERSION(3,11,2) && OPAL_T38_CAPABILITY)\r
 \r
 \r
 class FSEndPoint;\r