Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 1386] New: LUA + Megaco/H248

Date: Tue, 20 Feb 2007 13:24:13 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1386

           Summary: LUA + Megaco/H248
           Product: Wireshark
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: j.verriere@xxxxxxxxxxxx


Build Information:
Version 0.99.5 (SVN Rev 20677)

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.10.7, with GLib 2.12.7, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0
(packet.dll version 4.0.0.755), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804


--
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()
   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, transactionID...

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

Thanks for your help.
Joseph


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.