Skip to content
RDMessage.asn 115 KiB
Newer Older
-- ====================================
-- Definitions of Network Access Device
-- ====================================

NADeviceId ::= UTF8String

NADevice ::= SEQUENCE
{
    naDeviceId      [1] NADeviceId OPTIONAL,
        -- Identifier of this device.
    description     [2] UTF8String OPTIONAL,
        -- Human readable description of device
    location        [3] Location OPTIONAL,
    macAddress      [4] OCTET STRING (SIZE (6)) OPTIONAL,
        -- MAC or ethernet address
    dslID           [5] UTF8String OPTIONAL,
    imei            [6] IMEI OPTIONAL,
    ...,
    subscriberID    [7] NaSubscriberID OPTIONAL,
    uERadioCapID    [8] UERadioCapID OPTIONAL
}

GPSI ::= CHOICE
{
    mSISDN      [1] PartyNumber,
    nAI         [2] NAI,
IMEI ::= OCTET STRING (SIZE(8))
    -- format as per 3GPP TS 09.02 [8]
    -- NOTE: When comparing IMEIs, an IMEI can be considered "equal to" the requested IMEI even
    -- if the checksum or software version digits are different or not present.
IMEISV ::= NumericString (SIZE(16))
IMSI ::= OCTET STRING (SIZE(3..8))
    -- format as per 3GPP TS 09.02 [8]
UERadioCapID ::= UTF8String (SIZE(12..22))
    -- format as per ETSI TS 123 003 [41] clause 29.2
-- ======================================
-- Definitions of Message Network element
-- ======================================

NANwElementID ::= UTF8String

NANwElement ::= SEQUENCE
    -- In this context, the network element is more commonly referred to as NAS
{
    validity                [1] TimeSpan OPTIONAL,
        -- Period for which this interval is valid
    naNwElementID           [2] NANwElementID OPTIONAL,
        -- Unique ID of this NAS (Network Access Server)
    naProviderID            [3] NAProviderID OPTIONAL,
        -- Unique identifier of the provider managing this NAS.
    supportedAccessTypes    [4] SEQUENCE OF NwAccessType OPTIONAL,
    location                [5] Location OPTIONAL,
    ...
    iPv4BinaryAddress   [1] OCTET STRING (SIZE(4)),
    iPv6BinaryAddress   [2] OCTET STRING (SIZE(16)),
    iPTextAddress       [3] IA5String (SIZE(7..45)),
    ...
marthy's avatar
marthy committed
PortNumber ::= CHOICE
{
    tCPPort [0] TCPPort,
    uDPPort [1] UDPPort,
    ...
marthy's avatar
marthy committed
}

TCPPort ::= INTEGER (1..65535)

UDPPort ::= INTEGER (0..65535)

    addressSetOrRangeOrMask     [1] IPAddressSetOrRangeOrMask OPTIONAL,
    portNumber                  [2] INTEGER OPTIONAL,
        -- populated with the outbound port number
    addressType                 [3] ENUMERATED
    {
        unknown(0),
        internal(1),
        external(2),
        ...
    } OPTIONAL,
    assignedTime                [4] TimeSpan OPTIONAL,
    ...,
    destinationAddress          [5] IPAddress OPTIONAL,
        -- used in cases where a single external IP/port pair is translated to multiple internal
        -- IP/port pairs, with the destination IP/port used to multiplex them
    destinationPort             [6] INTEGER OPTIONAL
        -- used in cases where a single external IP/port pair is translated to multiple internal
        -- IP/port pairs, with the destination IP/port used to multiplex them
    set     [0] SEQUENCE OF IPAddress,
    range   [1] IPRange,
    -- Things like 172.16.10.0/26
    prefix          [0] IPAddress,
    -- Things like 172.16.10.0/255.255.255.240
    base    [0] IPAddress,
    iPAddressSetOrRangeOrMask   [0] IPAddressSetOrRangeOrMask,
    validity                    [1] TimeSpan,
        -- Time period during which the information given in this structure is or was valid.
    subscriberID        [1] NaSubscriberID OPTIONAL,
    serviceID           [2] UTF8String OPTIONAL,
    billingAddress      [3] ContactDetails OPTIONAL,
    billingIdentifier   [4] BillingIdentifier OPTIONAL,
    billingRecords      [5] SEQUENCE OF BillingRecords OPTIONAL,
    ...,
    naTransactionID     [6] UTF8String OPTIONAL,
        -- Unique reference for this transaction/billing record
        -- Details to be defined on a national basis
    naTransactionStatus [7] UTF8String OPTIONAL
        -- Status of the transaction (i.e. "declined", "succeeded", etc.)
        -- Details to be defined on a national basis
SSCMode ::= ENUMERATED
{
    sSCMode1(1),
    sSCMode2(2),
    sSCMode3MultiPDUSession(3),
    sSCMode3Multihome(4),
}

PLMNID ::= OCTET STRING (SIZE(3))

UUID ::= OCTET STRING (SIZE(16))

RAT5Type ::= ENUMERATED
{
    nr(1),
    eutra(2),
    wlan(3),
    virtual(4),
    ...,
    nBIoT(5),
    wireline(6),
    wirelineCable(7),
    wirelineDSL(8),
    wirelinePON(9),
    lTEM(10),
    nRU(11),
    eUTRAU(12),
    trustedN3GA(13),
    trustedWLAN(14),
    uTRA(15),
    gERA(16)
}

AMFID ::= SEQUENCE
{
    aMFRegionID [1] AMFRegionID,
    aMFSetID    [2] AMFSetID,
    aMFPointer  [3] AMFPointer,
    ...