21 1 GTPP Reference Chapter 01100
21 1 GTPP Reference Chapter 01100
21 1 GTPP Reference Chapter 01100
This chapter describes the CDR fields supported by the system for use in SGW-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 SGW-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 (v 8.5.0, v 8.6.0, v 8.8.0)
3GPP TS 32.298 (v 8.4.0, v 8.5.0, v 8.7.0) (SGW-CDRs)
Also see the S-GW CDR Field Reference chapter for information on CDR fields supported in SGW-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
Format
IA5string
Length
1-63 bytes
Format
Enumerated
Length
1 byte
managementIntervention (20)
rATChange (22)
mSTimeZoneChange (23)
LTEServingNodeChange (25)
Format
Integer
Length
1 byte
Charging Characteristics
Lists the charging characteristics applied to the PDP context by the S-GW. The S-GW accepts the charging
characteristics from the MME or use its own configured values.
Format
Octet string
Length
2 bytes
Format
Enumerated
Length
1 byte
Charging ID
This field is a charging identifier, which can be used together with the P-GW address to identify all records
involved in a single bearer context. The Charging ID is generated by the P-GW during bearer context activation
and is transferred to the context requesting S-GW.
Format
Integer
Length
1-5 bytes
Diagnostics
This field is included in the CDR when the bearer context is released and when the option "gtpp attribute
diagnostics" is configured. Only the choice of "gsm0408Value" is used.
Format
Choice (gsm0408 only)
Choice (networkSpecificCause only for GTPP custom34 and custom35 dictionaries)
Length
3 bytes
gsm0408Cause
This field is always present when the optional Diagnostics field is included. For more information, refer to
the 3GPP TS 24.008 specification.
Some examples:
36: If the MME sends Delete Session Request
38: If S-GW deletes the PDN context request due to echo timeout with P-GW
26: If the S-GW deletes the PDN context request for any other reason
Format
Integer
Length
1 byte
Important In 18 and later releases, a new field "abnormalTerminationCause" is added as part of "NAS management
extension" in the Diagnostics field of SGW-CDR for custom34 and custom35 GTPP dictionaries. This
field is populated in the CDR when the cause for record closing is "Abnormal Release". Also, note that
the inclusion of this field is controlled through the CLI command "gtpp attribute diagnostics
abnormal-release-cause" in GTPP group configuration. By default, this trigger is disabled. This trigger
is added to indicate the reasons for abnormal termination of VoLTE bearers.
Format
Set of Management Extensions
Length
N/A
Duration
This field contains the duration in seconds for the record. For partial records, only the interval described by
the "recordOpeningTime" and the "last ChangeTime" in the "ListOfTrafficVolumes" is counted. The value
is reset for each new partial CDR. This value is converted from the internal representation in milliseconds to
an integer value representing only seconds. The mechanism for this conversion (ceiling, floor, round-off) can
be configured.
Format
Integer
Length
1-5 bytes
Format
Boolean
Length
1 byte
Format
Sequence
Length
Variable
Format
Sequence
Length
Variable
Important In the CDRs, the data volume usage field is defined with a maximum size of 4 bytes. If the volume triggers
are disabled and the volume usage goes beyond 4GB, then the CDRs will not be generated and the data
stats will be reset to zero after the max usage.
Format
Integer
Length
1-5 bytes
Important In the CDRs, the data volume usage field is defined with a maximum size of 4 bytes. If the volume triggers
are disabled and the volume usage goes beyond 4GB, then the CDRs will not be generated and the data
stats will be reset to zero after the max usage.
Format
Integer
Length
1-5 bytes
Change Condition
The Change Condition field is part of the "ChangeOfCharCondition" element in the List of Traffic Volumes.
It defines the reason for closing the container.
Supported values:
ChangeCondition ::= ENUMERATED
{
qoSChange (0),
tariffTime (1),
recordClosure (2),
cGI-SAICHange (6), -- bearer modification. "CHI SAI Change"
rAIChange (7), -- bearer modification. "RAI Change"
eCGIChange (10), -- bearer modification. "ECGI Change"
tAIChange (11), -- bearer modification. "TAI Change"
userLocationChange (12), -- bearer modification. "User Location Change"
1 The change condition is based on the current ULI type and not on new ULI. i.e if the ULI type is ECGI
during CSRequest and while changing the ULI, whatever be the ULI type in MBRequest, the
"changeCondition" should be ECGI change.
2 If the initial ULI has one or more ULI Types (i.e. ECGI, TAI, RAI, CGI), then the change condition the
priority will be as follows:
a CGI-SAI Change
b RAI Change
c TAI Change
d ECGI Change
3 If the current ULI type is not present (optional) in CSRequest the change condition is based on the new
ULI contents. That is, if new ULI has ECGI, then it will be considered as ECGI change.
4 The ULI in main CDR part indicates the ULI at the time of record opening time. i.e. If CSReq comes with
ULI U1 and then the ULI is changed to U2, U3 and if a CDR is generated the main ULI in CDR contains
ULI as U1, but the next CDR generated contains the ULI as U3 and so on.
5 In container the ULI is present in next container if the previous change condition is either RAI Change,
CGI-SAI Change, TAI Change, ECGI Change.
Important apnAmbrChange (50) -- This value is not defined in any 3GPP spec as of yet and therefore a non-standard
value is used.
Format
Enumerated
Length
1 byte
Change time
The Change Time field is part of the "ChangeOfCharCondition". element in the List of Traffic Volumes. It
provides the local time when a change condition (e.g. record closure) occurred and the container was closed.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTC Time format containing local time plus an offset to
universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission
overhead.
-- e.g. YYMMDDhhmmssShhmm
-- where
-- YY = Year 00 to 99 BCD encoded
-- MM = Month 01 to 12 BCD encoded
-- DD = Day 01 to 31 BCD encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
-- ss = second 00 to 59 BCD encoded
-- S = Sign 0 = "+", "-" ASCII encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
Format
BCD encoded octet string
Length
9 bytes
QoS Negotiated = QoS Negotiated = Data Volume Uplink = Data Volume Change
QoS1 QoS2 10 Uplink = 3 Condition =
Record closed
Data Volume Uplink Data Volume Data Volume Downlink Data Volume
=1 Uplink = 5 =3 Downlink = 4 Time Stamp =
TIME5
Data Volume Data Volume Change Condition = User Location
Downlink = 2 Downlink = 6 CGI/SAI Change Info = CGI2
Change Condition = Change Condition Time Stamp = TIME3 Change Condition
QoS change = Tariff change = Tariff Time
Change
Time Stamp = Time Stamp =
TIME1 TIME2 Time Stamp =
TIME4
In the above example, assume that when CDR is opened the subscriber is in CGI1. The first container is closed
because of QOS change and second container is closed because of Tariff Time. Now the ULI is changed to
CGI2. Third container includes the indication of location change (ULI change to CGI2) and corresponding
volume counts before the location change and after the tariff time change. Now these three containers does
not have the "User Location Info" because none of the containers are closed with CGI/SAI change or RAI
change. Now if the fourth container is closed it should have a User Location Info as CGI2. This is because
the previous change condition was CGI/SAI change and hence the next container should have new ULIs
(CGI2).
Format
Octet string
Length
6 -34 bytes
Note that the length varies depending on the type of identity.
Format
Structure of the following type:
QoSNegotiated ::= qoSInformation
Length
23 bytes
Format
EPCQoSInformation ::= SEQUENCE
{
--
-- See TS 29.212 for more information
--
qCI [1] INTEGER,
maxRequestedBandwithUL [2] INTEGER OPTIONAL,
maxRequestedBandwithDL [3] INTEGER OPTIONAL,
guaranteedBitrateUL [4] INTEGER OPTIONAL,
guaranteedBitrateDL [5] INTEGER OPTIONAL,
aRP [6] INTEGER OPTIONAL
aPNAggregateMaxBitrateUL [7] INTEGER OPTIONAL
aPNAggregateMaxBitrateDL [8] INTEGER OPTIONAL
}
Length
Variable length format (will vary based on the values).
iMSsignalingContext
Indicates if the IP-CAN bearer is used for IMS signaling. It is only present if the IP-CAN bearer is an IMS
signaling bearer. A IP-CAN bearer for IMS signaling is determined via the "IM CN Subsystem Signaling
Flag" conveyed via the "Activate PDP context request" message from the MS to the network (refer to TS
24.008).
Format
Null
Length
Zero
Format
Octet String containing list of IPv4 or IPv6 addresses
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
Format
Octet String
Length
4 bytes
Format
Octet String
Length
16 bytes
Format
Octet String
Length
1-5 bytes
Important This attribute field is currently available only in custom24 and custom35 GTPP dictionaries for SGW-CDRs
when the CLI command "gtpp attribute lapi" is configured in GTPP Server Group Configuration mode.
Format
Null
Length
0 Byte
MS Time Zone
The "Time Zone" IE that the MME may provide to the S-GW during the PDN context activation/modification
procedure.
Format
Octet String
Length
2 bytes
Node ID
This field contains an identifier string for the node that had generated the CDR.
The NodeID field is a printable string of the ndddSTRING format:
n: The first digit is the Sessmgr restart counter having a value between 0 and 7.
ddd: The number of the sessmgr instance generating the CDR.
STRING: This is a configured Node-ID-Suffix having any string from 1 to 16 characters, defined using the
gtpp attribute node-id command.
If this node-id-suffix is not configured, the S-GW uses the GTPP context name as the Node-id-suffix (truncated
to 16 characters).
This field is included only when the command gtpp attribute local-record-sequence-number is configured.
Format
IA5string
Length
5-20 bytes
PDN Connection Id
This field defines the PDN connection (IP-CAN session) identifier to identify different records belonging to
same PDN connection. This field includes Charging Id of first IP-CAN bearer activated within the PDN
connection. Together with P-GW address this uniquely identifies the PDN connection.
Format
Integer
Length
1-5 bytes
Format
Octet string
Length
2 bytes
Format
Octet string
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
Format
Octet string
Length
4 bytes
Format
Octet string
Length
16 bytes
RAT Type
Holds the value of RAT Type, as provided to S-GW and P-GW, described in TS 29.274 for eGTP case.
This field is provided by the SGSN/MME and transferred to the S-GW/P-GW during the IP-CAN bearer
activation/modification.
Format
Integer
Length
1 byte
Record Extensions
A set of network operator/manufacturer specific extensions to the record.
This field is used to report a maximum of three RAN cause codes and packet counts.
Important This field is operator-defined and is not encoded in any S-GW CDR dictionary until release v14.0.
Format
Sequence
Length
Variable Length Format
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the
configured mechanism (ceiling, floor, round-off), this is translated into the timestamp which only shows the
full seconds.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTC Time format containing local time plus an offset to
universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission
overhead.
-- e.g. YYMMDDhhmmssShhmm
-- where
-- YY = Year 00 to 99 BCD encoded
-- MM = Month 01 to 12 BCD encoded
-- DD = Day 01 to 31 BCD encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
-- ss = second 00 to 59 BCD encoded
-- S = Sign 0 = "+", "-" ASCII encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
Format
BCD encoded octet string
Length
9 bytes
Format
Integer
Length
1-5 bytes
Record Type
This field identifies the type of the record.
Format
Integer
Length
1 byte
Served IMEISV
This fields contains the International Mobile Equipment Identity (IMEISV) of the equipment served, if
available.
The structure of the IMEI is defined in TS 23.003.
The IMEI is composed of the following elements:
Type Allocation Code (TAC). Its length is 8 digits;
Serial Number (SNR) is an individual serial number uniquely identifying each equipment within each
TAC. Its length is 6 digits;
Software Version Number (SVN) identifies the software version number of the mobile equipment. Its
length is 2 digits.
If SV is not available, a filler digit "f" is added after the spare digit to fill up the last byte. Spare digit: this
digit is zero, when transmitted by the MS.
Format
BCD encoded octet string
Length
8 bytes
Served IMSI
This field contains the International Mobile Subscriber Identity (IMSI) of the served party. The IMSI is
formatted in accordance with 3GPP TS 23.003.
Example for Coding: (Set by SGSN)
3GPP TS 23.003 (CCITT Rec. E 212)
ServedIMSI ::= OCTET STRING (SIZE(1..8))
-- subscriber identification IMSI
-- octet 1..8: <= 15 digits TBCD-String (twisted)
-- substructure (without spares or fillers):
-- 3 digits - mobile country code (MCC)
-- 2 digits - mobile network code (MNC)
-- <= 10 digits - mobile subscriber identification number (MSIN)
-- first and intermediate octet = 2 digits
Format
BCD encoded octet string
Length
3-8 bytes
Served MSISDN
This field tracks the Mobile Station (MS) ISDN number (MSISDN) of the subscriber which is transparently
copied from the Create Session Request message.
The MSISDN is TBCD encoded as shown in the example below:
3GPP TS 23.003 (CCITT Rec. E 213)
ServedMSISDN ::= OCTET STRING (SIZE(1..9))
MSISDN in CDR is 1:1 copy of the MSISDN sent in GTP-V2 message. MSISDN value contains only the
actual MSISDN number (does not contain the "nature of address indicator" octet, which indicates "international
number" as in 3GPP TS 29.002) and is encoded as TBCD digits (i.e. digits from 0 through 9 are encoded
"0000" to "1001"). When there is an odd number of digits, bits 8 to 5 of the last octet are encoded with the
filler "1111".
Example:
encoded: 00H' 94 71 02 04 30 50
Format
BCD encoded octet string
Length
1-9 bytes
Format
Octet string
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
PDP IP Address
This field contains the IP address for the PDP context.
Format
IP address
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
Format
Octet string
Length
4 bytes
Format
Octet string
Length
16 bytes
This field is not included if the PDP/PDN address is IPv4 or IPv6. By default, this field is not sent, even if
the PDP Type is IPv4v6; this field must be enabled using the gtpp attribute
served-pdp-pdn-address-extension CLI command.
Important Note that this field is not part of the 3GPP 32.298 Release 6 and 7 specifications. This field is an Rel.9
attribute and it can be present in Rel.7 or Rel.8 dictionary if enabled through the gtpp attribute
served-pdp-pdn-address-extension CLI command.
Format
Octet string
Length
8 bytes
PDP IP Address
This field contains the IP address for the PDP context.
Format
IP address
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
Format
Octet string
Length
4 bytes
Format
Octet string
Format
Sequence of serving Node Type
Length
Variable length format (Based on number of nodes connected during this period).
Format
Octet string
Length
The length can vary based on whether the encoded IP address is IPv4 or IPv6.
Format
Octet string
Length
4 bytes
Format
Octet string
Length
16 bytes
SGW Change
This field is present only in the SGW-CDR to indicate that this is the first record after an S-GW change. In
this case, it is set to TRUE ("FF")
Format
Boolean
Length
1 byte
Start Time
This field contains the time when the IP-CAN session starts at the S-GW/P-GW, available in the CDR for the
first bearer in an IP-CAN session.
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the
configured mechanism this is translated into the timestamp which only shows the full seconds.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTC Time format containing local time plus an offset to
universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission
overhead
-- e.g. YYMMDDhhmmssShhmm
-- where
-- YY = Year 00 to 99 BCD encoded
-- MM = Month 01 to 12 BCD encoded
-- DD = Day 01 to 31 BCD encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
-- ss = second 00 to 59 BCD encoded
Format
BCD encoded octet string
Length
9 bytes
Stop Time
This field contains the time when the IP-CAN session is terminated at the S-GW/P-GW, available in the CDR
for the last bearer in an IP-CAN session.
The timestamp is determined based on the internal timer which has an accuracy of 10ms. Depending on the
configured mechanism (ceiling, floor, round-off) this is translated into the timestamp which only shows the
full seconds.
The format is shown below.
TimeStamp ::= OCTET STRING (SIZE(6))
The contents of this field are a compact form of the UTC Time format containing local time plus an offset to
universal time. Binary coded decimal encoding is employed for the digits to reduce the storage and transmission
overhead
-- e.g. YYMMDDhhmmssShhmm
-- where
-- YY = Year 00 to 99 BCD encoded
-- MM = Month 01 to 12 BCD encoded
-- DD = Day 01 to 31 BCD encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
-- ss = second 00 to 59 BCD encoded
-- S = Sign 0 = "+", "-" ASCII encoded
-- hh = hour 00 to 23 BCD encoded
-- mm = minute 00 to 59 BCD encoded
Format
BCD encoded octet string
Length
9 bytes
Length
Varies
CSG ID
This field is a unique identifier within the scope of PLMN which identifies a Closed Subscriber Group (CSG)
in the PLMN associated with a CSG cell or group of CSG cells. The value of CSG ID will be printed as the
hexadecimal value received in AAA.
Format
Octet string
Length
4 bytes
Format
Enumerated integer
Length
1 byte
Format
Null
Length
Zero
The E-UTRAN Cell Identifier (ECI) consists of 28 bits. Bit 4 of octet 10 is the most significant bit and bit 1
of Octet 11 is the least significant bit. The coding of the E-UTRAN cell identifier is the responsibility of each
administration. Coding using full hexadecimal representation is used.
Format
Octet string
Length
6 -34 bytes
Note that the length varies depending on the type of identity.