Wireshark-dev: Re: [Wireshark-dev] Problem LUA+H248

From: "Luis Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Mon, 19 Feb 2007 21:26:21 +0100
Well, this is an odd one... the way ASN1 elements are added to the
tree is somewhat twisted... I'll be investigating how these are
made...

What you want is "h248.id" that is a byte-string containing the
termination id you are looking for terminationId is something else in
the syntax.

as a rule of thumb test if a filter works...

B.T.W. have you tried H.248's "Keep Persistent Context Information"
Preference... it adds a tree that does context analysis.

Luis

On 2/19/07, joseph.verriere@xxxxxxx <joseph.verriere@xxxxxxx> wrote:
Hello,

I have a problem using LUA with h248.
I wrote a script trying to take only one communication out of a capture file.
The problem is when I want to have the terminationID, it doesn't work. He
doesn't find it. Here are the code lines:

terminationId = Field.new("h248.terminationID")

extract_com = Listener.new()

function extract_com.packet(pinfo)
   print (terminationId())
end

I only get a blank line.

It works with "command" or others but there are some which doesn't work as
terminationID, contextID, mesID...

Is it me who isn't using it correctly or a bug?

Thanks for your help.
Joseph
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev



--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan