Summary

This article outlines the UDR Rating Engine, UDR rating terms used in EngageIP and a high level walkthrough of how to configure the UDR system.

Overview

The UDR Rating Engine imports and rates calls in near 'real-time' meaning, it will calculate usage (calls, data, sms, etc.) balance of remaining minutes/data/instances in buckets, and the time throughout the billing period.

Configuration follows this hierarchy (top down):

Generally speaking, a user is assigned a rate plan (on their package).
A rate plan is configured with one or more rate groups.
A rate group can have one or more rates.
A rate is assigned to a class and/or a UDR Location or UDR Location Group (pattern) as well as tied to other details like rounding rules.

Definitions

Configuration Process

The process outlines from the ground up how to configure the UDR system.

  1. Basic Configuration (GeoTree Locations and Patterns, UDRClasses, Custom Codes, etc.) are configured by LogiSense

  2. Setup Billing Identifiers per account or user-service (for example DID's, Enterprise ID's, etc.) -- this is a customer specific setup
    which generate the 'UDR User Identifier History' (UUIH) table (the UUIH table links a user to the user's billing identifier and rate plan)

  3. Setup UDR Rate Groups, Plans and Rates. (Note: large Rate Decks can be imported at this time using importing tools with the assistance of LogiSense personnel)

  4. Create UDR Buckets and assign them to Services

  5. Add UDR Rate Plans and Services to Packages

  6. Add Packages to customer accounts

  7. Import UDR Records (Put raw CDR files in the folder specified in the UDRfeed)

  8. Ensure that the EngageIP Rating service is running. The Rating service will process records and rate them according to the customers package and associated rate plan

UDR Billing and UDRBiller Date Definitions

Usage is billed out when the date range on a bill run for example encompasses the 'PeriodEnd' date in UDRBiller table for that particular customer.

PeriodStart in UDRBiller is set to nextbilldate on user package when that call is rated (whether rerated, invoice void, exception)
PeriodEnd in UDRBiller is package cancel date OR one full month after period start

Events which may cause PeriodStart and PeriodEnd to change (possibly making them outside of the period when the call was actually made) are the following:

Custom Code Updates

Custom code provides the logic for the rating service to operate. Changes can be made to custom code without restarting the rating service as the service continually processes the custom code, executing any adjustments made in real time.

Error Logging

To see any errors, or logging related to what files are processing and progress generally, you can check the Event Log report under Reports or the Alerts report on the same page. These will provide indication of progress and any errors if existing.

If files are getting stuck when rating, locking up the service or otherwise, these reports are the first place to look for potential causes. From there if these do not provide adequate detail, standalone mode or service log files may shed more light. Beyond the service logging the recommendation is to compare the file to a known working format file to determine what differences exist and update the file to match a working for and attempt to import again.