Online and Offline URRs
The following call flow and procedure describes the Usage report in N4 session report for online and offline URRs.

Step | Description | ||
---|---|---|---|
1 |
PCRF performs Gx-CCR or CCA Exchange with SMF. In this Exchange, the SMF receives Dynamic Rules for default bearer from the PCRF. |
||
2 |
SMF initiates N4 session establishment request Exchange with UPF. In the same request, UPF relays the PFCP message Exchange as response. |
||
3 |
SMF sends Create session request to the S-GW and the GTPP response message is exchanged. |
||
|
|||
4 |
SMF sends N4 Session Report Request/Response Exchange with online and offline Volume/Time threshold. When SMF receives the SDF level or Bearer/SDF level usage report with VOLTH/TIMTH for online URR and offline bearer/SDF level URR. |
||
5 |
SMF sends GTPP Data Record Transfer Request with SDF Containers to the Offline Charging Server (OFCS). This request is sent with one or multiple SDFs with volume usage and serviceConditionChange—one for each RG+service ID.
|
||
6 |
OFCS sends GTPP Data Record transfer response to the SMF. |
||
7 |
SMF sends Gy CCR-U with one or multiple MSCCs—for each RG+SID. |
||
8 |
SMF receives Gy CCA-I with quota, triggers for each RG+Service ID. |
||
9 |
SMF sends N4 Session Modification Request to the UPF with update-URR. The Quota is received from OCS for the required online URRs. |
||
10 |
UPF sends N4 Session Modification Response. |
Sample Configuration
The following is a sample message output for offline Bearer level URR.
URR ID:
Type: 81 Length: 4
Value: 0x80000002 --- Offline Bearer level URR Id
USAGE REPORT TRIGGER:
Type: 63 Length: 2
Volume Threshold
VOLUME MEASUREMENT:
Type: 66 Length: 25
Total Volume: 101096
Uplink Volume: 896
Downlink Volume: 100200
DURATION MEASUREMENT:
Type: 67 Length: 4
Value: 16
URR ID:
Type: 81 Length: 4
Value: 0x80000021.
USAGE REPORT TRIGGER:
Type: 63 Length: 2
Linked Usage Reporting
VOLUME MEASUREMENT:
Type: 66 Length: 25
Total Volume: 101096
Uplink Volume: 896
Downlink Volume: 100200
DURATION MEASUREMENT:
Type: 67 Length: 4
Value: 1
accessPointNameNi cisco.com
ratingGroup 10
chargingRuleBaseName cisco
resultCode 2001
localSequenceNumber 1
timeOfFirstUsage 220829173906-0400
timeOfLastUsage 220829173907-0400
timeUsage 1
serviceConditionChange Volume Limit
qCI 5
maxRequestedBandwithUL 0
maxRequestedBandwithDL 0
guaranteedBitrateUL 0
guaranteedBitrateDL 0
aRP 5
servingNodeAddress 2002::2:61
datavolumeFBCUplink 896
datavolumeFBCDownlink 100200
timeOfReport 220829173907-0400
userLocationInformation
Location Type TAI
MCC 214
MNC 365
TAC 0x6789
Location Type ECGI
MCC 214
MNC 365
ECI 0x1234567