Online AVPs

abrahim
abrahim  Diamond  (1)
7 years 10 months ago  View: 1277  Reply: 3
1F


Item

Description

AVP Name

Online (The name in message tracing results is online.)

AVP Example

http://localhost:7904/pages/CEC1230A/01/CEC1230A/01/resources/upcc/maintenance/signaling/figure/fig_cn_90_35_000162_01.png

AVP Code

1009 (Vendor-id = 10415)

Data Type

Enumerated

Value:

  • DISABLE_ONLINE: The online charging is disabled.
  • ENABLE_ONLINE: The online 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 Online AVP specifies whether the online charging is enabled.

Application Scenario

  • If the Online AVP contained in a CCR-I message is of command level. It determines whether the online charging mode configured on the PCEF is enabled. If the CCR-I message does not carry this AVP, the online charging mode is not configured on the PCEF.
  • If the Online AVP contained in a CCR-I message is of rule level, it is a sub-AVP contained in the Charging-Rule-Definition AVP, it determines whether the online 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 Online AVP for the first time, the default online charging mode configured on the PCEF is used. If the Online AVP is carried, it is configured based on the ChargingAction in the rule defined on the PCRF.
  • If the Online 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 online charging mode configured on the PCRF is enabled. If the CCA-I message does not carry this AVP, the default online 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 Online 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 Online 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 Online 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.

Alaul
Alaul  Diamond 
7 years 10 months ago
2F
This rule is applicable only for pre-paid customer right?
Armetta
Armetta  Diamond 
7 years 10 months ago
3F
great presentation

user_2837311
user_2837311  Diamond 
3 years 11 months ago
4F
useful document, thanks