Search This Blog

Wednesday, 25 December 2013

Installing SIPp on linux (Ubuntu)

SIPp:


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.


Installing SIPp on linux(Ubuntu):




Installing SIPP on Ubuntu 12.4 linux

 
  1. Run Terminal on Ubuntu
  1. Goto root  using su - and Pwd
  1. wget  http://sourceforge.net/projects/sipp/files/sipp/3.3/sipp-3.3.tar.gz/
  1. apt-get or Yum  intsall sipp-XXX-tar.gz
  1. cd Sipp-XX
  1. ls -l
  1.  apt-get install  openssl
  1. apt-get install  libssl-dev
  1. apt-get install  libssl1.0.0
  1. apt-get install  libssl0.9.8
  1. apt-get install  pcaputils
  1. apt-get install  libssl-dev
  1. apt-get install  libncursesw5-dev
  1. apt-get install  libncurses5-dev
  1. apt-get install  libcap-dev
  2. make pcapplay_ossl or make pcap
  1. ./sipp XXX.XX.XX.XXX -sf REGISTER_client.xml -inf Register_client.csv -m 1

If you get any error as below


tring to install sipp on ubuntu I get this error
qwerty at qwerty-desktop:~/sipp.2007-02-08$ sudo make
make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` sipp
make[1]: Entering directory `/home/qwerty/sipp.2007-02-08'
gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c -o scenario.o scenario.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: *** [message.o] Error 127
make[1]: Leaving directory `/home/qwerty/sipp.2007-02-08'
make: *** [all] Error 2




use these commands

sudo apt-get install -f 
sudo apt-get remove libncurses5-dev libncurses5 libtinfo5 ncurses-bin 
sudo apt-get update 
sudo apt-get upgrade 
sudo apt-get install build-essential linux-image linux-image-generic libncurses5-dev libncurses5







No comments:

Post a Comment

REST API

  API  is an application programming interface. It is a set of rules that allow programs to talk to each other. The developer creates the AP...