Diameter Total Octet Calculation
The Diameter
CC-Total-Octets AVP contains the total data quantity
for a session. When there are multiple service contexts in one session, the
value is calculated for each service context. In some Diameter applications
(such as Gy/Ro), usage is requested and reported in the grouped AVPs
Requested-Service-Unit
and
Used-Service-Unit
respectively. In some situations, a
Diameter client does not send the
CC-Total-Octets AVP because the AVPs in the
Requested-Service-Unit
and the
Used-Service-Unit
grouped AVPs are optional. If the
CC-Total-Octets is not sent, you can configure the
Diameter Gateway
to set
CC-Total-Octets to be the sum of the
CC-Input-Octets
and the
CC-Output-Octets
AVPs.
To enable Total Octet Calculation you must answer yes to the following question during engine configuration:
Diameter: Do you want the Diameter Gateway to calculate CC-Total-Octets from CC-Input-Octets and CC-Output-Octets (y/n)? n
For more information about enabling Total Octet Calculation, see the discussion about Diameter protocol configuration parameters.
CC-Input-Octets
and
CC-Output-Octets
AVPs is present in the message, its
value is used to set the
CC-Total-Octets value.
During rating, the following occurs according to the fields present in the MtxDiamRoMsg:
- For each MultiServiceList element, all UsedQuantityList and RequestedQuantity elements are processed.
- If the TotalDataQuantity field is present, we skip this element.
- If the InDataQuantity is present, the value is used during calculations, otherwise it is considered to be 0.
- If the OutDataQuantity is present, the value is used during calculations, otherwise it is considered to be 0.
- If both the InDataQuantity and OutDataQuantity field values are set, they are added together and the value is set as the TotalDataQuantity field value.
- If only one value is set, it is set as the TotalDataQuantity field value.
To perform rating based on a used quantity, the service type and price component must both be configured to use the same used quantity type. The value is set with the Quantity Selector value for both items.
For example, to charge 4G data usage based on the TotalDataQuantity, the 4G Data service type definition must have a Quantity Selector value of Total Data and the product offer for the 4G service must contain a charge component that has a Quantity Selector value of Total Data.
For more information about enabling Total Octet Calculation, see the discussion about Diameter protocol configuration in
For more information about enabling Total Octet Calculation, see the discussion about Diameter protocol configuration in MATRIXX Configuration.
.