Billing for measured resource consumption

Link copied to clipboard

Services are typically billed based on individual events such as voice calls. There is another popular business model in which billing is based on the continuous usage of allocated resources.

This handbook will show you how to introduce this business model by configuring the resource consumption metrics and how to check the customers’ resource usage.

In the configuration example, we define the “soft” limit of 10 concurrent calls for SIP trunking customers as part of their service bundle covered by their $10 per month subscription. If the maximum number of concurrent calls exceeds that defined limit, an additional charge of $1 per concurrent call is applied to them.

This handbook assumes that you have already configured the basic SIP service according to the instructions provided in SIP trunking for on-premise PBXs capable of digest authentication.

Configuration overview

Link copied to clipboard
  1. Enable the metrics storage on the Configuration server
  2. Create a subscription plan
  3. Configure resource consumption metrics for a customer class
  4. Assign the customer class to a customer
  5. Assign the subscription plan to a customer
  6. Override charging for a customer (optional)
  7. Check customer statistics

1. Enable the metrics storage on the Configuration server

Link copied to clipboard
  1. On the Configuration server web interface, go to the Configurations tab.
  2. Clone the current configuration.
  3. In the Configuration Tree, select Web Cluster.
  4. In the Environments panel, select Global.
  5. In the Groups panel, select Metrics.
  6. For the StorageEnabled option, select Yes. Metrics.StorageEnabled
  7. Click Save and then click Verify.
  8. Verify the new configuration and click Check/Apply.

2. Create a subscription plan

Link copied to clipboard

To charge customers for concurrent calls, create a subscription plan and perform its configuration as described in the Charging for value-added services handbook.

Add subscription plan for Billing for Measured Resource Consumption

3. Configure resource consumption metrics for a customer class

Link copied to clipboard

Every consumed resource has its own metric. The metric defines how the consumption of that resource is measured and how customers are charged for it.

To apply measurements and charges for allocated resource consumption to multiple customers at once, configure the resource consumption metric for that customer class.

  1. On the navigation menu, select Sales, then select Customer classes.
  2. Click the name of the specific customer class to edit it.
  3. On the Edit customer class page, select Measured services and click Add.

    Add parameters to be measured

  4. Specify the following information about any new metric:
    • Measured parameter – select Active calls from the list.
    • Charge based on – define the charging criterion per resource usage. Select MAX from the list.
    • Price per item, USD –  specify the price you will charge your customers for each unit of consumed resources (e.g., $1 for every active call).
    • Rate code –  specify which rate will be used to calculate charges for customers. This is shown in customers’ xDRs and invoices.
    • Service – this service type will be used to calculate charges for customers and is shown in customers’ xDRs and invoices.
    • Do not apply charges for the first, items – specify the number of active calls included in your service bundle (in our example it is 10).
    • Click Add.
      Each metric can only be added once.

      Save the changes

4. Assign the customer class to a customer

Link copied to clipboard

This step is only required if a customer does not belong to the customer class you have modified in the previous section. Otherwise, skip this step.

  1. On the navigation menu, select Sales, then select Customers.
  2. Click the name of the specific customer to edit it.
  3. Select the customer class in which you have configured the measurement parameters from the Customer class list.

    the customer class to a PBX customer

  4. Click Save.

5. Assign the subscription plan to a customer

Link copied to clipboard
  1. On the Customer panel, select Subscriptions.
  2. Click + Subscription.
  3. Select the subscription you have just created from the list.

    Assign the subscription plan to a PBX customer

  4. Click Save.

6. Override charging for a customer (optional)

Link copied to clipboard

If necessary, you can configure a different charging scheme for an individual customer and associate it with the defined measurement parameter (e.g., if, for example, you want to increase the limit of concurrent calls for this customer to 15).

  1. On the Customer panel, go to Measured services.
  2. Click EditEdit iconnext to the required metric to edit it.
  3. Specify new charging parameters for this customer.

    Specify new charging parameters for this customer

  4. Click Save.

7. Check customer statistics

Link copied to clipboard
  1. On the Customer panel, open Measured services.
  2. Click Statisticsstatistics.

    Check customer statistics

You can also browse the statistics on the customer self-care interface:

  1. Log in to the customer self-care interface using the customer’s web access login and password. After that you will be able to see the customer’s dashboard interface.

    Log on to the customer self-care interface

  2. On the Billing Information tab select Measured Services.
  3. Click the WorC99D icon next to the resource consumption metric.

    Check the resource consumption metric

  4. View the statistics information:
    • Click on the start date in the bottom graph and drag the mouse cursor to the finish date to browse the detailed statistics for a particular time period.
    • Charges for the period – select the customer’s billing period. Either the current and/or any of the previous billing periods can be selected.
    • Amount charged – if a customer is charged for resource consumption, those charges are reflected in the selected billing period.
      The charges for the current billing period will not be displayed since this billing period is not yet closed.
    • Maximum value – the measured resource value for the current billing period.
    • Remained free items – the number of allocated resources included in the service bundle for the current billing period.
Docs for
What's new
Admin manuals
Handbooks
UI help
Developers documentation