<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 9, 2018 at 8:04 AM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you very much George for replying.<br><div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2018-02-09 14:39 GMT+01:00 George Joseph <span dir="ltr"><<a href="mailto:gjoseph@digium.com" target="_blank">gjoseph@digium.com</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="m_-2937219840914757462gmail-">On Fri, Feb 9, 2018 at 6:27 AM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>SIPp's PCAP play feature can replay pre-recorded audio stream towards destination (see [1]).<br></div>Doc mentions tcpdump and Wireshark as tools to record such RTP streams without further details.<br><br></div><br></div>Looking at SIPp 3.2 source archive, I found PCAP samples in a pcap/ directory.<br>Sample pcap/g711a.pcap file includes RTP from <a href="http://10.1.3.1:5000" target="_blank">10.1.3.1:5000</a> to <a href="http://10.1.6.18:2006" target="_blank">10.1.6.18:2006</a><br><div><div><div><br></div><div>1. How can you "forge" IPs and/or ports of a pcap file ?<br></div></div></div></div></blockquote><div><br></div></span><div>You don't have to.  sipp only takes the rtp payload from the packets in the pcap then just sends the datagrams to the remote in the scenario.</div></div></div></div></blockquote><div><br></div></span><div>That is exactly what I'm after !<br></div><div><br>Before diving into this, can I ask which SIPp version and feature are we talking about here ?<br></div></div></div></div></div></blockquote><div><br></div><div>We're on 3.5.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Since I posted my question, I've read this [1] thread mentionning a new WAV file playing capability but this feature required SIPp 3.4 and above.<br></div><div>On Debian Stetch I'm playing with, packaged SIPp is 3.2.<br></div></div></div></div></div></blockquote><div><br></div><div>That's pretty old.  I'd recommend compiling from source yourself.  It's very easy to build.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div><br>[1] <a href="https://stackoverflow.com/questions/20122607/playing-audio-file-using-sipp/20123193" target="_blank">https://stackoverflow.com/<wbr>questions/20122607/playing-<wbr>audio-file-using-sipp/20123193</a><br></div><span class=""><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="m_-2937219840914757462gmail-"></span><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span class="m_-2937219840914757462gmail-">
<br></span><span class="m_-2937219840914757462gmail-HOEnZb"><font color="#888888">--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a rel="noreferrer" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a rel="noreferrer" href="https://community.asterisk.org/" target="_blank">https://community.asterisk.org<wbr>/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a rel="noreferrer" href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/wiki<wbr>/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a rel="noreferrer" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailm<wbr>an/listinfo/asterisk-users</a><br></font></span></blockquote><div><div><div><br><br></div></div></div></div><span class="m_-2937219840914757462gmail-HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-2937219840914757462gmail-m_-1429984392375208030gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a style="color:rgb(17,85,204);font-size:12.8px" rel="noreferrer" href="http://www.digium.com/" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a style="color:rgb(17,85,204);font-size:12.8px" rel="noreferrer" href="http://www.asterisk.org/" target="_blank">www.aster<wbr>isk.org</a><br><div><br></div></div></div>
</font></span></div></div>
<br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a rel="noreferrer" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a rel="noreferrer" href="https://community.asterisk.org/" target="_blank">https://community.asterisk.org<wbr>/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a rel="noreferrer" href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" target="_blank">https://wiki.asterisk.org/wiki<wbr>/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a rel="noreferrer" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailm<wbr>an/listinfo/asterisk-users</a><br></blockquote></span></div><br></div></div></div>
<br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>