> G-CDR and Enhanced G-CDR Field Descriptions
> This chapter lists and describes the fields supported by the system for use in GGSN charging data records (G-CDRs) and enhanced G-CDRs (eG-CDRs).
> The following information is provided for each field:

> • | Description: The field’s description.

> • | Format: The field’s data format.

> • | Length: The field’s size, in bytes.

> All G-CDRs and eG-CDRs are encoded using the ASN.1 format and are sent to the charging gateway function (CGF) using the GPRS Tunneling Protocol Prime (GTPP) as defined in the following standards:

> • | 3GPP TS 29.060

> • | 3GPP TS 32.015

> • | 3GPP TS 32.215

> • | 3GPP TS 32.251

> • | 3GPP TS 32.298 v 6.2.0 (for G-CDRs)

> • | 3GPP TS 32.298 v 6.4.1 (for eG-CDRs)

> Also see the G-CDR and Enhanced G-CDR Field Reference Tables chapter for information on CDR fields supported in G-CDRs and eG-CDRs.
> Important: The behavior for several of the fields supported in CDRs can be modified. For more information, refer to the gtpp attributes command in the Command Line Interface Reference.
> CDR Fields
> Access Point Name Network Identifier
> The network identifier portion of the Access Point Name (APN). The APN typically corresponds to a registered Internet domain name and represents the external Packet Data Network (PDN) that the GGSN is connected to.
> Format
> IA5 string
> Length
> 1–65 bytes
> APN Selection Mode
> An index indicating how the APN was selected.
> The following APN selection mode indexes are possible:

> • | 0: MS or network provided APN, subscribed verified

> • | 1: MS provided APN, subscription not verified

> • | 2: Network provided APN, subscription not verified

> Format
> Unsigned integer.
> Length
> 1 byte.
> CAMEL Information
> Set of CAMEL information related to PDP context. This field is present if CAMEL Charging Information is received by the GGSN in the GTP Create PDP context request.
> Important: Presently E-GCDRs does not support this field.
> Format
> Octet string.
> Cause for Record Closing
> The reason the record is released from the GGSN.
> Some of the possible reasons are as follows:

> • | normalRelease (0): The PDP context was terminated normally through a PDP context release (end of context or SGSN change) or a GPRS detach.

> • | abnormalRelease (4): The PDP context was abnormally terminated.

> • | cAMELInitCallRelease (5)

> • | volumeLimit (16): The PDP context was terminated due to exceeding volume limit.

> • | timeLimit (17): The PDP context was terminated due to exceeding time limit.

> • | sGSNChange (18): The PDP context was terminated due to change in SGSN.

> • | maxChangeCond (19): The PDP context was terminated due to exceeding the changed condition limit.

> • | managementIntervention (20): The record was closed due to an O&M request.

> • | intraSGSNIntersystemChange (21)

> • | rATChange (22): The PDP context was terminated due to change in RAT.

> • | mSTimeZoneChange (23): The PDP context was terminated due to change in time zone of MS.

> • | unauthorizedRequestingNetwork (52)

> • | unauthorizedLCSClient (53)

> • | positionMethodFailure (54)

> • | unknownOrUnreachableLCSClient (58)

> • | listofDownstreamNodeChange (59)

> • | Partial record generation: A partial CDR was generated for reasons such as the reaching of data volume or time (duration) limits, or reaching the maximum number of charging condition changes.

> Important: Please note that the following fields – cAMELInitCallRelease (5), unauthorizedRequestingNetwork (52), unauthorizedLCSClient (53), positionMethodFailure (54), unknownOrUnreachableLCSClient (58), and listofDownstreamNodeChange (59) are currently not supported.
> Format
> Unsigned integer.
> Length
> 1 byte.
> Charging Characteristics
> Lists the charging characteristics applied to the PDP context.
> The GGSN can accept charging characteristics from the SGSN or use its own. GGSN configured charging characteristics are specified as part of the GGSN Service and are applied to subscriber PDP contexts through APN templates. Refer to the Administration and Configuration Guide for information on configuring GGSN-based charging characteristics.
> Format
> Hex value octet string.
> Length
> 2 bytes.
> Charging ID
> The GGSN-generated value used to identify this PDP context.
> Format
> Unsigned integer
> Length
> 1-4 bytes
> ChSelectionMode
> The charging characteristic type that the GGSN applied to the CDR.
> The following values for this field are supplied:

> • | Home default: GGSN configured charging characteristics for home subscribers are used. Home subscribers are those that belong to the same PLMN as the one on which the GGSN is located.

> • | Visiting default: GGSN configured charging characteristics for visiting subscribers are used. Visiting subscribers are those that belong to a different PLMN than the one on which the GGSN is located.

> • | Roaming default: GGSN configured charging characteristics for roaming subscribers are used. Roaming subscribers are those that are serviced by an SGSN belonging to a different PLMN than the one on which the GGSN is located.

> • | SGSN supplied: The GGSN is using the charging characteristics supplied by the SGSN.

> Format
> Enumerated integer.
> Length
> 1 byte.
> Diagnostics
> This field is included in the CDR when the PDP context is released.
> This field is supported both in GCDRs and E-GCDRs. However, this field will be populated in E-GCDRs only when gtpp attribute diagnostics command is configured in gttp group. It will contain one of the following values:

> • | 36: If the SGSN sends Delete PDP context request

> • | 38: If GGSN sends delete PDP context request due to GTP-C/U echo timeout with SGSN

> • | 40: If the GGSN sends delete PDP context request due to receiving a RADIUS Disconnect request message.

> • | 26: If the GGSN sends delete PDP context request for any other reason

> Format
> Unsigned integer.
> Length
> 1–4 bytes.
> Duration
> The time period, in seconds, that the record existed in the GGSN. It is the duration from Record Opening Time to record closure. For partial records, only the duration of the individual partial record is provided.
> Format
> Unsigned integer.
> Length
> 1–4 bytes.
> Dynamic Address Flag
> The presence of this field indicates that the Served PDP Address was dynamically assigned during context activation.
> Format
> Boolean
> Length
> 1 byte
> External Charging Identifier
> A charging identifier received from an external, non-GPRS entity.
> Important: This field is not supported at this time.
> Format
> Octet string.
> GGSN Address
> The binary-represented IPv4 address of the GGSN used.
> Format
> Hex value octet string
> Length
> 4 bytes
> IMS Signalling Context
> Indicates whether or not the PDP context is used for IMS signaling based on the setting of the "IM CN Subsystem Signalling Flag" conveyed via the "Activate PDP context request" message from the MS to the network.
> Important: This field is not supported at this time.
> Format
> Octet string.
> List of Service Data Volumes
> A list of the changes that occurred in charging conditions for all service data flows for the PDP context.
> The first container includes an optional field “QoS Negotiated”. In following containers “QoS Negotiated” is present if the previous change condition is "QoS change". The list will include one or more of the following fields:

> • | Service Identifier: Service identifier is an identifier for a service. The service identifier may designate an end user service, a part of an end user service or an arbitrarily formed group thereof. Present only if the rating group is online (DCCA) charged.

> • | Rating Group: This is the service flow identity and has to be used for differentiated evaluation of user’s traffic. This is also known as content-id.

> • | Charging Rulebase Name: The name of the Rulebase used for charging This is the group name of charging rules.

> • | Result Code: The result code AVP. This contains the result code after the interconnection with the CRF. Present only if the rating group is online (DCCA) charged.

> • | Local Seq No: A per service data container sequence number. It starts from 1 for each service, increasing by 1 for each service date container generated for that service within the lifetime of this PDP session.

> • | Time of first usage: The time stamp for the first IP packet to be transmitted for the service data flow referred to the current instance of Service Condition Change.

> • | Time of last usage: The time stamp for the last IP packet to be transmitted for the service data flow referred to the current instance of Service Condition Change.

> • | Usage time: The difference between “time of first usage” and “time of last usage”.

> • | User Location Information: The User Location Information for the MS if provided by the SGSN to the GGSN during the PDP context activation/modification procedure.

> • | Service change condition: The reason for closing the service data container for triggers like SGSN change, QoS change, Rat change, time and volume triggers, etc.

> • | QoS negotiated: The negotiated QoS applied for the service data flow.

> • | Sgsn-address: The valid SGSN IP address during the service data recording interval.

> • | SGSN PLMN identifier: The valid SGSN PLMN Id during the service data recording interval.

> • | FBC Data volume uplink: The number of octets transmitted during the use of the packet data services in the uplink direction.

> • | FBC data volume downlink: The number of octets transmitted during the use of the packet data services in the downlink direction.

> • | Time of Report: A time stamp defining the moment when the service data container is closed.

> • | Rat Type: The valid radio access technology type during the service data recording interval.

> • | Failure handling Continue: A Boolean expression included if the failure handling condition has been executed. Present only if the rating group is online (DCCA) charged and if failure handling procedure is executed by DCCA.

> Format

> • | Service Identifier: Integer

> • | Rating Group: Integer

> • | Charging Rulebase Name: IA5 octet string

> • | Result Code: Integer

> • | Local Seq No: Integer

> • | Time of first usage: BCD encoded octet string

> • | Time of last usage: BCD encoded octet string

> • | Usage time: Unsigned integer

> • | Service change condition: Bit string

> • | QoS negotiated: Octet string

> • | Sgsn-address: Hex value octet string

> • | SGSN PLMN identifier: Hex value octet string

> • | FBC Data volume uplink: Integer

> • | FBC data volume downlink: Integer

> • | Time of Report: BCD encoded octet string

> • | Rat Type: Integer(1-255)

> • | Failurehandling Continue: Boolean

> Length

> • | Service Identifier: 4 bytes

> • | Rating Group: 4 bytes

> • | Charging Rulebase Name: 1-64 bytes

> • | Result Code: 4 bytes

> • | Local Seq No: 4 bytes

> • | Time of first usage: 9 bytes

> • | Time of last usage: 9 bytes

> • | Usage time: 4 bytes

> • | Service change condition: 32 bits (4 bytes) (see note below)

> • | QoS negotiated: 12 bytes

> • | Sgsn-address: 4 bytes

> • | SGSN PLMN identifier: 3 bytes

> • | FBC Data volume uplink: 4 bytes

> • | FBC data volume downlink: 4bytes

> • | Time of Report: 9 bytes

> • | Rat Type: 1 byte

> • | Failurehandling Continue: 1 byte

> Important: When encoding the Service Change Condition bit string, the following rule is applied:“In a primitive encoding, the first contents octet gives the number of bits by which the length of the bit string is less than the next multiple of eight (this is called the ‘number of unused bits’). The second and following contents octets give the value of the bit string, converted to an octet string." [As stated in A Layman's Guide to a Subset of ASN.1, BER, and DER - Burton S. Kaliski section 5.4] For example, serviceConditionChange is set to "88 0403 0400 00" to continue the ongoing session case. "03" represents the number of unused bits according to ASN.1 encoding which indicates that the octet following the length octet actually gives the number of unused bits.
> List of Traffic Data Volumes
> A list of the changes that occurred in the charging conditions for this PDP context.
> The list will include one or more containers each including the following fields:

> • | QoS negotiated: Quality of service (QoS) has been negotiated. The initial and final corresponding data values are listed. This is only added for the first container and the container after a QoS change.

> • | Uplink volume: The number of octets (uncompressed) received from the MS. The initial and final corresponding data values are listed.

> • | Downlink volume: The number of octets (uncompressed) transmitted to the MS.The initial and final corresponding data values are listed.

> • | Change Condition: Identifies the reason that the container was closed such as tariff time change, QoS change, or closing of the CDR.

> • | Change Time: A time stamp identifying the time at which the volume container or the CDR closed.

> For GPRS, data volumes are in octets above the GTP layer and are separated for uplink and downlink traffic. In UMTS, data volumes are in octets above the GTP-U layer and are separated for uplink and downlink traffic.
> Format

> • | QoS negotiated: Octet String

> • | Uplink volume: Integer

> • | Downlink volume: Integer

> • | Change Condition: Integer

> • | Change Time: BCD encoded octet string

> Length

> • | QoS negotiated: 12 bytes

> • | Uplink volume: 4 bytes

> • | Downlink volume: 4 bytes

> • | Change Condition: 1byte

> • | Change Time: 9 bytes

> Local Record Sequence Number
> For a Node ID, this number is allocated sequentially for each CDR. This along with a Node ID uniquely identifies a CDR.
> Format
> Unsigned integer.
> Length
> 1–4 bytes.
> MS Time Zone
> The “Time Zone” IE that the SGSN may provide to the GGSN during the PDP context activation/modification procedure.
> Format
> Hex value octet string.
> Length
> 2 bytes.
> Network Initiated PDP Context
> The presence of this field indicates that the PDP context was initiated by the network.
> Format
> Boolean
> Length
> 1 byte
> Node ID
> The identifier string for the GGSN that had generated the CDR. Node ID along with local record sequence number uniquely identifies a CDR.
> Format
> Octet string.
> Length
> 1–16 bytes.
> PDP Type
> The PDP context type. The PDP types supported by the GGSN are IP or PPP (including IHOSS:OSP).
> Format
> Hex value octet string
> Length
> 2 bytes
> Radio Access Technology (RAT) Type
> The SGSN may include the RAT Type IE along with User Location Information IE, and MS Time Zone IE if they are available. The RAT Type IE shall not be included for the MS-initiated PDP Context Modification procedure.
> Format
> Integer(1-255).
> Length
> 1 byte.
> Record Extensions
> A set of network operator or manufacturer specific extensions which may be added to the record if provided. It is used for reporting flows and volumes consumed, and also for passing key information about the session into the downstream charging systems.
> Important: This field is customer specific.
> Record Opening Time
> The timestamp at which the PDP context was activated on the GGSN.
> Format
> BCD encoded octet string.
> Length
> 9 bytes.
> Record Sequence Number
> A running sequence number used to link partial records generated by the GGSN for a specific PDP context (characterized with the same Charging ID and GGSN address pair). This field is only present for partial records.
> Format
> Unsigned integer.
> Length
> 1–4 bytes.
> Record Type
> Indicates the GGSN PDP context record type. From the GGSN, this will be G-CDR.
> Format
> Integer
> Length
> 1–4 bytes
> Served IMEISV
> The International Mobile Equipment Identity and Software Version Number (IMEISV) of the MS, if available.
> Format
> BCD encoded octet string.
> Length
> 8 bytes.
> Served IMSI
> The International Mobile Subscriber Identity (IMSI) of the MS. The IMSI is formatted in accordance with 3GPP TS 23.003. This will be present if the Anonymous Access Indicator is FALSE or not supplied.
> Format
> BCD encoded octet string
> Length
> 3 to 8 bytes
> Served MSISDN
> The Mobile Station (MS) ISDN number (MSISDN) of the subscriber.
> Format
> BCD encoded octet string.
> Length
> 1–9 bytes.
> Served PDP Address
> The binary-represented IPv4/IPv6 address associated with the PDP context for the CDR. This address could either be static or dynamically assigned.
> Format
> Hex value octet string
> Length
> 4 bytes for IPv4 address
> 16 bytes for IPv6 address
> SGSN Address
> A list of all of the SGSN IPv4 addresses (binary-represented) used over the duration of the CDR. The address(es) can be either user or control-plane addresses.
> Format
> Hex value octet string
> Length
> 4 bytes per address
> SGSN PLMN Identifier
> RAI (optionally supplied by SGSN in the GTP create PDP context request) is used as SGSN PLMN Identifier value. It is omitted if the SGSN does not supply the RAI.
> Format
> Hex value octet string.
> Length
> 3 bytes.
> User Location Information
> The User Location Information for the MS if provided by the SGSN to the GGSN during the PDP context activation/modification procedure.
> Format
> Octet string.
> Length
> 8 bytes.

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883