Ethereal-dev: Re: [Ethereal-dev] Regarding Megaco binary decoder

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

Date: Tue, 25 Nov 2003 14:33:38 +0100
Kumar U wrote:
>    I have a binary encoded megaco message. I am trying to decode this
> message with ethereal. But ethereal could not able to decode it, where as it
> is decoding text based messages properly. Now  I am not able to understand
> whether it's problem with my message or the problem with ethereal.
>  1. Whether ethereal supports binary encoded megaco message . If so, can any
> one send us the path for this dll?
>  2. Can any one send me the asn encoded megaco message for my reference.
>     (In binary format).


Hi,

The Megaco dissector doesn't not support binary format. I don't know if someone is working on implementing that.

H.248/Megaco binary format is using ASN.1 BER what I know.

Maybe it is possible to use the Ethereal ASN.1 plugin (ASN.1 BER) + snacc ASN.1 compiler to decode H.248/Megaco.
I know very little about the ASN.1 plugin, and haven't tried it at all.
I don't have any binary Megaco messages to try with.

However the ASN.1 plugin does only support ASN.1 over TCP respectivelly UDP. Megaco is normally using SCTP, I think.
So there might need to be some changes in the ASN.1 plugin.
This might be quite small changes.

There is some info about the ASN.1 plugin if you search on the Ethereal site and you can also look in plugins\asn1\packet-asn1.c
in the Ethereal source code. There are some comments in the top of that file.

http://www.ethereal.com/lists/ethereal-dev/200310/msg00226.html