GSN CDR Format
18/02/13 16:39
PRINTOUT DESCRIPTION
1/190 83-AXB 250 05/6 Uen G
GSN CDR Format Copyright © Copyright Ericsson AB 2006-2008 . All Rights Reserved. Disclaimer No part of this material may be reproduced in any form without the written permission of the copyright owner. The contents of this document are subject to revision without notice due to continued progress in methodology, design, and manufacturing. Ericsson shall have no liability for any errors or damage of any kind resulting from the use of this document. Contents 1 1.1 1.2 1.3 1.3.1
Introduction CDR Encoding ASN.1 BER Encoding of Integers CDR Format Options in SGSN R8 Using the SGSN R6 or R7 CDR Format
2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 2.21
S-CDR sgsnPDPRecord recordType servedIMSI servedIMEI sgsnAddress msNetworkCapability routingArea locationAreaCode cellIdentifier chargingID ggsnAddressUsed accessPointNameNI pdpType servedPDPAddress listOfTrafficVolumes recordOpeningTime duration sgsnChange causeForRecClosing diagnostics recordSequenceNumber
2.22 2.23 2.24 2.25 2.26 2.27 2.28
nodeID recordExtensions localSequenceNumber apnSelectionMode accessPointNameOI servedMSISDN chargingCharacteristics
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 1 de 59
GSN CDR Format
18/02/13 16:39
2.29 2.30 2.31 2.32 2.33 2.34
rATType cAMELInformationPDP chChSelectionMode dynamicAddressFlag pLMNIdentifier (Proprietary) mSTimeZone (Proprietary)
3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18 3.19 3.20 3.21 3.22
S-SMO-CDR sgsnSMORecord recordType servedIMSI servedIMEI servedMSISDN msNetworkCapability serviceCentre recordingEntity locationArea routingArea cellIdentifier messageReference eventTimeStamp smsResult nodeID localSequenceNumber chargingCharacteristics rATType destinationNumber cAMELInformationSMS chChSelectionMode pLMNIdentifier (Proprietary)
4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21
S-SMT-CDR sgsnSMTRecord recordType servedIMSI servedIMEI servedMSISDN msNetworkCapability serviceCentre recordingEntity locationArea routingArea cellIdentifier eventTimeStamp smsResult nodeID localSequenceNumber chargingCharacteristics rATType chChSelectionMode numberOfSM locationAreaLastSM routingAreaLastSM
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 2 de 59
GSN CDR Format
18/02/13 16:39
4.22 4.23 4.24
cellIdentifierLastSM pLMNIdentifierLastSM pLMNIdentifier
5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11
Code Clarifications Address String IMSI TBCD String BCD Directory Number SMS TP Destination Number Time ISDN PLMN Identity Served IMEI Charging Characteristics mSTimeZone
6
ASN.1 Format
Reference List
1 Introduction This Printout Description describes the structure of Charging Data Records (CDRs) generated by the Serving GPRS Support Node (SGSN). The generated CDRs may be transferred to a Billing System across the protocols GTP prime and FTP. The following types of CDRs are generated in the SGSN: S-CDR S-SMO-CDR S-SMT-CDR
Charging data related to radio network usage of a PDP context, see Section 2. Charging data related to the mobile-originated short message service, see Section 3. Charging data related to the mobile-terminated short message service, see Section 4.
Note: The logs described in this printout description may contain sensitive information regarding privacy and personal data according to the EU directives on privacy. All information in the CDRs is normally personal data. The files are thus to be handled according to national legislation.
1.1 CDR Encoding The CDRs generated by the SGSN are specified according to SoC for 3GPP TS 32.298, using the Abstract Syntax Notation One (ASN.1). ASN.1 is a language that defines the way data is sent across dissimilar communication systems. ASN.1 ensures that the data received is the same as the data transmitted by providing a common syntax for specifying application layer protocols. ASN.1 is an ISO/ITU-T standard based on the OSI model and is defined in Reference [16]. The SGSN uses ASN.1 Basic Encoding Rules (BER) to encode the CDRs. BER is a set of standard rules, defined in Reference [17], for encoding data types specified in ASN.1. A field containing a value of a certain data type is encoded into the following parts: Identifier: identifies the data type and consists of an ASN.1 tag and data structure information Length: the length of the content part in number of octets
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 3 de 59
GSN CDR Format
18/02/13 16:39
Contents the value encoded according to data type specific rules The ASN.1 tags assigned to SGSN CDR fields are specified in the CDR structure descriptions within this document, see Section 2, Section 3 and Section 4. Detailed information about encoding of different data types is found in Reference [17]. Since the integer is a commonly used data type in the CDR specifications, its encoding is further described below.
1.2 ASN.1 BER Encoding of Integers ASN.1 defines the integer type as a simple type with distinguished values, which are the positive and negative numbers, including zero. The content part for a field of type integer is BER encoded in one or more octets. The content octets contain the two's complement binary number equal to the integer value, and consisting of bits 8 to 1 of the first octet, followed by bits 8 to 1 of each octet in turn up to and including the last content octet. The two's complement form implies that the most significant bit of the content octets indicates the sign of the value (0 for positive numbers and 1 for negative numbers). This means that the highest positive number a sequence of X octets can represent is: 2 (8X -1) - 1.
Example 1 The highest positive number represented by four octets (32 bits) is: 2 31 - 1.
Example 2: To represent the highest value for a 32 bits positive integer (2 32 - 1), five content octets are needed.
1.3 CDR Format Options in SGSN R8 It is possible to configure the SGSN to generate CDRs in accordance with the SGSN R7 or SGSN R6 CDR format instead of the default SGSN R8 CDR format. The CDR output format being configurable facilitates CDR format backward compatibility. Prior to an upgrade, the operator may configure which CDR format shall be applied after an upgrade. For information on how to configure which format to use, see CDR-Based Charging.
1.3.1 Using the SGSN R6 or R7 CDR Format The following differences may be detected if the R6 or R7 format is selected: The field mSTimeZone is never included, the node property Charging_Ch-SGSN-Multiple-Time-Zone is ignored, and the causeForRecClosing value mSTimeZoneChange will never be used The field rATType (previously called systemType) is omitted from the CDR if RAT Type is GERAN. In the field chChSelectionMode, the value roamingDefault is not used. The value homeDefault is used for home and roaming subscribers (R6 format only). The QoS IE in the field listOfTrafficVolumes contains only 12 octets (R6 format only).
2 S-CDR This chapter describes the SGSN Charging Data Record.
2.1 sgsnPDPRecord Contents This record field contains items that may be present in an S-CDR. These are further described in the following sections. Table 1
Structure of SGSNPDPRecord
ASN.1 Format file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 4 de 59
GSN CDR Format
18/02/13 16:39
ASN.1 Format sgsnPDPRecord
[20] SGSNPDPRecord
SGSNPDPRecord { recordType servedIMSI servedIMEI sgsnAddress msNetworkCapability routingArea locationAreaCode cellIdentifier chargingID ggsnAddressUsed accessPointNameNI pdpType servedPDPAddress listOfTrafficVolumes recordOpeningTime duration sgsnChange causeForRecClosing diagnostics recordSequenceNumber nodeID recordExtensions localSequenceNumber apnSelectionMode accessPointNameOI servedMSISDN chargingCharacteristics rATType cAMELInformationPDP chChSelectionMode dynamicAddressFlag pLMNIdentifier mSTimeZone }
::= SET
Encoded ASN.1 tag H'B4
[0] CallEventRecordType, [3] TBCD STRING (SIZE (3..8)), [4] TBCD STRING (SIZE (8)) OPTIONAL, [5] IPAddress OPTIONAL, [6] OCTET STRING (SIZE(1..8)) OPTIONAL, [7] OCTET STRING (SIZE(1)) OPTIONAL, [8] OCTET STRING (SIZE(2)) OPTIONAL, [9] OCTET STRING (SIZE(2)) OPTIONAL, [10] INTEGER (0..4294967295), [11] IPAddress, [12] IA5String (SIZE(1..63)) OPTIONAL, [13] OCTET STRING (SIZE(2)) OPTIONAL, [14] PDPAddress OPTIONAL, [15] SEQUENCE OF ChangeOfCharCondition OPTIONAL, [16] OCTET STRING (SIZE(9)), [17] INTEGER, [18] BOOLEAN OPTIONAL, [19] CauseForRecClosing, [20] Diagnostics OPTIONAL, [21] INTEGER OPTIONAL, [22] IA5String (SIZE(1..20)) OPTIONAL, [23] ManagementExtensions OPTIONAL, [24] INTEGER (0..4294967295) OPTIONAL, [25] APNSelectionMode OPTIONAL, [26] IA5String (SIZE(1..37)) OPTIONAL, [27] AddressString (SIZE(1..9)) OPTIONAL, [28] OCTET STRING (SIZE(2)), [29] RATType OPTIONAL, [30] CAMELInformationPDP OPTIONAL, [32] ChChSelectionMode OPTIONAL, [33] BOOLEAN OPTIONAL, [101] OCTET STRING (SIZE(3)) OPTIONAL, [102] OCTET STRING (SIZE(2)) OPTIONAL
sgsnPDPRecord
2.2 recordType Contents This field is a type selector that indicates an sgsnPDPRecord.
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 5 de 59
GSN CDR Format
18/02/13 16:39
Value 18 Table 2 ASN.1 Format recordType CallEventRecordType { sgsnPDPRecord } Encoded ASN.1 tag H'80
Structure of recordType
[0] CallEventRecordType ::= INTEGER (18)
recordType
2.3 servedIMSI Contents This field contains the International Mobile Subscriber Identity (IMSI) of the served party. Value The IMSI components are concatenated in the following order: MCC, MNC and MSIN as defined in SoC for 3GPP TS 23.003. The IMSI is TBCD coded. Bits 8765 of octet n encode digit 2n, bits 4321 of octet n encode digit 2n - 1. Digits are packed contiguously with no internal padding. If there is an odd number of digits, bits 8765 of the last octet contain 1111. For code clarifications, see Section 5.2. Table 3 ASN.1 Format servedIMSI TBCD STRING For code clarifications, see Section 5.3. Encoded ASN.1 tag H'83
Structure of servedIMSI
[3] TBCD STRING (SIZE (3..8)) ::= OCTET STRING
servedIMSI
2.4 servedIMEI Contents This field contains the IMEI of the MS, if available in the SGSN. Value The IMEI components are concatenated in the sequence TAC, FAC, SNR and SVN, see Section 5.9. Table 4
Structure of servedIMEI
ASN.1 Format servedIMEI
[4] TBCD STRING (SIZE (8)) OPTIONAL
TBCD STRING
::= OCTET STRING
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 6 de 59
GSN CDR Format
TBCD STRING For code clarifications, see Section 5.3. Encoded ASN.1 tag H'84
18/02/13 16:39
::= OCTET STRING
servedIMEI
2.5 sgsnAddress Contents This field contains an SGSN IP address used for signaling (GTP-C). The address refers to the specific SGSN Application Processor (AP) handling the (Packet Data Protocol) PDP context. Value A binary IPv4 address (iPBinV4Address). Table 5 ASN.1 Format sgsnAddress IPAddress { iPBinaryAddress iPTextRepresentedAddress } iPBinaryAddress { iPBinV4Address iPBinV6Address } iPTextRepresentedAddress { iPTextV4Address iPTextV6Address } Encoded ASN.1 tag H'A5 H'80 H'81 H'82 H'83
Structure of sgsnAddress
[5] IPAddress OPTIONAL, ::= CHOICE IPBinaryAddress IPTextRepresentedAddress ::= CHOICE [0] OCTET STRING (SIZE(4)), [1] OCTET STRING (SIZE(16)) ::= CHOICE [2] IA5String (SIZE(7..15)), [3] IA5String (SIZE(15..45))
sgsnAddress iPBinV4Address iPBinV6Address (Not used.) iPTextV4Address (Not used.) iPTextV6Address (Not used.)
2.6 msNetworkCapability Contents This field contains the MS network capability value of the MS network capability information element of the served MS on PDP context activation as defined in SoC for 3GPP TS 24.008.
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 7 de 59
GSN CDR Format
18/02/13 16:39
Value See chapter 10.5.5.12 in SoC for 3GPP TS 24.008. Table 6
Output for msNetworkCapability
ASN.1 Format msNetworkCapability
[6] OCTET STRING (SIZE(1..8))OPTIONAL
Encoded ASN.1 tag H'86
msNetworkCapability
2.7 routingArea Contents This field, present in all S-CDRs, contains the RA code of the area where the MS is located when the (partial) record is opened. Value Bit 8 in octet 1 is the most significant bit and bit 1 in octet 1 is the least significant bit. Table 7
Output for routingArea
ASN.1 Format routingArea
[7] OCTET STRING (SIZE(1)) OPTIONAL
Encoded ASN.1 tag H'87
routingArea
2.8 locationAreaCode Contents This field, present in all S-CDRs, contains the Location Area Code of the area where the MS is located when the (partial) record is opened. Value Bit 8 of octet 1 is the most significant bit and bit 1 of octet 2 the least significant bit. Table 8
Output for locationAreaCode
ASN.1 Format locationAreaCode
[8] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'88
locationAreaCode
2.9 cellIdentifier Contents This field contains the CI (GSM) or the SAC (WCDMA) where the MS is located when the S-CDR is opened. The first partial or single S-CDR reports the value at PDP context activation. For any subsequent partial S-CDRs, the accuracy of the file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 8 de 59
GSN CDR Format
18/02/13 16:39
reported value is limited to the value at the last RA update reported by the MS. Value In the GSM domain the Cell Identifier is defined by the CI and in the WCDMA domain by the SAC. CI is coded according to SoC for 3GPP TS 24.008 and the SAC according to SoC for 3GPP TS 25.413. Table 9 Output for cellIdentifier ASN.1 Format cellIdentifier
[9] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'89
cellIdentifier
2.10 chargingID Contents This field contains a charging identifier, which together with the GGSN address uniquely identifies all charging data records produced for an activation of a certain PDP context. Charging ID is generated by the GGSN at PDP context activation and transferred to the SGSNs involved in the PDP context. Different GGSNs allocate the charging ID independently of each other and may allocate the same number prefix, so the charging ID must always be combined with the GGSN address to form a unique identifier for the PDP context. Mediation devices or billing systems may use the charging ID and GGSN address to consolidate charging data records. Value 0..4294967295 is equivalent to 0..2 32-1. Table 10
Output for chargingID
ASN.1 Format chargingID
[10] INTEGER (0..4294967295)
Encoded ASN.1 tag H'8A
chargingID
2.11 ggsnAddressUsed Contents This field contains the IP address for signaling (GTP-C) of the GGSN received at PDP context response from GGSN. The address is the same throughout an activation of a PDP context. Value A binary IPv4 address (iPBinV4Address). Table 11
Structure of ggsnAddressUsed
ASN.1 Format ggsnAddressUsed
[11] IPAddress,
IPAddress
::= CHOICE
{ file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 9 de 59
GSN CDR Format
18/02/13 16:39
{ iPBinaryAddress iPTextRepresentedAddress } iPBinaryAddress { iPBinV4Address iPBinV6Address } iPTextRepresentedAddress { iPTextV4Address iPTextV6Address }
IPBinaryAddress IPTextRepresentedAddress ::= CHOICE [0] OCTET STRING (SIZE(4)), [1] OCTET STRING (SIZE(16)), ::= CHOICE [2] IA5String (SIZE(7..15)), [3] IA5String (SIZE(15..45))
Encoded ASN.1 tag H'AB H'80 H'81 H'82 H'83
ggsnAddressUsed iPBinV4Address iPBinV6Address (Not used.) iPTextV4Address (Not used.) iPTextV6Address (Not used.)
2.12 accessPointNameNI Contents This field contains the currently connected APN Network Identifier determined by either MS or SGSN. The APN Network Identifier containing more than one label corresponds to an Internet domain name. It is coded according to SoC for 3GPP TS 23.003 and can be in either real dot notation or Ericsson notation, which is configurable in SGSN. In real dot notation, labels are separated by a dot. In Ericsson notation, each label is preceded by its length. Value Table 12
Example of Real Dot Notation in Hexadecimal Representation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
77
77
77
2e
65
72
69
63
73
73
6f
6e
2e
73
65
Octets 1, 2 and 3 - 8-bit ASCII characters, here, www Octet 4 - 8-bit ASCII character (here, DOT (.) ) Octets 5 through 12 - 8-bit ASCII characters (here, ericsson ) Octet 13 - 8-bit ASCII character (here, DOT (.) ) Octets 14 and 15 - 8-bit ASCII characters (here, se ) Table 13
Example of Ericsson Proprietary Notation in Hexadecimal Representation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
03
77
77
77
08
65
72
69
63
73
73
6f
6e
02
73
65
Octet 1 - length of following octets (here, 3 octets) Octets 2, 3 and 4 - 8-bit ASCII characters (here, www ) Octet 5 - length of following octets (here, 8 octets) file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 10 de 59
GSN CDR Format
18/02/13 16:39
Octets 6, 7, 8, 9, 10, 11, 12 and 13 - 8-bit ASCII characters (here, ericsson ) Octet 14 - length of following octets (here, 2 octets) Octets 15 and 16 - 8-bit ASCII characters (here, se ) Table 14
Structure of accessPointNameNI
ASN.1 Format accessPointNameNI
[12] IA5String (SIZE(1..63)) OPTIONAL,
Encoded ASN.1 tag H'8C
accessPointNameNI
2.13 pdpType Contents This field contains the PDP type. Value Octet 1 - PDP Type Organization, Octet 2 - PDP Type Number, see SoC for 3GPP TS 29.060. Table 15
Example of PDP Type IPv4 in Hexadecimal Representation
1
2
F1
21 Octet 1 - IETF (first four bits are spare) Octet 2 - IPv4 Table 16
Example of PDP Type IPv6 in Hexadecimal Representation
1
2
F1
57 Octet 1 - IETF (first four bits are spare) Octet 2 - IPv6 Table 17
Structure of pdpType
ASN.1 Format pdpType
[13] OCTET STRING (SIZE(2)) OPTIONAL,
Encoded ASN.1 tag H'8D
pdpType
2.14 servedPDPAddress Contents This field contains the IP address of the PDP context activation. Value A binary IPv4 address (iPBinV4Address) or IPv6 address (iPBinV6Address). Table 18
Structure of servedPDPAddress
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 11 de 59
GSN CDR Format
18/02/13 16:39
Table 18 ASN.1 Format servedPDPAddress
Structure of servedPDPAddress
[14] PDPAddress OPTIONAL
PDPAddress { iPAddress eTSIAddress } IPAddress { iPBinaryAddress iPTextRepresentedAddress } IPBinaryAddress { iPBinV4Address iPBinV6Address } IPTextRepresentedAddress { iPTextV4Address iPTextV6Address }
::= CHOICE [0] IPAddress, [1] OCTET STRING (SIZE(1..20)) ::= CHOICE IPBinaryAddress, IPTextRepresentedAddress ::= CHOICE [0] OCTET STRING (SIZE(4)), [1] OCTET STRING (SIZE(16)) ::= CHOICE [2] IA5String (SIZE(7..15)), [3] IA5String (SIZE(15..45))
Encoded ASN.1 tag H'AE H'A0
servedPDPAddress IPAddress H'80 H'81 H'82 H'83
H'81
iPBinV4Address iPBinV6Address iPTextV4Address (Not used.) iPTextV6Address (Not used.) eTSIAddress (Not used.)
2.15 listOfTrafficVolumes Contents This list includes containers that include the following fields: QoS requested (optional) QoS negotiated (optional) data volume uplink data volume downlink change condition change time QoS requested and QoS negotiated are included in the first container. They are also present in the remaining containers if the previous change condition is "QoS change" and, for Qos requested, if the QoS change was initiated by the MS through a file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 12 de 59
GSN CDR Format
18/02/13 16:39
PDP context modification procedure. The current QoS requested and QoS negotiated is repeated only in the first container of each partial S-CDR if this option is set by the operator. The QoSInformation content is specified in SoC for 3GPP TS 29.002 and SoC for 3GPP TS 24.008. Data volume includes the number of octets transmitted during the use of packet data services. The volume is not cumulative. Each container reports the volume transmitted after what is reported in the previous container (since record opening if that is the first container). Change condition defines the reason for closing the container, such as tariff time change or closing of the CDR. Change time is a time stamp which defines the moment when the container is closed. The field contains SGSN local time including the offset to UTC. For interpretation of the 9 octets "YYMMDDhhmmssShhmm", see Section 5.6. Table 19 below identifies the QoS Information content code. Value The data volume tabulated by the SGSN covers the amount of user data transferred in the SNDCP PDUs (GSM) and GTPU T-PDUs (WCDMA). Data volumes retransmitted (by RLC or LLC) due to poor radio link conditions are not tabulated. The volume count includes SNDCP PDUs (GSM) alternatively GTP-U PDUs and everything above that (meaning user data) in the respective stack. The following two figures illustrate the concerned stacks. Details may be found in SoC for 3GPP TS 23.060.
Figure 1 SGSN Stack Gb Interface in GSM
Figure 2 SGSN Stack Iu-U Interface in WCDMA Table 19 identifies the QoS Information content code. For interpretation of the information elements, see chapter 10.5.6.5 in SoC for 3GPP TS 24.008. Table 19 8
7
6
5
QoS Information content code 4
3
2
1
Allocation/Retention Priority spare
Delay class Peak throughput spare
Traffic Class
spare Delivery order
octet 1 Reliability class
octet 2
Precedence class Mean throughput
octet 3 octet 4
Delivery of erroneous SDU
Maximum SDU size file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
octet 5 octet 6 Página 13 de 59
GSN CDR Format
18/02/13 16:39
Maximum SDU size
octet 6
Maximum bit rate for uplink
octet 7
Maximum bit rate for downlink
octet 8
Residual BER
SDU error ratio
Transfer delay
Traffic Handling priority
Guaranteed bit rate for uplink Guaranteed bit rate for downlink Signaling Source Statistics Descriptor Indication
spare
octet 9 octet 10 octet 11 octet 12 octet 13
Maximum bit rate for downlink (extended)
octet 14
Guaranteed bit rate for downlink (extended)
octet 15
Note: Two partial formats of the QoS IE are possible: If a pre-release '99-capable terminal is served, only octets 1 to 4 are included. Octets 13 to 15 are excluded if the maximum bit rate for downlink or the guaranteed bit rate for downlink does not exceed 8640 kbps.
Note: The Allocation/Retention Priority (octet 1) shall be ignored if a pre-Release '99 terminal is served and in QoS requested. Table 20 ASN.1 Format listOfTrafficVolumes
Structure of listOfTrafficVolumes [15] SEQUENCE OF ChangeOfCharCondition OPTIONAL,
ChangeOfCharCondition { qosRequested qosNegotiated dataVolumeGPRSUplink dataVolumeGPRSDownlink changeCondition changeTime }
::= SEQUENCE
QoSInformation
::=OCTET STRING (SIZE(4..15))
ChangeCondition { qosChange tariffTime recordClosure }
::= ENUMERATED
[1] QoSInformation OPTIONAL, [2] QoSInformation OPTIONAL, [3] INTEGER, [4] INTEGER, [5] ChangeCondition, [6] OCTET STRING (SIZE(9))
(0), (1), (2)
Encoded ASN.1 tag file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 14 de 59
GSN CDR Format
18/02/13 16:39
Encoded ASN.1 tag H'AF H'30 H'81 H'82 H'83 H'84 H'85 H'86
listOfTrafficVolumes ChangeOfCharCondition qosRequested qosNegotiated dataVolumeGPRSUplink dataVolumeGPRSDownlink changeCondition changeTime
2.16 recordOpeningTime Contents The field contains SGSN local time including the offset to UTC. Value For interpretation of the 9 octets "YYMMDDhhmmssShhmm", see Section 5.6. Table 21
Structure of recordOpeningTime
ASN.1 Format recordOpeningTime
[16] OCTET STRING (SIZE(9))
Encoded ASN.1 tag H'90
recordOpeningTime
2.17 duration Contents This field contains the duration in seconds of a PDP context activation in SGSN. For partial records this is the duration of the individual partial record, not the cumulative duration. Value Table 22
Structure of duration
ASN.1 Format duration
[17] INTEGER
Encoded ASN.1 tag H'91
duration
2.18 sgsnChange Contents This field is present to indicate that this is the first record after an inter-SGSN routing area update in new SGSN or after an intra-SGSN inter-system change. Value
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 15 de 59
GSN CDR Format
18/02/13 16:39
TRUE Table 23
Structure of sgsnChange
ASN.1 Format sgsnChange
[18] BOOLEAN OPTIONAL
Encoded ASN.1 tag H'92
sgsnChange
2.19 causeForRecClosing Contents Normal release is used for PDP context release. For partial record generation, data volume limit, time (duration) limit, maximum number of changes in charging conditions, management intervention, MSTimeZoneChange, and PLMN change are used. SGSN change is used for a context released in the old SGSN after an inter-SGSN routing area update and after an intra-SGSN inter-system change. Abnormal release is used for abnormal termination, that is, when the PDP context deactivation is caused by an error in the GSN network. If there is more than one reason for partial record closure, and one of them is mSTimeZoneChange, the reason mSTimeZoneChange is not used to select the value of the CDR field causeForRecClosing. Value Table 24 ASN.1 Format causeForRecClosing CauseForRecClosing { normalRelease abnormalRelease cAMELInitCallRelease volumeLimit timeLimit sGSNChange maxChangeCond managementIntervention mSTimeZoneChange pLMNChange } Encoded ASN.1 tag H'93
Structure of causeForRecClosing [19] CauseForRecClosing ::= INTEGER (0), (4), (5), (16), (17), (18), (19), (20), (23) (101)
causeForRecClosing
2.20 diagnostics file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 16 de 59
GSN CDR Format
18/02/13 16:39
Contents This field contains a detailed technical cause for the release of the connection and may contain one of the following: a MAP error from SoC for 3GPP TS 29.002 a Cause from SoC for 3GPP TS 24.008 Present only if SGSN received diagnostics. Value See chapter 17.6.6 in SoC for 3GPP TS 29.002 and Annex I in SoC for 3GPP TS 24.008. Table 25 ASN.1 Format diagnostics
Structure of diagnostics [20] Diagnostics OPTIONAL
Diagnostics { gsm0408Cause gsm0902MapErrorValue }
::= CHOICE [0] INTEGER, [1] INTEGER
Encoded ASN.1 tag H'B4 H'80 H'81
diagnostics gsm0408Cause gsm0902MapErrorValue
2.21 recordSequenceNumber Contents This field contains a sequence number employed to link the partial records generated in the SGSN for a particular PDP context (characterized with the same Charging ID and GGSN address pair). Record Sequence Number will be output only in case of partial output. If there is just one CDR for the PDP context activation (that is, no partial output), this field will be missing. Value The value is one, inf the first partial output. Note that when changing SGSNs, the partial record sequence numbering is restarted in the new SGSN. Also, revisiting an SGSN that had been first involved in the PDP context will restart the Record Sequence Number generation. In both cases the first S-CDR has the SGSNChange indicator set. Table 26 ASN.1 Format recordSequenceNumber
Structure of recordSequenceNumber [21] INTEGER OPTIONAL
Encoded ASN.1 tag H'95 recordSequenceNumber
2.22 nodeID file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 17 de 59
GSN CDR Format
18/02/13 16:39
Contents A name that identifies the SGSN. Value Value of node property "Local SGSN Node Id" Table 27
Structure of nodeID
ASN.1 Format nodeID
[22] IA5String (SIZE(1..20)) OPTIONAL
Encoded ASN.1 tag H'96
nodeID
2.23 recordExtensions Contents The recordExtensions field contains the subfield extendedDiagnostics, which contains a BSSGP cause (GSM) or a RANAP cause (WCDMA), defined in SoC for 3GPP TS 48.018 for GSM and SoC for 3GPP TS 25.413 for WCDMA. recordExtensions is included in the final CDR if the license S-CDR Cause Code Extension is purchased and a BSSGP/RANAP cause is available in SGSN. Value `identifier' has the value { itu-t (0) identified-organization (4) etsi (0) reserved (127) etsi-identified-organization (0) ericsson (5) oAM (2) accounting (2) charging (0) mobileDomain (0) umts (0) packetSwitched (1) ts32015Extensions (0) version1 (1) }. `significance' has the value FALSE. `information' contains the data type GprsSCdrExtensions. Table 28
Structure of recordExtensions
ASN.1 Format recordExtensions
[23] ManagementExtensions OPTIONAL
ManagementExtensions
::= SET OF ManagementExtension
ManagementExtension { identifier significance information }
::= SEQUENCE
GprsSCdrExtensions { extendedDiagnostics
::=SET
OBJECT IDENTIFIER, [1] BOOLEAN DEFAULT FALSE, [2] GprsSCdrExtensions
[0] ExtendedDiagnostics OPTIONAL
} file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 18 de 59
GSN CDR Format
18/02/13 16:39
ExtendedDiagnostics { ts48018BssgpCause ts25413RanapCause }
::= CHOICE [0] INTEGER [1] INTEGER
Encoded ASN.1 tag H'B7 H'30
recordExtensions ManagementExtension (SEQUENCE) H'06 H'81 H'A2
identifier significance information H'A0
extendedDiagnostics H'80 H'81
ts48018BssgpCause ts25413RanapCause
2.24 localSequenceNumber Contents This field includes a unique record number created by SGSN. The field is present only when the CDR is output over FTP. The number, allocated sequentially and including all CDR types, is unique within one physical node, which is identified either by field Node ID or by record-dependent node address (SGSN address, GGSN address, Record Entity). The local sequence number will be restarted at 0 when, for example, the node is reloaded. Value Table 29
Structure of localSequenceNumber
ASN.1 Format localSequenceNumber
[24] INTEGER (0..4294967295) OPTIONAL
Sequence number of the record in this node 0..4294967295 is equivalent to 0..2 32-1. Encoded ASN.1 tag H'98 localSequenceNumber
2.25 apnSelectionMode Contents This field indicates how the SGSN selected the APN. Value Table 30
Selection Mode Code
Selection mode value
Value (Decimal)
MS or network provided APN, subscribed verified
0
MS provided APN, subscription not verified
1
Network provided APN, subscription not verified
2
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 19 de 59
GSN CDR Format
18/02/13 16:39
Network provided APN, subscription not verified
2
For future use. Shall not be sent. If received, shall be interpreted as the value '2'.
3
Table 31
Structure of apnSelectionMode
ASN.1 Format apnSelectionMode
[25] APNSelectionMode OPTIONAL
APNSelectionMode { mSorNetworkProvidedSubscriptionVerified mSProvidedSubscriptionNotVerified networkProvidedSubscriptionNotVerified }
::= ENUMERATED (0), (1), (2)
Encoded ASN.1 tag H'99
apnSelectionMode
2.26 accessPointNameOI Contents This field, comprising three labels, defines in which PLMN GPRS backbone network the GGSN is located. The last label must be "gprs". The first and second labels together uniquely identify the GPRS PLMN. It is coded according to SoC for 3GPP TS 23.003 and can be in either real dot notation or Ericsson notation, which is configurable in the SGSN. In real dot notation, labels are separated by a dot. In Ericsson notation, each label is preceded by its length. Value Table 32
Example of APN-NI in Real Dot Notation in Hexadecimal Representation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
6F
70
65
72
61
74
6F
72
20
6E
61
6D
65
2E
6F
70
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
65
72
61
74
6F
72
20
67
72
6F
75
70
2E
67
70
72
33 73 Octets 1-13 - 8-bit ASCII characters (here, operator name ) Octet 14 - 8-bit ASCII characters (here, DOT (.) ) Octets 15-28 - 8-bit ASCII characters (here, operator group ) Octet 29- 8-bit ASCII characters, (here, DOT (.) ) Octets 30-33 - 8-bit ASCII characters (here, gprs ) Table 33
Example of APN-NI in Ericsson Notation in Hexadecimal Representation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
0D
6F
70
65
72
61
74
6F
72
20
6E
61
6D
65
0E
6F
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 20 de 59
GSN CDR Format
18/02/13 16:39
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
70
65
72
61
74
6F
72
20
67
72
6F
75
70
04
67
70
33
34
72
73
Octet 1 - length of following octets (here, 13 octets) Octets 2-14 - 8-bit ASCII characters (here, operator name ) Octet 15 - length of following octets (here, 14 octets) Octets 16-29 - 8-bit ASCII characters (here, operator group ) Octet 30 - length of following octets, (here, 4 octets) Octets 31-34 - 8-bit ASCII characters (here, gprs ) Table 34
Structure of accessPointNameOI
ASN.1 Format accessPointNameOI
[26] IA5String (SIZE(1..37)) OPTIONAL
Encoded ASN.1 tag H'9A
accessPointNameOI
2.27 servedMSISDN Contents This field contains the MSISDN of the served party, if available in the SGSN. Value For an example, see Section 5.7. Table 35 ASN.1 Format servedMSISDN
Structure of servedMSISDN
[27] AddressString (SIZE(1..9)) OPTIONAL
AddressString ::= OCTET STRING (SIZE (1..20)) For code clarifications, see Section 5.1. Encoded ASN.1 tag H'9B
servedMSISDN
2.28 chargingCharacteristics Contents This field defines the subscriber's selected charging characteristics as received from the HLR. In cases where they are not provided from the HLR, a default value defined in the SGSN applies.
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 21 de 59
GSN CDR Format
18/02/13 16:39
See also Section 2.31 chChSelectionMode regarding the charging characteristics type. Value See Section 5.10. Table 36
Structure of chargingCharacteristics
ASN.1 Format chargingCharacteristics
[28] OCTET STRING (SIZE(2))
Encoded ASN.1 tag H'9C
chargingCharacteristics
2.29 rATType Contents This field indicates which radio access technology the PDP context activation uses. Value See the definition of the radio access technology information element in SoC for 3GPP TS 29.060. Table 37
Structure of rATType
ASN.1 Format rATType
[29] RATType OPTIONAL
RATType
::= INTEGER
Encoded ASN.1 tag H'9D
rATType
2.30 cAMELInformationPDP Contents This field is present only for CAMEL-enabled subscribers. SCF address identifies the CAMEL server serving the PDP context. Address is defined in HLR as part of CAMEL subscription information. Service key identifies the CAMEL service logic applied to the PDP context. Service key is defined in HLR as part of CAMEL subscription information, see SoC for 3GPP TS 29.002. Default Transaction Handling indicates that CAMEL-handling in SGSN has encountered default GPRS handling. This field is present only if default call handling has been applied. Parameter is defined in HLR as part of CAMEL subscription information, see SoC for 3GPP TS 29.002. CAMEL Access Point Name NI contains the network identifier part of APN before modification by the SCF. It is coded according to SoC for 3GPP TS 23.003 and can be in either real dot notation or Ericsson notation, which is configurable in the SGSN. CAMEL Access Point Name OI contains the operator identifier part of APN before modification by the SCF. It is coded file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 22 de 59
GSN CDR Format
18/02/13 16:39
according to SoC for 3GPP TS 23.003 and can be in either real dot notation or Ericsson notation, which is configurable in SGSN. Number of DP encountered indicates how many armed CAMEL detection points (TDP and EDP) that were encountered and is a measure of signaling between SGSN and CAMEL service. Number of DPs encountered is collected starting at SGSN CAMEL interaction with the PDP context. Level of CAMEL services describes briefly the complexity of CAMEL invocation and is a measure of resource usage in VPLMN requested by HPLMN, see SoC for 3GPP TS 32.298. Basic means that CAMEL feature is invoked. Call duration supervision means that PDP context duration or volume measurement is applied by CAMEL in SGSN. Free Format Data contains charging information sent by the gsmSCF in the Furnish Charging Information GPRS messages as defined in SoC for 3GPP TS 29.078. The data can be sent either in one FCI message or in several FCI messages with append indicator. This data is part of the CAMEL sections of the relevant call records. If the FCI is received more than once during one CAMEL call, the append indicator defines whether the FCI information is appended to or replaces the information of the previous FCI. Due to implementation reasons, the SGSN in some cases append the received data to previously received data. In such case, the append indicator in the CDR is omitted. FFD Append Indicator contains an indicator whether CAMEL free format data is to be appended to free format data stored in previous partial CDR. If the field is missing, free format data in this CDR replaces all received free format data in previous partioal CDRs. Value The format notation is configurable in the SGSN that is in real dot or Ericsson notation in hexadecimal representation. For APN examples, see Section 2.12 and Section 2.26. Table 38
Level of CAMEL Service - Example in Hexadecimal Representation:
1
2
06
40
Octet 1 - number unused bits in the last octet Octet 2 - binary 01000000, bit number 1 (start at zero) is set, callDurationSupervision FFD Append Indicator - TRUE Table 39 ASN.1 Format cAMELInformationPDP
Structure of cAMELInformationPDP [30] CAMELInformationPDP OPTIONAL
CAMELInformationPDP { sCFAddress serviceKey defaultTransactionHandling cAMELAccessPointNameNI cAMELAccessPointNameOI numberOfDPEncountered levelOfCAMELService freeFormatData
::= SET
fFDAppendIndicator
[9] BOOLEAN OPTIONAL
[1] AddressString OPTIONAL, [2] INTEGER (0..2147483647) OPTIONAL, [3] DefaultGPRS-Handling OPTIONAL, [4] IA5String (SIZE(1..63)) OPTIONAL, [5] IA5String (SIZE(1..37)) OPTIONAL, [6] INTEGER OPTIONAL, [7] LevelOfCAMELService OPTIONAL, [8] OCTET STRING (SIZE(1..160)) OPTIONAL,
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 23 de 59
GSN CDR Format
18/02/13 16:39
fFDAppendIndicator } AddressString For code clarifications, see Section 5.1.
[9] BOOLEAN OPTIONAL
LevelOfCAMELService { basic callDurationSupervision onlineCharging } DefaultGPRS-Handling { continueTransaction releaseTransaction } -- exception handling:
::= BIT STRING
::= OCTET STRING (SIZE (1..20))
(0), (1), (2) ::= ENUMERATED (0), (1)
-- reception of values in range 2-31 are treated as "continueTransaction" -- reception of values greater than 31 are treated as "releaseTransaction" Encoded ASN.1 tag H'BE H'81 H'82 H'83 H'84 H'85 H'86 H'87 H'88 H'89
cAMELInformationPDP sCFAddress serviceKey defaultTransactionHandling cAMELAccessPointNameNI cAMELAccessPointNameOI numberOfDPEncountered levelOfCAMELService freeFormatData FDAppendIndicator
2.31 chChSelectionMode Contents This field shows what criteria that were used to select the charging characteristics. In the SGSN the allowed values are: Home default Roaming default APN specific Subscription specific Value Table 40
Structure of chChSelectionMode
ASN.1 Format file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 24 de 59
GSN CDR Format
18/02/13 16:39
ASN.1 Format chChSelectionMode
[32] ChChSelectionMode OPTIONAL
ChChSelectionMode { subscriptionSpecific aPNSpecific homeDefault roamingDefault }
::= ENUMERATED (1), (2), (3), (4)
Encoded ASN.1 tag H'9F20
chChSelectionMode
2.32 dynamicAddressFlag Contents The field indicates that PDP address was dynamically allocated at the particular PDP context activation. This field is missing if address is static, that is, part of PDP context subscription. Value TRUE Table 41
Structure of dynamicAddressFlag
ASN.1 Format dynamicAddressFlag
[33] BOOLEAN OPTIONAL
Encoded ASN.1 tag H'9F21
dynamicAddressFlag
2.33 pLMNIdentifier (Proprietary) Contents This field defines the PLMN identity (MCC and MNC) as part of the location information. It is present only if the option to include PLMN identity has been set by the operator. This field is proprietary. Value The MCC and MNC are stored BCD (Binary Coded Decimal) encoded as shown in Section 5.8. Table 42
Structure of pLMNIdentifier
ASN.1 Format pLMNIdentifier
[101] OCTET STRING (SIZE(3)) OPTIONAL
Encoded ASN.1 tag H'9F65
pLMNIdentifier
2.34 mSTimeZone (Proprietary) file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 25 de 59
GSN CDR Format
18/02/13 16:39
Contents This field contains the following pieces of information. Time Zone bits
The eight Time Zone bits indicate the offset between universal time and local time where the MS currently resides. The granularity is in steps of 15 minutes.
Local Time Update bit
One bit indicates whether the SGSN tries to update the MS about local time. This bit is proprietary, compared to the 3GPP definition of the Time Zone information element.
Daylight Saving Time bits
The two Daylight Saving Time (DST) bits indicate a possible adjustment for DST. The adjustment may be 0, 1, or 2 hours.
This field is proprietary. Table 43
Structure of mSTimeZone
ASN.1 Format mSTimeZone
[102] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'9F66
MSTimeZone
For code clarifications, see Section 5.11.
3 S-SMO-CDR This chapter describes the SGSN-delivered Short message Mobile Originated Charging Data Record.
3.1 sgsnSMORecord Contents This record, contains items that may be present in a S-SMO-CDR. These are further described in the following sections. Value Table 44 ASN.1 Format sgsnSMORecord
Structure of sgsnSMORecord
[23] SGSNSMORecord
sgsnSMORecord { recordType servedIMSI servedIMEI servedMSISDN msNetworkCapability serviceCentre recordingEntity locationArea
::= SET
routingArea
[8] OCTET STRING (SIZE(1)) OPTIONAL,
[0] CallEventRecordType, [1] TBCD STRING (SIZE (3..8)), [2] TBCD STRING (SIZE (8)) OPTIONAL, [3] AddressString (SIZE(1..9)) OPTIONAL, [4] OCTET STRING (SIZE(1..8))OPTIONAL, [5] AddressString OPTIONAL, [6] AddressString OPTIONAL, [7] OCTET STRING (SIZE(2)) OPTIONAL,
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 26 de 59
GSN CDR Format
routingArea cellIdentifier messageReference eventTimeStamp smsResult nodeID localSequenceNumber chargingCharacteristics rATType destinationNumber cAMELInformationSMS chChSelectionMode pLMNIdentifier } Encoded ASN.1 tag H'B7
18/02/13 16:39
[8] OCTET STRING (SIZE(1)) OPTIONAL, [9] OCTET STRING (SIZE(2)) OPTIONAL, [10] OCTET STRING OPTIONAL, [11] OCTET STRING (SIZE(9)), [12] SMSResult OPTIONAL, [14] IA5String (SIZE(1..20)) OPTIONAL, [15] INTEGER (0..4294967295) OPTIONAL, [16] OCTET STRING (SIZE(2)), [17] RATType OPTIONAL, [18] BCDDirectoryNumber OPTIONAL, [19] CAMELInformationSMS OPTIONAL, [20] ChChSelectionMode OPTIONAL, [101] OCTET STRING (SIZE(3)) OPTIONAL
sgsnSMORecord
3.2 recordType Contents This field is a type selector that indicates a sgsnSMORecord. Value 21 Table 45 ASN.1 Format recordType CallEventRecordType { sgsnSMORecord } Encoded ASN.1 tag H'80
Structure of recordType
[0] CallEventRecordType ::= INTEGER (21)
recordType
3.3 servedIMSI Contents This field contains the IMSI of the MS from which the message originates. Value The IMSI components are concatenated in the following order: MCC, MNC and MSIN as defined in SoC for 3GPP TS 23.003. The IMSI is TBCD coded. Bits 8765 of octet n encode digit 2n, bits 4321 of octet n encode digit 2n - 1. Digits are packed contiguously with no internal padding. If there is an odd number of digits, bits 8765 of the last octet contain 1111. For code clarifications, see Section 5.2. Table 46
Structure of servedIMSI
ASN.1 Format file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 27 de 59
GSN CDR Format
18/02/13 16:39
ASN.1 Format servedIMSI
[1] TBCD STRING (SIZE (3..8))
TBCD-STRING For code clarifications, see Section 5.3.
::= OCTET STRING
Encoded ASN.1 tag H'81
servedIMSI
3.4 servedIMEI Contents This field contains the IMEI of the MS from which the message originates, if the information is available in the SGSN. Value The IMEI components are concatenated in the sequence TAC, FAC, SNR and SVN, see Section 5.9. Table 47 ASN.1 Format servedIMEI
Structure of servedIMEI
[2] TBCD STRING (SIZE (8)) OPTIONAL
TBCD STRING For code clarifications, see Section 5.3.
::= OCTET STRING
Encoded ASN.1 tag H'82
servedIMEI
3.5 servedMSISDN Contents This field contains the MSISDN of the MS from which the message originates, if the information is available in the SGSN. Value For an example, see Section 5.7. Table 48 ASN.1 Format servedMSISDN AddressString For code clarifications, see Section 5.1. Encoded ASN.1 tag H'83
Structure of servedMSISDN
[3] AddressString (SIZE(1..9)) OPTIONAL ::= OCTET STRING (SIZE(1..20))
servedMSISDN
3.6 msNetworkCapability Contents file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 28 de 59
GSN CDR Format
18/02/13 16:39
This field contains the MS network capability value of the MS network capability information element of the MS from which the message originates as defined in SoC for 3GPP TS 24.008. In case of unsuccessful SM transfer, the field may not be present. Value See chapter 10.5.5.12 in SoC for 3GPP TS 24.008. Table 49
Structure of msNetworkCapability
ASN.1 Format msNetworkCapability
[4] OCTET STRING (SIZE(1..8)) OPTIONAL
Encoded ASN.1 tag H'84
msNetworkCapability
3.7 serviceCentre Contents The SMS server address. In case of unsuccessful SM transfer, the field may not be present. Value For an example, see Section 5.7. Table 50 ASN.1 Format serviceCentre AddressString For code clarifications, see Section 5.1. Encoded ASN.1 tag H'85
Structure of serviceCentre
[5] AddressString OPTIONAL ::= OCTET STRING (SIZE(1..20))
serviceCentre
3.8 recordingEntity Contents This field contains the ITU-T E.164 number assigned to the SGSN. For further details see SoC for 3GPP TS 23.003. Value For an example, see Section 5.7. Table 51 ASN.1 Format recordingEntity AddressString For code clarifications, see Section 5.1.
Structure of recordingEntity
[6] AddressString OPTIONAL ::= OCTET STRING (SIZE(1..20))
Encoded ASN.1 tag file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 29 de 59
GSN CDR Format
18/02/13 16:39
Encoded ASN.1 tag H'86
recordingEntity
3.9 locationArea Contents The Location Area Code from which the message originated. Value Bit 8 of octet 1 is the most significant bit and bit 1 of octet 2 the least significant bit. Table 52
Structure of locationArea
ASN.1 Format locationArea
[7] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'87
locationArea
3.10 routingArea Contents The Routing Area Code from which the message originated. Value Bit 8 in octet 1 is the most significant bit and bit 1 in octet 1 is the least significant bit. Table 53
Structure of routingArea
ASN.1 Format routingArea
[8] OCTET STRING (SIZE(1)) OPTIONAL
Encoded ASN.1 tag H'88
routingArea
3.11 cellIdentifier Contents This field contains the CI (GSM) or the SAC (WCDMA) of the location from which the message was originated. Value In the GSM domain the Cell Identifier is defined by the CI and in the WCDMA domain by the SAC. CI is coded according to SoC for 3GPP TS 24.008 and the SAC according to SoC for 3GPP TS 25.413. Table 54
Structure of cellIdentifier
ASN.1 Format cellIdentifier
[9] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'89
cellIdentifier
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 30 de 59
GSN CDR Format
18/02/13 16:39
H'89
cellIdentifier
3.12 messageReference Contents This field contains a unique message reference number allocated by the mobile station when transmitting an SM to the service center. In case of unsuccessful SM transfer, the field may not be present. Value Table 55
Structure of messageReference
ASN.1 Format messageReference
[10] OCTET STRING OPTIONAL
Encoded ASN.1 tag H'8A
messageReference
3.13 eventTimeStamp Contents The field contains SGSN local time of CDR creation including the offset to UTC. Value For interpretation of the 9 octets "YYMMDDhhmmssShhmm", see Section 5.6. Table 56
Structure of eventTimeStamp
ASN.1 Format eventTimeStamp
[11] OCTET STRING (SIZE(9))
Encoded ASN.1 tag H'8B
eventTimeStamp
3.14 smsResult Contents This field contains the result of an attempt to deliver a short message to a service center, see SoC for 3GPP TS 29.002. This field may include one of the following: a MAP error from SoC for 3GPP TS 29.002 a Cause from SoC for 3GPP TS 24.008 Present only if the SGSN considers the SMS transfer to have failed. Value See chapter 17.6.6 in SoC for 3GPP TS 29.002 and Annex G in SoC for 3GPP TS 24.008. Table 57
Structure of smsResult
ASN.1 Format file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 31 de 59
GSN CDR Format
18/02/13 16:39
ASN.1 Format smsResult
[12] SMSResult OPTIONAL
SMSResult { gsm0408Cause gsm0902MapErrorValue }
::= CHOICE [0] INTEGER, [1] INTEGER
Encoded ASN.1 tag H'AC H'80 H'81
smsResult gsm0408Cause gsm0902MapErrorValue
3.15 nodeID Contents A name that identifies the SGSN. Value Value of node property "Local SGSN Node Id" Table 58
Structure of nodeID
ASN.1 Format nodeID
[14] IA5String (SIZE(1..20)) OPTIONAL
Encoded ASN.1 tag H'8E
nodeID
3.16 localSequenceNumber Contents This field includes a unique record number created by SGSN. The field is present only when the CDR is output over FTP. The number is allocated sequentially including all CDR types. The number is unique within one physical node, which is identified either by field Node ID or by record-dependent node address (SGSN address, GGSN address, Record Entity). The local sequence number will be restarted at 0 when, for example, the node is reloaded. Value Table 59
Structure of localSequenceNumber
ASN.1 Format localSequenceNumber
[15] INTEGER (0..4294967295) OPTIONAL
Sequence number of the record in this node 0..4294967295 is equivalent to 0..2 32-1, unsigned integer in four octets Encoded ASN.1 tag H'8F
localSequenceNumber
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 32 de 59
GSN CDR Format
18/02/13 16:39
3.17 chargingCharacteristics Contents This field defines the subscriber's selected charging characteristics as received from the HLR. In cases where they are not provided from the HLR, a default value defined in the SGSN applies. See also Section 3.21 chChSelectionMode regarding the charging characteristics type. Value See Section 5.10. Table 60
Structure of chargingCharacteristics
ASN.1 Format chargingCharacteristics
[16] OCTET STRING (SIZE(2))
Encoded ASN.1 tag H'90
chargingCharacteristics
3.18 rATType Contents This field indicates which radio access technology the PDP context activation uses. Value See the definition of the radio access technology information element in SoC for 3GPP TS 29.060. Table 61
Structure of rATType
ASN.1 Format rATType
[17] RATType OPTIONAL
RATType
::= INTEGER
Encoded ASN.1 tag H'91
rATType
3.19 destinationNumber Contents This field contains the short message Destination Number requested by the user. Value Table 62
Structure of destinationNumber
ASN.1 Format destinationNumber
[18] SMSTPDestinationNumber OPTIONAL
SMSTPDestinationNumber
::= OCTET STRING
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 33 de 59
GSN CDR Format
18/02/13 16:39
For code clarifications, see Section 5.5. Encoded ASN.1 tag H'92
destinationNumber
3.20 cAMELInformationSMS Contents This field is present only for CAMEL-enabled subscribers. SCF address identifies the CAMEL server serving the PDP context. Address is defined in HLR as part of CAMEL subscription information. Service key identifies the CAMEL service logic applied to the PDP context. Service key is defined in HLR as part of CAMEL subscription information. Default SMS Handling indicates that CAMEL handling in SGSN encountered default GPRS-handling. This field is present only if default call handling has been applied. Parameter is defined in HLR as part of CAMEL subscription information. CAMEL Calling Party Number contains the Calling Party Number modified by the CAMEL service. CAMEL Destination Subscriber Number contains the short message Destination Number modified by the CAMEL service. CAMEL SMSC Address contains the SMSC address modified by the CAMEL service. Free Format Data contains charging information sent by the gsmSCF in the Furnish Charging Information GPRS messages as defined in SoC for 3GPP TS 29.078. The data can be sent either in one FCI message or in several FCI messages with append indicator. This data is part of the CAMEL sections of the relevant call records. If the FCI is received more than once during one CAMEL call, the append indicator defines whether the FCI information is appended to or replaces the information of the previous FCI. smsReferenceNumber parameter contains the SMS Reference Number assigned to the Short Message by the SGSN. Value Table 63 ASN.1 Format cAMELInformationSMS CAMELInformationSMS { sCFAddress serviceKey defaultSMSHandling cAMELCallingPartyNumber cAMELDestinationSubscriberNumber cAMELSMSCAddress freeFormatData smsReferenceNumber
Structure of cAMELInformationSMS [19] CAMELInformationSMS OPTIONAL ::= SET [1] AddressString OPTIONAL, [2] INTEGER (0..2147483647) OPTIONAL, [3] DefaultSMS-Handling OPTIONAL, [4] BCDDirectoryNumber OPTIONAL, [5] SMSTPDestinationNumber OPTIONAL, [6] AddressString OPTIONAL, [7] OCTET STRING (SIZE(1..160)) OPTIONAL, [8] CallReferenceNumber OPTIONAL
} file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 34 de 59
GSN CDR Format
18/02/13 16:39
} AddressString For code clarifications, see Section 5.1.
::= OCTET STRING (SIZE(1..20))
CallReferenceNumber
::= OCTET STRING (SIZE(1..8))
DefaultSMS-Handling { continueTransaction releaseTransaction } -- exception handling:
::= ENUMERATED (0), (1)
-- reception of values in range 2-31 are treated as "continueTransaction" -- reception of values greater than 31 are treated as "releaseTransaction" BCDDirectoryNumber For code clarifications, see Section 5.4.
::= OCTET STRING
SMSTPDestinationNumber For code clarifications, see Section 5.5.
::= OCTET STRING
Encoded ASN.1 tag H'B3 H'81 H'82 H'83 H'84 H'85 H'86 H'87 H'88
cAMELInformationSMS sCFAddress serviceKey defaultSMSHandling cAMELCallingPartyNumber cAMELDestinationSubscriberNumber cAMELSMSCAddress freeFormatData smsReferenceNumber
3.21 chChSelectionMode Contents This field shows what criteria that were used to select the charging characteristics. In the SGSN the allowed values are: Home default Roaming default Subscription specific Value Table 64
Structure of chChSelectionMode
ASN.1 Format file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 35 de 59
GSN CDR Format
ASN.1 Format chChSelectionMode ChChSelectionMode { subscriptionSpecific homeDefault roamingDefault } Encoded ASN.1 tag H'94
18/02/13 16:39
[20] ChChSelectionMode OPTIONAL ::= ENUMERATED (1), (3), (4)
chChSelectionMode
3.22 pLMNIdentifier (Proprietary) Contents This field defines the PLMN identity (MCC and MNC) as part of the location information. It is present only if the option to include PLMN identity has been set by the operator. This field is proprietary. Value The MCC and MNC are stored BCD (Binary Coded Decimal) encoded as shown in Section 5.8. Table 65
Structure of pLMNIdentifier
ASN.1 Format pLMNIdentifier
[101] OCTET STRING (SIZE(3)) OPTIONAL
Encoded ASN.1 tag H'9F65
pLMNIdentifier
4 S-SMT-CDR This chapter describes the SGSN-delivered Short message Mobile Terminated Charging Data Record.
4.1 sgsnSMTRecord Contents This record field contains items that may be present in a S-SMT-CDR. These are further described in the following sections. Table 66 ASN.1 Format sgsnSMTRecord
Structure of sgsnSMTRecord
[24] SGSNSMTRecord
SGSNSMTRecord { recordType
::= SET
servedIMSI
[1] TBCD STRING (SIZE (3..8)),
[0] CallEventRecordType,
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 36 de 59
GSN CDR Format
servedIMSI servedIMEI servedMSISDN msNetworkCapability serviceCentre recordingEntity locationArea routingArea cellIdentifier eventTimeStamp smsResult nodeID localSequnceNumber chargingCharacteristics rATType chChSelectionMode numberOfSM locationAreaLastSM routingAreaLastSM cellIdentifierLastSM pLMNIdentifierLastSM pLMNIdentifier } Encoded ASN.1 tag H'B8
18/02/13 16:39
[1] TBCD STRING (SIZE (3..8)), [2] TBCD STRING (SIZE (8)) OPTIONAL, [3] AddressString (SIZE(1..9)) OPTIONAL, [4] OCTET STRING (SIZE(1..8))OPTIONAL, [5] AddressString OPTIONAL, [6] AddressString OPTIONAL, [7] OCTET STRING (SIZE(2)) OPTIONAL, [8] OCTET STRING (SIZE(1)) OPTIONAL, [9] OCTET STRING (SIZE(2)) OPTIONAL, [10] OCTET STRING (SIZE(9)), [11] SMSResult OPTIONAL, [13] IA5String (SIZE(1..20)) OPTIONAL, [14] INTEGER (0..4294967295)OPTIONAL, [15] OCTET STRING (SIZE(2)), [16] RATType OPTIONAL, [17] ChChSelectionMode OPTIONAL, [101] INTEGER OPTIONAL, [102] OCTET STRING (SIZE(2)) OPTIONAL, [103] OCTET STRING (SIZE(1)) OPTIONAL, [104] OCTET STRING (SIZE(2)) OPTIONAL, [105] OCTET STRING (SIZE(3)) OPTIONAL, [106] OCTET STRING (SIZE(3)) OPTIONAL
sgsnSMTRecord
4.2 recordType Contents This field is a type selector that indicates a sgsnSMTRecord. Value 22 Table 67 ASN.1 Format recordType CallEventRecordType { sgsnSMTRecord } Encoded ASN.1 tag H'80
Structure of recordType [0] CallEventRecordType ::= INTEGER (22)
recordType
4.3 servedIMSI file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 37 de 59
GSN CDR Format
18/02/13 16:39
Contents This field contains the IMSI of the MS receiving the message. Value The IMSI components are concatenated in the following order: MCC, MNC and MSIN as defined in SoC for 3GPP TS 23.003. The IMSI is TBCD coded. Bits 8765 of octet n encode digit 2n, bits 4321 of octet n encode digit 2n - 1. Digits are packed contiguously with no internal padding. If there is an odd number of digits, bits 8765 of the last octet contain 1111. For code clarifications, see Section 5.2. Table 68 ASN.1 Format servedIMSI TBCD STRING For code clarifications, see Section 5.3. Encoded ASN.1 tag H'81
Structure of servedIMSI
[1] TBCD STRING (SIZE (3..8)) ::= OCTET STRING
servedIMSI
4.4 servedIMEI Contents This field contains the IMEI of the MS receiving the message, if the information is available in the SGSN. Value The IMEI components are concatenated in the sequence TAC, FAC, SNR and SVN, see Section 5.9. Table 69 ASN.1 Format servedIMEI TBCD STRING For code clarifications, see Section 5.3. Encoded ASN.1 tag H'82
Structure of servedIMEI
[2] TBCD STRING (SIZE (8)) OPTIONAL ::= OCTET STRING
servedIMEI
4.5 servedMSISDN Contents This field contains the MSISDN number of the MS receiving the message, if the information is available in the node. Value For an example, see Section 5.7. Table 70
Structure of servedMSISDN
ASN.1 Format servedMSISDN
[3] AddressString (SIZE(1..9)) OPTIONAL
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 38 de 59
GSN CDR Format
18/02/13 16:39
servedMSISDN
[3] AddressString (SIZE(1..9)) OPTIONAL
AddressString For code clarifications, see Section 5.1.
::= OCTET STRING (SIZE(1..20))
Encoded ASN.1 tag H'83
servedMSISDN
4.6 msNetworkCapability Contents This field contains the MS network capability value of the MS network capability information element of the MS from which the message originates, as defined in SoC for 3GPP TS 24.008. In case of unsuccessful SM transfer, the field may not be present. Value See chapter 10.5.5.12 in SoC for 3GPP TS 24.008. Table 71
Structure of msNetworkCapability
ASN.1 Format msNetworkCapability
[4] OCTET STRING (SIZE(1..8)) OPTIONAL
Encoded ASN.1 tag H'84
msNetworkCapability
4.7 serviceCentre Contents The address of the SMS server from which the message is received. In case of unsuccessful SM transfer, the field may not be present. Value For an example, see Section 5.7. Table 72 ASN.1 Format serviceCentre AddressString For code clarifications, see Section 5.1. Encoded ASN.1 tag H'85
Structure of serviceCentre
[5] AddressString OPTIONAL ::= OCTET STRING (SIZE(1..20))
serviceCentre
4.8 recordingEntity Contents This field contains the ITU-T E.164 number assigned to the SGSN. For further details, see SoC for 3GPP TS 23.003. file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 39 de 59
GSN CDR Format
18/02/13 16:39
Value For an example, see Section 5.7. Table 73 ASN.1 Format recordingEntity AddressString For code clarifications, see Section 5.1. Encoded ASN.1 tag H'86
Structure of recordingEntity
[6] AddressString OPTIONAL ::= OCTET STRING (SIZE(1..20))
recordingEntity
4.9 locationArea Contents The Location Area Code to which the (first) message was delivered. Value Bit 8 of octet 1 is the most significant bit and bit 1 of octet 2 the least significant bit. Table 74
Structure of locationArea
ASN.1 Format locationArea
[7] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'87
locationArea
4.10 routingArea Contents The Routing Area Code to which the (first) message was delivered. Value Bit 8 in octet 1 is the most significant bit and bit 1 in octet 1 is the least significant bit. Table 75
Structure of routingArea
ASN.1 Format routingArea
[8] OCTET STRING (SIZE(1)) OPTIONAL
Encoded ASN.1 tag H'88
routingArea
4.11 cellIdentifier Contents This field contains the CI (GSM) or the SAC (WCDMA) of the location to which the (first) message was delivered. file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 40 de 59
GSN CDR Format
18/02/13 16:39
Value In the GSM domain the Cell Identifier is defined by the CI and in the WCDMA domain by the SAC. CI is coded according to SoC for 3GPP TS 24.008 and the SAC according to SoC for 3GPP TS 25.413. Table 76
Structure of cellIdentifier
ASN.1 Format cellIdentifier
[9] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'89
cellIdentifier
4.12 eventTimeStamp Contents The field contains SGSN local time of CDR creation including the offset to UTC. Value For interpretation of the 9 octets "YYMMDDhhmmssShhmm", see Section 5.6. Table 77
Structure of eventTimeStamp
ASN.1 Format eventTimeStamp
[10] OCTET STRING (SIZE(9))
Encoded ASN.1 tag H'8A
eventTimeStamp
4.13 smsResult Contents This field contains the result of an attempt to deliver a short message either to a service centre or to a mobile subscriber (see SoC for 3GPP TS 29.002). This field may include one of the following: a MAP error from SoC for 3GPP TS 29.002 a Cause from SoC for 3GPP TS 24.008 Present only if the SGSN considers the SMS transfer to have failed. Value See chapter 17.6.6 in SoC for 3GPP TS 29.002 and Annex G in SoC for 3GPP TS 24.008. Table 78 ASN.1 Format smsResult SMSResult { gsm0408Cause gsm0902MapErrorValue }
Structure of smsResult
[11] SMSResult OPTIONAL ::= CHOICE [0] INTEGER, [1] INTEGER
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 41 de 59
GSN CDR Format
18/02/13 16:39
}
Encoded ASN.1 tag H'AB H'80 H'81
smsResult gsm0408Cause gsm0902MapErrorValue
4.14 nodeID Contents A name that identifies the SGSN. Value Value of node property "Local SGSN Node Id" Table 79
Structure of nodeID
ASN.1 Format nodeID
[13] IA5String (SIZE(1..20)) OPTIONAL
Encoded ASN.1 tag H'8D
nodeID
4.15 localSequenceNumber Contents This field includes a unique record number created by SGSN. The field is present only when the CDR is output over FTP. The number is allocated sequentially including all CDR types. The number is unique within one physical node, which is identified either by field Node ID or by record-dependent node address (SGSN address, GGSN address, Record Entity). The local sequence number will be restarted at 0 when, for example, the node is reloaded. Value Table 80
Structure of localSequenceNumber
ASN.1 Format localSequenceNumber
[14] INTEGER (0..4294967295) OPTIONAL
Sequence number of the record in this node 0..4294967295 is equivalent to 0..2 32-1, unsigned integer in four octets Encoded ASN.1 tag H'8E localSequenceNumber
4.16 chargingCharacteristics Contents This field defines the subscriber's selected charging characteristics as received from the HLR. In cases where they are not provided from the HLR, a default value defined in the SGSN applies.
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 42 de 59
GSN CDR Format
18/02/13 16:39
See also Section 4.18 regarding the charging characteristics type. Value See Section 5.10. Table 81
Structure of chargingCharacteristics
ASN.1 Format chargingCharacteristics
[15] OCTET STRING (SIZE(2))
Encoded ASN.1 tag H'8F
chargingCharacteristics
4.17 rATType Contents This field indicates which radio access technology the PDP context activation uses. Value See the definition of the radio access technology information element in SoC for 3GPP TS 29.060. Table 82
Structure of rATType
ASN.1 Format rATType
[16] RATType OPTIONAL
RATType
::= INTEGER
Encoded ASN.1 tag H'90
rATType
4.18 chChSelectionMode Contents This field shows what criteria that were used to select the charging characteristics. In the SGSN the allowed values are: Home default Roaming default Subscription specific Value Table 83
Structure of chChSelectionMode
ASN.1 Format chChSelectionMode
[17] ChChSelectionMode OPTIONAL
ChChSelectionMode
::= ENUMERATED
{ file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 43 de 59
GSN CDR Format
18/02/13 16:39
{ subscriptionSpecific homeDefault roamingDefault }
(1), (3), (4)
Encoded ASN.1 tag H'91
chChSelectionMode
4.19 numberOfSM Contents This field contains the number of short messages in one S-SMT-CDR. It is output only in case of multiple mobileterminated SM transfers, if the option to generate an S-SMT-CDR summarizing several SM transfers has been set by the operator. Value Two or more messages. Table 84
Structure of numberOfSM
ASN.1 Format numberOfSM
[101] INTEGER OPTIONAL
Encoded ASN.1 tag H'9F65
numberOfSM
4.20 locationAreaLastSM Contents This field defines the Location Area Code (LAC) where the last SM is received. It is output only in case of multiple mobileterminated SM transfers and if the option to generate an S-SMT-CDR summarizing several SM transfers has been set by the operator. Value Bit 8 of octet 1 is the most significant bit and bit 1 of octet 2 the least significant bit. Table 85
Structure of locationAreaLastSM
ASN.1 Format locationAreaLastSM
[102] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'9F66
locationAreaLastSM
4.21 routingAreaLastSM Contents This field defines the Routing Area Code where the last SM is received. It is output only in case of multiple mobileterminated SM transfers and if the option to generate an S-SMT-CDR summarizing several SM transfers has been set by the operator. file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 44 de 59
GSN CDR Format
18/02/13 16:39
Value Bit 8 in octet 1 is the most significant bit and bit 1 in octet 1 is the least significant bit. Table 86
Structure of routingAreaLastSM
ASN.1 Format routingAreaLastSM
[103] OCTET STRING (SIZE(1)) OPTIONAL
Encoded ASN.1 tag H'9F67
routingAreaLastSM
4.22 cellIdentifierLastSM Contents This field defines the CI(GSM) or the SAC(WCDMA) where the last SM is received. It is output only in case of multiple mobile-terminated SM transfers and if the option to generate an S-SMT-CDR summarizing several SM transfers has been set by the operator. Value In the GSM domain the Cell Identifier is defined by the CI and in the WCDMA domain by the SAC. CI is coded according to SoC for 3GPP TS 24.008 and the SAC according to SoC for 3GPP TS 25.413. Table 87
Structure of cellIdentifierLastSM
ASN.1 Format cellIdentifierLastSM
[104] OCTET STRING (SIZE(2)) OPTIONAL
Encoded ASN.1 tag H'9F68
cellIdentifierLastSM
4.23 pLMNIdentifierLastSM Contents This field defines the PLMN identity (MCC and MNC) where the last SM is received. It is only output in case of multiple mobile terminated SM transfers and if the option to generate an S-SMT-CDR summarizing several SM transfers as well as the option to include PLMN identity have been set by the operator. Value The MCC and MNC are stored BCD (Binary Coded Decimal) encoded as shown in Section 5.8. Table 88
Structure of pLMNIdentifierLastSM
ASN.1 Format pLMNIdentifierLastSM
[105] OCTET STRING (SIZE(3)) OPTIONAL
Encoded ASN.1 tag H'9F69
pLMNIdentifierLastSM
4.24 pLMNIdentifier Contents file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 45 de 59
GSN CDR Format
18/02/13 16:39
This field defines the PLMN identity (MCC and MNC) as part of the location information. It is present only if the option to include PLMN identity has been set by the operator. Value The MCC and MNC are stored BCD (Binary Coded Decimal) encoded as shown in Section 5.8. Table 89
Structure of pLMNIdentifier
ASN.1 Format pLMNIdentifier
[106] OCTET STRING (SIZE(3)) OPTIONAL
Encoded ASN.1 tag H'9F6A
pLMNIdentifier
5 Code Clarifications 5.1 Address String The address string is used for addressing purposes, and is described in SoC for 3GPP TS 29.002. The first octet includes a one-bit extension indicator, a three-bits nature of address indicator and a four-bits numbering plan indicator, encoded below. The following octets represent digits of an address encoded as a TBCD string, see Section 5.3. 1. bit 8: 1 (no extension) 2. bits 765 : nature of address indicator 000 unknown 001 international number 010 national significant number 011 network specific number 100 subscriber number 101 reserved 110 abbreviated number 111 reserved for extension 3. bits 4321 : numbering plan indicator 0000 unknown 0001 ISDN/Telephony Numbering Plan ( ITU-T Rec E.164) 0010 spare 0011 data numbering plan (ITU-T Rec X.121) 0100 telex numbering plan (ITU-T Rec F.69) 0101 spare 0110 land mobile numbering plan (ITU-T Rec E.212) 0111 spare 1000 national numbering plan 1001 private numbering plan 1111 reserved for extension all other values are reserved
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 46 de 59
GSN CDR Format
18/02/13 16:39
5.2 IMSI The following table shows IMSI when MNC has three digits: Table 90 8
7
6
5
Three-digit MNC
4
3
2
1
MCC digit 2 MNC digit 1
MCC digit 1 MCC digit 3
octet 1 octet 2
MNC digit 3 MSIN digit 2
MNC digit 2 MSIN digit 1
octet 3 octet 4
. . MSIN digit 2n-8 See note
MSIN digit 2n-9 MSIN digit 2n-7
octet n-1 octet n
The following table shows IMSI when MNC has two digits: Table 91 8
7
6
5
4
Two-digit MNC 3
2
1
MCC digit 2 MNC digit 1
MCC digit 1 MCC digit 3
octet 1 octet 2
MSIN digit 1 MSIN digit 23
MNC digit 2 MSIN digit 2
octet 3 octet 4
. . MSIN digit 2n-7 See note
MSIN digit 2n-8 MSIN digit 2n-6
octet n-1 octet n
Note: Bits 5-8 of the last octet contain the last MSIN digit, or 1111 used as filler when there is an odd total number of digits.
5.3 TBCD String The TBCD string is used to represent several digits from 0 through 9, *, #, a, b, c, two digits per octet, each digit encoded 0000 to 1001 (0 to 9), 1010 (*), 1011 (#), 1100 (a), 1101 (b) or 1110 (c). 1111 used as filler when there is an odd number of digits. Bits 8765 of octet n encoding digit 2n. Bits 4321 of octet n encoding digit 2n-1. See SoC for 3GPP TS 29.002.
5.4 BCD Directory Number This BCD directory number contains the binary coded decimal representation of a directory number, such as calling/called/connected/translated number. The encoding of the octet string is in accordance with the elements "Calling party BCD number", "Called party BCD number" and "Connected number" defined in SoC for 3GPP TS 24.008. This encoding includes type of number and number plan information together with a BCD-encoded digit string. It may also contain both a presentation and screening indicator (octet 3a). For the avoidance of doubt, this field does not include octets 1 and 2, the element name and length, as this would be redundant.
5.5 SMS TP Destination Number file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 47 de 59
GSN CDR Format
18/02/13 16:39
The SMS TP destination number contains the binary coded decimal representation of the SMS address field, the encoding of the octet string in accordance with the definition of address field in SoC for 3GPP TS 23.040. The encoding includes type of number and numbering plan indication together with the address value range.
5.6 Time Table 92 Time Code YY MM
= =
Year 00 to 99 Month 01 to 12
BCD encoded BCD encoded
Octet 1 Octet 2
DD hh
= =
Day 01 to 31 hour 00 to 23
BCD encoded BCD encoded
Octet 3 Octet 4
mm ss
= =
minute 00 to 59 second 00 to 59
BCD encoded BCD encoded
Octet 5 Octet 6
S hh mm
= = =
Sign 0 = "+", "-" hour 00 to 23 minute 00 to 59
ASCII encoded BCD encoded BCD encoded
Octet 7 Octet 8 Octet 9
Example: Table 93
Example in Hexadecimal Representation of "2001-09-26 13:58:45+02:00":
1
2
3
4
5
6
7
8
9
01
09
26
13
58
45
2b
02
00
5.7 ISDN Table 94
Example in Hexadecimal Representation
1
2
3
4
5
6
7
91
88
96
13
48
00
77
Octet 1 - binary 10010001, (no extension), international number, ISDN/Telephony Numbering Plan ( ITU-T Rec E.164). Octets 2-7 - number 886931840077.
5.8 PLMN Identity Table 95 8
7
6
5
4
Served IMSI Code 3
2
1
MCC digit 2 MNC digit 3
MCC digit 1 MCC digit 3
octet 1 octet 2
MNC digit 2
MNC digit 1
octet 3
Note: Bits 5-8 of octet 2 contain third MNC digit, or 1111 used as filler when MNC has only two digits.
5.9 Served IMEI Table 96
Served IMEI Code
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 48 de 59
GSN CDR Format
18/02/13 16:39
8
7 6 TAC digit 2
5
4
3 2 TAC digit 1
1 octet 1
TAC digit 4 TAC digit 6
TAC digit 3 TAC digit 5
octet 2 octet 3
FAC digit 2 SNR digit 2
FAC digit 1 SNR digit 1
octet 4 octet 5
SNR digit 4 SNR digit 6
SNR digit 3 SNR digit 5
octet 6 octet 7
SVN digit 2
SVN digit 1
octet 8
Note: If the SVN is not present, the last octet bits 1-4 shall contain 0000 and bits 5-8 1111.
5.10 Charging Characteristics Table 97 8 B4 B12
7 B3
6 B2
B11
5
4
3
2
1
B9
P3 B8
P2 B7
P1 B6
P0 B5
B1 B10
Charging Characteristics Code octet 1 octet 2
The charging characteristics bits consist of profile bits P0-P3 and behavior bits B1-B12. It is the responsibility of the PLMN operator to exactly define the meaning of the profile bits P0 to P3. Bits B1 - B12 may be used by the operator for nonstandardized behavior. Bit B12 may be used for the feature APN Resolution Extension, for more information on the feature see, Session Management.
5.11 mSTimeZone Table 98 8 Spare
7 Spare
6 SGSN Attempts to Update MS
5 4 Time Zone Spare
Spare
mSTimeZone Code 3
2
1 octet 1
Spare
Daylight Saving Time
octet 2
The mSTimeZone bits contain the following information: Eight Time Zone bits (octet 1, B8-B1). These bits are divided into two semi-octets. The format of these bits is described below. Further details may be found in SoC for 3GPP TS 29.060. One proprietary bit (octet 2, B6) indicating whether the SGSN tries to update the MS about local time. If the SGSN tries to update the MS with local time, B6 is set to 1. otherwise, B6 is set to 0. Two Daylight Saving Time bits (octet 2, B2-B1) indicating a possible adjustment for DST. The format of these bits is described below. Further details may be found in SoC for 3GPP TS 29.060. The Time Zone indicates the difference, expressed in quarters of an hour, between the local time and GMT. In the first of the two semi-octets, the first bit represents the algebraic sign of this difference (0: positive, 1: negative). file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 49 de 59
GSN CDR Format
18/02/13 16:39
The value contained in the Time Zone field takes into account daylight saving time, such that when the sending entity changes from regular (winter) time to daylight saving (summer) time, there is a change to the value in the Time Zone field, for example in the UK the winter setting is 00000000 and the summer setting is 01000000. The two Daylight Saving Time bits in the mSTimeZone information element have the following possible values: Table 99
Daylight Saving Time Bit Values
Meaning
Value (binary)
No adjustment for Daylight Saving Time
B2 0
B1 0
+1 hour adjustment for Daylight Saving Time +2 hours adjustment for Daylight Saving Time
0 1
1 0
Reserved
1
1
6 ASN.1 Format Related Standard Documentation for ASN.1: SoC for 3GPP TS 24.008 SoC for 3GPP TS 29.002 SoC for 3GPP TS 29.060 SoC for 3GPP TS 29.078 SoC for 3GPP TS 32.298 --------------------------------------------------------------------------------- SGSN R8 CDR Format - ASN.1 Specification --- Based on: -3GPP TS 32.298 Soc: 22/174 02-1/AXB 250 05/6 -3GPP TS 29.002 Soc: 12/174 02-1/AXB 250 05/6 -ITU-T X.721 (Corrigendum 4) -------------------------------------------------------------------------------SGSN-R8-CDR DEFINITIONS IMPLICIT TAGS ::= BEGIN --------------------------------------------------------------------------------- Imported data types from ITU-T X.721 -------------------------------------------------------------------------------ManagementExtension ::= SEQUENCE { identifier OBJECT IDENTIFIER, significance [1] BOOLEAN DEFAULT FALSE, information [2] GprsSCdrExtensions } --------------------------------------------------------------------------------- Imported data types from 3GPP TS 32.298 file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 50 de 59
GSN CDR Format
18/02/13 16:39
-------------------------------------------------------------------------------BCDDirectoryNumber ::= OCTET STRING CallDuration ::= INTEGER CallEventRecord ::= CHOICE { sgsnPDPRecord [20] SGSNPDPRecord, sgsnSMORecord [23] SGSNSMORecord, sgsnSMTRecord [24] SGSNSMTRecord } CallEventRecordType ::= INTEGER { sgsnPDPRecord (18), sgsnSMORecord (21), sgsnSMTRecord (22) } CallingNumber ::= BCDDirectoryNumber CellId ::= OCTET STRING (SIZE(2)) Diagnostics ::= CHOICE { gsm0408Cause [0] INTEGER, gsm0902MapErrorValue [1] INTEGER } LevelOfCAMELService ::= BIT STRING { basic (0), callDurationSupervision (1), onlineCharging (2) } LocationAreaCode ::= OCTET STRING (SIZE(2)) ManagementExtensions ::= SET OF ManagementExtension MessageReference ::= OCTET STRING MSISDN ::= ISDN-AddressString RecordingEntity ::= AddressString SMSResult ::= Diagnostics SmsTpDestinationNumber ::= OCTET STRING TimeStamp ::= OCTET STRING (SIZE(9)) -------------------------------------------------------------------------------- Imported data types from 3GPP TS 29.002 ------------------------------------------------------------------------------AddressString ::= OCTET STRING (SIZE (1..maxAddressLength)) CallReferenceNumber ::= OCTET STRING (SIZE (1..8)) DefaultGPRS-Handling ::= ENUMERATED { continueTransaction (0), releaseTransaction (1) } DefaultSMS-Handling ::= ENUMERATED { continueTransaction (0), releaseTransaction (1) } IMSI ::= TBCD-STRING (SIZE (3..8)) IMEI ::= TBCD-STRING (SIZE (8)) ISDN-AddressString ::= AddressString (SIZE (1..maxISDN-AddressLength)) ServiceKey ::= INTEGER (0..2147483647) TBCD-STRING ::= OCTET STRING maxAddressLength INTEGER ::= 20 maxISDN-AddressLength INTEGER ::= 9 file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 51 de 59
GSN CDR Format
18/02/13 16:39
-------------------------------------------------------------------------------- CDR records ------------------------------------------------------------------------------SGSNPDPRecord ::= SET { recordType [0] CallEventRecordType, servedIMSI [3] IMSI, servedIMEI [4] IMEI OPTIONAL, sgsnAddress [5] GSNAddress OPTIONAL, msNetworkCapability [6] MSNetworkCapability OPTIONAL, routingArea [7] RoutingAreaCode OPTIONAL, locationAreaCode [8] LocationAreaCode OPTIONAL, cellIdentifier [9] CellId OPTIONAL, chargingID [10] ChargingID, ggsnAddressUsed [11] GSNAddress, accessPointNameNI [12] AccessPointNameNI OPTIONAL, pdpType [13] PDPType OPTIONAL, servedPDPAddress [14] PDPAddress OPTIONAL, listOfTrafficVolumes [15] SEQUENCE OF ChangeOfCharCondition OPTIONAL, recordOpeningTime [16] TimeStamp, duration [17] CallDuration, sgsnChange [18] SGSNChange OPTIONAL, causeForRecClosing [19] CauseForRecClosing, diagnostics [20] Diagnostics OPTIONAL, recordSequenceNumber [21] INTEGER OPTIONAL, nodeID [22] NodeID OPTIONAL, recordExtensions [23] ManagementExtensions OPTIONAL, localSequenceNumber [24] LocalSequenceNumber OPTIONAL, apnSelectionMode [25] APNSelectionMode OPTIONAL, accessPointNameOI [26] AccessPointNameOI OPTIONAL, servedMSISDN [27] MSISDN OPTIONAL, chargingCharacteristics [28] ChargingCharacteristics, rATType [29] RATType OPTIONAL, cAMELInformationPDP [30] CAMELInformationPDP OPTIONAL, chChSelectionMode [32] ChChSelectionMode OPTIONAL, dynamicAddressFlag [33] DynamicAddressFlag OPTIONAL, pLMNIdentifier [101] PLMN-Id OPTIONAL, mSTimeZone [102] MSTimeZone OPTIONAL } SGSNSMORecord ::= SET { recordType [0] CallEventRecordType, servedIMSI [1] IMSI, servedIMEI [2] IMEI OPTIONAL, servedMSISDN [3] MSISDN OPTIONAL, msNetworkCapability [4] MSNetworkCapability OPTIONAL, serviceCentre [5] AddressString OPTIONAL, recordingEntity [6] RecordingEntity OPTIONAL, locationArea [7] LocationAreaCode OPTIONAL, routingArea [8] RoutingAreaCode OPTIONAL, cellIdentifier [9] CellId OPTIONAL, messageReference [10] MessageReference, eventTimeStamp [11] TimeStamp, smsResult [12] SMSResult OPTIONAL, nodeID [14] NodeID OPTIONAL, localSequenceNumber [15] LocalSequenceNumber OPTIONAL, chargingCharacteristics [16] ChargingCharacteristics, rATType [17] RATType OPTIONAL, file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 52 de 59
GSN CDR Format
destinationNumber cAMELInformationSMS chChSelectionMode pLMNIdentifier } SGSNSMTRecord { recordType servedIMSI servedIMEI servedMSISDN msNetworkCapability serviceCentre recordingEntity locationArea routingArea cellIdentifier eventTimeStamp smsResult nodeID localSequenceNumber chargingCharacteristics rATType chChSelectionMode numberOfSM locationAreaLastSM routingAreaLastSM cellIdentifierLastSM pLMNIdentifierLastSM pLMNIdentifier }
18/02/13 16:39
[18] SmsTpDestinationNumber OPTIONAL, [19] CAMELInformationSMS OPTIONAL, [20] ChChSelectionMode OPTIONAL, [101] PLMN-Id OPTIONAL ::= SET [0] CallEventRecordType, [1] IMSI, [2] IMEI OPTIONAL, [3] MSISDN OPTIONAL, [4] MSNetworkCapability OPTIONAL, [5] AddressString OPTIONAL, [6] RecordingEntity OPTIONAL, [7] LocationAreaCode OPTIONAL, [8] RoutingAreaCode OPTIONAL, [9] CellId OPTIONAL, [10] TimeStamp, [11] SMSResult OPTIONAL, [13] NodeID OPTIONAL, [14] LocalSequenceNumber OPTIONAL, [15] ChargingCharacteristics, [16] RATType OPTIONAL, [17] ChChSelectionMode OPTIONAL, [101] INTEGER OPTIONAL, [102] LocationAreaCode OPTIONAL, [103] RoutingAreaCode OPTIONAL, [104] CellId OPTIONAL, [105] PLMN-Id OPTIONAL, [106] PLMN-Id OPTIONAL
-------------------------------------------------------------------------------- Common CDR data types ------------------------------------------------------------------------------AccessPointNameNI ::= IA5String (SIZE(1..63)) --- Network Identifier part of APN in dot representation. -- For example, if the complete APN is -- apn1a.apn1b.apn1c.mnc022.mcc111.gprs -- NI is apn1a.apn1b.apn1c and is presented in this form in -- the CDR. AccessPointNameOI ::= IA5String (SIZE(1..37)) --- Operator Identifier part of APN in dot representation. -- In the apn1a.apn1b.apn1c.mnc022.mcc111.gprs example, -- the OI portion is mnc022.mcc111.gprs -- and is presented in this form in the CDR. APNSelectionMode ::= ENUMERATED { --- See Information Elements 3GPP TS 29.060 -mSorNetworkProvidedSubscriptionVerified (0), mSProvidedSubscriptionNotVerified (1), networkProvidedSubscriptionNotVerified (2) } CAMELAccessPointNameNI ::= AccessPointNameNI file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 53 de 59
GSN CDR Format
18/02/13 16:39
CAMELAccessPointNameOI
::= AccessPointNameOI
CAMELInformationPDP ::= SET { sCFAddress [1] SCFAddress OPTIONAL, serviceKey [2] ServiceKey OPTIONAL, defaultTransactionHandling [3] DefaultGPRS-Handling OPTIONAL, cAMELAccessPointNameNI [4] CAMELAccessPointNameNI OPTIONAL, cAMELAccessPointNameOI [5] CAMELAccessPointNameOI OPTIONAL, numberOfDPEncountered [6] NumberOfDPEncountered OPTIONAL, levelOfCAMELService [7] LevelOfCAMELService OPTIONAL, freeFormatData [8] FreeFormatData OPTIONAL, fFDAppendIndicator [9] FFDAppendIndicator OPTIONAL } CAMELInformationSMS ::= SET { sCFAddress [1] SCFAddress OPTIONAL, serviceKey [2] ServiceKey OPTIONAL, defaultSMSHandling [3] DefaultSMS-Handling OPTIONAL, cAMELCallingPartyNumber [4] CallingNumber OPTIONAL, cAMELDestinationSubscriberNumber [5] SmsTpDestinationNumber OPTIONAL, cAMELSMSCAddress [6] AddressString OPTIONAL, freeFormatData [7] FreeFormatData OPTIONAL, smsReferenceNumber [8] CallReferenceNumber OPTIONAL } CauseForRecClosing ::= INTEGER { --- In GGSN the value sGSNChange should be used for partial record -- generation due to SGSN Address List Overflow -normalRelease (0), abnormalRelease (4), cAMELInitCallRelease (5), volumeLimit (16), timeLimit (17), sGSNChange (18), maxChangeCond (19), managementIntervention (20), mSTimeZoneChange (23), pLMNChange (101) } ChangeCondition { qoSChange tariffTime recordClosure }
::= ENUMERATED (0), (1), (2)
ChangeOfCharCondition ::= SEQUENCE --- Used in PDP context record only -{ qosRequested [1] QoSInformation OPTIONAL, qosNegotiated [2] QoSInformation OPTIONAL, dataVolumeGPRSUplink [3] DataVolumeGPRS, dataVolumeGPRSDownlink [4] DataVolumeGPRS, changeCondition [5] ChangeCondition, changeTime [6] TimeStamp file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 54 de 59
GSN CDR Format
18/02/13 16:39
} ChargingCharacteristics ::= OCTET STRING (SIZE(2)) --- Bit 0-3: Profile Index -- Bit 4-15: For Behavior -ChargingID ::= INTEGER (0..4294967295) --- Generated in GGSN, part of PDP context, see 3GPP TS 23.060 -- 0..4294967295 is equivalent to 0..2**32-1 ChChSelectionMode { subscriptionSpecific aPNSpecific homeDefault roamingDefault }
::= ENUMERATED (1), (2), (3), (4)
-----
For For For For
SGSN SGSN SGSN SGSN
only only and GGSN and GGSN
DataVolumeGPRS ::= INTEGER --- The volume of data transferred in octets. -DynamicAddressFlag
::= BOOLEAN
ETSIAddress ::= AddressString --- First octet for nature of address, and numbering plan -- indicator (3 for X.121) -- Other octets TBCD -- See 3GPP TS 29.002 -ExtendedDiagnostics ::= CHOICE { --- This data type is used in the field recordExtensions -ts48018BssgpCause [0] INTEGER, ts25413RanapCause [1] INTEGER } FFDAppendIndicator
::= BOOLEAN
FreeFormatData ::= OCTET STRING (SIZE(1..160)) --- Free formated data as sent in the -- FurnishChargingInformationGPRS -- see 3GPP TS 29.078 -GprsSCdrExtensions ::= SET { --- This data type is used in the field recordExtensions -extendedDiagnostics [0] ExtendedDiagnostics OPTIONAL }
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 55 de 59
GSN CDR Format
18/02/13 16:39
GSNAddress
::= IPAddress
IPAddress { iPBinaryAddress iPTextRepresentedAddress }
::= CHOICE IPBinaryAddress, IPTextRepresentedAddress
IPBinaryAddress ::= CHOICE { iPBinV4Address [0] OCTET STRING (SIZE(4)), iPBinV6Address [1] OCTET STRING (SIZE(16)) } IPTextRepresentedAddress ::= CHOICE { --- IP address in the familiar "dot" notation -iPTextV4Address [2] IA5String (SIZE(7..15)), iPTextV6Address [3] IA5String (SIZE(15..45)) } LocalSequenceNumber ::= INTEGER (0..4294967295) --- Sequence number of the record in this node -- 0.. 4294967295 is equivalent to 0..2**32-1, unsigned integer -- in four octets MSNetworkCapability ::= OCTET STRING (SIZE(1..8)) -- see 3GPP TS 24.008 MSTimeZone --- OCTET 1: -- OCTET 2: -- See 3GPP -NodeID
::= OCTET STRING (SIZE(2)) Time Zone Daylight saving time TS 29.060
::= IA5String (SIZE(1..20))
NumberOfDPEncountered PDPAddress { iPAddress eTSIAddress }
::= INTEGER
::= CHOICE [0] IPAddress, [1] ETSIAddress
PDPType ::= OCTET STRING (SIZE(2)) --- OCTET 1: PDP Type Organization -- OCTET 2: PDP Type Number -- See 3GPP TS 29.060 -PLMN-Id ::= OCTET STRING (SIZE(3)) -- This is a 1:1 copy from the Routing Area Identity (RAI) IE -- specified in 3GPP TS 29.060 as follows: -- OCTET 1 of PLMN-Id = OCTET 2 of RAI -- OCTET 2 of PLMN-Id = OCTET 3 of RAI -- OCTET 3 of PLMN-Id = OCTET 4 of RAI file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 56 de 59
GSN CDR Format
18/02/13 16:39
QoSInformation ::= OCTET STRING (SIZE (4..15)) --- This octet string -- is a 1:1 copy of the contents (i.e. starting with octet 4) of -- the "Quality of service Profile" information element -- specified in 3GPP TS 29.060. -RATType ::= INTEGER --- This integer is 1:1 copy of the RAT type value as defined in -- 3GPP TS 29.060. -RoutingAreaCode ::= OCTET STRING (SIZE(1)) --- See 3GPP TS 24.008 -SCFAddress ::= AddressString --- See 3GPP TS 29.002 -SGSNChange ::= BOOLEAN --- Present if first record after inter SGSN routing area update -- in new SGSN -END
Reference List Ericsson Documents [1] CDR-Based Charging, TECHN PRODUCT DESCR, 5/221 02-AXB 250 05/6. [2] Session Management. [3] SGSN R8 Dual Access, NETWORK IMPACT REPORT, 1/109 48-AXB 250 05/6. [4] SGSN R8 (G) NETWORK IMPACT REPORT, 2/109 48-AXB 250 05/6. [5] SGSN R8 (W) NETWORK IMPACT REPORT, 3/109 48-AXB 250 05/6. Statements of Compliance [6] SoC for 3GPP TS 23.003, Statement of Compliance, Numbering, addressing and identification, 39/174 02-1/AXB 250 05/6. [7] SoC for 3GPP TS 23.040, Statement of Compliance, Technical Specification Group Terminals; Technical realization of the Short Message Service (SMS) 3/174 02-1/AXB 250 05/6. [8] SoC for 3GPP TS 23.060, Statement of Compliance, General Packet Radio Service (GPRS); Service Description; Stage 2, 4/174 02-1/AXB 250 05/6. [9] SoC for 3GPP TS 24.008, Statement of Compliance, Technical Specification Group Core Network; Mobile radio interface layer 3 specification; Core Network Protocols - Stage 3, 8/174 02-1/AXB 250 05/6. [10] SoC for 3GPP TS 25.413, Statement of Compliance, UTRAN Iu Interface RANAP signalling, 11/174 02-1/AXB 250 05/6. [11] SoC for 3GPP TS 29.002, Statement of Compliance, Mobile Application Part (MAP) Specification, 12/174 02-1/AXB 250 05/6. [12] SoC for 3GPP TS 29.060, Statement of Compliance, GPRS Tunnelling Protocol (GTP) across the Gn and Gp file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 57 de 59
GSN CDR Format
18/02/13 16:39
Interface, 15/174 02-1/AXB 250 05/6. [13] SoC for 3GPP TS 29.078, Statement of Compliance, CAMEL Application Part (CAP) specification, 16/174 02-1/AXB 250 05/6. [14] SoC for 3GPP TS 32.298, Statement of Compliance, Charging Data Record (CDR) parameter description, 22/174 021/AXB 250 05/6. [15] SoC for 3GPP TS 48.018, Statement of Compliance, General Packet Radio Service (GPRS); Base Station System (BSS) - Serving GPRS Support Node (SGSN); BSS GPRS Protocol (BSSGP) 34/174 02-1/AXB 250 05/6. Standards [16] Information technology - ASN.1 encoding rules: Specification of Basic Notation, ITU-T Recommendation X.680. [17] Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER) ITU-T Recommendation X.690.
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 58 de 59
GSN CDR Format
18/02/13 16:39
file:///Users/alexandrealves/Pessoal/Claro/Projetos%20de%20rede%20GPRS/SGSN%20Ericsson/GSN%20CDR%20Format.htm
Página 59 de 59