Normalization Rules for Dial Plan

 

Create normalization rules for the dial plan created in the previous section, Dial Plan for Hybrid Voice Users. Skip this step if you plan to apply an existing set of normalization rules to your hybrid voice users, instead of creating new normalization rules. Perform this procedure at the on-premise central site.

Using Windows PowerShell command-line interface to create normalization rules

  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. In the Lync Server Management Shell, type the following commands, replacing the placeholders with the correct information for your organization:

    New-CSVoiceNormalizationRule -Identity <Tag> -Pattern <RegEx String> -Translation <RegEx String>
    

    For example:

    New-CSVoiceNormalizationRule -Identity tag:HybridVoiceDialplan/7Digit -Pattern '^(\d{7})$' -Translation '+1425$1'
    New-CSVoiceNormalizationRule -Identity tag:HybridVoiceDialplan/10Digit -Pattern '^(\d{10})$' -Translation '+1$1'
    New-CSVoiceNormalizationRule -Identity tag:HybridVoiceDialplan/11Digit -Pattern '^(\d{11})$' -Translation '+$1'