logo

Openplatform.xyz

Placeholder for our stuff related to Telecom, IT, Internet of things (IOT), ESP8266, Raspberry Pi

SIPp with SIP-I (ISUP) support

SIPp with SIP-I support works on Linux. No window please.

Download file sipp.svn.tar.gz from https://sourceforge.net/projects/sipp/files/sipp/3.2/

Unpack the files
# tar -zxvf sipp.svn.tar.gz

Optionally rename folder sipp.svn to sipp32-isup (just to indicate that this folder has SIPp with SIP-I support.)
# mv sipp.svn sipp32-isup

Change directory to sipp folder
# cd sipp32-isup

Now execute the command 'make' - Just executig 'make' command without any extensions means we are using SIPP without TLS and Authentication support.
a) Execute command 'make ossl' for TLS & Authentication support.
b) Execute command 'make pcapplay' for PCAP Play & No authentication support.
c) Execute command 'make pcapplay_ossl' for PCAP Play & Authentication support.

# make pcapplay_ossl

Errors and Solutions normally encountered

Error:  /bin/sh: gcc: command not found
Solution: # sudo yum install gcc

 Error: /bin/sh: g++: command not found
Solution: # sudo yum groupinstall 'Development Tools'

 Error: sipp.hpp:52:20: fatal error: curses.h: No such file or directory
Solution: # sudo yum install ncurses-devel ncurses

 Error: auth.c:32:10: fatal error: openssl/md5.h: No such file or directory
Solution: # sudo yum install openssl
                # sudo yum install openssl-devel

 Error: send_packets.c:44:10: fatal error: pcap.h: No such file or directory
Solution: # sudo yum install libpcap
                # sudo yum install libpcap-devel

finaly you will witness make completion.
make[1]: Leaving directory `/home/ec2-user/sipp32-isup'

SIPp is ready. Lets Test it.

 # ./sipp -v
SIPp v3.2-TLS-PCAP, version unknown, built Mar 4 2020, 10:37:22.

Sample UAS Script

Sample UAC Script

How to extract ISUP data from wireshark pcap file and use in a scenario script?

Open SIP-I pcap file in wireshark.

SIPI_Wireshark


Select sip message in wireshark packet list pane.
Expand message in packet detail pane and look for "ISDN User Part"
Right click on "ISDN User Part", click on Copy --> Bytes --> Hex Stream

You will get something like this
010020000003020604011021430a08011544214365870900

Insert \x at start and after every two digits. Finaly it should look like below:

 

Use this string in --level3-boundary-- of sip message in scenario

Links:


https://sourceforge.net/p/sipp/patches/34/

 

 



Suresh Hariramani

I am an IOT enthusiast with more than 20 years of experience in the IT sector. Specializing in telecom service's; follow me for some very innovative and best in class IOT products as I unfold my knowledge and passion for the subject.


Vatsal Hariramani

Just me, myself and I, exploring the universe of uknownment. I have a heart of love and interests in technology, IOT and travel . And I want to share my world with you .