提交 e127ca7d authored 作者: Robert Jongbloed's avatar Robert Jongbloed

Updated to current stable version of PTLib/OPAL.

上级 2b603088
......@@ -1031,7 +1031,7 @@ switch_status_t FSConnection::receive_message(switch_core_session_message_t *msg
{
PTRACE(2, "mod_opal\tRequesting switch to T.38");
PSafePtr<OpalConnection> other = GetOtherPartyConnection();
if (other != NULL && other->SwitchT38(true))
if (other != NULL && other->SwitchFaxMediaStreams(true))
switch_channel_set_flag(m_fsChannel, CF_REQ_MEDIA);
else {
PTRACE(1, "mod_opal\tMode change request to T.38 failed");
......
......@@ -32,13 +32,17 @@
#endif
#include <ptlib.h>
#include <opal/manager.h>
#if !defined(PTLIB_CHECK_VERSION)
#error PTLib is too old to use, must be >= 2.10.6
#ifndef OPAL_CHECK_VERSION
#define OPAL_CHECK_VERSION(a,b,c) 0
#endif
#include <opal/manager.h>
#include <opal/localep.h>
#if !OPAL_CHECK_VERSION(3,12,8)
#error OPAL is too old to use, must be >= 2.12.8
#endif
#include <ep/localep.h>
#include <h323/h323ep.h>
#include <iax2/iax2ep.h>
......@@ -53,11 +57,8 @@
#define MODNAME "mod_opal"
#ifndef OPAL_CHECK_VERSION
#define OPAL_CHECK_VERSION(a,b,c) 0
#endif
#define HAVE_T38 OPAL_T38_CAPABILITY
#define HAVE_T38 (OPAL_CHECK_VERSION(3,11,2) && OPAL_T38_CAPABILITY)
class FSEndPoint;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论