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

Wireshark-dev: Re: [Wireshark-dev] Fwd: And again BER errors while decoding H248packets

From: Oleg Kostenko <oleg.kostenko@xxxxxxxxxxxx>
Date: Mon, 25 Sep 2006 13:09:42 +0400
Hello Anders,

BER errors are gone, but now some lines tell that there is '1 item' f
something, while actually there isn't:

        ...
        Item: mediaDescriptor (1)
          mediaDescriptor
            termStateDescr
here:         propertyParms: 1 item
              serviceState: inSvc (2)
            streams: oneStream (0)
              oneStream
                localControlDescriptor
                  reserveValue: False
                  reserveGroup: False
here:             propertyParms: 1 item
        Item: eventsDescriptor (4)
          eventsDescriptor
            requestID: 0
here:       eventList: 1 item
        ...

-- 
Best regards,
 Oleg                            mailto:spirent@xxxxxxxxxxxx


Monday, September 25, 2006, 1:08:29 AM, you wrote:

AB> Hi,
AB> I have checked in a fix please verify it with your traces.

AB> Best regards
AB> Anders

AB> -----Ursprungligt meddelande-----
AB> Fr�n: Oleg Kostenko [mailto:oleg.kostenko@xxxxxxxxxxxx] 
AB> Skickat: den 20 september 2006 10:41
AB> Till: Anders Broman; wireshark-dev@xxxxxxxxxxxxx
AB> �mne: Re[2]: Fwd: And again BER errors while decoding H248packets

AB> Hello Anders,

AB> Here is the fragment from the ASN.1 specification for H.248.

AB> TerminationStateDescriptor ::= SEQUENCE
AB> {
AB>   propertyParms       SEQUENCE OF PropertyParm,
AB>   eventBufferControl  EventBufferControl OPTIONAL,
AB>   serviceState        ServiceState OPTIONAL,
AB>   ...
AB> }

AB> As I understand, "SEQUENCE OF" means zero or more elements, so it is
AB> possible that there will be no propertyParms at all. So in terms of
AB> ASN.1 the packet is correct and no BER errors should occur. Right?