Re: [mobicents-public] Route on GT

46 views
Skip to first unread message

Ibrahima Gaye

unread,
Feb 19, 2019, 8:04:40 AM2/19/19
to mobicent...@googlegroups.com, restcomm
Hi really want to help but i don't have environment to test,
Best regards,
Ibrahima GAYE
Technologies Integration Specialist 
OSS/BSS/Business Analyst Senior Consultant
M1 (now in Congo) +243 844 390139   
M2 +221 77 564 9358
Skypeibstelix
 



Le mer. 26 déc. 2018 à 15:46, mehdi <mehdi....@gmail.com> a écrit :
Hello Guys,

I build a CAP V2 jain slee application based on Gw USSD (https://groups.google.com/forum/#!topic/mobicents-public/4OVjtSOZlhY) (based on jboss 5.1.0 and  jain slee 2.7.0)
 i always used route on PC and SSN.

Now i have to implement Route on GT .


My GT is 33609007161 ssn 146 and pc = 10849 
the incoming idp come from 33689008000 ssn 146 and pc 10805


Original message without rule setted is like that

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)


Has someone any idea ?

Thanks in advance.

BR,

Mehdi

--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobicents-public/016ff1b9-8fca-4d1e-9b1b-fccd5c90b9d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mehdi BOUDOU

unread,
Feb 19, 2019, 8:12:29 AM2/19/19
to rest...@googlegroups.com, mobicent...@googlegroups.com
Thanks Ibrahima :) i still hope to do it with config files but if i have no answer  i think i will do it with development

You received this message because you are subscribed to the Google Groups "restcomm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to restcomm+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/restcomm/CAKCHnoupEquKYZkB8dBkuQsifwmZTKH-e3UVkAWN9_RNcS7z%3DQ%40mail.gmail.com.

Ibrahima Gaye

unread,
Feb 19, 2019, 9:14:42 AM2/19/19
to mobicent...@googlegroups.com, restcomm

Ibrahima GAYE
Technologies Integration Specialist 
OSS/BSS/Business Analyst Senior Consultant
M1 (now in Congo) +243 844 390139   
M2 +221 77 564 9358
Skypeibstelix
 


Ibrahima Gaye

unread,
Feb 19, 2019, 9:18:44 AM2/19/19
to mobicent...@googlegroups.com, restcomm
Forgot to point it out Vladimir is right,

" java.lang.NoSuchMethodError: org.mobicents.protocols.ss7.sccp.Rule.matches(Lorg/mobicents/protocols/ss7/sccp/parameter/SccpAddress;)Z" this means you call a method not available in this build.

Best regards,
Ibrahima GAYE
Technologies Integration Specialist 
OSS/BSS/Business Analyst Senior Consultant
M1 (now in Congo) +243 844 390139   
M2 +221 77 564 9358
Skypeibstelix
 



Le mar. 19 févr. 2019 à 15:13, Vladimir Tzanev <tza...@kapsch.net> a écrit :
Hi mehdi,

Which SS7 version do you use?  2.7.0?
The SccpStack_sccprouter2.xml seems to be correct. The NoSuchMethodError points maybe to some version conflict.

The SS7 code can be found under: https://github.com/RestComm/jss7
Branch 2.0.x is the latest LGPL (2.1.0 already AGPL).

BR,
Vladimir

Szabados Jozsef

unread,
Feb 19, 2019, 9:33:08 AM2/19/19
to rest...@googlegroups.com
Hi,

I am not fully sure, but:

sccp primary_add create 1 18 10805 146 0 1 4 33689008000  

would create xml like this:

<routingAddress>
<id value="1"/>
<sccpAddress pc="10805" ssn="146">

(not pc="0")

With this the dest pc will be changed to 0.

BR,
Jozsef



Ibrahima Gaye

unread,
Feb 19, 2019, 11:13:54 AM2/19/19
to mobicent...@googlegroups.com, restcomm
If you have a template project to reproduce here the tests it would be nice too
Regards,
Ibrahima GAYE
Technologies Integration Specialist 
OSS/BSS/Business Analyst Senior Consultant
M1 (now in Congo) +243 844 390139   
M2 +221 77 564 9358
Skypeibstelix
 



Le mar. 19 févr. 2019 à 15:54, Mehdi BOUDOU <mehdi....@gmail.com> a écrit :
Guys thank you for all your answers !!! :)

i will try to resume all answers here :

  • yes @Vladimir 2.7.0 is the version used => thanks i will check the code to see the match function
  • thanks Ibrahima, i had the same opinion
  • @Jozcef, the cli doesnt wants to work anymore thaswhy i made some tests with differents xml and differents post that i found on the group and i'm not sure about what i configured !!  thanks i will tried with pc =0
if someone has the simulator with an example of idp with route on GT enable, it will be kind to share?? :)

Thanks in advance.

BR,

Mehdi






Le mar. 19 févr. 2019 à 15:33, Vladimir Tzanev <tza...@kapsch.net> a écrit :
Maybe different versions of sccp - SccpAddress is in sccp-api, RouterImpl in sccp-impl.

BR,
Vladimir

--
You received this message because you are subscribed to a topic in the Google Groups "mobicents-public" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobicents-public/CN4u9KfgEVM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobicents-publ...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobicents-public/ecccecf8-bccf-4e86-9a22-56b09dd001db%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages