[Freeswitch-users] Extract audio from PCAP

Michael Collins msc at freeswitch.org
Wed Mar 6 22:45:50 MSK 2013


I like that cool Perl script. I'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'm working on a script to do that automatically, but
in the meantime this post should help:

http://gteissier.wordpress.com/2010/03/02/tshark-the-swiss-army-knife-of-packet-analysis/

-MC

On Sun, Mar 3, 2013 at 4:40 PM, shouldbe q931 <shouldbeq931 at gmail.com>wrote:

> On Sun, Mar 3, 2013 at 11:40 PM, Avi Marcus <avi at avimarcus.net> wrote:
> > I've have some really large PCAPs sometimes and wireshark just dies
> trying
> > to decode the audio in them.
> >
> > All the links for audio extraction on voipinfo seem really old.
> >
> > Is there something else to extract the audio from pcaps? Or some command
> to
> > to pass tshark to just save all audio as a .wav file?
> >
> > What does voipmonitor use?
> > I think I asked this before...
> >
> > Thanks,
> > -Avi Marcus
>
> How big are the pcap files ?
>
> you could use editcap to split them up into more manageable chunks,
> and then use wireshark...
> http://www.wireshark.org/docs/man-pages/editcap.html
>
> I've not either but, youmight look at
>
> http://frox25.no-ip.org/~mtve/wiki/RtpExtract.html
>
> and
>
> http://www.netresec.com/?page=NetworkMiner
>
> Cheers
>
> Arne
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130306/b48812a5/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list