Configuring the URR IDs
Config URR IDs are applicable for Static rules and Predefined rules that are bound to default bearer. When subscriber call comes up, the Static rules in Rulebase are traversed. The corresponding URR buckets for the various interfaces configured in the Charging Action are updated in the subscriber primary URR list with bucket IDs as key. For Dynamic rules and Predefined rules that are bound to dedicated bearers, the URR ID list in PDR is used for creating URR buckets on the UP.
Currently, the Config URR IDs are generated using running counter at SessCtrl and pushed as part of PFD Mgmt messages for Charging Action for various interfaces from Control Plane to User Plane.
To achieve configurable Config URR IDs:
-
Configuration template outside of Charging Action allows URR-Id mapping with “Rating Group” and “Service-id”.
-
If a separate Rating Group (RG) is configured for Gy, then that RG is applied to the Gy bucket. If no separate RG is configured for Gy, then the same “Content-id” is applicable for all interfaces.
-
“Service-id” is optional for URR-Id mapping.
-
URR-Id is unique. This must be ensured through show configuration error CLI command or separate validation script. Another option is to check during config time itself, provided it doesn’t lead to bigger configuration loading time.
-
For UPF, current logic for URR-Id generation is updated to take the value from configuration. There are no changes for URR usage/generation logic/call-flow except UP receiving Config URR-Id from configuration rather than PFD message.
-
Same configuration values are required at SMF as well.
-
Based on the configured value, the URR-id is generated independently on UPF and SMF for Static or Predefined rules having rating group/content-id/service-id, and so on. Also,
The following is a sample configuration for URR-Id profile template:
rg <x> si <y> urr-id <abc>
rg <x1> si <y1> urr-id <abc1>
rg <x> urr-id <abc2>
Use the following configuration to enable Config URR ID.
configure
active-charging service service_name
urr-list list_name
rating-group group_number { service-identifier service_number | urr-id id_range }
end
NOTES:
-
urr-list list_name: Configures the active charging service URR list. list_name must be an alphanumeric string of 1 to 63 characters.
-
rating-group group_number : Specifies the rating ID used in prepaid charging. group_number must be an integer in the range of 0 to 2147483647.
-
service-identifier service_number : Specifies the number given to the service.
-
urr-id id_range : Specifies the URR identifier for rating/service group. id_range must be an integer in the range of 1-134217727.
-
The values can be changed dynamically. However, it will take effect only for new sessions.