How TO CONNECT SS7 SIMULATOR TO SMSC

533 views
Skip to first unread message

Armache Antoni

unread,
Sep 28, 2019, 4:21:05 AM9/28/19
to mobicents-public
Hi guys does anyone have an idea on hoe to make a connection with SS7 simulator and SMSC ?

like how do i do the configuration ?

through sctp or tcp ?

Simulator needs to be client or server ?

Br

BarbosSergos

unread,
Sep 30, 2019, 9:42:27 AM9/30/19
to mobicents-public
Hi Antoni,

1. As a protocol, you have to use SCTP. Make sure that your OS has it installed.
2. You can make SCTP Association on SS7 Simulator side to be "SERVER" and "CLIENT" on SMSC.

If you have any further questions, please attach printscreens so I can point you.

Best regards,
Sergey Y.

суббота, 28 сентября 2019 г., 11:21:05 UTC+3 пользователь Armache Antoni написал:

Armache Antoni

unread,
Sep 30, 2019, 10:32:00 AM9/30/19
to mobicent...@googlegroups.com
Hey Brozo,

Hope you good, basically what am trying to do is here:

https://www.youtube.com/watch?v=KwvivC6CNG0

Mainly i want:

1. Sending sms from JSS7 SIM to SMPP SIM
2. Sending sms from SMPP SIM to JSS7 SIM

This is what i wanna do, but as you see in the video they are not
explaining everything !
Specially they are not talking about MPROC-RULE!

I don't wanna run wildlfy as simulator profile !
> --
> 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/ae81b1d3-6cc5-441d-bf2a-5ff5fa07a19c%40googlegroups.com.
>

Armache Antoni

unread,
Sep 30, 2019, 10:33:20 AM9/30/19
to mobicent...@googlegroups.com
one more thing, why do i have to use SCTP ?

can't i use TCP ?

BarbosSergos

unread,
Oct 1, 2019, 4:56:04 AM10/1/19
to mobicents-public
Hi Antoni,

Unfortunately, I don't have Telscale SMSC Gateway to show you SCTP link configuration on its side, but I do know a lot about SS7 configuration, so I'll try to help on this.

1. Well, you can use TCP as they say by documentation -  https://cloud.restcomm.com/docs/core/ss7/SS7_Stack_User_Guide.html#_create_new_sctp_server. I just always prefer to use SCTP.

Actually you can find all information about how to set up SCTP Association and then configure M3UA, SCCP Rule and Address in the link above.

2. On Telscale SMSC Gateway you have to create SERVER SCTP Association which will accept connection from your SS7 Simulator. Review all steps from creating SCTP Association, adding M3UA  AS, ASP, SCCP and so on again on the link above.

If you have any questions about how to configure any level, feel free to ask.

Below is an example of server which is located on machine with IP address 172.27.9.5 and listens on port 8012. Also here configures SERVER Association whith accepts connection only from 192.168.118.61 and port 8011.

<servers>
       
<server name="testserver" started="true" hostAddress="172.27.9.5" hostPort="8012" ipChannelType="0" acceptAnonymousConnections="false" maxConcurrentConnectionsCount="0" extraHostAddresseSize="0">
               
<associations>
                       
<string value="serverAssociation"/>
               
</associations>
       
</server>
</servers>
<associations>
       
<name value="serverAssociation"/>
       
<association name="serverAssociation" assoctype="SERVER" hostPort="0" peerAddress="192.168.118.61" peerPort="8011" serverName="testserver" ipChannelType="0" extraHostAddresseSize="0"/>
</associations>



Best regards,
Sergey Y

понедельник, 30 сентября 2019 г., 17:33:20 UTC+3 пользователь Armache Antoni написал:

BarbosSergos

unread,
Oct 1, 2019, 7:11:47 AM10/1/19
to mobicents-public
I also check this tutorial and it seems clear to undestand:


Btw, which version of Telscale SMSC Gateway do you use?

Best regards,
Sergey Y.

понедельник, 30 сентября 2019 г., 17:32:00 UTC+3 пользователь Armache Antoni написал:

Armache Antoni

unread,
Oct 1, 2019, 9:39:52 AM10/1/19
to mobicent...@googlegroups.com
Thanks,

Bro am using Restcomm SMSC...... no telestax........ i have implemented all scenarios :

HTTP > SMPP : SUCCESS

SMPP > SMPP : SUCCESS

SMPP > SS7 : SUCCESS

HTTP > SS7 : SUCCESS

SS7 > SMPP : Failure error ! so do you know how to implement this?
i mean a message from SS7 SIMULATOR to SMPP SIMULATOR...... if you know please assist me, i think i have a problem in SAP and SCCP rule basically.....

Anyone helps.... will be much appreciated

Br.


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/22933009-4884-403b-9e5a-f05da8f1a343%40googlegroups.com.

BarbosSergos

unread,
Oct 1, 2019, 9:58:45 AM10/1/19
to mobicents-public
#SS7 > SMPP : Failure error ! so do you know how to implement this?
#i mean a message from SS7 SIMULATOR to SMPP SIMULATOR...... if you know please assist me, i think i have a problem in SAP and SCCP rule basically.....

Can you show me your config files for SS7 Simulator and on SMSC site?
Is there are any error in logs like "no matching Rule found" or something related to SCCP routing?

Best regards,
Sergey Y.

вторник, 1 октября 2019 г., 16:39:52 UTC+3 пользователь Armache Antoni написал:

Armache Antoni

unread,
Oct 1, 2019, 10:16:10 AM10/1/19
to mobicent...@googlegroups.com
1 min

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/0a39c90d-c37d-495d-bfd5-fbe9d358ffd7%40googlegroups.com.

Armache Antoni

unread,
Oct 1, 2019, 10:16:48 AM10/1/19
to mobicent...@googlegroups.com
i am reproducing the error

Armache Antoni

unread,
Oct 1, 2019, 10:28:55 AM10/1/19
to mobicent...@googlegroups.com
Brozo,

Please let me know what you think.



Ibrahima Gaye

unread,
Oct 1, 2019, 10:43:11 AM10/1/19
to mobicent...@googlegroups.com
interested, following ... :)

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



BarbosSergos

unread,
Oct 1, 2019, 10:53:48 AM10/1/19
to mobicents-public
1. It's strange that in *\SS7-SIMULATOR-DATA-CONFIG\main_simulator2.xml configured networkId=2, but in TestingSccp_sccprouter2.xml you use networkId=0, but as messages reach SMSC, looks like it doesn't metter in Simulator.
2. In SMSC-DATA-CONFIG\MSccpStack_sccprouter2.xml try to change (when SMSC will be stopped): 

<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="80"/>
 
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="*"/>
 
</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="80"/>
 
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="*"/>
 
</patternSccpAddress>
 
</value>
</rule>
<routingAddress>
 
<id value="1"/>
 
<sccpAddress pc="1" ssn="8">
 
<ai value="83"/>
 
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="000"/>
 
</sccpAddress>
 
<id value="2"/>
 
<sccpAddress pc="2" ssn="8">
 
<ai value="83"/>
 
<gt type="GT0100" tt="0" es="1" np="1" nai="4" digits="000"/>
 
</sccpAddress>
</routingAddress>


to this:

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

Best regards,
Sergey Y.

вторник, 1 октября 2019 г., 17:28:55 UTC+3 пользователь Armache Antoni написал:
1 min

BarbosSergos

unread,
Oct 7, 2019, 1:46:35 AM10/7/19
to mobicents-public
Hello Antoni,

I've configured SS7 routing on my test environment. Now as per SS7 part routing is OK, but it looks like here some problems with supporting MAP Versions 1,2,3 on SMSC site.
For any of this MAP Versions I get an errors like:
2019-10-07 08:28:11,217 WARN  [org.mobicents.protocols.ss7.map.MAPStackImpl-MapStack] (pool-5-thread-1) ApplicationContextName of non activated MAPService is received. Will send back TCAP Abort : MAP V1

2019-10-07 08:31:26,601 WARN  [org.mobicents.protocols.ss7.map.MAPStackImpl-MapStack] (pool-5-thread-1) ApplicationContextName of non activated MAPService is received. Will send back TCAP Abort : 0, 4, 0, 0, 1, 0, 21, 2,

2019-10-07 08:37:54,024 WARN  [org.mobicents.protocols.ss7.map.MAPStackImpl-MapStack] (pool-5-thread-1) ApplicationContextName of non activated MAPService is received. Will send back TCAP Abort : 0, 4, 0, 0, 1, 0, 21, 3,

All configuration on SMSC site is done as per documentation which goes with in project.

Below is an example of Sccp routing on SMSC site:

<longMessageRule/>
<sap>
       
<id value="1"/>
       
<value mtp3Id="1" opc="1" ni="3" networkId="0">
               
<mtp3DestinationMap>
                       
<id value="1"/>
                       
<value firstDpc="2" lastDpc="2" firstSls="0" lastSls="255" slsMask="255"/>
               
</mtp3DestinationMap>
       
</value>
</sap>

Best regards,
Sergey Y.


вторник, 1 октября 2019 г., 17:53:48 UTC+3 пользователь BarbosSergos написал:

BarbosSergos

unread,
Oct 7, 2019, 5:00:38 AM10/7/19
to mobicents-public
Ok, I finally did MAP to SMPP scenario. Problem was in missing DUs. What I did is simply copied all files from $JBOSS_HOME/simulator/deployments to $JBOSS_HOME/standalone/deployments/

As per mproc-rules, they very clearly explained in $JBOSS_HOME/docs/smsc/adminguide/pdf/SMSC_Gateway_Admin_Guide.pdf -  4.3.3. Configuring the Gateway in Simulator Profile 

smsc mproc add mproc 1 destdigmask 6666 newnetworkid 20
smsc mproc add mproc 2 destdigmask 6667 newnetworkid 21
smsc mproc add mproc 3 destdigmask 5555 newnetworkid 30
smsc mproc add mproc 4 destdigmask ^(?!6666|6667|5555).* newnetworkid 0


Best regards,
Sergey Y  

понедельник, 7 октября 2019 г., 8:46:35 UTC+3 пользователь BarbosSergos написал:

Armache Antoni

unread,
Oct 14, 2019, 11:04:32 AM10/14/19
to mobicents-public
I dont know Bro...... i have reproduce the same scenarios but i am not able to forward anything(SRI or MT) from JSS7-SIM to SMSC.

I am still stuck where SMSC receive the message ........ from SS7-SIM     and say the following:


2019-10-14 18:03:21,989 WARN  [org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl] (pool-5-thread-1) Received SccpMessage for Translation but no matching Rule found for local routing
SccpMessage=Sccp Msg [Type=UDT networkId=0 sls=1 incomingOpc=3 incomingDpc=7 outgoingDpc=-1 CallingAddress(pc=0,ssn=8,AI=18,gt=GlobalTitle0100Impl [digits=22220, natureOfAddress=INTERNATIONAL, numberingPlan=ISDN_TELEPHONY, translationType=0, encodingScheme=BCDOddEncodingScheme[type=BCD_ODD, code=1]]) CalledParty(pc=0,ssn=6,AI=18,gt=GlobalTitle0100Impl [digits=21312, natureOfAddress=INTERNATIONAL, numberingPlan=ISDN_TELEPHONY, translationType=0, encodingScheme=BCDOddEncodingScheme[type=BCD_ODD, code=1]]) DataLen=64]

Ildar Akhtyamov

unread,
Oct 14, 2019, 12:38:06 PM10/14/19
to mobicent...@googlegroups.com
Hi Antoni,
"Received SccpMessage for Translation but no matching Rule found for local routing"
means you are missing a SCCP rule to match the message. You need to add one with 'sccp rule create' command.

--
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/57cb6a3d-6097-42f8-ab9a-ce0abdfd21c3%40googlegroups.com.


--
Ildar

Armache Antoni

unread,
Oct 15, 2019, 5:22:04 AM10/15/19
to mobicents-public
Hi Bro,

Can you please be more explicit, or show me an example configuration where an SS7-SIM is sending an SRI-request to SMSC and smsc forward it to SMPP-SIM.

Can you reproduce something like that with config files ? so i can adapt it to my config files and use it.

Br.

Usman Malik

unread,
Oct 15, 2019, 6:21:19 AM10/15/19
to mobicent...@googlegroups.com
Hi,

Just a reminder,
if you are handling Traffic (SRI-SM) of multiple GT's/MSISDN's then a catch-all definition/rule can do the trick
otherwise
rule for a single GT/MSISDN will suffice

Please correct me if I am wrong.

Best,
Usman Malik

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

Armache Antoni

unread,
Oct 15, 2019, 6:47:56 AM10/15/19
to mobicents-public

Hi,

I have no idea of catch-all definition/rule !!!! I am basically looking for a normal config files data that will do the trick from SS7 to SMPP.

Br.

BarbosSergos

unread,
Oct 15, 2019, 7:32:02 AM10/15/19
to mobicents-public
Hi Antoni,

Why do you want to send SRI-SM to SMPP? SRIForSM should be used only for MT part.
In restcomm-jss7 emulator you can send MO-FSM towards SMSC and then from SMSC to SMPP. This is what they did in video you've mentioned earlier, this is what I repeated.

Best regards,
Sergey Y. 

вторник, 15 октября 2019 г., 13:47:56 UTC+3 пользователь Armache Antoni написал:

Armache Antoni

unread,
Oct 15, 2019, 8:40:04 AM10/15/19
to mobicents-public
Hi Bro,

Can u please share all the files in :

restcomm-smsc-7.4.0-SNAPSHOT/wildfly-10.1.0.Final/standalone/data/


and some screenshots of SS7-SIM configuration for sending MO-FSM.

that will really help me
Reply all
Reply to author
Forward
0 new messages