Dynamic Usage Classes are configured in Setup / Usage Rating / Locations / Dynamic Class
Guides in this article:
Overview
Dynamic usage classes allow a usage class on usage to be dynamically changed based on additional usage attributes. For instance, usage occurring in a specific location (location group) can be set to a particular usage class based on the network/carrier that the usage occurs on, resulting in different usage rates being charged for different network providers.
Multiple rules can be created under a dynamic usage class to setup criteria for resolving different usage classes. These rules are executed based on the order that they are configured in. The rules priority can be changed by changing their order.
Dynamic Usage classes are configured on services when packages are setup. A service within a package can have only one dynamic usage class configured on it.
Prerequisites
A custom field list must be setup on the mediation entity and be configured with carriers as the custom field's values
Under the owner configuration > mediation & rating section the Dynamic Usage Class option must be enabled with the Rule Variable set to the 'Carrier' custom field
Location groups must be setup to specify the areas where the dynamic class rules apply
Dynamic Usage Classes Panel
The Dynamic Usage Classes panel on the left of this screen allows you to select existing dynamic usage classes to view and edit on the Edit Dynamic Usage Classes panel to the right. Actions are also available in this panel which are shown as icons above the Filter text box. The available actions are described below.
Actions
Icon | Description |
---|---|
Deletes the dynamic usage class if not in use (configured on a service in a package) | |
Adds a new dynamic usage class |
Edit Dynamic Usage Classes Panel
The information in this panel reflects the currently selected dynamic usage classes. From here you can change dynamic usage classes details (fields will display a red left border if a value is required and purple text if the field is read-only and cannot be modified).
Dynamic Usage Classes Fields:
Name: a unique name for the dynamic usage class
Active: enables or disables the dynamic usage class. A disabled class cannot be added to services when creating packages in the product catalog. This option will be disabled until the dynamic U=usage class is configured with one or more rules
Description: a summary of the dynamic usage class configuration
Rules tab
This tab allows you to view, edit and add rules that define the usage class that is set when usage occurs in a specific location on a specific network.
Adding Dynamic Usage Classes
Under the Dynamic Usage Classes heading on the left click the icon
Under the Add Dynamic Usage Classes heading on the right specify the dynamic usage class details
Under the Rules tab click the button to the right of the tab heading. On the modal that appears specify the Carrier and Location where the dynamic usage class will apply. Next specify the Class that will be set when usage occurs on the specified carrier and in the specified location. Click Add to add the rule
Repeat the step above to add additional rules if desired. The rules will be executed in the order you configure them in. To adjust the rule order click the arrows next to the rules or drag and drop them as needed
When you have finished configuring and ordering rules on the dynamic usage class click Save
Editing Dynamic Usage Classes
Under the Dynamic Usage Classes heading on the left click the dynamic usage class you wish to edit
Under the Edit Dynamic Usage Class heading on the right modify the dynamic usage class details
Click Save when you have finished making changes
Deleting Dynamic Usage Classes
Note: dynamic usage classes that are in use (configured on services) cannot be deleted. In order to delete a dynamic usage class that is in use determine which services are configured to use the dynamic usage classes you wish to delete and remove the dynamic usage class from that service or select another dynamic usage class to use on the service.
Under the Dynamic Usage Classes heading on the left select the dynamic usage class you wish to delete
Under the same Dynamic Usage Classes heading click the icon
On the confirmation dialog that appears select Yes