| Item | Description | | AVP Name | Offline (The name in message tracing results is offline.) | | AVP Example | http://localhost:7904/pages/CEC1230A/01/CEC1230A/01/resources/upcc/maintenance/signaling/figure/fig_cn_90_35_000161_01.png | | AVP Code | 1008 (Vendor-id = 10415) | | Data Type | Enumerated Value: - DISABLE_OFFLINE: The offline charging is disabled.
- ENABLE_OFFLINE: The offline charging is enabled.
| | Syntax | Charging-Rule-Definition ::= < AVP Header: 1003 > { Charging-Rule-Name } [ Service-Identifier ] [ Rating-Group ] *[ Flow-Description ] [ Flow-Status ] [ QoS-Information ] [ Reporting-Level ] [ Online ] [ Offline ] [ Metering-Method ] [ Precedence ] [ AF-Charging-Identifier ] *[ Flows ] [ Redirect-Server ] [ Proto-Classifier-Name ] [ X-HW-Monitoring-Key ] [ Monitoring-Key ] *[ X-HW-Subscriber-Service-Name ] [ X-HW-Service-Type ] [ X-HW-MS-Group-Name ] [ X-HW-ACL-Group-Name ] [ X-HW-Interim-Interval ] *[ Required-Access-Info ] *[ AVP ] | | Definition | The Offline AVP specifies whether the offline charging is enabled. | | Application Scenario | - If the Offline AVP contained in a CCR-I message is of command level. It determines whether the offline charging mode configured on the PCEF is enabled. If the CCR-I message does not carry this AVP, the offline charging mode is not configured on the PCEF.
- If the Offline AVP contained in a CCA-I message is of rule level, it is a sub-AVP contained in the Charging-Rule-Definition AVP, it determines whether the offline charging mode associated with the policy and charging control (PCC) rule is enabled on the PCEF. If the Charging-Rule-Definition AVP in a PCC rule does not carry the Offline AVP for the first time, the default offline charging mode configured on the PCEF is used. If the Offline AVP is carried, it is configured based on the ChargingAction in the rule defined on the PCRF.
-
If the Offline AVP contained in a CCA-I message is of command level, it is not included in the Charging-Rule-Definition AVP. It determines whether the offline charging mode configured on the PCRF is enabled. If the CCA-I message does not carry this AVP, the default offline charging mode configured on the PCEF can be used. The command-level charging mode is configured by CmdChargingAction in Action Group. - If a rule needs to be delivered for CmdChargingAction after the condition is matched, a command-level Offline AVP in a CCA message is delivered based on the configured CmdChargingAction rule instead of PaidType or the VRM_OCSCHARGEFLAGFORPRE, VRM_OCSCHARGEFLAGFORPOS, and VRM_OCSCHARGEFLAGFOROTHER software parameters.
- If a rule is not required for CmdChargingAction after the condition is matched, the original processing rule is used, that is, a command-level Offline AVP in a CCA message is delivered based on PaidType or the VRM_OCSCHARGEFLAGFORPRE, VRM_OCSCHARGEFLAGFORPOS, and VRM_OCSCHARGEFLAGFOROTHER software parameters.
The rule-level charging mode is configured by ChargingAction in Action Group. A CCR-I message does not carry a rule-level Offline AVP. The priority of the default charging mode sent by the PCRF is higher than that configured on the PCEF. | | Related Configuration | -
Configure the command-level charging by setting CmdChargingAction when configuring Action Group. -
Configure the rule-level charging by setting ChargingAction when configuring Action Group. -
The paid type of a subscriber can be prepaid and postpaid. For subscribers of different paid types, the charging mode varies with the charging system. Configure Charging mode for prepaid subscribers (VRM_OCSCHARGEFLAGFORPRE), Charging mode for postpaid subscribers (VRM_OCSCHARGEFLAGFORPOS), and Charging mode for other types of subscribers (VRM_OCSCHARGEFLAGFOROTHER) accordingly. | |