Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Translation Rules

 

Topic Last Modified: 2010-11-08

Microsoft Lync Server 2010 Enterprise Voice requires that all dial strings be normalized to E.164 format for the purpose of performing reverse number lookup (RNL). The trunk peer (that is, the associated gateway, PBX, or SIP trunk) may require that numbers be in a local dialing format. To translate numbers from E.164 format to a local dialing format, you can define one or more translation rules to manipulate the request URI before you route it to the trunk peer. For example, you could write a translation rule to remove +44 from the beginning of a dial string and replace it with 0144.

By performing outbound route translation on the server, you can reduce the configuration requirements on each individual trunk peer to manipulate phone numbers into a local dialing format. In planning which and how many gateways to associate with a given Mediation Server cluster, it may prove useful to group trunk peers with similar local dialing requirements so as to reduce the number of required translation rules and the time it takes to write them.

importantImportant:
Associating one or more translation rules with an Enterprise Voice trunk configuration is intended to be used as an alternative to configuring translation rules on the trunk peer. Do not associate translation rules with an Enterprise Voice trunk configuration if you have configured translation rules on the trunk peer, because the two rules might conflict.

The following examples of translation rules show how you can develop rules on the server to translate numbers from E.164 format to a local format for the trunk peer.

For details about how to implement translation rules, see Defining Translation Rules in the Deployment documentation.

 

Description Starting Digits Length Digits to Remove Digits to Add Matching Pattern Translation Example

Conventional long distance dialing in U.S.

(strip out the ‘+’)

+1

Exactly 12

1

0

^\+(1\d{10})$

$1

+14255551010 becomes 14255551010

U.S. International long-distance dialing

(strip out ‘+’ and add 011)

+

At least 11

1

011

^\+(\d{9}\d+)$

011$1

+441235551010 becomes 011441235551010

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.