Topic Last Modified: 2012-11-01

Complete the following steps if you want to create or modify a normalization rule in Lync Server Control Panel. Alternatively, if you want to create or modify a normalization rule manually, see Create or Modify a Normalization Rule Manually.

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. (Optional) Follow the steps in Create a Dial Plan through step 11 or Modify a Dial Plan through step 10.

  4. In New Normalization Rule or Edit Normalization Rule, type a name that describes the number pattern being normalized in Name (for example, 5DigitExtension).

  5. (Optional) In Description, type a description of the normalization rule (for example, "Translates 5-digit extensions").

  6. In Build a Normalization Rule, enter values in the following fields:

    • 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.

    • 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.

    • Digits to remove   (Optional) Specify the number of starting digits to be removed from dialed numbers you want the pattern to match.

    • 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:


  7. 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.

  8. (Optional) If the normalization rule results in a phone number that is internal to your organization, select Internal extension.

  9. (Optional) Enter a number to test the normalization rule, and then click Go. The test results are displayed under Enter a number to test.

    You can save a normalization rule that does not yet pass the test and then reconfigure it later. For details, see Test Voice Routing.
  10. Click OK to save the normalization rule.

  11. Click OK to save the dial plan.

  12. On the Dial Plan page, click Commit, and then click Commit all.

    Whenever you create or change a normalization rule, you must run the Commit all command to publish the configuration change. For details, see Publish Pending Changes to the Voice Routing Configuration in the Operations documentation.

See Also