Tuesday, 12 April 2016

Playing G.729 Calls captured using Wireshark


Playing G.729 Calls captured using Wireshark.

The calls captured in Wireshark can only be played if the codec is G.711 but not in case of G.729 Codec.
  
But you can still play a G.729 Call by following the below steps.

Software Required :-
1. Wireshark
2. Open G.729 Decoder ( http://codecpro.com/download.html)
3. Audacity Software (http://audacity.sourceforge.net/)
1- Open the capture in Wireshark,

2- If you do not see the RTP packets (G729) , then select the UDP packets -> right click and select Decode As… -> RTP

3- The rtp packets should now show up as G729.

4- Go to ”Statistics -> RTP -> Show All Streams”. Select the desired stream and press “Analyze”.

5- Select ”Save Payload…”. Save options are Format = .raw and Channel = forward. Name file sample.raw. The file should now be saved on your PC in RAW format.

6- Convert the .raw file to .pcm format using the Open G.729 decoder.

Syntax: va_g729_decoder.exe sample.raw sample.pcm.raw

7- Open Audacity and select “Project -> Import Raw File…”.

8- Select the sample.pcm.raw file and choose

    Signed 16-bit pc
    No endianness
    1 channel (mono)
    Start offset: 0
    Amount to import: 100%
    Sample rate: 8000

No comments:

Post a Comment