Actions

Digit Analyzer: Difference between revisions

m (backup)
No edit summary
Line 69: Line 69:
All three Service Providers have access to "Montreal, Qc", but the rate may differs. So we clearly have three routes for "Montreal, Qc". <br>  
All three Service Providers have access to "Montreal, Qc", but the rate may differs. So we clearly have three routes for "Montreal, Qc". <br>  


In other words, we have three routes grouped under a RouteSet named "Montreal, Qc".&nbsp; In this case, the RouteSet is named after the destination city, but it could be anything.<br>
In other words, we have three routes grouped under a RouteSet named "Montreal, Qc".&nbsp; In this case, the RouteSet is named after the destination city, but it could be anything.<br>  


== Digit Analyzer Database<br> ==
== CSV&nbsp;Database<br> ==


The Digit Analyzer database is  
The CSV database is composed of 4 groups of [http://en.wikipedia.org/wiki/Comma-separated_values CSV] files.&nbsp; Those files covers configuration of all aspects required by the routing engine.&nbsp; Files enables all route management, modification, backup and update to take place outside Toolpack webportal, using your favorite software.&nbsp; Once the files are ready, the are imported in the Toolpack system using WebPortal.&nbsp; The WebPortal also allows to export [http://en.wikipedia.org/wiki/Comma-separated_values CSV] files.<br>


=== Automated Route Management ===
=== CSV&nbsp;Files<br> ===
 
*The first row of a csv file is always the name of the column.&nbsp;
*File names are case insensitive.&nbsp;
*File content IS case sensitive.<br>
 
=== RouteSets.csv File<br> ===
 
This file is the list of all RouteSet names configured in the system.&nbsp; It's name is <u>''routesets.csv''</u>.<br>
 
For example:<br>
<pre>route_set_name
"Montreal, Qc"
"Toronto, On"
 
</pre>
=== ''Nap''.csv File<br> ===
 
There's one ''Nap.csv'' for each [[NAP|NAP]] configured in the system.&nbsp; Each file, is a list of ''number''-''routesetname'' pair for an outgoing [[NAP|NAP]].<br>
 
For example, here's NapSvcProviderA.csv<br>
<pre>number, route_set_name, remmaped_called, custom_1
 
</pre>
<br>
 
<br>
 
<br>
 
<br>
 
=== Automated Route Management ===

Revision as of 12:37, 7 January 2010

The digit analyzer is a pre-routing algorithm. It uses a non-linear searching algorithm to find the optimal set of routes with which routing will take place. All routes not required for routing the destination telephone number are therefore screened out. This greatly enhance performances and allows to support virtually any number of routes, since routing is always done on a limited set of routes, matching the destination telephone number.

RouteSet

A RouteSet is a group of possible routes for a given destination number. Each RouteSet is given a name and routes refers to the RouteSet by its name.
Each route in the RouteSet refers to a different NAP that can be used to reach the destination telephone number.

Example:

Let's say we have the following Service Providers, and to keep this simple, suppose we have configured one NAP per Service Provider.

SvcProviderA
Number Destination
55521 Montreal, Qc
55512 Montreal, Qc
55513 Vancouver, Bc
555131 Toronto, On
SvcProviderB
Number Destination
55521 Montreal, Qc
55512 Montreal, Qc
55513 Vancouver, Bc
SvcProviderC
Number Destination
55521 Montreal, Qc
55512 Montreal, Qc
555131 Toronto, On

All three Service Providers have access to "Montreal, Qc", but the rate may differs. So we clearly have three routes for "Montreal, Qc".

In other words, we have three routes grouped under a RouteSet named "Montreal, Qc".  In this case, the RouteSet is named after the destination city, but it could be anything.

CSV Database

The CSV database is composed of 4 groups of CSV files.  Those files covers configuration of all aspects required by the routing engine.  Files enables all route management, modification, backup and update to take place outside Toolpack webportal, using your favorite software.  Once the files are ready, the are imported in the Toolpack system using WebPortal.  The WebPortal also allows to export CSV files.

CSV Files

  • The first row of a csv file is always the name of the column. 
  • File names are case insensitive. 
  • File content IS case sensitive.

RouteSets.csv File

This file is the list of all RouteSet names configured in the system.  It's name is routesets.csv.

For example:

route_set_name
"Montreal, Qc"
"Toronto, On"

Nap.csv File

There's one Nap.csv for each NAP configured in the system.  Each file, is a list of number-routesetname pair for an outgoing NAP.

For example, here's NapSvcProviderA.csv

number, route_set_name, remmaped_called, custom_1





Automated Route Management