EDRs for Usage
Usage event Event Detail Records (EDRs) contain information about the quantities used for charging. A network message received for usage can include several usage quantity types; all are recorded in the EDR for the usage event. The information is listed in the MtxUsageEvent EDR in a list field called UsageQuantityList. Each element of this list is a MtxEventUsageQuantity MATRIXX Data Container (MDC).
MtxSessionEndEvent
: - Normalized Event Type: session_end
- Container Name: MtxSessionEndEvent
- Type ID: 11
This section provides information about usage EDR contents where the contents differ from non-usage EDRs.
- EDRs for non-aggregated usage
EDRs for non-aggregated usage are generated for network usage and contain information for a single network message.
- EDRs for aggregated usage
EDRs for aggregated usage are generated for network usage and can contain information that spans multiple network messages. They are generated in response to a defined trigger condition, such as a time or session.
A rated activity can impact balances in more than one wallet. Charges can be applied to the event initiator (subscriber or group), and to groups above the initiator in a group hierarchy. A separate EDR is generated for each subscriber or group whose balances are impacted.
Usage Events with Zero Or No Rated Quantity
When you create a service type in My MATRIXX, you can select Suppress Usage Event With No Impact to specify that usage events are not generated when the rated usage quantity is zero (or there is no rated quantity) and there are no balance impacts. This is helpful in scenarios where there is a high load on the mediation system due to many usage events with zero data consumption. This setting applies to both aggregated and non-aggregated usage events.
- Start time: 1:30 PM
- Usage: 1MB at 1:45 PM
- Usage: 2MB at 3:15 PM
- End time: 3:45 PM
- Event 1
- Start time: 1:30 PM
- End time: 2:00 PM
- Usage: 1MB
- Event 2
- Start: 3:00 PM
- End: 3:45 PM
- Usage: 2MB
:s@<generate_aggregated_event_with_zero_rated_quantity>.*<@<generate_aggregated_event_with_zero_rated_quantity>1<@
Event Initiator
For usage events, the event initiator is always a subscription. One primary event is associated with the event initiator's wallet.
SecondaryEventType
field that defines the
relationship to the primary event. The value in this field is either
1
, meaning sponsorship, or 4, meaning balance transfer.
The EventTypeArray
field (an array of integers defining a type within a
hierarchy of event types) is included only in primary events. The first element
(index 0) is the top level-type (usage, purchase, recurring, and so forth). The
remaining elements define subtypes. Only usage events include subtypes. For example,
if element 0 has the value 1 (usage), the second element might have a value 20,
which could mean voice usage (elements other than the top-level element are
operator-defined in pricing). There could be a further breakdown of the voice usage
type by using the third element.
See the discussion about MtxEvent fields for information that is recorded in the EDR for the initiator.
EDRs for Multiple Services
The Diameter Credit-Control Application (RFC 4006) includes a Multiple-Services-Credit-Control AVP in the network message, which can report usage for multiple service contexts. For these messages, MATRIXX Engine generates a separate EDR for each service context.
Offline Charging for 5G and Diameter
- 3 – For rated online usage.
- 5 – For rated offline usage (for offline 5G and Diameter charging).
- 7 – For aggregated EDRs where both online and offline usage were rated.