Ethereal-dev: [Ethereal-dev] getting data from subdissectors

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ed Warnicke <hagbard@xxxxxxxxxxxxxxxxxxx>
Date: 15 Dec 2001 15:43:31 -0500
I'm trying to augment the MGCP dissector to create appropriate
conversations for the RTP streams created and destroyed by MGCP 
signalling.  

My problem is that MGCP uses SDP to encode the actual descriptions of 
the rtp sessions to be created or destroyed, but the information
about whether we are creating, destroying, or just redundantly
mentioning an rtp session is coded in the MGCP message.  

As a result the conversation must be set up in the MGCP dissector 
based on the results of running the SDP dissector.  

My initial instinct is to query the proto_tree from the mgcp dissector
after having run the SDP dissector to make any decisions about setting 
up the RTP conversations.  Is this really the correct way to go about
it?  If so, do we have any examples of this approach in the existing
code base?

Ed


Attachment: pgpaYT870yQk3.pgp
Description: PGP signature