Restcomm gmlc配置问题主地址

时间:2017-12-13 18:10:04

标签: restcomm

我在尝试在Windows Server 2008 R2上配置restcomm gmlc时遇到问题。我收到了这条消息

enter image description here

下图是HLR和Windows服务器的设置

enter image description here

以下是设置

GmlcManagement_gmlcproperties.xml

<?xml version="1.0" encoding="UTF-8" ?>
<gmlcgt value="237694000089"/>
<gmlcssn value="145"/>
<hlrssn value="6"/>
<mscssn value="6"/>
<maxmapv value="3"/>

Mtp3UserPart_m3ua1.xml

<?xml version="1.0" encoding="UTF-8" ?>
<heartbeattime value="10000"/>
<aspFactoryList>
    <aspFactory name="timbr_asp1" assocName="timbr_ass1" started="false" maxseqnumber="256" aspid="2" heartbeat="false"/>
</aspFactoryList>
<asList>
    <as name="timbr_as1" minAspActiveForLb="1" functionality="IPSP" exchangeType="SE" ipspType="CLIENT">
        <routingContext size="1">
            <rc value="102"/>
        </routingContext>
        <networkAppearance value="8"/>
        <trafficMode mode="2"/>
        <defTrafficMode mode="2"/>
        <asps>
            <asp name="timbr_asp1"/>
        </asps>
    </as>
</asList>
<route>
    <key value="89:42:3"/>
    <routeAs trafficModeType="2" as="timbr_as1"/>
</route>

SccpStack_sccpresource2.xml

<?xml version="1.0" encoding="UTF-8" ?>
<remoteSsns>
    <id value="1"/>
    <value remoteSpc="42" remoteSsn="6" remoteSsnFlag="0" markProhibitedWhenSpcResuming="false"/>
</remoteSsns>
<remoteSpcs>
    <id value="1"/>
    <value remoteSpc="42" remoteSpcFlag="0" mask="0"/>
</remoteSpcs>
<concernedSpcs/>

SccpStack_sccprouter2.xml

<?xml version="1.0" encoding="UTF-8" ?>
<rule>
    <id value="1"/>
    <value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="RemoteOriginated" mask="K" paddress="1" saddress="-1" networkId="0">
        <patternSccpAddress pc="42" ssn="6">
            <ai value="18"/>
            <gt type="GT0100" tt="0" es="2" np="1" nai="4" digits="237694000089"/>
        </patternSccpAddress>
    </value>
    <id value="2"/>
    <value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="LocalOriginated" mask="K" paddress="2" saddress="-1" networkId="0">
        <patternSccpAddress pc="89" ssn="145">
            <ai value="16"/>
            <gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="*"/>
        </patternSccpAddress>
    </value>
</rule>
<routingAddress>
    <id value="1"/>
    <sccpAddress pc="89" ssn="145">
        <ai value="19"/>
        <gt type="GT0100" tt="0" es="2" np="1" nai="4" digits="237694000089"/>
    </sccpAddress>
    <id value="2"/>
    <sccpAddress pc="42" ssn="6">
        <ai value="17"/>
        <gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="*"/>
    </sccpAddress>
</routingAddress>
<longMessageRule/>
<sap>
    <id value="1"/>
    <value mtp3Id="1" opc="42" ni="2" networkId="1">
        <mtp3DestinationMap>
            <id value="1"/>
            <value firstDpc="1" lastDpc="16384" firstSls="0" lastSls="255" slsMask="255"/>
        </mtp3DestinationMap>
    </value>
</sap>

SCTPManagement_sctp.xml

<?xml version="1.0" encoding="UTF-8" ?>
<connectdelay value="5000"/>
<servers/>
<associations>
    <name value="timbr_ass1"/>
    <association name="timbr_ass1" assoctype="CLIENT" hostAddress="172.22.118.131" hostPort="2609" peerAddress="192.168.212.185" peerPort="2609" serverName="" ipChannelType="0" extraHostAddresseSize="0"/>
</associations>

TcapStack_management.xml

<?xml version="1.0" encoding="UTF-8" ?>
<dialogidletimeout value="60000"/>
<invoketimeout value="30000"/>
<maxdialogs value="5000"/>
<dialogidrangestart value="1"/>
<dialogidrangeend value="2147483647"/>
<donotsendprotocolversion value="false"/>
<statisticsenabled value="false"/>

1 个答案:

答案 0 :(得分:3)

我在提出的问题中看到了很多问题,虽然我认为你的问题出在jboss-beans.xml文件中(稍后会到达),澄清它们很重要,因为它们可能是问题。

1)SSN的规格应该 145 ,而你在Restcomm GMLC的配置文件中是正确的,但在图像中它显示为147(这是不合适的,因为这是gsmSCF的SSN,而不是GMLC)。你确定MNO有145并且它只是图像中的拼写错误吗?

2)MSC SSN为8,而不是6,因为您将其放在 GmlcManagement_gmlcproperties.xml mscssn 值中。请将其修改为 8

3)您确定 routingContext networkAppearance 值,还是刚从模拟器配置文件中复制它们?

考虑到这一点,您的主要问题很可能出现在以下两个配置文件中:

1)检查$ GMLC_HOME / jboss-5.1.0.GA / server / default / deploy / restcomm-gmlc-server / META-INF / jboss-beans.xml TCAP服务部分......它应该如下所示:

    <!-- ==================================================================== -->
    <!-- TCAP Service -->
    <!-- ==================================================================== -->
    <bean name="GMLC_TcapStack" class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl">
        <constructor>
            <parameter>TcapStack</parameter>
            <parameter>
                <inject bean="GMLC_SccpStack" property="sccpProvider" />
            </parameter>
            <parameter>145</parameter>
        </constructor>
        <property name="persistDir">${jboss.server.data.dir}</property>
        <!--
        <property name="dialogIdleTimeout">60000</property>
        <property name="invokeTimeout">30000</property>
        <property name="maxDialogs">25000</property >
        -->
    </bean>

首先,你确定 145 吗?然后,正如1)中所指出的,你确定MNO和你的配置是一致的吗?

2) SccpStack_sccprouter2.xml 上的路由规则配置可能会导致您遇到问题,将 pc ssn 值设置为 0 patternSccpAddress 中的,如下所示:

<rule>
    <id value="1"/>
    <value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="RemoteOriginated" mask="K" paddress="1" saddress="-1" networkId="0">
        <patternSccpAddress pc="0" ssn="0">
            <ai value="18"/>
            <gt type="GT0100" tt="0" es="2" np="1" nai="4" digits="237694000089"/>
        </patternSccpAddress>
    </value>
    <id value="2"/>
    <value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="LocalOriginated" mask="K" paddress="2" saddress="-1" networkId="0">
        <patternSccpAddress pc="0" ssn="0">
            <ai value="16"/>
            <gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="*"/>
        </patternSccpAddress>
    </value>
</rule>

请留意我们,祝你好运和最好的问候, Fernando Mendioroz