Once you get the raw file out of the pcap do this:
sox -t ul -r 8000 -c 1 file.raw file.wav
That's assuming it's ulaw. Change "ul" to "al" if it's Alaw. If it's some other codec then you'll need to figure out how to convert the raw to wav. (That's where anthm's improvement of fs_encode is really handy.)
-MC
Paul, yes, pcapsipdump is great.But now I want a .wav file out of that call, and wireshark crashes on certain files when trying to decode it... hence the question of other ways to extract it.-Avi
On Wed, Mar 6, 2013 at 11:08 PM, Paul Cupis <paul@cupis.co.uk> wrote:On 06/03/13 20:37, shouldbe q931 wrote:I believe that pcapsipdump can do this as well - take a pcap and create
> I am presuming that the pcap contains multiple "streams", so why not
> use a display filter to isolate and save each stream you are
> interested in,
per-call pcaps from it (SIP+RTP).
Regards.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org