Restcomm - 解决SMSC GW 7.2配置失败

时间:2017-01-29 14:05:01

标签: jboss sms-gateway smpp restcomm ss7

我们将最新版本(7.2)SMSC-GW配置为在我们的服务器上使用环境(cassandra等)。然而,在设置好一切之后。出现了一些故障(在以前的版本中没有出现)。

首先,使用默认设置(JSS7< - > SMSCGW< - > SMPP)连接模拟器和网关时

  1. JSS7已连接并发送,但未收到任何响应。
  2. SMPP连接到SMSC-GW并绑定EMSE。 SMPP尝试发送到SS7但从SMSC-GW
  3. 收到响应PDU数据包故障

    我尝试配置数据库路由规则,但这不起作用。

    此外,SMSC-GW服务器中的日志经常显示以下消息:

    16:00:28,504 INFO  [SchedulerResourceAdaptor] (pool-56-thread-1) Not all SBB are running now: ServicesDownList=[smscTxSmppServerServiceState, smscRxSmppServerServiceState, smscTxSipServerServiceState, smscRxSipServerServiceState, smscTxHttpServerServiceState, moServiceState, homeRoutingServiceState, mtServiceState, alertServiceState, chargingServiceState, ]
    

    JSS7管理控制台GUI正在显示(看起来不对):

    enter image description here

    这些是SMSC-GW失败的根源吗?

    更新:我在server.log

    中发现了这个错误
    2017-02-02 10:57:42,005 WARN  [org.mobicents.slee.container.deployment.jboss.SleeContainerDeployerImpl] (SLEE-InternalDeployer-thread-1) SLEE DUs not deployed, due to missing dependencies: file:/home/coreteam/kitchensink/restcomm-smsc-7.2.109/jboss-5.1.0.GA/server/simulator/deploy/smsc-services-du-7.2.109.jar/
    

    其次是:

    EventTypeID[name=org.mobicents.smsc.slee.services.smpp.server.events.SS7_SEND_MT,vendor=org.mobicents,version=1.0]
    ResourceAdaptorTypeID[name=PersistenceResourceAdaptorType,vendor=org.mobicents,version=1.0]
    ResourceAdaptorTypeID[name=SchedulerResourceAdaptorType,vendor=org.mobicents,version=1.0]
    SipRA
    EventTypeID[name=org.mobicents.smsc.slee.services.smpp.server.events.SS7_SEND_RSDS,vendor=org.mobicents,version=1.0]
    SchedulerResourceAdaptor^M
    PersistenceResourceAdaptor^M
    EventTypeID[name=org.mobicents.smsc.slee.services.smpp.server.events.SMPP_SM,vendor=org.mobicents,version=1.0]
    EventTypeID[name=org.mobicents.smsc.slee.services.smpp.server.events.SS7_SM,vendor=org.mobicents,version=1.0]
    EventTypeID[name=org.mobicents.smsc.slee.services.smpp.server.events.SIP_SM,vendor=org.mobicents,version=1.0]
    2017-02-02 14:41:17,450 WARN  [org.mobicents.slee.container.deployment.jboss.DeploymentManager] (main) Unable to INSTALL smsc-services-du-7.3.0-SNAPSHOT.jar right now. Waiting for dependencies to be resolved.
    

1 个答案:

答案 0 :(得分:0)

很久以前解决了这个问题,但我想我会分享。我只是通过在 deploy-config.xml 文件中添加以下内容来简单地安装了SipRA缺失依赖项:

<ra-entity
resource-adaptor-id="ResourceAdaptorID[name=JainSipResourceAdaptor,vendor=net.java.slee.sip,version=1.2]"
entity-name="SipRA">
<properties>
    <property name="javax.sip.PORT" type="java.lang.Integer" value="5060" />
</properties>
<ra-link name="SipRA" />

在$ JBOSS_HOME / server / profile_name / deploy / restcomm-slee目录中。

我将端口设置为其他值,因为其他服务已经使用该数字。

下次运行SMSC-GW时会自动安装smsc-services-du-7.2.109.jar