SIPp version 3.2 hasn't precompiled binary packages. There are some instructions provided at the sipp home page, however small comment about limits.h is missing and therefore the compilation will not be succesfull. Here we provide instructions how to compile Sipp with SSL, pcap play and distributed pauses features enabled.
Three pre-requisites are necessary to compile SIPp:
- C++ compiler
- Curses library
- OpenSSL (>=0.9.7)
For pcap play (RTP) support:
Install the gsl library used for generation of distributed pauses.
During of the compilation process we may use any of following packages, so we will install them
apt-get install make gcc g++ automake autoconf libncurses5-dev python build-essential openssl libpcap-dev libssl-dev libnet1-dev libgsl0-dev gsl-bin libgsl0ldbl
Downloading SIPp source files
Download source files using wget
extract the archive
tar -xzf sipp.svn.tar.gz
go to a dirctory
Now we have to (before main compilation) modify scenario.hpp file to includes limits.h file, so open the scenario.hpp file and just after the line
#include <sys/socket.h> write
Save the changes.
Now edit local.mk to enable GSL
and uncomment all three lines.
Now we should start main compilation with pcpap play and TLS features:
Compiled binary is included in the same folder (sipp.svn) so try to run it with default scenarios:
as US clients
./sipp -sn uac IP_address
as UA server
./sipp -sn uas
After running test sucessfully you will probably start to write own SIP scenarios. Good Luck!