Digit Translations

 

Digit translation enables the IMG 2020 the ability to modify an incoming or outgoing number or parameter. Below are a few reasons that translations are performed:

  • Adding or removing national or international indicators or carrier codes.

  • Normalizing calls to the same dialing plan.

  • Handling non-standard parameter values from a service provider.

  • Changing a parameter value based on the value in another parameter.

  • Rearranging the sequence of digits in a number.

When the field Type of Operation in either the Incoming or Outgoing Translation Table Entry is set to Translation, the IMG 2020 will match and translate the incoming number. The IMG 2020 can also translate a parameter value to a different value. Below are a few of the numbers and parameters that can be translated:

  • Dialed Number

  • Originating Number

  • Generic Number

When the IMG 2020 translates digit strings, it uses a translation mask that the user defines. It can also use digits from a secondary digit string to provide a portion of the translated string. For example, if you configure the IMG 2020 to translate the dialed number, the user can specify that a segment of the translated dialed number is to come from the originating number.

Translation Examples

Translating an incoming number uses the digit matching and digit translation process. When a call is received on an incoming channel group, for the information within the call to be translated the info must first be matched using the digit matching process and once matched it must be translated. The table below displays examples of an incoming and needs to be translated.

Incoming Digit String - The parameter in the incoming call that needs to be matched on and translated. Can be Dialed Number Parameter, Originating Number Parameter, or Generic Number Parameter.

Matched String - The matched string is the sequence of numbers the IMG 2020 will be looking to match on. The matched string sequence is entered into the String field in the translation table entry object in the Web GUI.

Translation String - After the String field in the Web GUI finds a matching entry the IMG 2020 uses the sequence of numbers entered in one of the translation fields (Dialed, Originating, or Generic) to translate the matched.

Description - A short description of what occurs during the process.

Result - The result field displays the result of the translated number. The translated number will be routed out an outgoing channel group.

 

Incoming digit string

Matched String

Translation String.

Description

Result

Incoming digit string

Matched String

Translation String.

Description

Result

6032253066

6032253066

1&

Insert 1 before the incoming string.

16032253066

6032253066

603&

011603&

Replace the digits to the left of the & (603) with 011603

0116032253066

6032253066

603&

&

Remove the digits to the left of the &

2253066

6032253066

603&

508&

Replace the digits to the left of the & (603) with 508

5082253066

92253066

9&

603&

Replace the digit to the left of the & (9) with 603

6032253066

6032253066

6032253066

6035551212

Replace the digits in the matched string with the digits in the translation string

6035551212

6032253066

603&

&11

Remove the digits to the left of the & (603) and append 11 to the end of the number

225306611

8005551212

800555&

&

Remove all digits to the left of the & (800555)

1212

8002221212

800XX&

&

Remove all digits to the left of the & (80022)

21212

5085551212

508XXX&

&603XXX

Remove all digits to the left of the & (508555) and then append 603 and the original digits represented by XXX (555) to the end of the number

1212603555

15553030

X555YYYY

YYYY555X

Move the first digit (1) to the end of the number and move the last four digits (3030) to the beginning of the number

30305551

15088623000

XYYYZZZ&

XZZZYYY&

Transpose the digits represented by YYY (508) and those represented by ZZZ (862)

18625083000

6169991#

&#

&

Remove the terminating character

6169991

Refer to the Configure Digit Matching and Translation topic for more information on how to configure.

 

Return to Documentation Home I Return to Sangoma Support