ZHire Account Provisioning App
Automate AD / Exchange / Lync
accounts. Free Download



Lync 2010 Dial Plans and Normalization Rules Explained

 

A Lync 2010 dial plan is a named set of normalization rules that translate phone numbers for a named location, individual user, or contact object for purposes of phone authorization and call routing.

 

To create a new dial plan, perform the steps in the following procedure.

How to create a dial plan:

  1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions.
  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
  3. In the left navigation bar, click Voice Routing and then click Dial Plan.
  4. On the Dial Plan page, click New and select a scope for the dial plan:
    • Site dial plan applies to an entire site, except any users or groups that are assigned to a user dial plan. If you select Site for a dial plan’s scope, you must choose the site from the Select a Site dialog box. If a dial plan has already been created for a site, the site does not appear in the Select a Site dialog box.
    • Pool dial plan can apply to a public switched telephone network (PSTN) gateway or a Registrar. If you select Pool for a dial plan’s scope, choose the PSTN gateway or Registrar from the Select a Service dialog box. If a dial plan has already been created for a service (PSTN gateway or Registrar), the service does not appear in the list.
    • User dial plan can be applied to specified users or groups.
  5. If you are creating a user dial plan, enter a descriptive name in the Name field on the New Dial Plan dialog box. After this name is saved, it cannot be changed.
  6. The Simple name field is prepopulated with the same name that appears in the Name field. You can optionally edit this field to specify a more descriptive name that reflects the site, service, or user to which the dial plan applies.
  7. (Optional) In the Description field, you can type additional descriptive information about the dial plan.
  8. (Optional) If you want to use this dial plan as a region for dial-in access numbers, specify a Dial-in conferencing region. If you do not want to use this dial plan for dial-in access numbers, leave this field empty.
  9. (Optional) In the External access prefix field, specify a value only if users need to dial one or more additional leading digits (for example, 9) to get an external line. You can type in a prefix value of up to four characters (#, *, and 0-9).
  10. Associate and configure normalization rules for the dial plan as follows:
    • To choose one or more rules from a list of all normalization rules available in your Enterprise Voice deployment, click Select. In Select Normalization Rules, highlight the rules you want to associate with the dial plan and then click OK.
    • To remove a normalization rule from the dial plan, highlight the rule name and click Remove.
  11. Verify that the dial plan’s normalization rules are arranged in the correct order. To change a rule’s position in the list, highlight the rule name and then click the up or down arrow.
    The default Prefix All normalization rule ^(\d{11})$ matches any 11-digit number. For example, if you add a normalization rule that matches 11-digit numbers that start with 1425, make sure that Prefix All is sorted below the more restrictive ^(1425\d{7})$ rule.
  12. (Optional) Enter a number to test the dial plan and then click Go. The test results are displayed under  Enter a number to test.
  13. Click OK.
  14. On the Dial Plan page, click Commit, and then click Commit all.

 

 

Lync 2010 Normalization Rules
Lync 2010 normalization rules use .NET Framework regular expressions to translate dialed phone numbers to E.164 format. Each dial plan must be assigned one or more normalization rules.

You can use either of the following methods to define or edit a normalization rule:

 

How to Create or Modify a Normalization Rule by Using Build a Normalization Rule
Complete the following steps if you want to create or modify a normalization rule by using Build a Normalization Rule in MSLync 2010 Control Panel.

How to define a rule by using Build a Normalization Rule:

  1. Log on to the computer as a member of the RTCUniversalServerAdmins group, or as a member of the CsVoiceAdministrator, CsServerAdministrator, or CsAdministrator role. For details, see Delegate Setup Permissions.
  2. Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
  3. In New Normalization Rule or Edit Normalization Rule, type a name that describes the number pattern being normalized in Name (for example, 5DigitExtension).
  4. (Optional) In Description, type a description of the normalization rule (for example, "Translates 5-digit extensions").
  5. In Build a Normalization Rule, enter values in the following fields:
    1. Starting digits   (Optional) Specify the leading digits of dialed numbers you want the pattern to match. For example, type 425 if you want the pattern to match dialed numbers beginning with 425.
    2. Length   Specify the number of digits in the matching pattern and select whether you want the pattern to match this length exactly, match dialed numbers that are at least this length, or match dialed numbers of any length.
    3. Digits to remove   (Optional) Specify the number of starting digits to be removed from dialed numbers you want the pattern to match.
    4. Digits to add   (Optional) Specify digits to be added to dialed numbers you want the pattern to match.

      The values you enter in these fields are reflected in Pattern to match and Translation rule. For example, if you leave Starting digits empty, type 7 into the Length field and select Exactly, and specify 0 in Digits to remove, the resulting regular expression in the Pattern to match is:
      ^(\d{7})$

  6. In Translation rule, specify a pattern for the format of translated E.164 phone numbers as follows:
    • A value that represents the number of digits specified in the matching pattern. For example, if the matching pattern is ^(\d{7})$ then $1 in the translation rule represents 7-digit dialed numbers.
    • (Optional) Type a value into the Digits to add field to specify digits to be prepended to the translated number, for example +1425.

    For example, if Pattern to match contains ^(\d{7})$ as the pattern for dialed numbers and Translation rule contains +1425$1 as the pattern for E.164 phone numbers, the rule normalizes 5550100 to +14255550100.

  7. (Optional) If the normalization rule results in a phone number that is internal to your organization, select Internal extension.
  8. (Optional) Enter a number to test the normalization rule and then click Go. The test results are displayed under Enter a number to test.
  9. Click OK to save the normalization rule.
  10. Click OK to save the dial plan.
  11. On the Dial Plan page, click Commit, and then click Commit all.