Topic Last Modified: 2010-07-01
Follow the steps below if you want to create a new voice route. If you want to edit an existing route, see Modify a Voice Route for the procedure.
To create a voice route
-
Open Communications Server Control Panel.
-
In the left navigation bar, click Voice Routing.
-
Click the Route tab.
-
Click New to display the New Voice Route dialog box.
-
In the Name field, type in a descriptive name for the voice route.
-
(Optional) In the Description field, type in additional descriptive information for the voice route.
-
To specify the patterns you want this route to accommodate, you can either use the Build a pattern to match tool to generate a regular expression, or write the regular expression manually.
- To use the Build a pattern to match tool to generate a
regular expression, enter values as follows. You can specify two
types of pattern matching:
- Starting digits for numbers that you want to allow:
Enter prefix values that this route must accommodate (including the
leading + if needed). For example, type +425 and then click
Add. Repeat this for each prefix value that you want to
include in the route.
- Exceptions: If you want to specify one or more
exceptions for a prefix value, highlight the prefix and click
Exceptions. Type in one or more values for the matching
patterns that you do not want this route to accommodate. For
example, to exclude numbers starting with +425-237 from the route,
enter a value of +425-237 in the Exceptions field and
then click Add.
- Starting digits for numbers that you want to allow:
Enter prefix values that this route must accommodate (including the
leading + if needed). For example, type +425 and then click
Add. Repeat this for each prefix value that you want to
include in the route.
- To define the matching pattern manually, click Edit in
the Build a pattern to match tool and then type in a .NET
Framework regular expression to specify the matching pattern for
target phone numbers to which the route is applied. For information
about how to write regular expressions, see .NET Framework Regular Expressions.
- To use the Build a pattern to match tool to generate a
regular expression, enter values as follows. You can specify two
types of pattern matching:
-
Select Suppress caller ID if you do not want the ID of the phone making the outbound call to appear to the call recipient. If you select this option, you must specify an Alternate caller ID that will appear on the recipient’s caller ID display.
-
To associate one or more media gateways or SIP trunks with the voice route, click Add and then select a gateway or SIP trunk from the list.
Note: If your deployment includes any Microsoft Office Communications Server 2007 R2 Mediation Servers, they will also be available in the list. -
To associate one or more PSTN usage records with the voice route, click Select and choose a record from the list of PSTN usage records that have been defined for your Enterprise Voice deployment.
Note: To view the properties of each of the available PSTN usage records, see View PSTN Usage Records.
To create or edit PSTN usage records, see Create a Voice Policy and Configure PSTN Usage Records or Modify a Voice Policy and Configure PSTN Usage Records. -
Arrange the PSTN usage records for optimum performance. To change a record’s position in the list, highlight the record name and click the up or down arrow.
Note: The order in which PSTN usage records are listed in the voice route is significant. Communications Server traverses the list from the top down. We recommend that you organize the list by frequency of use, for example: RedmondLocal, RedmondLongDist, RedmondInternational, RedmondBackup. -
(Optional) Type a value into the Enter a translated number to test field and click Go. The test results are displayed below the field.
Note: You can save a voice route that does not yet pass the test and then reconfigure it later. For more information, see Test Voice Routing. -
Click OK to save the voice route.
Any time you create a voice route, you must run the Commit All command to publish the configuration change. For more information, see Publish Pending Changes to the Voice Routing Configuration.