Route on GT

548 views
Skip to first unread message

mehdi

unread,
Dec 26, 2018, 9:46:13 AM12/26/18
to mobicents-public
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

mehdi

unread,
Jan 2, 2019, 6:33:48 AM1/2/19
to mobicents-public
HAPPY NEW YEAR ALL !!!! Best wishes :)

Has someone any idea :) ?

Thanks in advance.

Best Regards!!


Mehdi

mehdi

unread,
Jan 7, 2019, 4:59:12 AM1/7/19
to mobicents-public
Has someone any idea ?

BR,

Thanks in advance.

Mehdi

Le mercredi 26 décembre 2018 15:46:13 UTC+1, mehdi a écrit :

mehdi

unread,
Feb 19, 2019, 6:37:21 AM2/19/19
to mobicents-public
No one for an answer :(

Ibrahima Gaye

unread,
Feb 19, 2019, 8:04:41 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
 



--
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:11:53 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.

Vladimir Tzanev

unread,
Feb 19, 2019, 9:13:26 AM2/19/19
to mobicents-public
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
SccpStack_sccprouter2.xml

Ibrahima Gaye

unread,
Feb 19, 2019, 9:14:43 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:45 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
 


Vladimir Tzanev

unread,
Feb 19, 2019, 9:33:44 AM2/19/19
to mobicents-public
Maybe different versions of sccp - SccpAddress is in sccp-api, RouterImpl in sccp-impl.

BR,
Vladimir

Mehdi BOUDOU

unread,
Feb 19, 2019, 9:54:56 AM2/19/19
to mobicent...@googlegroups.com
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?? :)
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.

Mehdi BOUDOU

unread,
Feb 19, 2019, 10:08:06 AM2/19/19
to mobicent...@googlegroups.com
Guys,

the source code of 2.0
public Rule findRule(SccpAddress calledParty, boolean isMtpOriginated) {
for (FastMap.Entry<Integer, Rule> e = this.rulesMap.head(), end = this.rulesMap.tail(); (e = e.getNext()) != end;) {
Rule rule = e.getValue();
if (rule.matches(calledParty, isMtpOriginated)) {
return rule;
}
}
return null;
} it sounds that my config file calls rule.matches just with calledParty and without isMtpOriginated how can i configured it ? thanks in advance ?

Vladimir Tzanev

unread,
Feb 19, 2019, 10:43:15 AM2/19/19
to mobicents-public
This is not possible - invoke is in SccpRoutingControl - translationFunction:
      Rule rule = this.sccpStackImpl.router.findRule(calledPartyAddress, msg.getIsMtpOriginated());

Can you enable ss7 debug logs and post the result:
            <logger category="org.mobicents.protocols.ss7" use-parent-handlers="true">
                <level name="DEBUG"/>
            </logger>

BR,
Vladimir

Mehdi BOUDOU

unread,
Feb 19, 2019, 11:13:49 AM2/19/19
to mobicent...@googlegroups.com
to be sure : i add it to jboss-log4j.xml in jboss server default conf folder

because i have a different syntax not with logger but with appender syntax 

Ibrahima Gaye

unread,
Feb 19, 2019, 11:13:55 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 :

Vladimir Tzanev

unread,
Feb 19, 2019, 11:27:31 AM2/19/19
to mobicents-public
Sorry, It was my mistake - we use own 2.7.0 fork, which was already moved to wildfly. For jboss5 - in jboss-log4j.xml

Mehdi BOUDOU

unread,
Feb 19, 2019, 11:56:23 AM2/19/19
to mobicent...@googlegroups.com
@Vladimir i will not able to answer today, i depend on a simulator which is not in my side.
When i can received the request i will forward debug logs.

In parrallele, i will modify the simulator ss7 to match the same query (Route on GT ) and to not be dependant

when i finished or when i will be able to received request i will  forward debug logs

We keep in touch, thanks for your help  Guys :)




mehdi

unread,
Mar 1, 2019, 12:12:45 PM3/1/19
to mobicents-public
Guys,

I generate an idp with route on GT (not exactly same value that i want) and i had the same error

Thastwhy i think its the generic error when no rule match

2019-03-01 17:50:13,647 DEBUG [org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl-SccpStack] (pool-30-thread-1) Rx : SCCP message from MTP Sccp Msg [Type=UDT sls=3 incomingOpc=1 incomingDpc=2 outgoingDpc=-1 CallingAddress(pc=0,ssn=146,A
I=18,gt=GT0100{tt=0, np=ISDN_MOBILE, na=INTERNATIONAL, digits=33689008000}) CalledParty(pc=0,ssn=146,AI=18,gt=GT0100{tt=0, np=ISDN_MOBILE, na=INTERNATIONAL, digits=33689008000}) DataLen=132]
2019-03-01 17:50:13,648 ERROR [STDERR] (pool-30-thread-1) Exception in thread "pool-30-thread-1"
2019-03-01 17:50:13,649 ERROR [STDERR] (pool-30-thread-1) java.lang.NoSuchMethodError: org.mobicents.protocols.ss7.sccp.Rule.matches(Lorg/mobicents/protocols/ss7/sccp/parameter/SccpAddress;)Z
2019-03-01 17:50:13,649 ERROR [STDERR] (pool-30-thread-1)       at org.mobicents.protocols.ss7.sccp.impl.router.RouterImpl.findRule(RouterImpl.java:286)
2019-03-01 17:50:13,649 ERROR [STDERR] (pool-30-thread-1)       at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.translationFunction(SccpRoutingControl.java:312)
2019-03-01 17:50:13,649 ERROR [STDERR] (pool-30-thread-1)       at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.routeMssgFromMtp(SccpRoutingControl.java:149)
2019-03-01 17:50:13,649 ERROR [STDERR] (pool-30-thread-1)       at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.onMtp3TransferMessage(SccpStackImpl.java:735)
2019-03-01 17:50:13,650 ERROR [STDERR] (pool-30-thread-1)       at org.mobicents.protocols.ss7.mtp.Mtp3UserPartBaseImpl$MsgTransferDeliveryHandler.run(Mtp3UserPartBaseImpl.java:263)
2019-03-01 17:50:13,650 ERROR [STDERR] (pool-30-thread-1)       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2019-03-01 17:50:13,650 ERROR [STDERR] (pool-30-thread-1)       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2019-03-01 17:50:13,650 ERROR [STDERR] (pool-30-thread-1)       at java.lang.Thread.run(Thread.java:745)

Can someone generate with cli,  xml files configuration with this theorical data ?

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}) 

my server is 10849 and i have to answer to 10805 with a continu, my GT is gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=33609007161
and the Distant PC is 10805 with this data ssn=146,AI=18,gt=GT0100{tt=0,np=ISDN_TELEPHONY, na=INTERNATIONAL,digits=33689008000

Thanks in advance,

Guys

BR,

Mehdi


Le mercredi 26 décembre 2018 15:46:13 UTC+1, mehdi a écrit :

Ibrahima Gaye

unread,
Mar 2, 2019, 12:20:08 PM3/2/19
to mobicent...@googlegroups.com
This "  java.lang.NoSuchMethodError: org.mobicents.protocols.ss7.sccp.Rule.matches(Lorg/mobicents/protocols/ss7/sccp/parameter/SccpAddress;)Z "
means version mismatch.
The method is being called with a wrong signature.

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


--
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.

mehdi

unread,
Mar 4, 2019, 5:05:20 AM3/4/19
to mobicents-public
Hello Ibrahima,

Thanks for your help !

I think this error is due to bad xml files because i'm not sure about what i configured.
And if i reset my xml files to the origin i will have the following error Received SccpMessage for Translation but no matching Rule found for local routing



thatwhy i asked :
Can someone generate with cli,  xml files configuration with this theorical data ?
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}) 

my server is 10849 and i have to answer to 10805 with a continu, my GT is gt=GT0100{tt=0, np=ISDN_TELEPHONY, na=INTERNATIONAL, digits=33609007161
and the Distant PC is 10805 with this data ssn=146,AI=18,gt=GT0100{tt=0,np=ISDN_TELEPHONY, na=INTERNATIONAL,digits=33689008000


Thanks in advance

BR

Mehdi

Le mercredi 26 décembre 2018 15:46:13 UTC+1, mehdi a écrit :

Ibrahima Gaye

unread,
Mar 5, 2019, 5:17:15 AM3/5/19
to mobicent...@googlegroups.com
Hi Mehdi,
THEN i change my explanation: the xml is used as inputs to the codes (methods) if the "format" of the input is not correct then it's like calling the method with different signature: SO the system generate the same error as version mismatch (calling method with wrong signature).
Hope i helps.

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


--
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.

Ibrahima Gaye

unread,
Mar 5, 2019, 6:56:01 AM3/5/19
to mobicent...@googlegroups.com
Please can you re-share the xml generating this error : "Received SccpMessage for Translation but no matching Rule found for local routing"
Ibrahima GAYE
Technologies Integration Specialist 
OSS/BSS/Business Analyst Senior Consultant
M1 (now in Congo) +243 844 390139   
M2 +221 77 564 9358
Skypeibstelix
 


mehdi

unread,
Mar 5, 2019, 10:00:48 AM3/5/19
to mobicents-public
Its simple when i remove all the GT rule and routing adresses,

<?xml version="1.0" encoding="UTF-8" ?>
<rule/>
<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>

I had Received SccpMessage for translation but not matching rule, which i thought logical because i configured nothing on GT


When i tried to set the rule with xml i had the folowing error  java.lang.NoSuchMethodError: org.mobicents.protocols.ss7.sccp.Rule.matches(Lorg/mobicents/protocols/ss7/sccp/parameter/SccpAddress;)Z

Something wrong with my configuration files but i dont know what :(


Thanks in advance.

BR,

Mehdi


mehdi

unread,
Mar 5, 2019, 12:01:12 PM3/5/19
to mobicents-public
Guys,

it sounds like my server, just listen on sccprouter.xml not sccprouter2.xml

Because when i remove my GT rules  on sccpressource.xml the server doesnt made the error on idp with GT sccp and made Received SccpMessage for translation but not matching rule for local routing


Has someone the syntax on sccprouter.xml ?

Thanks in advance.

BR

Mehdi

Le mercredi 26 décembre 2018 15:46:13 UTC+1, mehdi a écrit :

mehdi

unread,
Mar 5, 2019, 12:04:34 PM3/5/19
to mobicents-public

on the preview message i made a mistake its  *** Because when i remove my GT rules  on the sccprouter.xml not sccpressource.xml sorry for the spam


Le mercredi 26 décembre 2018 15:46:13 UTC+1, mehdi a écrit :

Ibrahima Gaye

unread,
Mar 5, 2019, 1:32:01 PM3/5/19
to mobicent...@googlegroups.com
xml [format] depends on the version.
there are many samples in the repository.

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


--
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.

mehdi

unread,
Mar 6, 2019, 4:10:14 AM3/6/19
to mobicents-public

Ibrahima Gaye

unread,
Mar 6, 2019, 7:48:14 AM3/6/19
to mobicent...@googlegroups.com
Do you have constraints on specific version ?
me i just pick one keyword in the xml and search it in the repositry then filter [or not] by xml

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


--
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.

Vladimir Tzanev

unread,
Mar 6, 2019, 8:25:33 AM3/6/19
to mobicents-public
Hello,

There isn't examples of the sccp configuration - they are generated (if not already available) when the SS7  stack starts.

From my point of view, there must be different versions of sccp-api & sccp-impl. In commit c2d84e7576898b2b4bbc77e827907206e88cb93f the method "matches" was changed:

- public boolean matches(SccpAddress address);
+            public boolean matches(SccpAddress address, boolean isMtpOriginated);


Which version of jSS7 (and sccp) is used in your USSD GW? Maybe there is a wrong version in your local maven repo? Can you try with these ones:


BR,
Vladimir

mehdi

unread,
Mar 6, 2019, 12:42:08 PM3/6/19
to mobicents-public
Vladimir,

You are absolutly right !!

in the lib of my GWUSSD with CAP i have sccp-api-2.0.0-20130429.114017-23.jar
                                                           and  sccp-impl-2.0.0-20121126.010955-20.jar

I have a diff because i had to apply a patch on M3ua level which certainly had side effects on sccp, tomorrow i will troubleshoot this and we keep in touch.

Thanks a lot :)

BR 

Ibrahima Gaye

unread,
Mar 6, 2019, 4:09:07 PM3/6/19
to mobicent...@googlegroups.com
haha :) "my" version mismatch is holding lol
Good sight Vladimir

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


--
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.

mehdi

unread,
Mar 7, 2019, 5:05:03 AM3/7/19
to mobicents-public
Ibrahim you right too :)

I will troubleshoot today and give you feedback :)

mehdi

unread,
Mar 7, 2019, 7:23:38 AM3/7/19
to mobicents-public
@Vladimir i made a little try (halfhearted)  conwith copying 2.0.0.Final jar (api and impl) in lib directory and now 
i didnt see nothing 

2402279 [Thread-14] DEBUG org.mobicents.protocols.sctp.AssociationImpl  - Tx : Ass=Ass_pls01-adm PayloadData [dataLength=204, complete=true, unordered=false, payloadProtocolId=3, streamNumber=6, data=
Start: 0 (0x00)  End: 203 (0xCB)  Length: 204 (0xCC)
00: 01 00 01 01 00 00 00 CC  02 00 00 08 00 00 00 66 | ........ .......f
10: 00 06 00 08 00 00 00 65  02 10 00 B2 00 00 00 01 | .......e ........
20: 00 00 00 02 03 02 00 05  09 01 03 0E 19 0B 12 92 | ........ ........
30: 00 71 04 33 86 09 80 00  00 0B 12 92 00 71 04 33 | .q.3.... .....q.3
40: 86 09 80 00 00 84 62 81  81 48 04 00 00 00 05 6B | ......b. .H.....k
50: 1E 28 1C 06 07 00 11 86  05 01 01 01 A0 11 60 0F | .(...... ......`.
60: 80 02 07 80 A1 09 06 07  04 00 00 01 00 32 01 6C | ........ .....2.l
70: 59 A1 57 02 01 01 02 01  00 30 4F 80 01 01 82 07 | Y.W..... .0O.....
80: 84 10 11 21 22 33 03 83  08 84 13 33 06 29 39 48 | ...!"3.. ...3.)9H
90: 03 8A 0A 84 13 26 29 04  00 00 81 63 00 9C 01 02 | .....&). ...c....
A0: BF 34 1E 02 01 0A 81 06  91 55 02 00 00 F2 A3 09 | .4...... .U......
B0: 80 07 02 F8 01 DE A8 B7  2F 86 06 91 55 02 00 00 | ........ /...U...
C0: F2 9F 38 06 91 11 11 41  44 44 00 00 -- -- -- -- | ..8....A DD..
]
I think need to align all librairies in 2.0.0.Final

here my list directory

total 4220
drwxr-xr-x 2 root root   4096 Mar  7 13:06 ./
drwxr-xr-x 4 root root   4096 Sep 25  2017 ../
-rw-r--r-- 1 root root  23119 Sep 25  2017 asn-2.0.0-20130624.000259-57.jar
-rw-r--r-- 1 root root   7564 Sep 25  2017 bootstrap-1.0.0-SNAPSHOT.jar
-rw-r--r-- 1 root root 172465 Sep 25  2017 cap-api-2.0.0-20121022.191602-13.jar
-rw-r--r-- 1 root root 356523 Sep 25  2017 cap-impl-2.0.0-20121022.191602-12.jar
-rw-r--r-- 1 root root   6389 Sep 25  2017 commons-1.0.0-20120120.114116-1.jar
-rw-r--r-- 1 root root   5442 Sep 25  2017 congestion-2.0.0-20130429.075506-34.jar
-rw-r--r-- 1 root root  15376 Sep 25  2017 domain-1.0.0-SNAPSHOT.jar
-rw-r--r-- 1 root root  12951 Sep 25  2017 inap-api-2.0.0-20121022.191602-14.jar
-rw-r--r-- 1 root root  18052 Sep 25  2017 inap-impl-2.0.0-20121022.191602-14.jar
-rw-r--r-- 1 root root 108335 Sep 25  2017 isup-api-2.0.0-20130429.102309-23.jar
-rw-r--r-- 1 root root 309789 Sep 25  2017 isup-impl-2.0.0-20130429.102309-23.jar
-rw-r--r-- 1 root root 395195 Sep 25  2017 javolution-5.5.1.jar
-rw-r--r-- 1 root root  22974 Sep 25  2017 linkset-2.0.0-20130429.091919-21.jar
-rw-r--r-- 1 root root  36755 Sep 25  2017 m3ua-api-2.0.0-20130429.090753-34.jar
-rw-r--r-- 1 root root 234902 Sep 25  2017 m3ua-impl-2.0.0-20130429.090753-29.jar.old
-rw-r--r-- 1 root root 235088 Mar 20  2017 m3ua-impl-2.0.0-SNAPSHOT.jar
-rw-r--r-- 1 root root 470852 Sep 25  2017 map-api-2.0.0-20121126.011028-16.jar
-rw-r--r-- 1 root root 833925 Sep 25  2017 map-impl-2.0.0-20121126.011048-16.jar
-rw-r--r-- 1 root root  13602 Sep 25  2017 mobicents-dialogic-2.0.0-20130429.091919-26.jar
-rw-r--r-- 1 root root  45910 Sep 25  2017 mtp-2.0.0-20130429.075506-32.jar
-rw-r--r-- 1 root root  13298 Sep 25  2017 mtp-api-2.0.0-20130429.075506-33.jar
-rw-r--r-- 1 root root  55263 Sep 25  2017 sccp-api-2.0.0-20130429.114017-23.jar.old4
-rw-r--r-- 1 root root  55153 Mar  7 11:14 sccp-api-2.0.0.FINAL.jar
-rw-r--r-- 1 root root 159687 Nov 30 16:18 sccp-impl-2.0.0-20121126.010955-20.jar.old2
-rw-r--r-- 1 root root 160916 Sep 25  2017 sccp-impl-2.0.0-20121126.010955-20.jar.old3
-rw-r--r-- 1 root root 159612 Mar  7 11:14 sccp-impl-2.0.0.FINAL.jar
-rw-r--r-- 1 root root  26662 Sep 25  2017 scheduler-2.0.0-20130429.075506-34.jar
-rw-r--r-- 1 root root   8785 Sep 25  2017 sctp-api-1.0.0-20121119.010416-31.jar
-rw-r--r-- 1 root root  45231 Sep 25  2017 sctp-impl-1.0.0-20121119.010424-31.jar
-rw-r--r-- 1 root root  50671 Sep 25  2017 shell-2.0.0-20120903.000653-18.jar
-rw-r--r-- 1 root root   5176 Sep 25  2017 stream-1.0.0.CR1.jar
-rw-r--r-- 1 root root  53263 Sep 25  2017 tcap-api-2.0.0-20121126.011007-18.jar
-rw-r--r-- 1 root root 107805 Sep 25  2017 tcap-impl-2.0.0-20121126.011015-15.jar
-rw-r--r-- 1 root root  10169 Sep 25  2017 xml-1.0.0-SNAPSHOT.jar


.old are backup and here my pom.xml


        <modelVersion>4.0.0</modelVersion>

        <parent>
                <groupId>org.mobicents.ussd</groupId>
                <artifactId>slee</artifactId>
                <version>1.0.0-SNAPSHOT</version>
        </parent>

        <artifactId>library</artifactId>
        <name>Core : SLEE : Library</name>



        <dependencies>
                <dependency>
                        <groupId>${pom.groupId}</groupId>
                        <artifactId>domain</artifactId>
                        <version>${pom.version}</version>
                </dependency>

                <!-- xml -->
                <dependency>
                        <artifactId>xml</artifactId>
                        <groupId>${pom.groupId}</groupId>
                        <version>${pom.version}</version>
                </dependency>


        </dependencies>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.mobicents.tools</groupId>
                                <artifactId>maven-library-plugin</artifactId>
                                <version>1.0.0.FINAL</version>
                                <configuration>
                                        <library-name>library-ussdgateway</library-name>
                                        <library-vendor>org.mobicents</library-vendor>
                                        <library-version>2.0</library-version>

                                        <library-ref>
                                                <library-name>library-cap</library-name>
                                                <library-vendor>library-cap</library-vendor>
                                                <library-version>2.0</library-version>
                                        </library-ref>

                                                <library-name>library-map</library-name>
                                                <library-vendor>library-map</library-vendor>
                                                <library-version>2.0</library-version>

                                </configuration>

                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>copy-dependencies</goal>
                                                        <goal>generate-descriptor</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>

</project>


thanks in advance.

BR,

Mehdi

Vladimir Tzanev

unread,
Mar 7, 2019, 8:49:23 AM3/7/19
to mobicents-public
Hi,

This is the pom of the library directory. You must change the ss7 version in the master pom (e.g. https://github.com/RestComm/ussdgateway/tree/legacy/pom.xml

from <ss7.version>2.0.0-SNAPSHOT</ss7.version> to <ss7.version>2.0.0.FINAL</ss7.version>

BR

mehdi

unread,
Mar 7, 2019, 11:12:52 AM3/7/19
to mobicents-public

shell.jar in FINAL version not availble (logs below ) only in this version





 mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   USSD Gateway Parent
[INFO]   Core
[INFO]   Core : Domain
[INFO]   Core : XML
[INFO]   Core : Operations and Management : CLI
[INFO]   Core : SLEE
[INFO]   Core : SLEE : Library
[INFO]   Core : SLEE : Sbbs
[INFO]   Core : SLEE : Service
[INFO]   Core : Bootstrap
[INFO]   Example
[INFO]   Example : HTTP
[INFO] ------------------------------------------------------------------------
[INFO] Building USSD Gateway Parent
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[WARNING] POM for 'org.apache.maven.wagon:wagon-provider-api:pom:1.0-alpha-5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-provider-api at /root/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-provider-api:pom:1.0-alpha-5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-provider-api at /root/.m2/repository/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
[INFO] [clean:clean]
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project biz.aQute:bndlib at /root/.m2/repository/biz/aQute/bndlib/1.15.0/bndlib-1.15.0.pom
[WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project biz.aQute:bndlib at /root/.m2/repository/biz/aQute/bndlib/1.15.0/bndlib-1.15.0.pom
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[WARNING] POM for 'org.mortbay.jetty:jetty-util:pom:6.1.5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.mortbay.jetty:jetty-util at /root/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom
[WARNING] POM for 'org.mortbay.jetty:jetty-util:pom:6.1.5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.mortbay.jetty:jetty-util at /root/.m2/repository/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.pom
[WARNING] POM for 'org.mortbay.jetty:servlet-api-2.5:pom:6.1.5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.mortbay.jetty:servlet-api-2.5 at /root/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom
[WARNING] POM for 'org.mortbay.jetty:servlet-api-2.5:pom:6.1.5:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.mortbay.jetty:servlet-api-2.5 at /root/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.pom
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/CAP_ussd/pom.xml to /root/.m2/repository/org/mobicents/ussd/parent/1.0.0-SNAPSHOT/parent-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [bundle:manifest {execution: bundle-manifest}]
[WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/CAP_ussd/core/pom.xml to /root/.m2/repository/org/mobicents/ussd/core/1.0.0-SNAPSHOT/core-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Core : Domain
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/CAP_ussd/core/domain/target
[WARNING] POM for 'org.apache.maven.wagon:wagon-file:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-file at /root/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-file:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-file at /root/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-http-lightweight:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-http-lightweight at /root/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-http-lightweight:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-http-lightweight at /root/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-ssh-external:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-ssh-external at /root/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-ssh-external:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-ssh-external at /root/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-ssh:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-ssh at /root/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom
[WARNING] POM for 'org.apache.maven.wagon:wagon-ssh:pom:1.0-beta-2:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.maven.wagon:wagon-ssh at /root/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/CAP_ussd/core/domain/src/main/resources
[INFO] Unable to find resource 'org.mobicents.protocols.ss7.management:shell:pom:2.0.0.FINAL' in repository jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public)
[INFO] Unable to find resource 'org.mobicents.protocols.ss7.management:shell:pom:2.0.0.FINAL' in repository jboss-releases (http://repository.jboss.org/nexus/content/repositories/releases/)
[INFO] Unable to find resource 'org.mobicents.protocols.ss7.management:shell:pom:2.0.0.FINAL' in repository maven-repo (http://repo1.maven.org/maven2/)
[INFO] Unable to find resource 'org.mobicents.protocols.ss7.management:shell:pom:2.0.0.FINAL' in repository mobicents-public-repository-group (https://oss.sonatype.org/content/groups/public)
[INFO] Unabl