Enterprise Voice routes specify how Office Communications Server 2007 R2 handles outgoing calls placed by Enterprise Voice users. These routes associate target phone numbers with particular media gateways and phone usage records. Office Communications Server 2007 R2 maintains a table of outbound call routes. When a user places a call, the server, if necessary, normalizes the phone number to E.164 format and attempts to match it to a SIP-URI. If the server is unable to make the match, it applies outgoing call routing logic based on the number. You define that logic in the form of a separate route for each set of target phone numbers that are listed in the location profile for each location.

When Office Communications Server determines that a dialed number needs to be routed to a PSTN gateway, the routing table is queried to determine the optimal gateway for the call. The dialed number and the policy of the calling user (or the user who transfers the call) determine the gateway to which the call should be routed. The ability to specify the PSTN gateways to which various numbers are routed enables you to determine which routes incur the lowest costs and implement them accordingly. Typically, you specify gateways by choosing the one closest to the location of the destination number in order to minimize long-distance charges. For example, if you are in New York and calling a number in Rome, you would carry the call over the IP network to the gateway in your Rome office, thereby incurring a charge only for a local call.

Configuring outbound call routing consists of instructing Office Communications Server how to route calls from Enterprise Voice users to phone numbers on the PSTN or a PBX. These routes populate the routing table, which embodies the outbound call routing logic that is followed by the server for PBX and PSTN numbers. An Enterprise Voice Route consists of:

To add a route, you must have previously deployed at least one media gateway or SIP trunk and, if necessary, Mediation Server, as well as a location profile and phone usage record. For a route to work, numbers routed to a gateway must be localized at the gateway, using the gateway’s administrative interface. For details about routes and how to plan for and implement specific routes, such as failover routes and other types of routes for specific purposes, see the Deploying Enterprise Voicedocumentation and Planning for Voicein the Planning and Architecture documentation.

To create an outbound route

  1. On a Front End Server that has the Office Communications Server 2007 R2 administrative tools installed, open the Office Communications Server 2007 R2 snap-in.

  2. Right-click the Forestnode, point to Properties, and then click Voice Properties.

  3. Click the Routestab.

  4. On the Routestab, click Add.

  5. In the Add Routedialog box, in the Namebox, type a unique name for the new call route.

  6. In the Descriptionbox, type an optional description of the new call route.

  7. In Target phone numbers, use .NET framework regular expressions to describe the pattern of the phone numbers that are to use this route. To specify a target regular expression for target phone numbers, specify a combination of symbols and variables that represent the target numbers and their dialing patterns. For assistance, including a sample values, click Helper.

  8. To add a media gateway or Mediation Server to the Gatewayslist, click Add.

  9. In the Add Route Gatewaydialog box, in the Select the Gateway Addressdrop-down list box, click the Mediation Server or Advanced Media Gateway to be added, and then click OK. The gateways and/or Mediation Servers that are correctly installed and configured appear in this list.

  10. To add a phone usage record to this call route, in the Add Routedialog box, under Phone Usages, click Configure.

  11. In the Configure Phone Usage Recordsdialog box, do the following:

    • To add a phone usage record to the Configuredlist, click the phone usage record in the Availablelist, and then click the right arrow. To add a phone usage record to a route, you must have previously defined at least one phone usage record.

    • To remove a phone usage record from the Configuredlist, click it, and then click the left arrow.

  12. When you are finished, click OK. The phone usages you added now appear in the list of Phone usage recordsin the Add Routeor Edit Routedialog boxes.