Topic Last Modified: 2011-05-15

If you want to integrate Exchange Unified Messaging (UM) with Lync Server 2010, you must perform the tasks described in this topic. Also ensure that you review the planning and deployment best practices described in Guidelines for Integrating On-Premises Unified Messaging and Lync Server 2010. This topic assumes that you have deployed Lync Server 2010 with a collocated Mediation Server and that you have enabled users for Lync Server, but not necessarily that you have performed all deployment and configuration steps to enable Enterprise Voice as described in Deploying Enterprise Voice in the Deployment documentation.

Unified Messaging Integration Process

Important:
It is important that you coordinate with your organization’s Exchange administrators to confirm the tasks that each of you will perform to assure a smooth, successful integration.

Phase Steps Required groups and roles Deployment documentation

Deploy one of the following:

  • Microsoft Exchange Server 2007 Service Pack 1 (SP1) or latest service pack

  • Microsoft Exchange Server 2010 or latest service pack

Install the following Exchange Server roles in either the same forest or a different forest as Lync Server 2010:

  • Unified Messaging

  • Hub Transport

  • Client Access

  • Mailbox

Warning:
If Lync Server and Exchange Unified Messaging (UM) are installed in different forests, configure each Exchange forest to trust the Lync Server forest.

Enterprise administrators (if this is the first Exchange Server in the organization)

-OR-

Exchange Organization administrator (if this is not the first Exchange Server in the organization)

See the appropriate documentation for your version of Exchange Server:

Create and configure a new Exchange UM SIP dial plan.

On the Exchange UM server, create a SIP dial plan based on your organization’s specific deployment requirements, and then associate the Unified Messaging servers and users with the appropriate SIP dial plan.

Exchange Organization administrator

For Exchange 2007 SP1 or latest service pack, see "How to Create a Unified Messaging SIP URI Dial Plan" at http://go.microsoft.com/fwlink/?LinkId=185771.

For Exchange 2010 or latest service pack, see "Create a UM Dial Plan" at http://go.microsoft.com/fwlink/?LinkId=186177.

Install certificates.

Download and install certificates for each Exchange UM server from a trusted root CA. The certificates are required for mutual TLS (MTLS) between the servers running Exchange UM and Lync Server.

Administrators

Configure Certificates on the Server Running Microsoft Exchange Server Unified Messaging

Configure security settings for the Exchange UM SIP dial plan.

To encrypt Enterprise Voice traffic, configure the security settings on the Exchange UM SIP dial plan as SIP Secured or Secured. This is an especially important step if you have deployed or plan to deploy Lync 2010 Phone Edition devices in your environment. For Lync 2010 Phone Edition devices to function in an environment with Exchange UM integration, Lync Server encryption settings must align with the Exchange UM dial plan security settings. For details, refer to the Deployment documentation.

Exchange Organization administrator

Configure Unified Messaging on Microsoft Exchange

For Exchange 2007 SP1 or latest service pack, see also:

"How to Configure Security on a Unified Messaging Dial Plan" at http://go.microsoft.com/fwlink/?LinkId=185773.

For Exchange 2010 or latest service pack, see also:

"Configure VoIP Security on a UM Dial Plan" http://go.microsoft.com/fwlink/?LinkId=186190.

Add Unified Messaging servers to the Exchange UM SIP dial plan.

To enable a newly installed Unified Messaging server to answer and process incoming calls, you must add the Unified Messaging server to a UM dial plan. In this case, add the server to the Exchange UM SIP dial plan.

Administrators

Exchange Server administrators

For Exchange 2007 SP1 or latest service pack, see "How to Add Unified Messaging Server to a Dial Plan" at http://go.microsoft.com/fwlink/?LinkId=185776.

For Exchange 2010 or latest service pack, see "View or Configure the Properties of a UM Server" at http://go.microsoft.com/fwlink/?LinkId=186193.

Configure mailboxes with SIP addresses.

Assign SIP addresses to the mailboxes of Enterprise Voice users who will be using Exchange UM features.

Lync Server administrator

Exchange Recipient administrator

For Exchange 2007 SP1 or latest service pack, see "How to Add, Remove, or Modify a SIP Address for a UM-Enabled User" at http://go.microsoft.com/fwlink/?LinkId=185779.

For Exchange 2010 or latest service pack, see "Modify a SIP Address for a UM-Enabled User" at http://go.microsoft.com/fwlink/?LinkId=203148.

Run the exchucutil.ps1 script.

On the Exchange UM server, open the Exchange Management Shell and run the exchucutil.ps1 script, which does the following:

  • Grants Lync Server permission to read Exchange UM Active Directory Domain Services (AD DS) objects, specifically, the SIP dial plans created in the previous task.

  • Creates a Unified Messaging IP gateway object in Active Directory for each Lync Server Enterprise Edition pool or Standard Edition server that hosts users who are enabled for Enterprise Voice.

  • Creates an Exchange UM hunt group for each gateway. The hunt group pilot identifier will be the name of the dial plan that is associated with the corresponding gateway. These need to be mapped 1:1 if there is more than one dial plan.

Exchange Organization administrator

Exchange Recipient administrator

Configure Unified Messaging on Microsoft Exchange

Configure Lync Server dial plans.

If you are integrating with Exchange 2007 SP1 or latest service pack, or Exchange Server 2010, create a new Enterprise Voice dial plan with a name that matches the Exchange UM dial plan FQDN.

If you are integrating with Exchange Server 2010 SP1, ensure that suitable global/site-level or pool-level Enterprise Voice dial plans have been configured.

Note:
If you are integrating with Exchange Server 2010 SP1, the Lync Server dial plan and Exchange UM SIP dial plan names do not need to match.

RTCUniversalServerAdmins

Configuring Dial Plans and Normalization Rules

Run the Exchange UM Integration tool.

On the Lync Server, run ocsumutil.exe, which:

  • Creates Subscriber Access and Auto Attendant contact objects.

  • Validates that there is an Enterprise Voice dial plan with a name that matches the Exchange UMdialplan.FQDN. If you are running Exchange Server 2010 SP1, the dial plan names do not need to match, and you can ignore the tool’s warning about this.

This tool works by scanning the Active Directory for Exchange UM settings and allowing the Lync Server administrator to view, create, and edit contact objects.

RTCUniversalServerAdmins and RTCUniversalUserAdmins

Important:
To run ocsumutil.exe successfully, the user must belong to both of these groups.
Note:
To create Contact objects, the user who runs ocsumutil.exe must have the correct permission to the Active Directory organizational unit (OU) where the new contact objects are stored. This permission can be granted by running the Grant-CsOUPermission cmdlet. For details, see the Lync Server Management Shell documentation.

Configure Lync Server 2010 to Work with Unified Messaging on Microsoft Exchange Server

If necessary, perform other Enterprise Voice configuration steps.

If you have not already configured Enterprise Voice settings on your servers or users, do one or more of the following:

  • Deploy and configure PSTN gateways and Mediation Servers

  • Define voice policies, PSTN usage records, and outbound call routes.

  • Enable users for Enterprise Voice.

  • Optionally, configure specific users with dial plans.

Other configuration steps may be required depending on the Enterprise Voice features that you enable.

RTCUniversalServerAdmins

RTCUniversalUserAdmins

See topics in the following sections:

Enable Enterprise Voice users for Exchange UM.

On the Exchange UM server, ensure that a Unified Messaging mailbox policy has been created and that each user has a unique extension number assignment, and then enable the user for Unified Messaging.

Exchange Recipient administrator

For Exchange 2007 SP1 or latest service pack, see "How to Enable a User for Unified Messaging" at http://go.microsoft.com/fwlink/?LinkId=185787.

For Exchange 2010 or latest service pack, see "Enable a User for Unified Messaging" at http://go.microsoft.com/fwlink/?LinkId=186200.