-
Installing SIPp on CentOS 6.7Protocols/SIP 2019. 10. 3. 01:43
I have tried to install SIPp on Linux but failed much time.
Finally, I installed SIPp on CentOS 6.71. Download SIPp
I downloaded SIPp 3.3 version from Sourceforge.
you cand download SIPp 3.3 through the below link. it's the latest version.
https://sourceforge.net/projects/sipp/files/sipp/3.4/sipp-3.3.990.tar.gz/download
*if it was not working, refer to http://sipp.sourceforge.net/2. Install dependencies.
Make or move to the directory where you want to install SIPp and execute below command
[root@localhost opt]# yum install make gcc gcc-c++ ncurses ncurses-devel openssl libnet libpcap libpcap-devel gsl gsl-devel
* in my case, libnet was not affected to installing SIPp.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117[root@localhost opt]# yum install make gcc gcc-c++ ncurses ncurses-devel openssl libnet libpcap libpcap-devel gsl gsl-develLoaded plugins: fastestmirror, refresh-packagekit, securitySetting up Install Processbase | 3.7 kB 00:00base/primary_db | 4.6 MB 00:01extras | 3.4 kB 00:00extras/primary_db | 35 kB 00:00updates | 3.4 kB 00:00updates/primary_db | 4.6 MB 00:00Package 1:make-3.81-20.el6.x86_64 already installed and latest versionPackage gcc-4.4.7-16.el6.x86_64 already installed and latest versionPackage ncurses-5.7-4.20090207.el6.x86_64 already installed and latest versionNo package libnet available.Package 14:libpcap-1ㅣ.4.0-4.20130826git2dbcaa1.el6.x86_64 already installed and latest versionResolving Dependencies--> Running transaction check---> Package gcc-c++.x86_64 0:4.4.7-16.el6 will be installed--> Processing Dependency: libstdc++-devel = 4.4.7-16.el6 for package: gcc-c++-4.4.7-16.el6.x86_64---> Package gsl.x86_64 0:1.13-1.el6 will be installed---> Package gsl-devel.x86_64 0:1.13-1.el6 will be installed--> Processing Dependency: automake for package: gsl-devel-1.13-1.el6.x86_64---> Package libpcap-devel.x86_64 14:1.4.0-4.20130826git2dbcaa1.el6 will be installed---> Package ncurses-devel.x86_64 0:5.7-4.20090207.el6 will be installed---> Package openssl.x86_64 0:1.0.1e-42.el6 will be updated---> Package openssl.x86_64 0:1.0.1e-42.el6_7.4 will be an update--> Running transaction check---> Package automake.noarch 0:1.11.1-4.el6 will be installed--> Processing Dependency: autoconf >= 2.62 for package: automake-1.11.1-4.el6.noarch---> Package libstdc++-devel.x86_64 0:4.4.7-16.el6 will be installed--> Running transaction check---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved=========================================================================================================================Package Arch Version Repository Size=========================================================================================================================Installing:gcc-c++ x86_64 4.4.7-16.el6 base 4.7 Mgsl x86_64 1.13-1.el6 base 787 kgsl-devel x86_64 1.13-1.el6 base 437 klibpcap-devel x86_64 14:1.4.0-4.20130826git2dbcaa1.el6 base 114 kncurses-devel x86_64 5.7-4.20090207.el6 base 641 kUpdating:openssl x86_64 1.0.1e-42.el6_7.4 updates 1.5 MInstalling for dependencies:autoconf noarch 2.63-5.1.el6 base 781 kautomake noarch 1.11.1-4.el6 base 550 klibstdc++-devel x86_64 4.4.7-16.el6 base 1.6 MTransaction Summary=========================================================================================================================Install 8 Package(s)Upgrade 1 Package(s)Total download size: 11 MIs this ok [y/N]: yDownloading Packages:(1/9): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00(2/9): automake-1.11.1-4.el6.noarch.rpm | 550 kB 00:00(3/9): gcc-c++-4.4.7-16.el6.x86_64.rpm | 4.7 MB 00:01(4/9): gsl-1.13-1.el6.x86_64.rpm | 787 kB 00:00(5/9): gsl-devel-1.13-1.el6.x86_64.rpm | 437 kB 00:00(6/9): libpcap-devel-1.4.0-4.20130826git2dbcaa1.el6.x86_64.rpm | 114 kB 00:00(7/9): libstdc++-devel-4.4.7-16.el6.x86_64.rpm | 1.6 MB 00:00(8/9): ncurses-devel-5.7-4.20090207.el6.x86_64.rpm | 641 kB 00:00(9/9): openssl-1.0.1e-42.el6_7.4.x86_64.rpm | 1.5 MB 00:00-------------------------------------------------------------------------------------------------------------------------Total 2.6 MB/s | 11 MB 00:04warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Importing GPG key 0xC105B9DE:Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>Package: centos-release-6-7.el6.centos.12.3.x86_64 (@anaconda-CentOS-201508042137.x86_64/6.7)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Is this ok [y/N]: yRunning rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionInstalling : libstdc++-devel-4.4.7-16.el6.x86_64 1/10Installing : autoconf-2.63-5.1.el6.noarch 2/10Installing : automake-1.11.1-4.el6.noarch 3/10Installing : gsl-1.13-1.el6.x86_64 4/10Installing : gsl-devel-1.13-1.el6.x86_64 5/10Installing : gcc-c++-4.4.7-16.el6.x86_64 6/10Installing : 14:libpcap-devel-1.4.0-4.20130826git2dbcaa1.el6.x86_64 7/10Updating : openssl-1.0.1e-42.el6_7.4.x86_64 8/10Installing : ncurses-devel-5.7-4.20090207.el6.x86_64 9/10Cleanup : openssl-1.0.1e-42.el6.x86_64 10/10Verifying : ncurses-devel-5.7-4.20090207.el6.x86_64 1/10Verifying : gcc-c++-4.4.7-16.el6.x86_64 2/10Verifying : gsl-1.13-1.el6.x86_64 3/10Verifying : autoconf-2.63-5.1.el6.noarch 4/10Verifying : automake-1.11.1-4.el6.noarch 5/10Verifying : gsl-devel-1.13-1.el6.x86_64 6/10Verifying : libstdc++-devel-4.4.7-16.el6.x86_64 7/10Verifying : openssl-1.0.1e-42.el6_7.4.x86_64 8/10Verifying : 14:libpcap-devel-1.4.0-4.20130826git2dbcaa1.el6.x86_64 9/10Verifying : openssl-1.0.1e-42.el6.x86_64 10/10Installed:gcc-c++.x86_64 0:4.4.7-16.el6 gsl.x86_64 0:1.13-1.el6gsl-devel.x86_64 0:1.13-1.el6 libpcap-devel.x86_64 14:1.4.0-4.20130826git2dbcaa1.el6ncurses-devel.x86_64 0:5.7-4.20090207.el6Dependency Installed:autoconf.noarch 0:2.63-5.1.el6 automake.noarch 0:1.11.1-4.el6 libstdc++-devel.x86_64 0:4.4.7-16.el6Updated:openssl.x86_64 0:1.0.1e-42.el6_7.4Complete![root@localhost opt]#cs
3. Unpacking tar.gz
# tar zxvf sipp-3.3.990.tar.gz
* in my case, I released sipp in /opt123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110[root@localhost opt]# tar zxvf sipp-3.3.990.tar.gzsipp-3.3.990/sipp-3.3.990/Makefile.insipp-3.3.990/src/sipp-3.3.990/src/xp_parser.csipp-3.3.990/src/strings.cppsipp-3.3.990/src/logger.cppsipp-3.3.990/src/sslthreadsafe.csipp-3.3.990/src/rijndael.csipp-3.3.990/src/deadcall.cppsipp-3.3.990/src/screen.cppsipp-3.3.990/src/stat.cppsipp-3.3.990/src/call.cppsipp-3.3.990/src/sip_parser.cppsipp-3.3.990/src/send_packets.csipp-3.3.990/src/actions.cppsipp-3.3.990/src/sipp.cppsipp-3.3.990/src/infile.cppsipp-3.3.990/src/socketowner.cppsipp-3.3.990/src/time.cppsipp-3.3.990/src/prepare_pcap.csipp-3.3.990/src/scenario.cppsipp-3.3.990/src/reporttask.cppsipp-3.3.990/src/rtpstream.cppsipp-3.3.990/src/listener.cppsipp-3.3.990/src/opentask.cppsipp-3.3.990/src/md5.csipp-3.3.990/src/watchdog.cppsipp-3.3.990/src/variables.cppsipp-3.3.990/src/socket.cppsipp-3.3.990/src/fortune.cppsipp-3.3.990/src/task.cppsipp-3.3.990/src/auth.csipp-3.3.990/src/comp.csipp-3.3.990/src/sipp_unittest.cppsipp-3.3.990/src/milenage.csipp-3.3.990/src/message.cppsipp-3.3.990/src/sslinit.csipp-3.3.990/aclocal.m4sipp-3.3.990/sipp.1sipp-3.3.990/configure.acsipp-3.3.990/missingsipp-3.3.990/README.txtsipp-3.3.990/sipp.dtdsipp-3.3.990/Makefile.amsipp-3.3.990/LICENSE.txtsipp-3.3.990/config.subsipp-3.3.990/THANKSsipp-3.3.990/depcompsipp-3.3.990/install-shsipp-3.3.990/cpplint.pysipp-3.3.990/configuresipp-3.3.990/include/sipp-3.3.990/include/screen.hppsipp-3.3.990/include/listener.hppsipp-3.3.990/include/sipp.hppsipp-3.3.990/include/reporttask.hppsipp-3.3.990/include/sip_parser.hppsipp-3.3.990/include/deadcall.hppsipp-3.3.990/include/infile.hppsipp-3.3.990/include/scenario.hppsipp-3.3.990/include/send_packets.hsipp-3.3.990/include/socketowner.hppsipp-3.3.990/include/time.hppsipp-3.3.990/include/watchdog.hppsipp-3.3.990/include/socket.hppsipp-3.3.990/include/milenage.hsipp-3.3.990/include/rijndael.hsipp-3.3.990/include/call.hppsipp-3.3.990/include/stat.hppsipp-3.3.990/include/comp.hsipp-3.3.990/include/sslcommon.hsipp-3.3.990/include/rtpstream.hppsipp-3.3.990/include/message.hppsipp-3.3.990/include/xp_parser.hsipp-3.3.990/include/strings.hppsipp-3.3.990/include/task.hppsipp-3.3.990/include/config.h.insipp-3.3.990/include/variables.hppsipp-3.3.990/include/actions.hppsipp-3.3.990/include/md5.hsipp-3.3.990/include/logger.hppsipp-3.3.990/include/opentask.hppsipp-3.3.990/include/prepare_pcap.hsipp-3.3.990/auto-generate-files.shsipp-3.3.990/pcap/sipp-3.3.990/pcap/dtmf_2833_5.pcapsipp-3.3.990/pcap/dtmf_2833_0.pcapsipp-3.3.990/pcap/dtmf_2833_2.pcapsipp-3.3.990/pcap/dtmf_2833_8.pcapsipp-3.3.990/pcap/dtmf_2833_3.pcapsipp-3.3.990/pcap/dtmf_2833_1.pcapsipp-3.3.990/pcap/dtmf_2833_pound.pcapsipp-3.3.990/pcap/dtmf_2833_4.pcapsipp-3.3.990/pcap/g711a.pcapsipp-3.3.990/pcap/dtmf_2833_7.pcapsipp-3.3.990/pcap/dtmf_2833_9.pcapsipp-3.3.990/pcap/dtmf_2833_star.pcapsipp-3.3.990/pcap/dtmf_2833_6.pcapsipp-3.3.990/config.guess[root@localhost opt]# lsrh sipp-3.3.990 sipp-3.3.990.tar.gz[root@localhost opt]# cd sipp-3.3.990[root@localhost sipp-3.3.990]# lsaclocal.m4 config.sub cpplint.py install-sh Makefile.in README.txt srcauto-generate-files.sh configure depcomp LICENSE.txt missing sipp.1 THANKSconfig.guess configure.ac include Makefile.am pcap sipp.dtd[root@localhost sipp-3.3.990]#cs
4. configuring SIPp
execute './configure' in SIPp directory to which you released 'tar.gz'
# ./configure123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143[root@localhost sipp-3.3.990]# ./configurechecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking dependency style of g++... gcc3checking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header files... yeschecking for initscr in -lcurses... yeschecking for pthread_mutex_init in -lpthread... yeschecking for library containing dlopen... none requiredchecking for library containing dlerror... none requiredchecking for library containing dlsym... none requiredchecking for library containing inet_addr... none requiredchecking for library containing inet_ntoa... none requiredchecking for library containing pthread_mutex_init... none requiredchecking for library containing pthread_mutex_destroy... none requiredchecking for library containing pthread_mutex_lock... none requiredchecking for library containing pthread_mutex_unlock... none requiredchecking for library containing pthread_self... none requiredchecking for library containing pthread_cancel... -lpthreadchecking for library containing pthread_join... none requiredchecking for library containing pthread_attr_init... none requiredchecking for library containing pthread_attr_setstacksize... none requiredchecking for library containing pthread_create... none requiredchecking for library containing pthread_attr_destroy... none requiredchecking for library containing pthread_setschedparam... none requiredchecking for library containing pthread_setcancelstate... none requiredchecking for library containing pthread_setcanceltype... none requiredchecking for library containing pthread_exit... none requiredchecking for library containing pthread_sigmask... none requiredchecking for library containing floor... -lmchecking for library containing pow... none requiredchecking for library containing htons... none requiredchecking for library containing ntohs... none requiredchecking for library containing bind... none requiredchecking for library containing freeaddrinfo... none requiredchecking for library containing getaddrinfo... none requiredchecking for library containing listen... none requiredchecking for library containing recvfrom... none requiredchecking for library containing shutdown... none requiredchecking linux/version.h usability... yeschecking linux/version.h presence... yeschecking for linux/version.h... yeschecking for Linux epoll(7) interface... yeschecking for size_t... yeschecking for working alloca.h... yeschecking for alloca... yeschecking arpa/inet.h usability... yeschecking arpa/inet.h presence... yeschecking for arpa/inet.h... yeschecking fcntl.h usability... yeschecking fcntl.h presence... yeschecking for fcntl.h... yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking netdb.h usability... yeschecking netdb.h presence... yeschecking for netdb.h... yeschecking netinet/in.h usability... yeschecking netinet/in.h presence... yeschecking for netinet/in.h... yeschecking stdlib.h usability... yeschecking stdlib.h presence... yeschecking for stdlib.h... yeschecking string.h usability... yeschecking string.h presence... yeschecking for string.h... yeschecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking unistd.h usability... yeschecking unistd.h presence... yeschecking for unistd.h... yeschecking for stdbool.h that conforms to C99... yeschecking for _Bool... yeschecking for inline... inlinechecking for pid_t... yeschecking for size_t... (cached) yeschecking for ssize_t... yeschecking for uint16_t... unsigned short intchecking for uint32_t... unsigned intchecking for uint8_t... unsigned charchecking vfork.h usability... nochecking vfork.h presence... nochecking for vfork.h... nochecking for fork... yeschecking for vfork... yeschecking for working fork... yeschecking for working vfork... (cached) yeschecking for alarm... yeschecking for dup2... yeschecking for floor... yeschecking for gethostname... yeschecking for gettimeofday... yeschecking for inet_ntoa... yeschecking for memmove... yeschecking for memset... yeschecking for pow... yeschecking for regcomp... yeschecking for socket... yeschecking for sqrt... yeschecking for strcasecmp... yeschecking for strchr... yeschecking for strcspn... yeschecking for strdup... yeschecking for strerror... yeschecking for strncasecmp... yeschecking for strrchr... yeschecking for strstr... yeschecking for strtol... yeschecking for strtoul... yeschecking for strtoull... yesconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating include/config.hconfig.status: executing depfiles commands[root@localhost sipp-3.3.990]#cs
5. installing SIPp
# make all123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113[root@localhost sipp-3.3.990]# make allg++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-actions.o -MD -MP -MF .deps/sipp-actions.Tpo -c -o sipp-actions.o `test -f 'src/actions.cpp' || echo './'`src/actions.cppmv -f .deps/sipp-actions.Tpo .deps/sipp-actions.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-auth.o -MD -MP -MF .deps/sipp-auth.Tpo -c -o sipp-auth.o `test -f 'src/auth.c' || echo './'`src/auth.cmv -f .deps/sipp-auth.Tpo .deps/sipp-auth.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-comp.o -MD -MP -MF .deps/sipp-comp.Tpo -c -o sipp-comp.o `test -f 'src/comp.c' || echo './'`src/comp.cmv -f .deps/sipp-comp.Tpo .deps/sipp-comp.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-call.o -MD -MP -MF .deps/sipp-call.Tpo -c -o sipp-call.o `test -f 'src/call.cpp' || echo './'`src/call.cppmv -f .deps/sipp-call.Tpo .deps/sipp-call.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-deadcall.o -MD -MP -MF .deps/sipp-deadcall.Tpo -c -o sipp-deadcall.o `test -f 'src/deadcall.cpp' || echo './'`src/deadcall.cppmv -f .deps/sipp-deadcall.Tpo .deps/sipp-deadcall.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-infile.o -MD -MP -MF .deps/sipp-infile.Tpo -c -o sipp-infile.o `test -f 'src/infile.cpp' || echo './'`src/infile.cppmv -f .deps/sipp-infile.Tpo .deps/sipp-infile.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-listener.o -MD -MP -MF .deps/sipp-listener.Tpo -c -o sipp-listener.o `test -f 'src/listener.cpp' || echo './'`src/listener.cppmv -f .deps/sipp-listener.Tpo .deps/sipp-listener.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-logger.o -MD -MP -MF .deps/sipp-logger.Tpo -c -o sipp-logger.o `test -f 'src/logger.cpp' || echo './'`src/logger.cppmv -f .deps/sipp-logger.Tpo .deps/sipp-logger.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-md5.o -MD -MP -MF .deps/sipp-md5.Tpo -c -o sipp-md5.o `test -f 'src/md5.c' || echo './'`src/md5.cmv -f .deps/sipp-md5.Tpo .deps/sipp-md5.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-message.o -MD -MP -MF .deps/sipp-message.Tpo -c -o sipp-message.o `test -f 'src/message.cpp' || echo './'`src/message.cppmv -f .deps/sipp-message.Tpo .deps/sipp-message.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-milenage.o -MD -MP -MF .deps/sipp-milenage.Tpo -c -o sipp-milenage.o `test -f 'src/milenage.c' || echo './'`src/milenage.cmv -f .deps/sipp-milenage.Tpo .deps/sipp-milenage.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-opentask.o -MD -MP -MF .deps/sipp-opentask.Tpo -c -o sipp-opentask.o `test -f 'src/opentask.cpp' || echo './'`src/opentask.cppmv -f .deps/sipp-opentask.Tpo .deps/sipp-opentask.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-reporttask.o -MD -MP -MF .deps/sipp-reporttask.Tpo -c -o sipp-reporttask.o `test -f 'src/reporttask.cpp' || echo './'`src/reporttask.cppmv -f .deps/sipp-reporttask.Tpo .deps/sipp-reporttask.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-rijndael.o -MD -MP -MF .deps/sipp-rijndael.Tpo -c -o sipp-rijndael.o `test -f 'src/rijndael.c' || echo './'`src/rijndael.cmv -f .deps/sipp-rijndael.Tpo .deps/sipp-rijndael.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-scenario.o -MD -MP -MF .deps/sipp-scenario.Tpo -c -o sipp-scenario.o `test -f 'src/scenario.cpp' || echo './'`src/scenario.cppmv -f .deps/sipp-scenario.Tpo .deps/sipp-scenario.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-sip_parser.o -MD -MP -MF .deps/sipp-sip_parser.Tpo -c -o sipp-sip_parser.o `test -f 'src/sip_parser.cpp' || echo './'`src/sip_parser.cppmv -f .deps/sipp-sip_parser.Tpo .deps/sipp-sip_parser.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-screen.o -MD -MP -MF .deps/sipp-screen.Tpo -c -o sipp-screen.o `test -f 'src/screen.cpp' || echo './'`src/screen.cppmv -f .deps/sipp-screen.Tpo .deps/sipp-screen.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-socket.o -MD -MP -MF .deps/sipp-socket.Tpo -c -o sipp-socket.o `test -f 'src/socket.cpp' || echo './'`src/socket.cppmv -f .deps/sipp-socket.Tpo .deps/sipp-socket.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-socketowner.o -MD -MP -MF .deps/sipp-socketowner.Tpo -c -o sipp-socketowner.o `test -f 'src/socketowner.cpp' || echo './'`src/socketowner.cppmv -f .deps/sipp-socketowner.Tpo .deps/sipp-socketowner.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-stat.o -MD -MP -MF .deps/sipp-stat.Tpo -c -o sipp-stat.o `test -f 'src/stat.cpp' || echo './'`src/stat.cppmv -f .deps/sipp-stat.Tpo .deps/sipp-stat.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-strings.o -MD -MP -MF .deps/sipp-strings.Tpo -c -o sipp-strings.o `test -f 'src/strings.cpp' || echo './'`src/strings.cppmv -f .deps/sipp-strings.Tpo .deps/sipp-strings.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-task.o -MD -MP -MF .deps/sipp-task.Tpo -c -o sipp-task.o `test -f 'src/task.cpp' || echo './'`src/task.cppmv -f .deps/sipp-task.Tpo .deps/sipp-task.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-time.o -MD -MP -MF .deps/sipp-time.Tpo -c -o sipp-time.o `test -f 'src/time.cpp' || echo './'`src/time.cppmv -f .deps/sipp-time.Tpo .deps/sipp-time.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-variables.o -MD -MP -MF .deps/sipp-variables.Tpo -c -o sipp-variables.o `test -f 'src/variables.cpp' || echo './'`src/variables.cppmv -f .deps/sipp-variables.Tpo .deps/sipp-variables.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-watchdog.o -MD -MP -MF .deps/sipp-watchdog.Tpo -c -o sipp-watchdog.o `test -f 'src/watchdog.cpp' || echo './'`src/watchdog.cppmv -f .deps/sipp-watchdog.Tpo .deps/sipp-watchdog.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp-xp_parser.o -MD -MP -MF .deps/sipp-xp_parser.Tpo -c -o sipp-xp_parser.o `test -f 'src/xp_parser.c' || echo './'`src/xp_parser.cmv -f .deps/sipp-xp_parser.Tpo .deps/sipp-xp_parser.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp-sipp.o -MD -MP -MF .deps/sipp-sipp.Tpo -c -o sipp-sipp.o `test -f 'src/sipp.cpp' || echo './'`src/sipp.cppmv -f .deps/sipp-sipp.Tpo .deps/sipp-sipp.Pog++ -g -O2 -o sipp sipp-actions.o sipp-auth.o sipp-comp.o sipp-call.o sipp-deadcall.o sipp-infile.o sipp-listener.o sipp-logger.o sipp-md5.o sipp-message.o sipp-milenage.o sipp-opentask.o sipp-reporttask.o sipp-rijndael.o sipp-scenario.o sipp-sip_parser.o sipp-screen.o sipp-socket.o sipp-socketowner.o sipp-stat.o sipp-strings.o sipp-task.o sipp-time.o sipp-variables.o sipp-watchdog.o sipp-xp_parser.o sipp-sipp.o -lm -lpthread -lcursesg++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-actions.o -MD -MP -MF .deps/sipp_unittest-actions.Tpo -c -o sipp_unittest-actions.o `test -f 'src/actions.cpp' || echo './'`src/actions.cppmv -f .deps/sipp_unittest-actions.Tpo .deps/sipp_unittest-actions.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-auth.o -MD -MP -MF .deps/sipp_unittest-auth.Tpo -c -o sipp_unittest-auth.o `test -f 'src/auth.c' || echo './'`src/auth.cmv -f .deps/sipp_unittest-auth.Tpo .deps/sipp_unittest-auth.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-comp.o -MD -MP -MF .deps/sipp_unittest-comp.Tpo -c -o sipp_unittest-comp.o `test -f 'src/comp.c' || echo './'`src/comp.cmv -f .deps/sipp_unittest-comp.Tpo .deps/sipp_unittest-comp.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-call.o -MD -MP -MF .deps/sipp_unittest-call.Tpo -c -o sipp_unittest-call.o `test -f 'src/call.cpp' || echo './'`src/call.cppmv -f .deps/sipp_unittest-call.Tpo .deps/sipp_unittest-call.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-deadcall.o -MD -MP -MF .deps/sipp_unittest-deadcall.Tpo -c -o sipp_unittest-deadcall.o `test -f 'src/deadcall.cpp' || echo './'`src/deadcall.cppmv -f .deps/sipp_unittest-deadcall.Tpo .deps/sipp_unittest-deadcall.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-infile.o -MD -MP -MF .deps/sipp_unittest-infile.Tpo -c -o sipp_unittest-infile.o `test -f 'src/infile.cpp' || echo './'`src/infile.cppmv -f .deps/sipp_unittest-infile.Tpo .deps/sipp_unittest-infile.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-listener.o -MD -MP -MF .deps/sipp_unittest-listener.Tpo -c -o sipp_unittest-listener.o `test -f 'src/listener.cpp' || echo './'`src/listener.cppmv -f .deps/sipp_unittest-listener.Tpo .deps/sipp_unittest-listener.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-logger.o -MD -MP -MF .deps/sipp_unittest-logger.Tpo -c -o sipp_unittest-logger.o `test -f 'src/logger.cpp' || echo './'`src/logger.cppmv -f .deps/sipp_unittest-logger.Tpo .deps/sipp_unittest-logger.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-md5.o -MD -MP -MF .deps/sipp_unittest-md5.Tpo -c -o sipp_unittest-md5.o `test -f 'src/md5.c' || echo './'`src/md5.cmv -f .deps/sipp_unittest-md5.Tpo .deps/sipp_unittest-md5.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-message.o -MD -MP -MF .deps/sipp_unittest-message.Tpo -c -o sipp_unittest-message.o `test -f 'src/message.cpp' || echo './'`src/message.cppmv -f .deps/sipp_unittest-message.Tpo .deps/sipp_unittest-message.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-milenage.o -MD -MP -MF .deps/sipp_unittest-milenage.Tpo -c -o sipp_unittest-milenage.o `test -f 'src/milenage.c' || echo './'`src/milenage.cmv -f .deps/sipp_unittest-milenage.Tpo .deps/sipp_unittest-milenage.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-opentask.o -MD -MP -MF .deps/sipp_unittest-opentask.Tpo -c -o sipp_unittest-opentask.o `test -f 'src/opentask.cpp' || echo './'`src/opentask.cppmv -f .deps/sipp_unittest-opentask.Tpo .deps/sipp_unittest-opentask.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-reporttask.o -MD -MP -MF .deps/sipp_unittest-reporttask.Tpo -c -o sipp_unittest-reporttask.o `test -f 'src/reporttask.cpp' || echo './'`src/reporttask.cppmv -f .deps/sipp_unittest-reporttask.Tpo .deps/sipp_unittest-reporttask.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-rijndael.o -MD -MP -MF .deps/sipp_unittest-rijndael.Tpo -c -o sipp_unittest-rijndael.o `test -f 'src/rijndael.c' || echo './'`src/rijndael.cmv -f .deps/sipp_unittest-rijndael.Tpo .deps/sipp_unittest-rijndael.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-scenario.o -MD -MP -MF .deps/sipp_unittest-scenario.Tpo -c -o sipp_unittest-scenario.o `test -f 'src/scenario.cpp' || echo './'`src/scenario.cppmv -f .deps/sipp_unittest-scenario.Tpo .deps/sipp_unittest-scenario.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-sip_parser.o -MD -MP -MF .deps/sipp_unittest-sip_parser.Tpo -c -o sipp_unittest-sip_parser.o `test -f 'src/sip_parser.cpp' || echo './'`src/sip_parser.cppmv -f .deps/sipp_unittest-sip_parser.Tpo .deps/sipp_unittest-sip_parser.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-screen.o -MD -MP -MF .deps/sipp_unittest-screen.Tpo -c -o sipp_unittest-screen.o `test -f 'src/screen.cpp' || echo './'`src/screen.cppmv -f .deps/sipp_unittest-screen.Tpo .deps/sipp_unittest-screen.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-socket.o -MD -MP -MF .deps/sipp_unittest-socket.Tpo -c -o sipp_unittest-socket.o `test -f 'src/socket.cpp' || echo './'`src/socket.cppmv -f .deps/sipp_unittest-socket.Tpo .deps/sipp_unittest-socket.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-socketowner.o -MD -MP -MF .deps/sipp_unittest-socketowner.Tpo -c -o sipp_unittest-socketowner.o `test -f 'src/socketowner.cpp' || echo './'`src/socketowner.cppmv -f .deps/sipp_unittest-socketowner.Tpo .deps/sipp_unittest-socketowner.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-stat.o -MD -MP -MF .deps/sipp_unittest-stat.Tpo -c -o sipp_unittest-stat.o `test -f 'src/stat.cpp' || echo './'`src/stat.cppmv -f .deps/sipp_unittest-stat.Tpo .deps/sipp_unittest-stat.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-strings.o -MD -MP -MF .deps/sipp_unittest-strings.Tpo -c -o sipp_unittest-strings.o `test -f 'src/strings.cpp' || echo './'`src/strings.cppmv -f .deps/sipp_unittest-strings.Tpo .deps/sipp_unittest-strings.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-task.o -MD -MP -MF .deps/sipp_unittest-task.Tpo -c -o sipp_unittest-task.o `test -f 'src/task.cpp' || echo './'`src/task.cppmv -f .deps/sipp_unittest-task.Tpo .deps/sipp_unittest-task.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-time.o -MD -MP -MF .deps/sipp_unittest-time.Tpo -c -o sipp_unittest-time.o `test -f 'src/time.cpp' || echo './'`src/time.cppmv -f .deps/sipp_unittest-time.Tpo .deps/sipp_unittest-time.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-variables.o -MD -MP -MF .deps/sipp_unittest-variables.Tpo -c -o sipp_unittest-variables.o `test -f 'src/variables.cpp' || echo './'`src/variables.cppmv -f .deps/sipp_unittest-variables.Tpo .deps/sipp_unittest-variables.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-watchdog.o -MD -MP -MF .deps/sipp_unittest-watchdog.Tpo -c -o sipp_unittest-watchdog.o `test -f 'src/watchdog.cpp' || echo './'`src/watchdog.cppmv -f .deps/sipp_unittest-watchdog.Tpo .deps/sipp_unittest-watchdog.Pogcc -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -I./include -g -O2 -D__LINUX -MT sipp_unittest-xp_parser.o -MD -MP -MF .deps/sipp_unittest-xp_parser.Tpo -c -o sipp_unittest-xp_parser.o `test -f 'src/xp_parser.c' || echo './'`src/xp_parser.cmv -f .deps/sipp_unittest-xp_parser.Tpo .deps/sipp_unittest-xp_parser.Pog++ -DHAVE_CONFIG_H -DHAVE_EPOLL -I. -I./include -I./include -D__LINUX -g -O2 -MT sipp_unittest-sipp_unittest.o -MD -MP -MF .deps/sipp_unittest-sipp_unittest.Tpo -c -o sipp_unittest-sipp_unittest.o `test -f 'src/sipp_unittest.cpp' || echo './'`src/sipp_unittest.cppmv -f .deps/sipp_unittest-sipp_unittest.Tpo .deps/sipp_unittest-sipp_unittest.Pog++ -g -O2 -o sipp_unittest sipp_unittest-actions.o sipp_unittest-auth.o sipp_unittest-comp.o sipp_unittest-call.o sipp_unittest-deadcall.o sipp_unittest-infile.o sipp_unittest-listener.o sipp_unittest-logger.o sipp_unittest-md5.o sipp_unittest-message.o sipp_unittest-milenage.o sipp_unittest-opentask.o sipp_unittest-reporttask.o sipp_unittest-rijndael.o sipp_unittest-scenario.o sipp_unittest-sip_parser.o sipp_unittest-screen.o sipp_unittest-socket.o sipp_unittest-socketowner.o sipp_unittest-stat.o sipp_unittest-strings.o sipp_unittest-task.o sipp_unittest-time.o sipp_unittest-variables.o sipp_unittest-watchdog.o sipp_unittest-xp_parser.o sipp_unittest-sipp_unittest.o -lm -lpthread -lcurses[root@localhost sipp-3.3.990]#cs
6. Execute SIPp
# ./sipp123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329[root@localhost sipp-3.3.990]# ./sippUsage:sipp remote_host[:remote_port] [options]Example:Run SIPp with embedded server (uas) scenario:./sipp -sn uasOn the same host, run SIPp with embedded client (uac) scenario:./sipp -sn uac 127.0.0.1Available options:*** Scenario file options:-sd : Dumps a default scenario (embedded in the SIPp executable)-sf : Loads an alternate XML scenario file. To learn more about XML scenariosyntax, use the -sd option to dump embedded scenarios. They contain all thenecessary help.-oocsf : Load out-of-call scenario.-oocsn : Load out-of-call scenario.-sn : Use a default scenario (embedded in the SIPp executable). If this option isomitted, the Standard SipStone UAC scenario is loaded.Available values in this version:- 'uac' : Standard SipStone UAC (default).- 'uas' : Simple UAS responder.- 'regexp' : Standard SipStone UAC - with regexp and variables.- 'branchc' : Branching and conditional branching in scenarios - client.- 'branchs' : Branching and conditional branching in scenarios - server.Default 3pcc scenarios (see -3pcc option):- '3pcc-C-A' : Controller A side (must be started after all other 3pccscenarios)- '3pcc-C-B' : Controller B side.- '3pcc-A' : A side.- '3pcc-B' : B side.*** IP, port and protocol options:-t : Set the transport mode:- u1: UDP with one socket (default),- un: UDP with one socket per call,- ui: UDP with one socket per IP address. The IP addresses must be definedin the injection file.- t1: TCP with one socket,- tn: TCP with one socket per call,- c1: u1 + compression (only if compression plugin loaded),- cn: un + compression (only if compression plugin loaded). This plugin isnot provided with SIPp.-i : Set the local IP address for 'Contact:','Via:', and 'From:' headers. Defaultis primary host IP address.-p : Set the local port number. Default is a random free port chosen by thesystem.-bind_local : Bind socket to local IP address, i.e. the local IP address is used as thesource IP address. If SIPp runs in server mode it will only listen on thelocal IP address instead of all IP addresses.-ci : Set the local control IP address-cp : Set the local control port number. Default is 8888.-max_socket : Set the max number of sockets to open simultaneously. This option issignificant if you use one socket per call. Once this limit is reached,traffic is distributed over the sockets already opened. Default value is50000-max_reconnect : Set the the maximum number of reconnection.-reconnect_close : Should calls be closed on reconnect?-reconnect_sleep : How long (in milliseconds) to sleep between the close and reconnect?-rsa : Set the remote sending address to host:port for sending the messages.*** SIPp overall behavior options:-v : Display version and copyright information.-bg : Launch SIPp in background mode.-nostdin : Disable stdin.-plugin : Load a plugin.-sleep : How long to sleep for at startup. Default unit is seconds.-skip_rlimit : Do not perform rlimit tuning of file descriptor limits. Default: false.-buff_size : Set the send and receive buffer size.-sendbuffer_warn : Produce warnings instead of errors on SendBuffer failures.-lost : Set the number of packets to lose by default (scenario specificationsoverride this value).-key : keyword valueSet the generic parameter named "keyword" to "value".-set : variable valueSet the global variable parameter named "variable" to "value".-tdmmap : Generate and handle a table of TDM circuits.A circuit must be available for the call to be placed.Format: -tdmmap {0-3}{99}{5-8}{1-31}-dynamicStart : variable valueSet the start offset of dynamic_id variable-dynamicMax : variable valueSet the maximum of dynamic_id variable-dynamicStep : variable valueSet the increment of dynamic_id variable*** Call behavior options:-aa : Enable automatic 200 OK answer for INFO, UPDATE and NOTIFY messages.-base_cseq : Start value of [cseq] for each call.-cid_str : Call ID string (default %u-%p@%s). %u=call_number, %s=ip_address,%p=process_number, %%=% (in any order).-d : Controls the length of calls. More precisely, this controls the duration of'pause' instructions in the scenario, if they do not have a 'milliseconds'section. Default value is 0 and default unit is milliseconds.-deadcall_wait : How long the Call-ID and final status of calls should be kept to improvemessage and error logs (default unit is ms).-auth_uri : Force the value of the URI for authentication.By default, the URI is composed of remote_ip:remote_port.-au : Set authorization username for authentication challenges. Default is takenfrom -s argument-ap : Set the password for authentication challenges. Default is 'password'-s : Set the username part of the request URI. Default is 'service'.-default_behaviors: Set the default behaviors that SIPp will use. Possbile values are:- all Use all default behaviors- none Use no default behaviors- bye Send byes for aborted calls- abortunexp Abort calls on unexpected messages- pingreply Reply to ping requestsIf a behavior is prefaced with a -, then it is turned off. Example:all,-bye-nd : No Default. Disable all default behavior of SIPp which are the following:- On UDP retransmission timeout, abort the call by sending a BYE or a CANCEL- On receive timeout with no ontimeout attribute, abort the call by sendinga BYE or a CANCEL- On unexpected BYE send a 200 OK and close the call- On unexpected CANCEL send a 200 OK and close the call- On unexpected PING send a 200 OK and continue the call- On any other unexpected message, abort the call by sending a BYE or aCANCEL-pause_msg_ign : Ignore the messages received during a pause defined in the scenario*** Injection file options:-inf : Inject values from an external CSV file during calls into the scenarios.First line of this file say whether the data is to be read in sequence(SEQUENTIAL), random (RANDOM), or user (USER) order.Each line corresponds to one call and has one or more ';' delimited datafields. Those fields can be referred as [field0], [field1], ... in the xmlscenario file. Several CSV files can be used simultaneously (syntax: -inff1.csv -inf f2.csv ...)-infindex : file fieldCreate an index of file using field. For example -inf users.csv -infindexusers.csv 0 creates an index on the first key.-ip_field : Set which field from the injection file contains the IP address from whichthe client will send its messages.If this option is omitted and the '-t ui' option is present, then field 0 isassumed.Use this option together with '-t ui'*** RTP behaviour options:-mi : Set the local media IP address (default: local primary host IP address)-rtp_echo : Enable RTP echo. RTP/UDP packets received on port defined by -mp are echoedto their sender.RTP/UDP packets coming on this port + 2 are also echoed to their sender(used for sound and video echo).-mb : Set the RTP echo buffer size (default: 2048).-mp : Set the local RTP echo port number. Default is 6000.*** Call rate options:-r : Set the call rate (in calls per seconds). This value can bechanged duringtest by pressing '+','_','*' or '/'. Default is 10.pressing '+' key to increase call rate by 1 * rate_scale,pressing '-' key to decrease call rate by 1 * rate_scale,pressing '*' key to increase call rate by 10 * rate_scale,pressing '/' key to decrease call rate by 10 * rate_scale.-rp : Specify the rate period for the call rate. Default is 1 second and defaultunit is milliseconds. This allows you to have n calls every m milliseconds(by using -r n -rp m).Example: -r 7 -rp 2000 ==> 7 calls every 2 seconds.-r 10 -rp 5s => 10 calls every 5 seconds.-rate_scale : Control the units for the '+', '-', '*', and '/' keys.-rate_increase : Specify the rate increase every -fd units (default is seconds). This allowsyou to increase the load for each independent logging period.Example: -rate_increase 10 -fd 10s==> increase calls by 10 every 10 seconds.-rate_max : If -rate_increase is set, then quit after the rate reaches this value.Example: -rate_increase 10 -rate_max 100==> increase calls by 10 until 100 cps is hit.-no_rate_quit : If -rate_increase is set, do not quit after the rate reaches -rate_max.-l : Set the maximum number of simultaneous calls. Once this limit is reached,traffic is decreased until the number of open calls goes down. Default:(3 * call_duration (s) * rate).-m : Stop the test and exit when 'calls' calls are processed-users : Instead of starting calls at a fixed rate, begin 'users' calls at startup,and keep the number of calls constant.*** Retransmission and timeout options:-recv_timeout : Global receive timeout. Default unit is milliseconds. If the expected messageis not received, the call times out and is aborted.-send_timeout : Global send timeout. Default unit is milliseconds. If a message is not sent(due to congestion), the call times out and is aborted.-timeout : Global timeout. Default unit is seconds. If this option is set, SIPp quitsafter nb units (-timeout 20s quits after 20 seconds).-timeout_error : SIPp fails if the global timeout is reached is set (-timeout optionrequired).-max_retrans : Maximum number of UDP retransmissions before call ends on timeout. Defaultis 5 for INVITE transactions and 7 for others.-max_invite_retrans: Maximum number of UDP retransmissions for invite transactions before callends on timeout.-max_non_invite_retrans: Maximum number of UDP retransmissions for non-invite transactions before callends on timeout.-nr : Disable retransmission in UDP mode.-rtcheck : Select the retransmission detection method: full (default) or loose.-T2 : Global T2-timer in milli seconds*** Third-party call control options:-3pcc : Launch the tool in 3pcc mode ("Third Party call control"). The passed IPaddress depends on the 3PCC role.- When the first twin command is 'sendCmd' then this is the address of theremote twin socket. SIPp will try to connect to this address:port to sendthe twin command (This instance must be started after all other 3PCCscenarios).Example: 3PCC-C-A scenario.- When the first twin command is 'recvCmd' then this is the address of thelocal twin socket. SIPp will open this address:port to listen for twincommand.Example: 3PCC-C-B scenario.-master : 3pcc extended mode: indicates the master number-slave : 3pcc extended mode: indicates the slave number-slave_cfg : 3pcc extended mode: indicates the file where the master and slave addressesare stored*** Performance and watchdog options:-timer_resol : Set the timer resolution. Default unit is milliseconds. This option has animpact on timers precision.Small values allow more precise scheduling butimpacts CPU usage.If the compression is on, the value is set to 50ms. Thedefault value is 10ms.-max_recv_loops : Set the maximum number of messages received read per cycle. Increase thisvalue for high traffic level. The default value is 1000.-max_sched_loops : Set the maximum number of calls run per event loop. Increase this value forhigh traffic level. The default value is 1000.-watchdog_interval: Set gap between watchdog timer firings. Default is 400.-watchdog_reset : If the watchdog timer has not fired in more than this time period, then resetthe max triggers counters. Default is 10 minutes.-watchdog_minor_threshold: If it has been longer than this period between watchdog executions count aminor trip. Default is 500.-watchdog_major_threshold: If it has been longer than this period between watchdog executions count amajor trip. Default is 3000.-watchdog_major_maxtriggers: How many times the major watchdog timer can be tripped before the test isterminated. Default is 10.-watchdog_minor_maxtriggers: How many times the minor watchdog timer can be tripped before the test isterminated. Default is 120.*** Tracing, logging and statistics options:-f : Set the statistics report frequency on screen. Default is 1 and default unitis seconds.-trace_stat : Dumps all statistics in <scenario_name>_<pid>.csv file. Use the '-h stat'option for a detailed description of the statistics file content.-stat_delimiter : Set the delimiter for the statistics file-stf : Set the file name to use to dump statistics-fd : Set the statistics dump log report frequency. Default is 60 and default unitis seconds.-periodic_rtd : Reset response time partition counters each logging interval.-trace_msg : Displays sent and received SIP messages in <scenario filename>_<pid>_messages.log-message_file : Set the name of the message log file.-message_overwrite: Overwrite the message log file (default true).-trace_shortmsg : Displays sent and received SIP messages as CSV in <scenario filename>_<pid>_shortmessages.log-shortmessage_file: Set the name of the short message log file.-shortmessage_overwrite: Overwrite the short message log file (default true).-trace_counts : Dumps individual message counts in a CSV file.-trace_err : Trace all unexpected messages in <scenario file name>_<pid>_errors.log.-error_file : Set the name of the error log file.-error_overwrite : Overwrite the error log file (default true).-trace_error_codes: Dumps the SIP response codes of unexpected messages to <scenario filename>_<pid>_error_codes.log.-trace_calldebug : Dumps debugging information about aborted calls to<scenario_name>_<pid>_calldebug.log file.-calldebug_file : Set the name of the call debug file.-calldebug_overwrite: Overwrite the call debug file (default true).-trace_screen : Dump statistic screens in the <scenario_name>_<pid>_screens.log file whenquitting SIPp. Useful to get a final status report in background mode (-bgoption).-trace_rtt : Allow tracing of all response times in <scenario file name>_<pid>_rtt.csv.-rtt_freq : freq is mandatory. Dump response times every freq calls in the log filedefined by -trace_rtt. Default value is 200.-trace_logs : Allow tracing of <log> actions in <scenario file name>_<pid>_logs.log.-log_file : Set the name of the log actions log file.-log_overwrite : Overwrite the log actions log file (default true).-ringbuffer_files: How many error, message, shortmessage and calldebug files should be keptafter rotation?-ringbuffer_size : How large should error, message, shortmessage and calldebug files be beforethey get rotated?-max_log_size : What is the limit for error, message, shortmessage and calldebug file sizes.Signal handling:SIPp can be controlled using POSIX signals. The following signalsare handled:USR1: Similar to pressing the 'q' key. It triggers a soft exitof SIPp. No more new calls are placed and all ongoing callsare finished before SIPp exits.Example: kill -SIGUSR1 732USR2: Triggers a dump of all statistics screens in<scenario_name>_<pid>_screens.log file. Especially usefulin background mode to know what the current status is.Example: kill -SIGUSR2 732Exit codes:Upon exit (on fatal error or when the number of asked calls (-moption) is reached, SIPp exits with one of the following exitcode:0: All calls were successful1: At least one call failed97: Exit on internal command. Calls may have been processed99: Normal exit without calls processed-1: Fatal error-2: Fatal error binding a socket[root@localhost sipp-3.3.990]#cs