Ethereal-dev: SV: [Ethereal-dev] [Camel] BER error

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Sun, 27 Nov 2005 01:19:46 +0100
Title: Message

Hi,

Well the previous (ethereal) def was:

InitialDPArgExtension ::=   SEQUENCE
{
    gmscAddress [0] ISDN-AddressString OPTIONAL
}

What document holds the def as:

 

InitialDPArgExtension    ::= SEQUENCE {
 naCarrierInformation    [0] NACarrierInformation    OPTIONAL,
 gmscAddress       [1] ISDN-AddressString     OPTIONAL,
 ... 
}

Which I agree is not compatible, but the *new* one should be compatible to the old ethereal one:

InitialDPArgExtension  ::= SEQUENCE {

                      gmscAddress                                                                                                                                    [0] ISDN-AddressString                                                                                                                           OPTIONAL,

                      forwardingDestinationNumber                                             [1] CalledPartyNumber                                                                                                                        OPTIONAL,

                      ms-Classmark2                                                                                                                                  [2] MS-Classmark2                                                                                                                                       OPTIONAL,

                      iMEI                                                                                                                                                                        [3] IMEI                                                                                                                                                                                         OPTIONAL,

                      supportedCamelPhases                                                                          [4] SupportedCamelPhases                                                                                           OPTIONAL,

                      offeredCamel4Functionalities                        [5] OfferedCamel4Functionalities                                                              OPTIONAL,

                      bearerCapability2                                                                                                          [6] BearerCapability                                                                                                                                   OPTIONAL,

                      ext-basicServiceCode2                                                                            [7] Ext-BasicServiceCode                                                                                              OPTIONAL,

                      highLayerCompatibility2                                                                          [8] HighLayerCompatibility                                                                                             OPTIONAL,

                      lowLayerCompatibility                                                                             [9] LowLayerCompatibility                                                                                             OPTIONAL,

                      lowLayerCompatibility2                                                                            [10] LowLayerCompatibility                                                                                            OPTIONAL,

                      ...,

                      enhancedDialledServicesAllowed                                        [11] NULL                                                                                                                                                                                      OPTIONAL,

                      uu-Data                                                                                                                                                                   [12] UU-Data                                                                                                                                                            OPTIONAL

}

 

The trace can be found in http://www.ethereal.com/lists/ethereal-dev/200511/msg00297.html

And the OID is application-context-name: 0.4.0.0.1.0.50.1 (itu-t(0) identified-organization(4) etsi(0) mobileDomain(0) gsm-Network|umts-Network(1) applicationContext(0) cap-gsmssf-to-gsmscf(50) version2(1))

 

Brg

Anders

 

-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Tim
Skickat: den 26 november 2005 16:43
Till: 'Ethereal development'
Ämne: RE: [Ethereal-dev] [Camel] BER error

 

Anders, Olivier,

 

The definition I have for Camel Phase 2 is...

 

InitialDPArgExtension    ::= SEQUENCE {
 naCarrierInformation    [0] NACarrierInformation    OPTIONAL,
 gmscAddress       [1] ISDN-AddressString     OPTIONAL,
 ... 
}

It looks like the definition in Ethereal is a phase 3 version, which is unusual because it doesn't seem to be backwards compatible, can you send the trace over and then we should be able to work out which phase it is from the OID and put some OID specific code in.

 

Tim

 

 

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Anders Broman (AL/EAB)
Sent: 25 November 2005 11:14
To: Ethereal development
Subject: RE: [Ethereal-dev] [Camel] BER error

Hi,

the problem is :

That in a newer spec it says:

 

InitialDPArgExtension  ::= SEQUENCE {
 gmscAddress       [0] ISDN-AddressString      OPTIONAL,
 forwardingDestinationNumber   [1] CalledPartyNumber      OPTIONAL,
 ms-Classmark2      [2] MS-Classmark2       OPTIONAL,
 iMEI        [3] IMEI         OPTIONAL,
 supportedCamelPhases    [4] SupportedCamelPhases     OPTIONAL,
 offeredCamel4Functionalities  [5] OfferedCamel4Functionalities   OPTIONAL,
 bearerCapability2     [6] BearerCapability      OPTIONAL,
 ext-basicServiceCode2    [7] Ext-BasicServiceCode     OPTIONAL,
 highLayerCompatibility2    [8] HighLayerCompatibility     OPTIONAL,
 lowLayerCompatibility    [9] LowLayerCompatibility     OPTIONAL,
 lowLayerCompatibility2    [10] LowLayerCompatibility     OPTIONAL,
 ...,
 enhancedDialledServicesAllowed  [11] NULL         OPTIONAL,
 uu-Data        [12] UU-Data        OPTIONAL
}

 

An I think your trace has tag = 1

 

 forwardingDestinationNumber   [1] CalledPartyNumber      OPTIONAL,

 

I'll try to update the asn1 spec.

Brg

Anders

 


From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Jacques, Olivier (OCBU-Test Infra)
Sent: den 24 november 2005 18:54
To: Ethereal development
Subject: [Ethereal-dev] [Camel] BER error

Hello,

 

I'm using svn 16577.

I'm fighting (with no luck :) ) with a BER error in the decoding of a Camel InitialDP:

In the parameter "initialDPArgExtension", I get "BER error: this field lies beyond the end of the known sequence definition".

The parameter is defined in the .asn file of Camel as:

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

-- InitialDPArgExtension notes: not recursive, exported,
-- locally refd 1 times, import refd 0 times
InitialDPArgExtension ::=   SEQUENCE
{
    gmscAddress [0] ISDN-AddressString OPTIONAL
}
----------------------------------

 

I also attached the message in question.

 

Any idea what could be wrong?

 

Thanks,

Olivier.