<div dir="ltr">Wow, that&#39;s a complicated procedure.<div>Identify the IP, then extract the rtp, then convert that to raw audio, then you need to know exactly what type of raw audio to open it.</div><div>By the way, I tried processing a 230mb PCAP.. that last batch with the for  loops sucked an entire core and I stopped it after like 15 mins. Payloads was 238mb and the sounds.raw only got up to 53mb before I stopped it.. I don&#39;t know how far it would have gotten.</div>

<div><br></div><div>Michael, is there something faster? :)<br clear="all"><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span><br></div></div>
<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 9:45 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I like that cool Perl script. I&#39;ll have to try that some time. In the meantime you can use tshark to extract the rtp and then use sox to turn them into wav files. I&#39;m working on a script to do that automatically, but in the meantime this post should help:<br>


<br><a href="http://gteissier.wordpress.com/2010/03/02/tshark-the-swiss-army-knife-of-packet-analysis/" target="_blank">http://gteissier.wordpress.com/2010/03/02/tshark-the-swiss-army-knife-of-packet-analysis/</a><br><br>

-MC<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
On Sun, Mar 3, 2013 at 4:40 PM, shouldbe q931 <span dir="ltr">&lt;<a href="mailto:shouldbeq931@gmail.com" target="_blank">shouldbeq931@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div>On Sun, Mar 3, 2013 at 11:40 PM, Avi Marcus &lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt; wrote:<br>
&gt; I&#39;ve have some really large PCAPs sometimes and wireshark just dies trying<br>
&gt; to decode the audio in them.<br>
&gt;<br>
&gt; All the links for audio extraction on voipinfo seem really old.<br>
&gt;<br>
&gt; Is there something else to extract the audio from pcaps? Or some command to<br>
&gt; to pass tshark to just save all audio as a .wav file?<br>
&gt;<br>
&gt; What does voipmonitor use?<br>
&gt; I think I asked this before...<br>
&gt;<br>
&gt; Thanks,<br>
&gt; -Avi Marcus<br>
<br>
</div></div>How big are the pcap files ?<br>
<br>
you could use editcap to split them up into more manageable chunks,<br>
and then use wireshark...<br>
<a href="http://www.wireshark.org/docs/man-pages/editcap.html" target="_blank">http://www.wireshark.org/docs/man-pages/editcap.html</a><br>
<br>
I&#39;ve not either but, youmight look at<br>
<br>
<a href="http://frox25.no-ip.org/~mtve/wiki/RtpExtract.html" target="_blank">http://frox25.no-ip.org/~mtve/wiki/RtpExtract.html</a><br>
<br>
and<br>
<br>
<a href="http://www.netresec.com/?page=NetworkMiner" target="_blank">http://www.netresec.com/?page=NetworkMiner</a><br>
<br>
Cheers<br>
<br>
Arne<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>

<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>