[This is pre-release documentation and subject to change in future releases. This topic's current status is: Milestone-Ready]

Topic Last Modified: 2010-07-01

Follow the steps below if you want to create or modify a normalization rule by using the Build a Normalization Rule tool. Alternatively, if you want to create or modify a normalization rule manually, see Create or Modify a Normalization Rule Manually for the procedure.

Important:
To define a normalization rule, follow the procedure to create or edit a dial plan and create or edit a normalization rule as explained in those procedures. For more information, see Create a Dial Plan or Modify a Dial Plan.

To define a rule by using the Build a Normalization Rule tool

  1. In the New Normalization Rule or Edit Normalization Rule dialog box, type a name in the Name field that describes the number pattern being normalized. For example, name the normalization rule 5DigitExtension.

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

  3. In the Build a Normalization Rule section of the dialog box, enter values in the following fields:

    • Starting digits: You can optionally specify the leading digits of dialed numbers you want the pattern to match. For example, enter 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: You can optionally specify the number of starting digits to be removed from dialed numbers you want the pattern to match.

    • Digits to add: You can optionally specify digits to be added to dialed numbers you want the pattern to match.

    The values you enter in these fields are reflected in the Pattern to match and Translation rule fields. For example, if you leave the Starting digits field empty, type 7 into the Length field and select Exactly in the drop-down menu, and specify 0 in the Digits to remove field, the resulting regular expression in the Pattern to match is:

    ^(\d{7})$

  4. The Translation rule field specifies a pattern for the format of translated E.164 phone numbers. This pattern has two parts:

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

    • You can optionally type a value into the Digits to add field to specify digits to be prepended to the translated number, for example +1425.

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

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

  6. (Optional) Enter a number to test the normalization rule and then click Go. The test results are displayed below the Enter a number to test field.

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

  8. Click OK to save the dial plan.

Any time you create or modify a normalization rule, you must run the Commit All command to publish the configuration change. For more information, see Publish Pending Changes to the Voice Routing Configuration.

See Also