This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Need direction on MGCP flow in Wireshark

0

When analyzing MCGP call flow, Wireshark is able to determine RTP (call packets) flow after a the session has been set up. Viewing the packets (MGCP and RTP) I cannot see how Wireshark is able to do this as there are no session info contained from the MGCP setup to the RTP packets. I would like someone who knows the code to please direct me to the area where this is resolved, so I can figure out how it works. Thanks in advance for saving me hours of time looking through an unfamiliar codebase.

asked 08 Feb '11, 07:59

drewcrewof2's gravatar image

drewcrewof2
1223
accept rate: 0%

edited 08 Feb '11, 08:00


One Answer:

0

Hi, In the MGCP setup info ther is presumably SDP giving the IP port and codec information for the RTP flow. Tse SDP information (pan/dissectors/packet-sdp.c) is used to set up a "conversation" (epan/conversation.c, doc/README.developer) for the upcomming RTP session and info is conveied to the RTP dissector (packet-rtp.c).

answered 08 Feb '11, 14:11

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Thanks, highly instructional, I got it!

(09 Feb '11, 10:17) drewcrewof2