Actions

How To Convert RTP into WAV file: Difference between revisions

No edit summary
(NT: adjusted the page)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
Below describe the steps to convert the RTP streams into .wav audio file:  
Below describe the steps to convert the RTP streams into .wav audio file:  


1- Open the extracted SIP/RTP capture of the call you want to analyze with wireshark:
== Open the extracted SIP/RTP capture of the call you want to analyze with wireshark ==
Go to Telephony -> RTP -> RTP Streams
=== Go to Telephony -> RTP -> RTP Streams ===
 
[[Image:Telephony_RTP_RTP Streams.png]]  
[[Image:Telephony_RTP_RTP Streams.png]]  




Click “Analyze” button:
=== Click “Analyze” button ===


[[Image:Analyze.png]]  
[[Image:Analyze.png]]  


<br>


Save it to “Unsynchronized Forward Stream Audio”
=== Save it to “Unsynchronized Forward Stream Audio” ===


[[Image:Save.png]]  
[[Image:Save.png]]  


<br>


And Save as type: Raw
=== And Save as type: Raw ===
 
[[Image:Save_Raw.png]]  
[[Image:Save_Raw.png]]  


<br>


2- Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file.
Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file
Import the raw data to Audacity:
 
== Use Audacity to reformat it to .wav file ==
=== Import the raw data to Audacity ===
 
[[Image:Audacity_Import.png]]  
[[Image:Audacity_Import.png]]  


<br>


Export it and change the encoding and Sample rate:
=== Export it and change the encoding and Sample rate ===
 
[[Image:Export.png]]  
[[Image:Export.png]]  
[[Image:Change_Encoding_Sample Rate.png]]
[[Image:Change_Encoding_Sample Rate.png]]




<br>
=== Save it as WAV file ===
 
Save it as WAV file:
[[Image:Audacity_Import.png]]


<br>
[[Image:Audacity_Import.png]]

Latest revision as of 09:14, 18 June 2018

Sometimes we need to convert the RTP packets extracted from Wireshark into .wav file, so anyone can listen the call easily for troubleshooting audio issue. Below describe the steps to convert the RTP streams into .wav audio file:

Open the extracted SIP/RTP capture of the call you want to analyze with wireshark

Go to Telephony -> RTP -> RTP Streams


Click “Analyze” button


Save it to “Unsynchronized Forward Stream Audio”


And Save as type: Raw


Now you have the rtp streams in raw format. You can use a free tool called Audacity to reformat it to .wav file

Use Audacity to reformat it to .wav file

Import the raw data to Audacity


Export it and change the encoding and Sample rate


Save it as WAV file