I ran into a similar issue and while searching for a solution, I ran into a few threads describing the same problem but no solution. It turns out that the sox command must have the proper arguments in order to properly decode raw files. Feeding sox with an u-law stream and asking to be decoded as an a-law stream will create garbled sound.
I posted a more descriptive procedure on how to extract audio from rtpproxy pcap files here: http://voipembedded.wordpress.com/extracting-audio-from-calls-recorded-with-rtpproxy/ Regards, Ovidiu Sas On Fri, Feb 5, 2010 at 10:04 PM, indiver nehru <nehru.i...@gmail.com> wrote: > Hi Everyone, > I'm facing the same problem as the other guy vikram facing. When i heard the > recorded file, a lot of noise is occuring in recorded files. I'm not able to > hear the recorded voice clearly. Is that problem in rtpproxy or rtpbreak, > sox. I'm using the following commands to convert rtp files to wav as > mentioned in the mailing list. > RTPBREAK: > ./rtpbreak -W -r > 9fc07263-4bcb31af\@192.168.3.10\=9c989ad31fa3a3ffo3\;1.o.rtp > ./rtpbreak -W -r > 9fc07263-4bcb31af\@192.168.3.10\=9c989ad31fa3a3ffo3\;1.a.rtp > SOX: > sox --combine merge -r 8k -A rtp.0.0.raw -r 8k -A rtp.1.0.raw -t wavpcm -s > out.wav. > > Regards, > Nehru. > _______________________________________________ > Users mailing list > Users@rtpproxy.org > http://lists.rtpproxy.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@rtpproxy.org http://lists.rtpproxy.org/mailman/listinfo/users