This feature uses information from the incoming INVITE request to determine whether Ro Online charging should be applied to the session, by setting the MonitorCallOnly session state variable. The MonitorCallOnly variable affects whether Sentinel VoLTE should perform online charging through Diameter Ro, or only monitor the call. Online Charging through CAP is handled by a separate service composition, see Service Compositions for more details about this. Offline Charging and whether to use CDRs, Diameter Rf or both is controlled by the VoLTE Interim CDR Feature.
Feature cheat sheet
B2BUA Instance | SAS Support | Originating / Terminating | Point in Session Plan | Network Operator Data | Subscriber Data | Stateful or Stateless | POJO Feature or SBB Feature |
---|---|---|---|---|---|---|---|
Any and All |
No |
Originating and Terminating |
|
No |
No |
Stateless |
POJO |
Session output variables
Session State variable name | Variable type | Comments |
---|---|---|
MonitorCallOnly |
boolean |
True if the feature finds the Route Header “oc-charge-mode” Parameter set to |
ChargeMode |
ChargeMode (enum) |
The charge mode determined by the feature. |
Statistics
DetermineChargeMode statistics are tracked by the sentinel.volte.sip SBB
and can be found under the following parameter set in REM:
SLEE-Usage → sentinel.volte.sip service → sentinel.volte.sip SBB → feature → DetermineChargeMode
or with rhino-stats:
"SLEE-Usage.Services.ServiceID[name=sentinel.volte.sip,vendor=OpenCloud,version=2.9.0].SbbID[name=sentinel.volte.sip,vendor=OpenCloud,version=2.9.0].feature.DetermineChargeMode"
Name | Description |
---|---|
Started |
Incremented each time the feature runs |
FailedToStart |
Incremented when a fatal error occurs before feature execution |
IssuedWarning |
Incremented when a non-fatal error occurs during feature execution |
FailedDuringExecution |
Incremented when a fatal error occurs during feature execution |
TimedOut |
Incremented when feature execution does not complete within a reasonable time frame |
MonitorOnly |
Incremented when the feature has set the MonitorCallOnly Session State field to true |
NonMonitorOnly |
Incremented when the feature has set the MonitorCallOnly Session State field to false |
Error |
Incremented when the feature was unable to determine the charge mode |
Behaviour
This feature checks information from the incoming SIP request in order to set a Session State variable which affects Sentinel VoLTE’s charging behaviour.
Values examined
Value Name | Source | Notes |
---|---|---|
Route Header “oc-charge-mode” Parameter |
Incoming SIP request |
This is a custom parameter on the URI of the top-most route header. It is expected that this will be added by the S-CSCF based on iFCs. |
Charge mode selection circumstances
Route Header “oc-charge-mode” Parameter | Resulting Charging behaviour |
---|---|
oc-charge-mode=ro |
MonitorCallOnly set to false, Diameter Ro charging will be applied, ChargeMode set to |
oc-charge-mode=cap |
MonitorCallOnly set to true, Diameter Ro charging will not be applied, ChargeMode set to |
oc-charge-mode=offline |
MonitorCallOnly set to true, Diameter Ro charging will not be applied, ChargeMode set to |
oc-charge-mode has any other value |
MonitorCallOnly set to false, Diameter Ro charging will be applied, ChargeMode set to |
oc-charge-mode parameter absent |
MonitorCallOnly set to false, Diameter Ro charging will be applied, ChargeMode set to |
Note that the VoLTE Interim CDR Feature is configured to select whether interim CDRs and/or ACRs are used. It is used if Diameter Rf and/or Interim CDRs are selected during installation.
It’s settings are independent of the oc-charge-mode
Route Header parameter.