PCRF configuration reference
The Policy and Charging Rules Function (PCRF) service is a core function of the Policy and Charging Control (PCC) platform. It generates rules that enforce policy and charging control on a Policy and Charging Enforcement Function (PCEF). This page acts as a reference for that configuration providing a detailed description for each section and property.
The core configuration file for the PCRF is typically found at /tango/config/PCRF.cfg .
|
Configuration file structure
-
[section]
- denoted by the open and closed brackets and acts as a container for similar properties. -
property
- denoted by thecode
styling and found within a[section]
; contains descriptive information to explain the property.
[pcrf rules handler] (1)
rulesHandlerSlClass = = rulesHandlerSl (2)
PCRF Rules Handler section
Property | Type | Description | ||||
---|---|---|---|---|---|---|
|
string |
Specifies the PCRF rules handler service logic class name. options
default
|
||||
|
boolean |
Specifies whether the SP interface resource is used or not. options
default
|
||||
|
string |
Specifies the Sp interface resource name. default
|
||||
|
string |
Specifies the Sp interface class name. default
|
||||
|
integer |
Specifies the Sp response timer (in milliseconds). range
default
|
||||
|
boolean |
Specifies whether the Sp update delay timer is enabled. options
default
|
||||
|
integer |
The length of time (in milliseconds) between the first and second Sp notifications. If both are received before the timer expires, then the rules are generated based on the information in the second notification.
default
|
||||
|
integer |
Specifies the terminate rules timer (in milliseconds). range
default
|
||||
|
boolean |
A flag that specifies whether location tracking is enabled. options
default
|
||||
|
boolean |
A flag that specifies whether the rules installation report is enabled. options
default
|
||||
|
integer |
The rules installation report timer (milliseconds). range
default
|
||||
|
boolean |
A flag that specifies whether rules revalidation is enabled. options
default
|
||||
|
integer |
Specifies the rules revalidation interval (in seconds). range
default
|
||||
|
boolean |
A flag that specifies whether enable usage reports are enabled. options
default
|
||||
|
boolean |
Specifies if usage reports are enabled for blocking rules. options
default
|
||||
|
integer |
Specifies the timer in milliseconds.
default
|
||||
|
boolean |
A flag that determines if the PCRF will terminate a session when it receives an InvalidUsageKey reportUsageResponse message from the SPCM. options
default
|
||||
|
boolean |
A flag that specifies whether the global usage monitoring key is enabled. options
default
|
||||
|
string |
Specifies the address of the primary online charging system. |
||||
|
string |
Specifies the address of the secondary online charging system. |
||||
|
string |
Specifies the address of the primary offline charging system. |
||||
|
string |
Specifies the address of the secondary offline charging system. |
||||
|
boolean |
A flag that specifies whether to set the bearer Qos with rules. options
default
|
||||
|
string |
Specifies the PCRF database configuration file name. default
|
||||
|
string |
Specifies the default PCRF O&M configuration file name. default
|
||||
|
string |
Specifies the PCRF default rules handler configuration file name. default
|
||||
|
boolean |
Flag that indicates if predefined rules are being used. options
default
|
||||
|
string |
Specifies the PCRF predefined rules configuration file name. default
|
||||
|
boolean |
Specifies whether PCRF service logic should remove rules that are pre-installed on the PCEF. options
default
|
||||
|
integer |
Specifies the maximum delay in seconds in a rules deactivation time.
default
|
||||
|
boolean |
A flag that defines whether rule activation times are enabled or disabled. options
default
|
||||
|
boolean |
A flag that specifies whether plans of equal precedence can be ordered such that serviceblocking and QoS-downgrade plans have lower priority than non-service-blocking and non-QoSdowngrade plans. options
default
|
||||
|
integer |
Specifies the minimum advance or delay in seconds on the PCC rules revalidation time.
default
|
||||
|
integer |
Specifies the maximum advance or delay in seconds on the PCC rules revalidation time.
default
|
||||
|
boolean |
Specifies if a delay should be inserted between sending two messages back to back from PCRF to PCEF. options
default
|
||||
|
integer |
Specifies the length of delay (in milliseconds) which should be inserted between sending two messages back to back from PCRF to PCEF. default
|
||||
|
string |
Specifies which size discount should be used if a plan has a discount schedule (DS) discount, a plan metering discount and a DPS discount: options
default
|
||||
|
string |
Specifies the file to load UEM configuration from.
default
|
||||
|
string |
Specifies the file containing the configuration related to time metering. default
|
||||
|
boolean |
Specifies if use of PCC profile metering rates is enabled. options
default
|
||||
|
boolean |
Specifies if the ensured QoS feature of the PCRF is enabled. options
default
|
||||
|
boolean |
A boolean flag that specifies whether time zone tracking is enabled. options
default
|
||||
|
integer |
An integer value specifying the grace period, in seconds, after the expiry of a recurring plan during which the PCRF will continue submitting usageReports to the SPCM. range
default
|
||||
|
integer |
An integer value specifying the grace period, in seconds, after the expiry of a non-recurring plan during which the PCRF will continue submitting usageReports to the SPCM. range
default
|
||||
|
string |
Denotes the location of the Tenant Configuration file where tenant information is configured. default
|
||||
|
boolean |
A boolean flag that specifies if the plmnId is substituted with the mccMnc which is extracted from user location information. options
default
|
||||
|
boolean |
A boolean flag that indicates if the serviceProfile (used at the time the rule was generated) should be used instead of the installed rules the PCRF typically supplies to the SPCM. options
default
|
||||
|
boolean |
A boolean flag that decides whether to ignore or recognise more than 16 plans from the SPCM. If enabled, the 17th plan and on will be ignored. This is optional and reloadable. options
default
|
||||
|
boolean |
A boolean flag that decides whether to ignore or recognise more than 16 add-on plans ( options
default
|
||||
|
boolean |
A boolean flag that enables QoS change reporting. options
default
|
||||
|
string |
Specifies the file to load AEHC configuration from. default
|
||||
|
string |
Points to the strip and replace configuration file. options
default
|
Diameter section
Property | Type | Description | ||
---|---|---|---|---|
|
string |
Specifies the default PCRF Diameter configuration file name. default
|
||
|
string |
Specifies the configuration file for the diameter gatekeeper state machine. default
|
||
|
boolean |
Specifies if the Diameter state manager queries and outputs the number of busy rulesHandlerSl instances while in OFFLINE mode and while shutting down instances. options
default
|
Cancel profile section
Property | Type | Description |
---|---|---|
|
boolean |
A flag that specifies if the rules handler sends an SP Cancel command to the SPCM in cases where an SP Profile Failure occurs for the initial profile request. This will clear the session data in the SPCM for the subscriber and stop the sending of notifications. options
default
|
|
boolean |
A flag that specifies if the rules handler sends an SP Cancel command to the SPCM in cases where an SP Profile Timeout occurs for the initial profile request. This will clear the session data in the SPCM for the subscriber and stop the sending of notifications. options
default
|
Resource section
Property | Type | Description |
---|---|---|
|
boolean |
Provide a resource or not. default
|
|
string |
The resource name. default
|
Dynamic Pricing Service(DPS) section
Property | Type | Description | ||
---|---|---|---|---|
|
boolean |
Specifies if DPS is enabled on the PCRF. options
default
|
||
|
string |
The name of the resource policy for the DPS.
default
|
||
|
integer |
The time to wait (in milliseconds) for a response from the DPS. range
default
|
||
|
boolean |
A boolean flag which specifies whether subscribers receive discount notifications. options
default
|
||
|
boolean |
A boolean flag that specifies whether DPS notifications are sent to a subscriber when their discount rate is zero. options
default
|
||
|
boolean |
A boolean flag that specifies whether DPS notifications are sent to a subscribers in cases where no discount is available. options
default
|
||
|
integer |
The text notification sent to a subscriber eligible for a discount.
range
default
|
||
|
integer |
The text notification sent to a subscriber who is not eligible for a discount.
range
default
|
||
|
boolean |
A boolean flag which specifies whether an updated discount can be applied while a session is in progress. options
default
|
||
|
boolean |
A boolean flag to enable/disable the sending of the new end-of-discount notifications. options
default
|
||
|
integer |
An integer, X, which indicates the range
default
|
User Notification Service section
Property | Type | Description |
---|---|---|
|
boolean |
A flag indicating whether UNS notifications are enabled or not. This setting is reloadable. options
default
|
|
string |
The policy used to select the UNS resource to which we will forward the notifications. This setting is reloadable. default
|
|
integer |
The time (in milliseconds) we wait for a response from the UNS resource. This setting is reloadable. range
default
|
|
string |
Messages appear to be from this string. default
|
Pay as you go section
Property | Type | Description |
---|---|---|
|
boolean |
A flag that specifies whether pay-as-you-go notifications are turned on or off. options
default
|
|
string |
The name of the IMAP which will map service profile keys to message context indexes default
|
|
boolean |
Indicates if the default payg message should be sent or not. default
|
Default payg Message Map section
Property | Description |
---|---|
|
A standard IMAP configuration which maps service profile keys to a message context index in the PCRF_messageContexts.cfg file. |
|
An entry should be added to the IMAP for each service profile key in the PPU plans. For example, if the PPU plans has 2 PCC profiles for low and high PPU rates, the service profile key for each of these should be added to the IMAP and the appropriate index to the [messageContextX] sections in the PCRF_messageContexts.cfg file. |
Discount schedule section
Property | Type | Description | ||
---|---|---|---|---|
|
boolean |
A flag that specifies whether the discount schedule is turned on or off. options
default
|
||
|
string |
The name of the resource policy for the DS.
default
|
||
|
integer |
Specifies the length of time (in milliseconds) to wait for a response from the DS process. range
default
|
USSD section
Property | Type | Description |
---|---|---|
|
boolean |
Boolean flag indicating whether the USSD requests are enabled. The setting is reloadable. options
default
|
|
boolean |
Boolean flag indicating whether the PCRF built-in mediator state machine is used to manage the USSD requests The setting is reloadable. options
default
|
|
string |
The policy used to select the USSD resource to which requests are forwarded. The setting is reloadable. default
|
|
integer |
The time limit (milliseconds) for the USSD resource to respond to the request. The setting is reloadable. range
default
|
|
integer |
String representing the USSD service code to use in the USSD requests. The setting is reloadable. default
|
|
string |
The absolute path of an optional file defining the USSD codec configuration parameters. The setting is reloadable. default
|
|
boolean |
Boolean flag indicating if the request to the USSD should be sent via the HRG. options
default
|
|
string |
Specifies which request handler to be used on the HRG. default
|
|
boolean |
Boolean that controls whether the PCRF can resubmit the getInitialProfileInfo message when it suspects that the SPCM has prevented the notifyProfileUpdate message from being generated. options
default
|
Radius optimiser section
Denoted by [optimiser]
.
Property | Type | Description |
---|---|---|
|
boolean |
Boolean that denotes whether the optimiser is enabled or not. default
|
|
string |
A string that details the name of the optimiser resource policy. default
|
|
integer |
The default response time in milliseconds default
|
|
string |
Specifies the name of the SMAP section in this configuration file where the ServiceProfileNames used for optimisation are defined. default
|
Usage reporting section
Property | Type | Description |
---|---|---|
|
string |
Identifies the IMAP table for error codes. default
|
Default Ur Error to Action Map section
Property | Type | Description |
---|---|---|
|
string |
Standard IMAP configuration where each item adheres to the format:
Where
And
default
|
|
integer |
The number of mapped items. |
|
string |
Each mapped item (from 0) with usage report error and action denoted. |