Document toolboxDocument toolbox

Use of Prefix in Rate Group

Overview

This document provides a comprehensive understanding of the practical applications of routing prefixes within the ASTPP (ASTPP, A Smart TelePhony Platform) system, with a specific focus on rate groups. Building upon the concept of various routing types explained in a previous section, this document delves into the strategic use of routing prefixes for optimizing call routing scenarios.

Purpose

The main purpose of incorporating routing prefixes in rate groups is to optimize and tailor the flexibility of call routing within the ASTPP system. When a customer is associated with a particular rate group but seeks to route specific calls through an alternative rate group, the routing prefix becomes instrumental. By configuring prefixes in the rate group settings, users can selectively channel calls to different rate groups based on customer preferences or specific needs. This feature proves invaluable when nuanced customization is required for particular destination codes, offering a dynamic and adaptable approach to call routing in ASTPP.

How will it work?

Tariff ⇾ Rategroup ⇾ Create/Edit Rategroup ⇾ Add Prefix


Create two distinct rate groups, denoted as Gold and Silver, with the assignment of the 7777 prefix specifically allocated to the Gold rate group.

As depicted in the screenshot below, both rate groups have been successfully created.

To allocate the silver rate group to one of our test customers, navigate to the billing information section in the customer's profile and assign the rate group.


The client should utilize the routing prefix 7777 when dialing a UK (44) number because the silver rate group lacks a rate for 44.


Example of a call scenario

Let's conduct tests with and without prefixes. In the screenshot below, you'll notice that the Adesh customer encounters an "Origination Rate not found" error when dialing without the routing prefix. He dialed a simple number, 44567890.

Here are the FreeSWITCH CLI logs demonstrating the precise operation and its impact.


As depicted in the screenshot below, the customer initiates the call by dialing the same number with the 7777 prefix to establish the connection.

It can be cross-verified the same information in the CDR (Call Detail Record) as well.


Resellers have the option to include routing prefixes when establishing rate groups for their clients. By incorporating the prefix 9999 in their rate group configurations, resellers enable their customers to utilize a gold rate group, requiring the dialed number to feature the prefix 9999.

Reference

 

Related pages