Tuesday, 23 September 2014

How to Intsall SiPp on Ubuntu


SIPp is a  stress or performance test tool / traffic generator for the SIP protocol. It can work in both Scenarios (UAC /UAS) and establishes and releases multiple calls with the INVITE and BYE methods.It can also reads Custom XML scenario files describing from very simple to complex call flows. It features the dynamic display of statistics about running tests (call rate, round trip delay, and message statistics), periodic CSV statistics dumps, TCP and UDP over multiple sockets or multiplexed with retransmission management and dynamically adjustable call rates.

SIPp can also send media (RTP) traffic through RTP echo and RTP /pcap replay. Media can be audio or video.

SIPp can be used to test various real SIP equipment like SIP proxies, B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also very useful to emulate thousands of user agents calling your SIP system.

How to install:

  • Using apt get:
    • Sipp comes as ubuntu pakage, you can  install sipp using following command.
      • Update the package index:
      • sudo apt-get update
      • Install sip-tester deb package:
      • sudo apt-get install sip-tester

When you run above command you can able run sipp as service from any on ubuntu. with  above steps the sipp version installed will be

           SIPp v3.2-PCAP, version unknown, built Dec  3 2011, 14:49:41.

If you want latest SIPp version then you need to follow below steps.

  • Install from Source code:

    • Download the latest release from
    • Install Dependencies :
      • Install following prerequisites before start compilation
        • sudo apt-get install dh-autoreconf
        • sudo apt-get install ncurses-dev
        • sudo apt-get install build-essential
        • sudo apt-get install libssl-dev libpcap-dev
        • sudo apt-get install libncurses5-dev
        • sudo apt-get install libsctp-dev lksctp-tools
    • Download Source: Consider you have to install SIPp v3.4.1
      • Install Dependencies.
      • cd /home/user/Desktop
      • mkdir sipp
      • tar -xvzf v3.4.1.tar.gz
      • You have four options to compile SIPp:
        • Without TLS (Transport Layer Security), SCTP or PCAP support: - This is the recommended setup if you don't need to handle SCTP, TLS or PCAP.
            • # cd sipp-3.4.1
            • # ./configure
            • # make
        • With TLS support, you must have installed OpenSSL library (>=0.9.8) (which may come with your system). Building SIPp consists only in adding the "--with-openssl" option to the configure command:
            • # cd sipp-3.4.1
            • # ./configure --with-openssl
            • # make
        • With PCAP play support:
            • # cd sipp-3.4.1
            • # ./configure --with-pcap
            • # make
        • With SCTP support:
            • # cd sipp-3.4.1
            • # ./configure --with-sctp
            • # make
      • You can also combine these various options, e.g.:
        • # cd sipp-3.4.1
        • # ./configure --with-sctp --with-pcap --with-openssl
        • # make
 After doing this you will get sipp binary in /home/user/Desktop/sipp/sipp-3.4.1 Directory.

to check Sipp version simply run ./sipp -v in currecnt directory (sipp-3.4.1).

If u have followed last option the version will be

SIPp v3.4.1-TLS-SCTP-PCAP-RTPSTREAM built Sep 23 2014, 12:39:45.


  1. This comment has been removed by the author.

  2. This comment has been removed by the author.

    1. Can we get TLS and pcap support for sip-tester.
      I am facing some issue with sip-tester , when I tried sipp as uac and tried to register with authentication, I am getting an error saying ' no authentication support'

      Can you please let me know if authentication and pcap support is there for sip-tester?

      I am using Ubuntu 12.04
      Thanks in advance. :)

  3. There is one additional step that should be shown for ubuntu, the above example only gets it working for upgrade or authentication if you run sipp in the untar'd directory. Perform the above steps until you get to the end and can run sipp -v and it shows the 3.4.1 version (or whatever version you compiled). Now move the apt-get installed 3.2 version sipp binary from /usr/bin/sipp to /usr/bin/sipp-3.2. Then copy the sipp-3.4.1/sipp binary to /usr/bin/sipp. This will make the version change system-wide.