<div dir="ltr">Thanks for your response, Ben.<div><br></div><div>To clarify, I'd like to just wait for an INVITE and then ANSWER. And then I'd like to do it a random number of times (so I can ANSWER a random number of calls). I don't need to hear audio, but I do want to simulate two people being on a call (no need to call a real endpoint etc.). </div><div><br></div><div><br></div><div>BTW, when I try to install sippy_cup, I get an error:</div><div><br></div><div><div>~/sipp-3.5.0$ sudo gem install sippy_cup</div><div>Fetching: network_interface-0.0.1.gem (100%)</div><div>Building native extensions.  This could take a while...</div><div>ERROR:  Error installing sippy_cup:</div><div><span class="" style="white-space:pre">  </span>ERROR: Failed to build gem native extension.</div><div><br></div><div>        /usr/bin/ruby1.9.1 extconf.rb</div><div>/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)</div><div><span class="" style="white-space:pre">  </span>from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'</div><div><span class="" style="white-space:pre">    </span>from extconf.rb:1:in `<main>'</div><div><br></div><div><br></div><div>Gem files will remain installed in /var/lib/gems/1.9.1/gems/network_interface-0.0.1 for inspection.</div><div>Results logged to /var/lib/gems/1.9.1/gems/network_interface-0.0.1/ext/network_interface_ext/gem_make.out</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 12:28 PM, Ben Klang <span dir="ltr"><<a href="mailto:bklang@mojolingo.com" target="_blank">bklang@mojolingo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Mar 2, 2016, at 11:30 AM, Tickling Contest <<a href="mailto:tickling.contest@gmail.com" target="_blank">tickling.contest@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hello,<div><br></div><div>I have an ARI application that I would like to load test using SIPp (<a href="http://sipp.sourceforge.net/" target="_blank">http://sipp.sourceforge.net/</a>).</div><div><br></div></div></div></blockquote><div><br></div></span>Shameless plug: you may find SippyCup will help make creating load test profiles easier: <a href="https://mojolingo.github.com/sippy_cup" target="_blank">https://mojolingo.github.com/sippy_cup</a></div><div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div>I understand how to REGISTER and send an INVITE out to a callee, but it is not clear to me:</div><div><br></div><div>(a) how to choose a RANDOM port for each client I launch using say <a href="http://tomeko.net/other/sipp/sipp_cheatsheet.php?lang=pl" target="_blank">http://tomeko.net/other/sipp/sipp_cheatsheet.php?lang=pl</a> </div><div>(REGISTER_INVITE_client.xml). Should I generate this beforehand and pass it as field3, say? Or is there a method already available in SIPp to do this?</div></div></div></blockquote><div><br></div></span><div>I don’t know about making the ports random, but you can allocate a unique port-per-connect by passing the “-t un” flag to sipp. Did you really need them random, or just unique? And out of curiosity, why?  Most of the time, the default of “-t u1”, which is a single UDP port shared for all dialogs, works fine.</div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div>(b)  How do I receive a call into a SIPp client? In other words, how do I simulate a SIPp client to REGISTER and then wait for a call (from a SIPp client connected to the same PBX)?</div></div></div></blockquote><div><br></div></span><div>This gets tricky because SIPp isn’t a real UA.  However, you can write a SIPp scenario that sends a REGISTER then waits for an INVITE.  The Sippy Cup documentation has an example of this.</div><span class=""><br><blockquote type="cite"><div><div dir="ltr"><div>(c) Can I play an audio file (or an mp3) after the call starts from both the caller and callee?</div></div></div></blockquote><div><br></div></span>You can replay audio in the form of a pcap file. If I need real audio, the easiest path is usually to place a real call with tcpdump running.</div><div><a href="http://sipp.sourceforge.net/doc/reference.html#PCAP+Play" target="_blank">http://sipp.sourceforge.net/doc/reference.html#PCAP+Play</a></div><div><br></div><div><br></div><div>/BAK/</div><div><br></div><div><div><div style="line-height:normal;text-align:-webkit-auto;word-wrap:break-word"><span style="border-collapse:separate;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;line-height:normal;text-align:-webkit-auto;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;line-height:normal;text-align:-webkit-auto;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word"><div><div>-- </div><div>Ben Klang</div><div>Principal/Technology Strategist, Mojo Lingo</div><div><a href="mailto:bklang@mojolingo.com" target="_blank">bklang@mojolingo.com</a></div><div><a href="tel:%2B1.404.475.4841" value="+14044754841" target="_blank">+1.404.475.4841</a></div><div><br></div><div>Mojo Lingo -- <i>Voice applications that work like magic</i></div><div><a href="http://mojolingo.com/" target="_blank">http://mojolingo.com</a></div></div><div>Twitter: @MojoLingo</div><div><br></div></div></span></div></span></div></span></div></span></div></div><div><br></div><blockquote type="cite"><div><span class=""><div dir="ltr"><div><br></div><div>Your help is received with thanks!<br></div></div></span>
_______________________________________________<br>asterisk-app-dev mailing list<br><a href="mailto:asterisk-app-dev@lists.digium.com" target="_blank">asterisk-app-dev@lists.digium.com</a><br><a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" target="_blank">http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev</a><br></div></blockquote></div><br></div><br>_______________________________________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com">asterisk-app-dev@lists.digium.com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" rel="noreferrer" target="_blank">http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev</a><br>
<br></blockquote></div><br></div>