# Field Reference for CDRs in P-GW

This chapter provides a reference for CDR fields supported by the system for use in PGW-CDRs.

A complete list and descriptions of supported CDR fields is provided in the Field Descriptions for CDRs in P-GW chapter of this reference.

IMPORTANT:

For more information on custom dictionaries, contact your Cisco account representative.

The category column in all tables use keys described in the following table.
Table 1. Dictionary Table Key

Abbreviation | Meaning | Description
--- | --- | ---
M | Mandatory | A field that must be present in the CDR.
C | Conditional | A field that must be present in a CDR if certain conditions are met.
OM | Operator Provisionable: Mandatory | A field that an operator has provisioned and must be included in the CDR for all conditions.
OC | Operator Provisionable: Conditional | A field that an operator has provisioned that must included in the CDR if certain conditions are met.

CDR Fields Supported in PGW-CDRs

The table in this section lists the PGW-CDR fields present in the available GTPP dictionaries.

custom24, custom40, and custom42 Dictionaries

PGW-CDR fields are based on 3GPP TS 32.298 V8.5.0.

Field | Category | Description
--- | --- | ---
Record Type | M | P-GW IP CAN bearer record
Served IMSI | M | IMSI of the served party (if Anonymous Access Indicator is FALSE or not supplied)
P-GW Address | M | The control plane IP address of the P-GW used.
Charging ID | M | IP CAN bearer identifier used to identify this IP CAN bearer in different records created by PCNs
Serving Node Address | M | List of serving node control plane IP addresses (e.g. SGSN, MME, etc.) used during this record.
Access Point Name Network Identifier | OM | The logical name of the connected access point to the external packet data network (network identifier part of APN).
PDP/PDN Type | OM | Indicates PDP type (IP, PPP, or IHOSS:OSP) or PDN type (IPv4, IPv6, or IPv4v6).
Served PDP/PDN Address | OC | IP address allocated for the PDP context / PDN connection (IPv4 or IPv6), if available.
Served PDP/PDN Address Extension | OC | This field holds IPv4 address of the served IMSI, if available, when PDN Type is IPv4v6.
Dynamic Address Flag | OC | Indicates whether served PDP/PDN address is dynamic, which is allocated during IP CAN bearer activation, initial attach (E-UTRAN or over S2x) and UE requested PDN connectivity. This field is missing if address is static.
Record Opening Time | M | Timestamp when IP CAN bearer is activated in this S-GW or record opening time on subsequent partial records.
Duration | M | Duration of this record in the S-GW.
Cause for Record Closing | M | The reason for the release of record from this P-GW.
Diagnostics | OM | A more detailed technical reason (as defined in TS 32.250) for the release of the connection.
Record Sequence Number | C | Partial record sequence number, only present in case of partial records.
Node ID | OM | Name of the recording entity.
Local Record Sequence Number | OM | Consecutive record number created by this node. The number is allocated sequentially including all CDR types.
APN Selection Mode | OM | An index indicating how the APN was selected.
Served MSISDN | OM | The primary MSISDN of the subscriber.
Charging Characteristics | M | The Charging Characteristics applied to the IP CAN bearer.
Charging Characteristics Selection Mode | OM | Information about how Charging Characteristics were selected.
Serving Node PLMN Identifier | OM | Serving node PLMN Identifier (MCC and MNC) used during this record, if available.
Served IMEISV | OC | IMEISV of the ME, if available.
RAT Type | OC | Indicates the Radio Access Technology (RAT) type currently used by the Mobile Station, when available.
MS Time Zone | OC | Indicates the offset between universal time and local time in steps of 15 minutes where the MS currently resides.
User Location Information | OM | Contains the User Location Information of the MS as defined in TS 29.060 for GPRS case, and in TS 29.274 for EPC case, if available.
List of Service Data | OM | List of changes in charging conditions for all service data flows within this IP CAN bearer categorized per rating group or per combination of the rating group and service id.
Data Service Volume Block | OM | Service data container associated with a service condition change on a service data flow (categorized per rating group or per combination of the rating group and service id) within this IP CAN bearer.
Serving node Type | M | List of serving node types in control plane. The serving node types listed here map to the serving node addresses listed in the field “Serving node Address” in sequence.
Served MNNAI | OC | Mobile Node Identifier in NAI format (based on IMSI), if available.
P-GW PLMN Identifier | OC | PLMN identifier (MCC MNC) of the P-GW.
Start Time | OC | The time when User IP-CAN session starts, available in the CDR for the first bearer in an IP-CAN session.
Stop Time | OC | The time when User IP-CAN session is terminated, available in the CDR for the last bearer in an IP-CAN session.
PDN Connection Id | OM | PDN connection (IP-CAN session) identifier to identify different records belonging to same PDN connection.

Notes:

- For custom40 dictionary, the following specifications are recommended:
  - Diagnostics field is mandated to be present in the final PGW-CDRs.
  - managementIntervention is not set as the cause for record closing (CauseForRecordClosing).
  - Duration of PGW-CDRs will be calculated first and then round-off mechanism will be applied.
  - “Service Identifier” sub-field will not be included in List of Service Data Volume (LOSDV) containers.
- In the case of custom40 GTPP dictionary, the following two values are also supported for the PGW-CDR field “Charging Characteristics Selection Mode” in addition to the standard values as in the custom24 GTPP dictionary.
  - AAASupplied (6)
  - GWOverride (7)
- custom42 dictionary: This customer-specific file format contains PGW-CDRs that are encoded in ASCII format.
- For custom42 dictionary, Record Sequence Number is 12 byte ASCII value and last 2 bytes will always be zero.
- In the case of custom42 dictionary, PGW-CDR is closed as the final record of a subscriber session for the following events:
  - Detach Request received from UE
  - Delete bearer context request received from S-GW.
  - Manual subscriber clearing
  - Abnormal Releases such as path failures

Data Service Volume Block

Field | Category | Description
--- | --- | ---
Rating Group | OM | Service flow identity, also known as content-id.
Charging Rulebase Name | OC | Name of the Rulebase used for charging.
Result Code | OC | Result code shared by OCS.
Local Sequence Number (LOSDV) | OC | Service data container sequence number.
Time of First Usage | OC | Timestamp for the first IP packet to be transmitted for the service data flow.
Time of Last Usage | OC | Timestamp for the last IP packet to be transmitted for the service data flow.
Time Usage | OC | Difference in seconds, within range of 0 to 4294967295, between “time of first usage” and “time of last usage”.
Service Condition Change | OC | Reason for closing the service data container.
QoS Information Negotiated | OC | Authorized QoS for the IP-CAN bearer.
Serving Node Address (LOSDV) | OC | IP address of the serving node (SGSN/S-GW) control plane.
Data Volume FBC Uplink | OC | Number of octets received in the uplink direction for this container.
Data Volume FBC Downlink | OC | Number of octets transmitted in the downlink direction for this container.
Time of Report | OM | Timestamp defining the moment when the service data container is closed.
Failure Handling Continue | OC | Identifier for failure handling.
Service Identifier | OC | Identifier for a service.
User Location Information (LOSDV) | OC | Location of the user known at the time when container is created.

custom34 Dictionary

PGW-CDR fields are based on 3GPP TS 32.298 v8.4.0 and 3GPP TS 32.251 v8.5.0.

Field | Category | Description
--- | --- | ---
Record Type | M | P-GW IP CAN bearer record
Served IMSI | M | IMSI of the served party (if Anonymous Access Indicator is FALSE or not supplied)
P-GW Address | M | The control plane IP address of the P-GW used.
Charging ID | M | IP CAN bearer identifier used to identify this IP CAN bearer in different records created by PCNs
Serving Node Address | M | List of serving node control plane IP addresses (e.g. SGSN, MME, etc.) used during this record.
Access Point Name Network Identifier | OM | The logical name of the connected access point to the external packet data network (network identifier part of APN).
PDP/PDN Type | OM | Indicates PDP type (IP, PPP, or IHOSS:OSP) or PDN type (IPv4, IPv6, or IPv4v6).
Served PDP/PDN Address | OC | IP address allocated for the PDP context / PDN connection (IPv4 or IPv6), if available.
Dynamic Address Flag | OC | Indicates whether served PDP/PDN address is dynamic, which is allocated during IP CAN bearer activation, initial attach (E-UTRAN or over S2x) and UE requested PDN connectivity. This field is missing if address is static.
Record Opening Time | M | Timestamp when IP CAN bearer is activated in this S-GW or record opening time on subsequent partial records.
Duration | M | Duration of this record in the S-GW.
Cause for Record Closing | M | The reason for the release of record from this P-GW.
Diagnostics | OC | A more detailed technical reason (as defined in TS 32.250) for the release of the connection.
Record Sequence Number | C | Partial record sequence number, only present in case of partial records.
Node ID | OM | Name of the recording entity.
recordExtensions | OC | Proprietary field used to report a RAN cause code and packet counts.
Local Record Sequence Number | OM | Consecutive record number created by this node. The number is allocated sequentially including all CDR types.
APN Selection Mode | OM | An index indicating how the APN was selected.
Served MSISDN | OM | The primary MSISDN of the subscriber.
Charging Characteristics | M | The Charging Characteristics applied to the IP CAN bearer.
Charging Characteristics Selection Mode | OM | Information about how Charging Characteristics were selected.
Serving Node PLMN Identifier | OM | Serving node PLMN Identifier (MCC and MNC) used during this record, if available.
Served IMEISV | OC | IMEISV of the ME, if available.
RAT Type | OC | Indicates the Radio Access Technology (RAT) type currently used by the Mobile Station, when available.
MS Time Zone | OC | Indicates the offset between universal time and local time in steps of 15 minutes where the MS currently resides.
User Location Information | OC | Contains the User Location Information of the MS as defined in TS 29.060 for GPRS case, and in TS 29.274 for EPC case, if available.
List of Service Data | OM | List of changes in charging conditions for all service data flows within this IP CAN bearer categorized per rating group or per combination of the rating group and service id.
Data Service Volume Block | OM | Service data container associated with a service condition change on a service data flow (categorized per rating group or per combination of the rating group and service id) within this IP CAN bearer.
Serving node Type | M | List of serving node types in control plane. The serving node types listed here map to the serving node addresses listed in the field “Serving node Address” in sequence.

Notes:

- Proprietary “Network Specific Cause” sub-field and “recordExtensions” field supported.
- Spare filler bytes (high order) in PDP Type are reported as zeros (0) rather than ones (1).
- The ASN encoding length for servingNodeAddress, listOfServiceData, and servingNodeType are reported with the 0x82 tag, which has a 2-byte length.
- QoS negotiated information is reported in string format (v8.4) rather than EPC Qos format (v8.7).

Data Service Volume Block

Field | Category | Description
--- | --- | ---
Rating Group | OM | Service flow identity, also known as content-id.
Charging Rulebase Name | OC | Name of the Rulebase used for charging.
Result Code | OC | Result code shared by OCS.
Local Sequence Number (LOSDV) | OC | Service data container sequence number.
Time of First Usage | OC | Timestamp for the first IP packet to be transmitted for the service data flow.
Time of Last Usage | OC | Timestamp for the last IP packet to be transmitted for the service data flow.
Time Usage | OC | Difference in seconds, within range of 0 to 4294967295, between “time of first usage” and “time of last usage”.
Service Condition Change | OC | Reason for closing the service data container.
QoS Information Negotiated | OC | Authorized QoS for the IP-CAN bearer.
Serving Node Address (LOSDV) | OC | IP address of the serving node (SGSN/S-GW) control plane.
Data Volume FBC Uplink | OC | Number of octets received in the uplink direction for this container.
Data Volume FBC Downlink | OC | Number of octets transmitted in the downlink direction for this container.
Time of Report | OM | Timestamp defining the moment when the service data container is closed.
Failure Handling Continue | OC | Identifier for failure handling.
Service Identifier | OC | Identifier for a service.
User Location Information (LOSDV) | OC | Location of the user known at the time when container is created.

custom38 Dictionary

PGW-CDR fields based on 3GPP TS 32.298 V7.5.0 (R7).

Field | Category | Description
--- | --- | ---
Record Type | M | P-GW IP CAN bearer record
Served IMSI | M | IMSI of the served party (if Anonymous Access Indicator is FALSE or not supplied)
P-GW Address | M | The control plane IP address of the P-GW used.
Charging ID | M | IP CAN bearer identifier used to identify this IP CAN bearer in different records created by PCNs
Serving Node Address | M | List of serving node control plane IP addresses (e.g. SGSN, MME, etc.) used during this record.
Access Point Name Network Identifier | OM | The logical name of the connected access point to the external packet data network (network identifier part of APN).
PDP/PDN Type | OM | Indicates PDP type (IP, PPP, or IHOSS:OSP) or PDN type (IPv4, IPv6, or IPv4v6).
Served PDP/PDN Address | OC | IP address allocated for the PDP context / PDN connection (IPv4 or IPv6), if available.
Served PDP/PDN Address Extension | OC | This field holds IPv4 address of the served IMSI, if available, when PDN Type is IPv4v6.
Dynamic Address Flag | OC | Indicates whether served PDP/PDN address is dynamic, which is allocated during IP CAN bearer activation, initial attach (E-UTRAN or over S2x) and UE requested PDN connectivity. This field is missing if address is static.
Record Opening Time | M | Timestamp when IP CAN bearer is activated in this S-GW or record opening time on subsequent partial records.
Duration | M | Duration of this record in the S-GW.
Cause for Record Closing | M | The reason for the release of record from this P-GW.
Diagnostics | OC | A more detailed technical reason (as defined in TS 32.250) for the release of the connection.
Record Sequence Number | C | Partial record sequence number, only present in case of partial records.
Node ID | OM | Name of the recording entity.
Local Record Sequence Number | OM | Consecutive record number created by this node. The number is allocated sequentially including all CDR types.
APN Selection Mode | OM | An index indicating how the APN was selected.
Served MSISDN | OM | The primary MSISDN of the subscriber.
Charging Characteristics | M | The Charging Characteristics applied to the IP CAN bearer.
Charging Characteristics Selection Mode | OM | Information about how Charging Characteristics were selected.
Serving Node PLMN Identifier | OM | Serving node PLMN Identifier (MCC and MNC) used during this record, if available.
Served IMEISV | OC | IMEISV of the ME, if available.
RAT Type | OC | Indicates the Radio Access Technology (RAT) type currently used by the Mobile Station, when available.
MS Time Zone | OC | Indicates the offset between universal time and local time in steps of 15 minutes where the MS currently resides.
User Location Information | OC | Contains the User Location Information of the MS as defined in TS 29.060 for GPRS case, and in TS 29.274 for EPC case, if available.
List of Service Data | OM | List of changes in charging conditions for all service data flows within this IP CAN bearer categorized per rating group or per combination of the rating group and service id.
Data Service Volume Block | OM | Service data container associated with a service condition change on a service data flow (categorized per rating group or per combination of the rating group and service id) within this IP CAN bearer.
Serving node Type | M | List of serving node types in control plane. The serving node types listed here map to the serving node addresses listed in the field “Serving node Address” in sequence.
Served MNNAI | OC | Mobile Node Identifier in NAI format (based on IMSI), if available.
P-GW PLMN Identifier | OC | PLMN identifier (MCC MNC) of the P-GW.
Start Time | OC | The time when User IP-CAN session starts, available in the CDR for the first bearer in an IP-CAN session.
Stop Time | OC | The time when User IP-CAN session is terminated, available in the CDR for the last bearer in an IP-CAN session.
PDN Connection Id | OM | PDN connection (IP-CAN session) identifier to identify different records belonging to same PDN connection.
Record Extension | O | List of Service Level CDRs. This field holds the Service Level CDR.
Service Level CDR | O | Holds Service Level CDR fields. Note: Service Level CDR table is mentioned below the Data Service Volume Block table.

Note:

- Each defined Service will have one “record extension” mapped to it and 3GPP standard fields for the same service will go inside LOSDV container. This would result in 1:1 mapping of LOSDV and record extension in PGW-CDR.

Data Service Volume Block

Field | Category | Description
--- | --- | ---
Rating Group | OM | Service flow identity, also known as content-id.
Charging Rulebase Name | OC | Name of the Rulebase used for charging.
Result Code | OC | Result code shared by OCS.
Local Sequence Number (LOSDV) | OC | Service data container sequence number.
Time of First Usage | OC | Timestamp for the first IP packet to be transmitted for the service data flow.
Time of Last Usage | OC | Timestamp for the last IP packet to be transmitted for the service data flow.
Time Usage | OC | Difference in seconds, within range of 0 to 4294967295, between “time of first usage” and “time of last usage”.
Service Condition Change | OC | Reason for closing the service data container.
QoS Information Negotiated | OC | Authorized QoS for the IP-CAN bearer.
Serving Node Address (LOSDV) | OC | IP address of the serving node (SGSN/S-GW) control plane.
Data Volume FBC Uplink | OC | Number of octets received in the uplink direction for this container.
Data Volume FBC Downlink | OC | Number of octets transmitted in the downlink direction for this container.
Time of Report | OM | Timestamp defining the moment when the service data container is closed.
Failure Handling Continue | OC | Identifier for failure handling.
Service Identifier | OC | Identifier for a service.
User Location Information (LOSDV) | OC | Location of the user known at the time when container is created.

Service Level CDR Table

Field | Category | Description
--- | --- | ---
Session ID | O | A unique session ID that is assigned to each user session. A user going to multiple services will be assigned a unique session ID for each service. Diameter session ID is used for this field. This field is present if Gy is enabled for the user.
Service ID | O | An octet string which denotes the name of the Service. Rating Group of PGW-CDR (service data) will be used for this information.
Cause | N/A Note: Mapped | Contains reason for the release of record. Service Condition Change of PGW-CDR (service data) will be used for this information.
Service IP Volume Usage | O | IP level volume usage. When this volume is calculated, all the L4-L7 headers are counted (i.e., volume equals length of IP packet).
Service Start Timestamp | N/A Note: Mapped | Timestamp of the first packet to be transmitted and mapped to the current service data; “Service Start Timestamp” indicates the timestamp at the start of the service. Time of First Usage of PGW-CDR (service data) will be used for this information.
UserIndex or UserIndexIPv6 or UserDualStackIPv4 | N/A Note: Mapped | Combination of Subscriber IP and MSISDN. UserIndex TLV contains the Subscriber IP address and the Username (or Calling-Station-Id) of the user. The Username (or Calling-Station-Id) is a character string up to 64 characters long. Served PDP/PDN Address and Served MSISDN of PGW-CDR will be used for this information.
Billing Plan ID | N/A Note: Mapped | Billing Plan. Charging Rulebase Name of PGW-CDR (service data) will be used for this information.
Qualified Usage | O | Specifies qualified usage and defining units of service. Used for credit-control. This field is present if duration/dual service is used and Gy is enabled.
Quota Server Flags | O | Used to notify the receiver of various conditions or actions of the quota server: Flags Value: 0x00000001 Description: Passthru used This field is present if Gy is enabled for the user.
Time of First Usage | O | The timestamp for the first IP packet to be transmitted for the service data flow. This field is present if Gy is enabled for the user.

IMPORTANT:

Service Level CDR is part of Record Extension.