This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

RTP Packet in VoIP Call

asked Apr 17 '20

updated Apr 17 '20

Hello, I am trying to test the encryption process in VoIP communication. Before, I try capture "audio in VoIP" communication "without encryption".

When I try to capture VoIP audio between "two clients in one bridge", the RTP packet only appears as many as "4 pieces" in the main display of Wireshark. When "one client stops communication" and the other client is still on the bridge, the RTP packet then appears until the client stops communication.

Are there certain settings that must be met so that Wireshark can capture VoIP audio between two clients who are communicating? Anybody can help ?

Note, Wireshark is run on the same computer as the communication server. Thanks

Comments

Have you looked at the signaling too? It could be that after the first few RTP packets, the audio between the two VoIP endpoints is sent directly (which means your capture point is not in the path of the RTP packets)

User 36540 ( Apr 17 '20 )

I think signaling is appropriate. I also tried to filter packets that were captured based on the ip device used in communication, but still did not display data with the RTP packet while communicating (2 channel in 1 bridge). When one channel remains in the bridge, the RTP packet then appears until the channel is hanged.

User 8340 ( Apr 17 '20 )

1 Answer

0

answered Nov 20 '25

updated Nov 20 '25

I assume you are using SIP.

The communication server on which you are running Wireshark will only be aware of the signalling (SIP/SDP). When phone A contacts phone B, the signalling (SIP/SDP) would go through your communication server, however when the two phones "know" each other the RTP stream will flow directly between the two phones (not though the Communication server), which I think is where your problem is. You are sitting in the signalling path and to get the RTP packets you should tap into the path between the two phones using a port span/port mirror,

There is however settings on most of the communication servers to keep the connection between the two phones pinned up through the server ( called hair pinning). This however put a lot of strain on your communication server. Then only, the RTP packet would traverse the communication server

I hope this helps

cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.