[h323plus] IE element decode

robertp sirex at siology.net
Tue Nov 4 07:53:14 EST 2008


lo,

i've been harnessing the Q931 class of h323plus to decode packets off
the wire, however i'm a little confused as to how h323plus decodes the
contents of the information elements which are contained within Q931.


i assumed (apparently wrongly) that you would do a check for an element
by using Q931.HasIE(), get the byte array of the IE using Q931.GetIE(),
then call something like Q931.decodeUserUserIE which returns a structure
of some sort which can have methods such as getConferenceGuid() called
upon it.

I've done the first few steps upto GetIE(), and i now have a PBYTEARRAY
of the IE, but i've no idea what to do with it now to decode its
contents in a workable, consistent manner.

I've poured through the h323+ code, but i cant seem to find where the
code deals with this problem. perhaps h323pdu plays a role ??


-- To clarify, i'm sniffing packets off the wire, i.e: mid call, so i'm
not an endpoint in the call, rather a onlooker. I don't have transport
objects or anything such, i just want to decode the packets and view
their contents. 

- Thanks in advance.




More information about the h323plus mailing list