SS7-SIMULATOR-IDP

203 views
Skip to first unread message

Armache Antoni

unread,
May 20, 2019, 4:48:01 AM5/20/19
to mobicents-public
Hi guys, hope everyone is doing okey.

Is there any ss7 simulator that you guys can recommend to me in order ( to send a large quantity of IDP CAP request ) to a specific server ?

something that will be free and easy to setup for load-test and stressing-test.

Br.  

mehdi

unread,
May 28, 2019, 12:33:29 PM5/28/19
to mobicents-public
Hello Armache,

you can modify and recompile jss7-simulator source and make a big while in the idp method.
you will be able to send 5000 idp by click, (the tcap stack is blocked to 5000 dialog)

its the begining of a custom cap simulator ;)

BR,

Mehdi

Armache Antoni

unread,
May 29, 2019, 4:15:43 AM5/29/19
to mobicents-public
Hi Medhi,

I am running the ss7 simulator on 170 which is configured and and bound to 168 server.  But whenever i try to send IDP ..... nothing happen in 168.

i even take a trace on 170 where the simulator is running but i cant see IDP.... i dont know but IDP is supposed to be in CAMEL protocol ? or is it different when using a simulator.

I have attached the trace and images, please your input and advise will really help me.

Br.
idpSimulation.pcap
SimGUI.jpg
SimCONSOLE.jpg

mehdi

unread,
May 29, 2019, 5:18:29 AM5/29/19
to mobicents-public
Hello Antoni,

without config files its not easy to debug.

Thatswhy i joined my config files of an example which works => you will be able to compare with your config.

you have the config files of simulator in simulator directory and different parts of server conf ( M3ua + sccp+ sctp) in other files.

Hope that it will help you.

BR,

Mehdi

Le lundi 20 mai 2019 10:48:01 UTC+2, Armache Antoni a écrit :
simulator+serveurConf (1).7z

Armache Antoni

unread,
May 29, 2019, 6:01:11 AM5/29/19
to mobicents-public
Medhi,

Thanks so much for the guidance and help, i don't know what to say except : U ROCK BROOOOOOOOOOOO

it's working ...... i am gonna change the source file for the jss7-simulator and put a while loop before sending IDP........ then rebuilds ...


Thanks AGAINNNNN

Armache Antoni

unread,
May 30, 2019, 4:22:44 AM5/30/19
to mobicents-public
Hi Medhi,

I have apply the loop in the TestcapssfMan.java a REBUILD...... i am sending 3000 idp but now am having error from my simulator after sending the first one.
---------------------------------------------------------------------------------------------
11:17:07,886 INFO  [TesterHostImpl] Exception when sending initialDP
org.restcomm.protocols.ss7.cap.api.CAPException: Awaiting TC-BEGIN response, can not send another dialog initiating primitive!
29281 [AWT-EventQueue-0] INFO org.restcomm.protocols.ss7.tools.simulator.management.TesterHostImpl  - Exception when sending initialDP
---------------------------------------------------------------------------------------------

i added this in my code when receiving idp from SIM but i keep getting this error

public void onInitialDPRequest(){

event.getCAPDialog().processInvokeWithoutAnswer(event.getInvokeId());       
            try {
                CAPDialogCircuitSwitchedCall currentCapDialog = (CAPDialogCircuitSwitchedCall) event.getCAPDialog();
                currentCapDialog.addContinueRequest();
                currentCapDialog.send();
                log.info("addContinueRequest");
            } catch (Exception e) {
                log.error("Exception Sending Continue : ", e);
            }
}


TC-BEGIN response is not a addcontinueRequest method ?

Br.

mehdi

unread,
Jul 24, 2019, 5:16:04 AM7/24/19
to mobicents-public
Hello Antoni,

really happy thats the simulator works ! and help you !!

Can you send debug log of your server ? and code ?

Sorry for answering late !






Le lundi 20 mai 2019 10:48:01 UTC+2, Armache Antoni a écrit :

Armache Antoni

unread,
Jul 24, 2019, 5:46:14 AM7/24/19
to mobicents-public

Hi medhi,

Apparently the load-test-idp I was performing with jainslee has some issue in terms of the sccp layer....

  So i decided to create a maven application that can be run from console and send 5000 idp to a server.

I was helped by one team member of telestax support.

Check the below link:


Armache Antoni

unread,
Jul 24, 2019, 5:52:48 AM7/24/19
to mobicents-public
Please read the README.txt on how to configured and run the application.



Armache Antoni

unread,
Oct 1, 2019, 4:11:29 AM10/1/19
to mobicents-public
Hi Medhi,

I need your help. I need to configured SS7 SIMULATOR to send message to SMPP SIMULATOR.

can you help me.

Br.

Waled Alezzy

unread,
Dec 19, 2023, 1:57:33 AM12/19/23
to mobicents-public
Hey Antoni,

Please share again the link that contains the how-to to configure and run the application.
As i am working on CamelGatewy ..

Regards,
Waleed

Waled Alezzy

unread,
Dec 21, 2023, 3:08:14 PM12/21/23
to mobicents-public
No one reply :(

My camelGateway isn't reviving the InitialDP as per the logs !!
01:35:41,003 INFO  [TcapManagementJmx-TcapStack] (main) Starting ...
01:35:41,006 INFO  [MBeanHostImpl] (main) Registered MBean with ObjectName=org.mobicents.ss7:layer=TCAP,type=Management,name=TcapStack
01:35:41,007 INFO  [CounterProviderManagement-CounterHost] (main) Registered CounterMediator: Tcap-TcapStack
01:35:41,007 INFO  [Ss7Management] (main) Registered MBean: TcapStack
01:35:41,007 INFO  [TcapManagementJmx-TcapStack] (main) Started ...
01:35:41,020 INFO  [CamelStatProviderJmx-CAMEL] (main) CamelStatProviderJmx Starting ...
01:35:41,022 INFO  [MBeanHostImpl] (main) Registered MBean with ObjectName=org.mobicents.ss7:layer=CAMEL_GW,type=Management,name=CAMEL
01:35:41,022 INFO  [CounterProviderManagement-CounterHost] (main) Registered CounterMediator: CAMEL GW-CAMEL
01:35:41,022 INFO  [Ss7Management] (main) Registered MBean: CAMEL
01:35:41,022 INFO  [CamelStatProviderJmx-CAMEL] (main) Restcomm Stats starting: CAMEL 7.0.11 community https://statistics.restcomm.com/rest/
01:35:41,023 INFO  [CamelStatProviderJmx-CAMEL] (main) CamelStatProviderJmx Started ...
01:35:41,055 INFO  [Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
01:35:41,066 INFO  [AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
01:35:41,071 INFO  [ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 37s:725ms
01:37:02,123 INFO  [SelectorThread] (Thread-21) Connected Association [name=ass1, associationType=SERVER, ipChannelType=SCTP, hostAddress=127.0.0.1, hostPort=8012, peerAddress=127.0.0.1, peerPort=8011, serverName=test, extraHostAddress=[]]
01:37:02,125 INFO  [AssociationHandler] (Thread-21) New association setup for Association=ass1 with 10 outbound streams, and 10 inbound streams.

01:37:02,156 WARN  [SccpStackImpl-SccpStack] (pool-29-thread-1) Rx : MTP-RESUME: AffectedDpc=1

Reply all
Reply to author
Forward
0 new messages