Wireshark-bugs: [Wireshark-bugs] [Bug 4973] New: H.248 Notify Request: Observed Event "Generic"

Date: Mon, 5 Jul 2010 06:57:09 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4973

           Summary: H.248 Notify Request: Observed Event "Generic" decoded
                    wrongly
           Product: Wireshark
           Version: 1.2.9
          Platform: Other
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: Christian.Sieboerger@xxxxxx


Build Information:
Version 1.2.9 (SVN Rev 33171)

Copyright 1998-2010 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.16.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.0, with Lua 5.1, with GnuTLS 2.8.5, with Gcrypt 1.4.5,
with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Jun  8 2010),
with AirPcap.

Running on 32-bit Windows Vista Service Pack 1, build 6001, with WinPcap
version
4.1.1 (packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729
--
This observed events descriptor "30 15 80 04 00 01 00 01 a2 0d 30 0b 80 02 00
01 a1 05 04 03 0a 01 02" is decoded wrongly:

   ObservedEvent
       eventName: 00010001  Generic H.248.1 Annex E (0001)
           Package: Generic H.248.1 Annex E (0x0001)
           Event ID: Cause (1)
       eventParList: 1 item
           EventParameter
               Parameter: NR (Normal Release) (1)
               eventParamValue: 1 item
                   Generic Cause: Unknown (0x000a0102)

Correct should be:

   ObservedEvent
       eventName: 00010001  Generic H.248.1 Annex E (0001)
           Package: Generic H.248.1 Annex E (0x0001)
           Event ID: Cause (1)
       eventParList: 1 item
           EventParameter
               Parameter: Generalcause (1)
               eventParamValue: 1 item
                   Generic Cause: UR (Unavailable Resources)


This is according to ITU-T Rec. H.248.1 (05/2002), Annex E.1 Generic:

E.1 Generic
PackageID: g (0x0001)
Version: 1
Extends: None
Description:
   Generic package for commonly encountered items

E.1.2 Events
Cause
 EventID: cause (0x0001)
 Generic error event
 EventsDescriptor parameters: None
 ObservedEvents Descriptor Parameters:
 General Cause
   ParameterID: Generalcause (0x0001)
   This parameter groups the failures into six groups, which the MGC may act
upon.
   Type: enumeration
   Possible values:
      "NR" Normal Release (0x0001)
      "UR" Unavailable Resources (0x0002)
      "FT" Failure, Temporary (0x0003)
      "FP" Failure, Permanent (0x0004)
      "IW" Interworking Error (0x0005)
      "UN" Unsupported (0x0006)
 Failure Cause
   ParameterID: Failurecause (0x0002)
   Possible values: OCTET STRING
   Description: The Failure Cause is the value generated by the Released   
equipment, i.e. a
   released network connection. The concerned value is defined in the
appropriate bearer
   control protocol.


Please verify also the implementation of the other values under "General Cause"
and "Failure Cause".

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