IMG 1010 - Digit Matching

 

The IMG uses digit matching for number selection and validation. The IMG matches on a specific digit string such as dialed number or originating number. Digit Matching is available for all types of Translation Tables. When you create a Translation Table that includes more than one entry, the IMG selects the most specific digit string match.

When the IMG receives a call, it searches the entries in the specified Translation Table until it finds a match for the digit string and all applicable call parameters (based on the values in the String to Match and String fields). When it finds a match, the IMG performs the associated translation or error detection.

To prevent unmatched calls from failing, define a match string for each Translation Table that will match all numbers. For example: &.

 

Sort Order in Translation Tables and Routing Tables

Dialed number strings in Translation Tables and Route Tables are sorted according to the following rules:

  • from highest number to lowest (from 9 to 0)

  • from most specific to least specific (for example, 9 comes before 9&)

  • from shortest to longest on identical matches (for example, 99 comes before 999)
     

Example Route Table Entries

The following example shows actual entries in a route table as they would be sorted.

Entry 2  - Dialed Number,8888
Entry 18 - Dialed Number,8331
Entry 19 - Dialed Number,5828

 

Digit Matching Examples

The table below shows several matching examples. The first column of the table displays the match strings in a Translation Table. The second column shows the incoming numbers, the third column shows the match string from the Translation Table that the IMG uses to match the number, and the fourth column explains why the number matches.

Translation Table Match Strings

Number to be Matched

 Matching String

Explanation

Translation Table Match Strings

Number to be Matched

 Matching String

Explanation

5088623200

5088623200

5088623200

exact match

5088623000

5087783000

508XXX3000

No exact match, but the first three digits are 508, the next three can be any value and the last three digits are 3000

508862&

5088622400

508862&

No exact or more specific match, but the first six digits are 508862 and the remaining digits can be any value

508XXX3000

5083859999

508&

No exact or more specific match, but the first three digits are 508 and the remaining digits can be any value

508&

5088623000

5988623000

exact match 

 

Return to Documentation Home I Return to Sangoma Support