A location profile is a named set of normalization rules that translate phone numbers for a named location to a single standard (E.164) format for purposes of phone authorization and call routing. Beginning with Office Communications Server 2007 R2, location profiles can also be assigned to individual users. The same phone number dialed from different locations can resolve to different E.164 numbers, depending on the assigned location profile. Similarly, the same phone number dialed from the same location can resolve to different E.164 numbers if the numbers are dialed by users to whom different location profiles have been assigned.

In Office Communications Server 2007 R2:

Creating and configuring location profiles includes specifying the following:

A large organization may need a separate location profile for each location where it maintains an office. If your organization has a legacy PBX deployed, you can use its dial plan to create location profiles.

Note:
If you intend to configure Exchange Server 2007 UM to work with Enterprise Voice, we recommend that you do that before you create the location profiles. Each Exchange UM dial plan requires a corresponding location profile. If you use the same dial plan name in multiple Exchange forests, you must create a matching location profile specific to the UM dial plan FQDN for each forest. After creating location profiles, you must configure Office Communications Server to work with Exchange UM, as well as complete deployment and configuration of other components.

To create Exchange UM dial plans, you can use the OcsUMUtil tool, which is included with Office Communications Server 2007 R2, to validate the names of the corresponding location profiles. The tool does not correct invalid names, but it does identify each location profile name that does not match the FQDN of the corresponding UM dial plan. For details about the use of this tool and other planning and implementation information, see Step 3. Configure Communications Server to Work with Unified Messaging on Microsoft Exchange Serverin the Deploying Enterprise Voice documentation.

After creating location profiles for an Office Communications Server 2007 R2 Enterprise pool, you need to assign a default location profile for each Office Communications Server Front End Server pool, and Mediation Server (or Advanced Media Gateway). The Front End Server and pool use the translated number that is obtained by applying the normalization rules to determine the media gateways to which calls to the PSTN or a PBX are to be routed. The Mediation Server receives E.164 numbers from the gateway, uses the location profile to determine how to interpret the E.164 number for local dialing, and then routes the number to the next hop server for reverse lookup. You must configure the PSTN gateway to convert telephone numbers from a national format to the E.164 format before sending them to the Mediation Server.

For details about location profiles and how they are used, including routing logic, see Location Profilesin the Planning and Architecture documentation.

To create or configure a location profile

  1. Open the Office Communications Server 2007 snap-in.

  2. In the console pane, right-click the Forestnode, point to Properties, and click Voice Properties.

  3. On the Location Profilestab, click Addto create new location profiles, or click Editto edit existing profiles.

  4. In the Namebox, type a useful descriptive name.

    Important:
    If you are planning to configure Exchange Server Unified Messaging for Enterprise Voice but have not yet done so, configure it now. For details, see Step 1. Configure Unified Messaging on Microsoft Exchange to Work with Office Communications Serverin the Deploying Enterprise Voice documentation.
    Note:
    If you have configured Exchange Unified Messaging for Enterprise Voice and have completed Step 1. Configure Unified Messaging on Microsoft Exchange to Work with Office Communications Serverin the Deploying Enterprise Voice documentation, type the fully qualified domain name (FQDN) of the corresponding Exchange Unified Messaging dial plan.
    Note:
    This name must be unique and cannot exceed 256 Unicode characters, each of which can be an alphabetic or numeric character, a hyphen (-), a period (.), a plus sign (+), an underscore ( _ ), or either left or right parenthesis: ) or (.
  5. In the Descriptionbox, type the common, recognizable name of the geographic location to which the location profile applies.

    Note:
    For example, if the location profile name is London.Contoso.com, the recommended Descriptionis London. If you have deployed Conferencing Attendant, this description is included as part of the region information in the conferencing e-mail invitation.
  6. If you want to add an external access prefix, select the Optimize device dialingcheck box, and then in the External access prefixtext entry box, when it becomes active, type up to four characters (#, *, and 0-9) in this box.

  7. Click Addto open the Add Phone Number Normalization Ruledialog box, or Editto open the Edit Phone Number Normalization Ruledialog box.

  8. In the Namebox, type a name that describes the number pattern being normalized (for example, 5DigitExtensionor 7 digit calling Toronto).

  9. Do one of the following:

    • If you want to create a new normalization rule, skip this step and the following step.

    • If you want to copy the phone pattern and translation pattern of an existing normalization rule, click Copy rule.

  10. In the Copy Phone Number Normalization Ruledialog box, select the normalization rule that you want to copy, and then click OK.

    Note:
    If you want to view a normalization rule before copying it, select the rule, and then click View.
  11. In the Descriptionbox, type a brief description of the normalization rule (for example, "Translates 5-digit extensions" or "Translates 7-digit numbers to Toronto local number").

  12. In the Phone pattern regular expressionbox, use .NET Framework regular expressions to describe a phone number pattern (for example, ^9(\d{7})$, which describes a phone number pattern consisting of the number 9 followed by any seven digits).

    Note:
    For details about using .NET Framework regular expressions, see the.NET Framework Regular Expressions Web site at http://go.microsoft.com/fwlink/?LinkId=140927 .
  13. In the Translation pattern regular expressionbox, use .NET Framework regular expressions to describe the E.164 phone number corresponding to the number entered in the Phone pattern regular expressionbox.

  14. If the normalization rule results in a phone number that is internal to the enterprise, click Internal enterprise extension.

  15. If you do not want the rule to be applied when dialing from a device, clear Use translation when dialing from device.

  16. If you require assistance in formulating regular expressions for phone number normalization rules, click Launch guide.

  17. In the Sample dialed numberbox, type a phone number to test whether the number translation works properly.

    Note:
    If the number matches the phone pattern, the translation is shown in the Translated numberbox.
  18. If the translation matches the phone pattern, click OK.

  19. When you are done, click OK.

See Also

Other Resources

Step 2. Create Location Profiles