i always used route on PC and SSN.
Now i have to implement Route on GT .
2018-11-19 12:09:52,991 WARN [org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl] (pool-30-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing
SccpMessage=Sccp Msg [Type=UDT sls=4 incomingOpc=10805 incomingDpc=10849 outgoingDpc=-1
CallingAddress(pc=0,ssn=146,AI=18,gt=GT0100{tt=0,np=ISDN_TELEPHONY, na=INTERNATIONAL,digits=33689008000})
CalledParty( pc=0,ssn=146,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=33609007161})
DataLen=182]
2018-11-19 12:09:52,993 WARN [org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl] (pool-30-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing
SccpMessage=Sccp Msg [Type=UDTS sls=0 returnCause=NO_TRANSLATION_FOR_ADDRESS incomingOpc=-1 incomingDpc=-1 outgoingDpc=-1 CallingAddress(pc=0,ssn=146,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=33609007161}) CalledParty(pc=0,ssn=146,AI=18,gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=33689008000}) DataLen=182
i tried many way to setup the rule :
-via the ss7 cli with two rules and two primary address (one for the called party and one other for the callingparty)
sccp primary_add create 1 18 10805 146 0 1 4 33689008000
sccp primary_add create 2 18 10849 146 0 1 4 33609007161
and
sccp rule create 1 K 18 10805 146 0 1 4 33689008000 1
sccp rule create 2 K 18 10849 146 0 1 4 33609007161 2
-with the xml files directly
<?xml version="1.0" encoding="UTF-8" ?>
<rule>
<id value="1"/>
<value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="RemoteOriginated" mask="K" paddress="1" saddress="-1">
<patternSccpAddress pc="0" ssn="146">
<ai value="18"/>
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="33609007161"/>
</patternSccpAddress>
</value>
<id value="2"/>
<value ruleType="Solitary" loadSharingAlgo="Undefined" originatingType="LocalOriginated" mask="K" paddress="2" saddress="-1">
<patternSccpAddress pc="0" ssn="146">
<ai value="18"/>
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="33689008000"/>
</patternSccpAddress>
</value>
</rule>
<routingAddress>
<id value="1"/>
<sccpAddress pc="0" ssn="146">
<ai value="18"/>
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="33609007161"/>
</sccpAddress>
<id value="2"/>
<sccpAddress pc="0" ssn="146">
<ai value="18"/>
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="33689008000"/>
</sccpAddress>
</routingAddress>
<longMessageRule/>
<sap>
<id value="1"/>
<value mtp3Id="1" opc="2" ni="2">
<mtp3DestinationMap>
<id value="1"/>
<value firstDpc="1" lastDpc="1" firstSls="0" lastSls="255" slsMask="255"/>
</mtp3DestinationMap>
</value>
<id value="2"/>
<value mtp3Id="1" opc="10849" ni="2">
<mtp3DestinationMap>
<id value="1"/>
<value firstDpc="10805" lastDpc="10999" firstSls="0" lastSls="255" slsMask="255"/>
</mtp3DestinationMap>
</value>
<id value="3"/>
<value mtp3Id="1" opc="10849" ni="2">
<mtp3DestinationMap>
<id value="1"/>
<value firstDpc="3401" lastDpc="3454" firstSls="0" lastSls="255" slsMask="255"/>
</mtp3DestinationMap>
</value>
</sap>
the method cli doesn't work even if i change primary_add by address, and with the xml too i had the following ERROR
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) Exception in thread "pool-30-thread-1"
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) java.lang.NoSuchMethodError: org.mobicents.protocols.ss7.sccp.Rule.matches(Lorg/mobicents/protocols/ss7/sccp/parameter/SccpAddress;)Z
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at org.mobicents.protocols.ss7.sccp.impl.router.RouterImpl.findRule(RouterImpl.java:286)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.translationFunction(SccpRoutingControl.java:312)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.routeMssgFromMtp(SccpRoutingControl.java:149)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.onMtp3TransferMessage(SccpStackImpl.java:735)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at org.mobicents.protocols.ss7.mtp.Mtp3UserPartBaseImpl$MsgTransferDeliveryHandler.run(Mtp3UserPartBaseImpl.java:263)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
server.log.2018-12-17:2018-12-17 17:32:43,320 ERROR [STDERR] (pool-30-thread-1) at java.lang.Thread.run(Thread.java:745)
Thanks in advance.