{\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
#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