Ethereal-dev: Re: [Ethereal-dev] SCCP UDAT message contents

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

From: Jeff Morriss <morriss@xxxxxxxxx>
Date: Fri, 02 May 2003 14:29:49 -0400
Hi Bani,

BTW, is there any info on how to plug in new dissectors ?
for that matter even the TCAP and MAP dissectors you sent
over, there must be a place where some registration needs
to be done with the core or the lower layers ??

SCCP users (e.g., TCAP) basically must register with Ethereal for an SCCP SSN. The TCAP dissector I sent you does this in these lines of code:

        dissector_add("sccp.ssn", 6, tcap_handle); /* HLR*/
        dissector_add("sccp.ssn", 7 , tcap_handle);     /* VLR */
        dissector_add("sccp.ssn", 8 , tcap_handle); /* MSC */

If you want to use that TCAP dissector with a different SSN, you'd have to add that SSN here (or change one of those lines). (A better design would be to make the TCAP dissector use configurable SSNs--something I'd do if I ever have a chance to look at/finish/whatever that TCAP dissector.)

Regards,
-Jeff