{"id":542,"date":"2012-10-18T09:34:29","date_gmt":"2012-10-18T07:34:29","guid":{"rendered":""},"modified":"2018-11-01T00:48:04","modified_gmt":"2018-10-31T23:48:04","slug":"installing-sipp-32-debian-squeeze-605-32-bit","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/installing-sipp-32-debian-squeeze-605-32-bit\/","title":{"rendered":"Installing SIPp 3.2 on Debian Squeeze 6.0.5 32 bit"},"content":{"rendered":"<p>SIPp version 3.2 hasn&#39;t precompiled binary packages. There are some instructions provided at <a href=\"http:\/\/sipp.sourceforge.net\/doc\/reference.html#Installing+SIPp\">the sipp home page<\/a>, 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.<\/p>\n<h2>\n\tInstall prerequisities<\/h2>\n<p>Three pre-requisites are necessary to compile <b>SIPp<\/b>:<\/p>\n<ul>\n<li>\n\t\tC++ compiler<\/li>\n<li>\n\t\tCurses library<\/li>\n<li>\n\t\tOpenSSL (&gt;=0.9.7)<\/li>\n<\/ul>\n<p>For pcap play (RTP) support:<\/p>\n<ul>\n<li>\n\t\tlibnet<\/li>\n<li>\n\t\tlibpcap<\/li>\n<\/ul>\n<p>Install the gsl library used for generation of distributed pauses.<\/p>\n<p>During of the compilation process we may use any of following packages, so we will install them<\/p>\n<pre class=\"console\">\r\napt-get install  make gcc g++ automake autoconf libncurses5-dev python \r\nbuild-essential openssl libpcap-dev libssl-dev libnet1-dev libgsl0-dev gsl-bin libgsl0ldbl\r\n<\/pre>\n<h2>\n\tDownloading SIPp source files<\/h2>\n<p>Download source files using wget<\/p>\n<pre>\r\nwget <a href=\"http:\/\/sourceforge.net\/projects\/sipp\/files\/sipp\/3.2\/sipp.svn.tar.gz\" title=\"http:\/\/sourceforge.net\/projects\/sipp\/files\/sipp\/3.2\/sipp.svn.tar.gz\">http:\/\/sourceforge.net\/projects\/sipp\/files\/sipp\/3.2\/sipp.svn.tar.gz<\/a>\r\n<\/pre>\n<p>extract the archive<\/p>\n<pre>\r\ntar -xzf sipp.svn.tar.gz\r\n<\/pre>\n<p>go to a dirctory<\/p>\n<pre>\r\ncd sipp.svn\r\n<\/pre>\n<p>Now we have to (before main compilation) modify <strong>scenario.hpp<\/strong> file to includes limits.h file, so open the <strong>scenario.hpp <\/strong>file and just after the line<\/p>\n<p>#include &lt;sys\/socket.h&gt; write<\/p>\n<pre>\r\n#include &lt;limits.h&gt;<\/pre>\n<p>Save the changes.<\/p>\n<p>Now edit local.mk to enable GSL<\/p>\n<pre>\r\nvim local.mk\r\n<\/pre>\n<p>and uncomment all three lines.<\/p>\n<h2>\n\tCompile SIPp<\/h2>\n<p>Now we should start main compilation with pcpap play and TLS features:<\/p>\n<pre>\r\nmake pcapplay_ossl\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>\n\tRunning SIPp<\/h2>\n<p>Compiled binary is included in the same folder (<strong>sipp.svn<\/strong>) so try to run it with default scenarios:<\/p>\n<p>as US clients<\/p>\n<pre>\r\n .\/sipp -sn uac IP_address<\/pre>\n<p>as UA server<\/p>\n<pre>\r\n.\/sipp -sn uas<\/pre>\n<p>After running test sucessfully&nbsp; you will probably start to write own SIP scenarios. Good Luck!<\/p>","protected":false},"excerpt":{"rendered":"<p>SIPp version 3.2 hasn&#39;t precompiled binary packages. There are some instructions provided at <a href=\"http:\/\/sipp.sourceforge.net\/doc\/reference.html#Installing+SIPp\">the sipp home page<\/a>, 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.<\/p>\n<h2>\n\tInstall prerequisities<\/h2>\n<p>Three pre-requisites are necessary to compile <b>SIPp<\/b>:<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[809],"tags":[],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-sip-tools-en"],"taxonomy_info":{"category":[{"value":809,"label":"Tools"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":10,"category_info":[{"term_id":809,"name":"Tools","slug":"sip-tools-en","term_group":0,"term_taxonomy_id":807,"taxonomy":"category","description":"","parent":771,"count":10,"filter":"raw","cat_ID":809,"category_count":10,"category_description":"","cat_name":"Tools","category_nicename":"sip-tools-en","category_parent":771}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}