Release

Search

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.

Checklist

Link copied to clipboard

Use this checklist to check off the operations you have completed while performing the system setup according to the instructions in this chapter. Please be sure to perform all of the operations in the order designated (all of the boxes should be checked); otherwise, the service will not work.

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

Operation

Done

General configuration

Make sure metrics storage is enabled on the Configuration server web interface

Rating configuration

Create a subscription plan that covers charges for allocated resource usage

Configure the metrics within the customer class for your SIP trunking customers

Check that a SIP trunking customer has already been created according to the instructions provided in the SIP trunking for on-premise PBXs capable of digest authentication handbook

Assign the customer class to this customer

Assign the subscription plan to this customer

Testing

Configure your SIP phone and make some test calls

Check statistics for the customer

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.

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.

Create a subscription plan

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 the Add button.

    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

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.

    Assign the customer class to a customer

  3. Select the customer class in which you have configured the measurement parameters from the Customer class list.
  4. Click Save.

Assign the subscription plan to a customer

Link copied to clipboard
  1. On the Customer panel, select Finances and click General info.
  2. On the General info panel, select Subscriptions and click Add.
  3. Select the subscription you have just created from the list.

    Assign the subscription plan to a customer

  4. Click Save.

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, click Services, then select Bundles and open the Measured services panel.
  2. Click image012 next to the required metric to edit it.

    Edit measured services parameters

    Override charging for a customer (optional)

  3. Specify new charging parameters for this customer.
  4. Click Save and Override.

Check customer statistics

Link copied to clipboard
  1. On the Customer panel, click Services, then select Bundles and open the Measured services panel.
  2. Click the image015 icon next to the resource consumption metric.

    Check customer statistics

    View the statistics information

tips 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.

On this page

Release
What's new
Admin manuals
Handbooks
API
UI help
Search