ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Problem LUA + MEGACO/H248

From: "Verriere Joseph" <j.verriere@xxxxxxxxxxxx>
Date: Tue, 20 Feb 2007 14:29:56 +0100
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 




Astellia will be in Barcelona for the 3GSM from 12 to 15 February 2007
Visit us Hall 1, stand 1B12!

----------------------------------------------------------------------------------------------------

Ce message et tout document joint sont confidentiels et à l'intention exclusive des destinataires. S'ils vous ont été adressés par erreur, merci d'en informer immédiatement l'expéditeur et de les détruire. Toute copie, diffusion ou utilisation non autorisée est interdite. Tout message électronique est susceptible d'altération : Astellia décline toute responsabilité si le message ou les documents joints ont subi une quelconque modification.

This message and any attachment are confidential and intended solely to its addressees. If you are not the intended recipient please cancel it and inform immediately the sender. Any unauthorised copy or dissemination is prohibited. Electronic messages may be altered: Astellia shall not be liable for those circumstances.

----------------------------------------------------------------------------------------------------