Lync Server 2010: Configuring Lync and Exchange UM Integration
Lync Server 2010: Configuring Lync and Exchange UM Integration
Table of Contents
Lync Server 2010: Configuring Lync and Exchange UM Integration .......................................... 1
Exercise 1 Configuring Exchange Server 2010 SP1 Unified Messaging to Work with Lync Server 2010 Enterprise Voice ..............................................................................................................................................................................2 Exercise 2 Configuring Lync Server 2010 Enterprise Voice to Work with Exchange Server 2010 Unified Messaging ...4 Exercise 3 Using Lync Server 2010 and Exchange Server 2010 SP1 Unified Messaging ................................................6
Scenario
As the administrator for Contoso, you want to integrate your current existing deployment of Lync Server 2010 with Microsoft Exchange Server 2010 SP1 Unified Messaging to further take advantage of the voice features of Lync Server 2010 and Exchange Server 2010 SP1. You have already installed and configured the Unified Messaging server role and will now make the necessary configuration changes. 90 Minutes
EX01
LS-SE
Client01 - Ayla
Client01 - Peter The password for the Administrator account on all computers in this lab is: pass@word1
Page 1 of 7
Exercise 1 Configuring Exchange Server 2010 SP1 Unified Messaging to Work with Lync Server 2010 Enterprise Voice
Scenario
In this exercise, you will go through the steps of configuring Exchange Server 2010 SP1 UM integration with Lync Server 2010. The steps involved are: Create and edit a UM dial plan Associate the Exchange Server with the new dial plan Create and configure a UM auto attendant Run the EXCHUCUTIL.PS1 script
First, you will configure Exchange Server 2010 SP1 Unified Messaging to work with Lync Server 2010. This includes creating and configuring a dial plan, associating the UM dial plan with the UM server, creating an auto attendant, and running the EXCHUCUTIL.PS1 script. You will also set the UM IP gateway to use port 5061. Tasks Complete the following tasks on: Detailed Steps
a. On EX01, click Start, click All Programs, click Microsoft Exchange Server 2010,
EX01
1. Create a new
Exchange On-Premises, click Organization Configuration, and then click Unified Messaging.
d. In the Actions pane, click New UM Dial Plan. e. In the New UM Dial Plan wizard, on the New UM Dial Plan page, in the Name
g. In the URI Type drop-down list, click SIP URI. h. In the VoIP security drop-down list, click Secured. i. j. l. 2. Edit the Redmond
In the Country/Region code field, type 1 and then click Next. On the Set UM Server page, click Add. On the New UM Dial Plan page, click New.
k. On the Select UM Server window, click EX01, click OK, and then click Next. m. On the Completion page, click Finish. a. On EX01, in the Exchange Management Console, on the UM Dial Plans tab, right-
UM dial plan
Add.
d. Click the Dialing Rule Groups tab. e. Under In-Country/Region Rule Groups, click Add. f.
On the Dialing Rule Entry page, in the Name field, type All Calls
g. In the Number mask and Dialed number fields, type * (asterisk character). h. In the Comment field, type Allow all calls and then click OK twice.
Page 2 of 7
Detailed Steps
a. On EX01, in the Exchange Management Console, click the UM Mailbox Policies
default policy
tab.
b. Right-click Redmond Default Policy and then click Properties. c. On the Redmond Default Policy Properties page, click the Dialing Restrictions tab. d. Under Select allowed in-country/region rule groups from dial plan, click Add. e. On the Select Allowed In-Country/Region Groups page, select All Calls, and then
click OK twice.
4. Associate the UM a. On EX01, in the Exchange Management Console, expand Server Configuration,
On the EX01 Properties page, click OK. Configuration, click Unified Messaging, and then, in the Actions pane, click New UM Auto Attendant.
attendant
b. On the New UM Auto Attendant page, in the Name field, type Contoso_AA c. Under Select associated dial plan, click Browse. d. On the Select Dial Plan page, click Redmond, and then click OK. e. In the Pilot identifier list field, type +12065554000 and then click Add. f.
Select the Create auto attendant as enabled and Create auto attendant as speech-enabled check boxes and then click New.
g. On the Completion page, click Finish. h. Leave the Exchange Management Console running. 6. Run ExchUCUtil.ps1 a. On EX01, click Start, click All Programs, click Microsoft Exchange Server 2010,
of the UM IP gateway
Page 3 of 7
Exercise 2 Configuring Lync Server 2010 Enterprise Voice to Work with Exchange Server 2010 Unified Messaging
Scenario
In this exercise, you will configure Lync Server 2010 integration with Exchange Server 2010 Unified Messaging. The steps involved are: Run the OCSUMUTIL.EXE integration tool Configure inbound normalization rules on the global dial plan Restart the UM service
First, you will go through the steps of creating a location profile and phone number normalization rules. You will then run the OcsUMUtil.exe tool to create contact objects in Lync Server 2010. Tasks Complete the following tasks on: Detailed Steps
a.
LS-SE
1. Use OCSUMUTIL to
c. Type OcsUMUtil.exe and then press ENTER. d. Wait for the tool to load. e. In the Exchange UM Integration Utility, click Load Data. f.
g. Notice that there is an error stating that there is no corresponding contact object h. Close the Exchange UM Integration Utility. i. j. l.
At the command prompt, type OcsUMUtil /domain:contoso.com and then press ENTER. Wait for the tool to finish. You can safely ignore any warnings. Wait for the tool to load.
k. Type OcsUMUtil.exe and then press ENTER. m. In the Exchange UM Integration Utility, click Load Data. n. Under SIP Dial Plans, click the dial plan listed. o. Notice that the error is now gone because the contact objects now exist. p. Close the Exchange UM Integration Utility. q. Close the command prompt.
Page 4 of 7
Detailed Steps Note: The Global dial plan is used by any user who has not been assigned a dial plan, and also for inbound number normalization. You will now configure rules to allow inbound calls for the Auto Attendant and Subscriber Access Number to be correctly normalized.
a. On LS-SE, in the Lync Server Control Panel, in the navigation pane, click Voice
normalization for the Auto Attendant and the Subscriber Access Number.
Routing.
b. On the Dial Plan tab, in the content area, double-click Global. c. On the Associated Normalization Rules toolbar, click New. d. On the New Normalization Rule page, in the Name Field, type Auto Attendant e. In the Starting digits field, type 2065554000 f.
In the Length: drop-down menu, click Exactly, and use the arrows to select 10.
g. Verify that the Digits to remove: spinner is set at 0. h. In the Digits to add: field, type 1 to make the value +1. i. j. l.
Scroll down to the Dialed number to test field, type 2065554000 and then click Go. The number should normalize to +12065554000. Back on the Edit Dial Plan page, in the Associated Normalization Rules toolbar, click New. Number
k. Click OK.
m. On the New Normalization Rule page, in the Name Field, type Subscriber Access n. In the Starting digit field, type 2065554999 o. In the Length drop-down menu, click Exactly, and use the arrows to select 10. p. Verify that the Digits to remove: spinner is set at 0. q. In the Digits to add: field, type 1 to make the value +1 r. Scroll down to the Dialed number to test field, type 2065554999 and then click
Go.
s. The number should normalize to +12065554999. Click OK. t. Back on the Edit Dial Plan page, in the Associated Normalization Rules table,
select the two rules you just created and click the arrow to move these rules to the top of the list. Click OK.
u. Click the Commit drop-down menu and then click Commit All. v. On the Uncommitted Voice Configuration Settings page, click Commit. w. At the Lync Server Control Panel prompt, click Close. a. Switch to EX01 and the Exchange Management Shell. b. At the PS Prompt, type the following and then press ENTER: Restart-Service MSExchangeUM c. This will force Exchange Server 2010 SP1 Unified Messaging to read the new
EX01
3. Restart the Unified
Page 5 of 7
Exercise 3 Using Lync Server 2010 and Exchange Server 2010 SP1 Unified Messaging
Scenario
In this exercise, you will experience the integration of Lync Server 2010 and Exchange Server 2010 SP1 Unified Messaging. You will enable users for Enterprise Voice and UM and will view some of the available features. Tasks Complete the following task on: Detailed Steps
a. On LS-SE, switch to the Lync Server Control Panel, and then click Users. b. On the Users container, click Find. c. In the Results pane, double-click Spencer Low. d. On the Telephony drop-down menu, verify that Enterprise Voice is selected.
LS-SE
1. Verify users are
configured for Lync Server 2010 Enterprise Voice Complete the following task on:
The Dial Plan policy drop-down list should have Redmond.Contoso.com selected.
g. Click OK if any changes were made, Cancel if not. h. Repeat these steps for Ayla Kol, with a Line URI of tel:+12065554049 a. On EX01, in the Exchange Management Console, expand Recipient Configuration,
Unified Messaging
click OK.
e. Under PIN Settings, select Manually specify PIN, in the PIN field, type 425206 and
On the Extension Configuration page, click the Manually-entered mailbox extension radio button, in the field, type 4009 and then click Next.
g. On the Enable Unified Messaging page, click Enable. h. On the Completion page, click Finish. i.
Repeat steps b through h for Ayla Kol using the extension 4049, and also for Peter Houston using the extension 4010.
a. You will now see that UM integration with Lync Server 2010 is complete. b. On the LS-SE Remote Desktop session, in Lync 2010, click the Phones tab. c. On the Dial Pad, click 1 and hold for 3 seconds. This will automatically dial UM
take a moment to connect. You may need to sign out and then back in to Lync 2010.
e. Follow the voice prompts to set up Spencer Lows voice mailbox.
Use the dial pad in Lync 2010 to navigate the Unified Messaging voice mail system, and then hang up. voice mailbox.
g. In Lync 2010, right-click Ayla Kol, click Call, and then click Voice Mail to call Aylas
Page 6 of 7
Lync Server 2010: Configuring Lync and Exchange UM Integration Tasks Detailed Steps
h. If Voice Mail is not available as an option, sign both users out on both LS-SE and
Client01 - Ayla. Ayla may need to be signed out of Attendant depending on what lab you ran prior to this. Then sign both users into Lync 2010 to get the new settings. Then try again and Voice Mail should appear.
i.
Listen to the default greeting and when prompted to leave a voice mail, say Hi Ayla, its Spencer Low. I was talking with Mike Ray and we need you to call 206555-1234 as soon as you can to help with the project. and then hang up. Leave Lync 2010 running.
j.
a. On Client01 - Ayla, click Start, and then click Microsoft Outlook 2010. b. Verify that you are logged on as Contoso\Ayla. c. If Outlook is not open, click Start, and then click Microsoft Outlook 2010. d. In Aylas Outlook Inbox, view the new voice mail message and then double-click
Client01 - Ayla
4. View and listen to
In the voice message window, in the upper-right corner, click Play on Phone. click Dial.
g. On the Play on Phone page, in the Dial field, type [email protected] and then h. On the Client01 - Peter computer, click the incoming call from Ayla Kol to
On the Client01 - Peter, in Lync 2010, listen to the voice mail and then follow the prompts to log on to Outlook Voice Access as Ayla Kol. Listen to Aylas voice mail setup prompts and then hang up.
a. On the Client01 - Peter, in Lync, type 4000 b. Notice that the number is normalized to +1 (206)-555-4000 by the normalization
Client01 - Peter
5. Use Lync 2010 to call
the auto attendant has problems recognizing the name, use the dial pad to type 4049
d. Switch to Client01 - Ayla. e. In Lync 2010, notice the Answer incoming call prompt and that the caller has
been identified as Peter Houston. Click Redirect and then click Voice Mail.
f.
On the host computer, leave a voice mail for Ayla and then hang up.
a. On the Client01 - Peter, in Lync 2010, type 4999 b. Notice that the number is normalized to +1 (206)-555-4999 as it was earlier. Press
ENTER.
c. When the call is connected, type 425206# when prompted for the PIN.
Client01 - Peter
6. Use Lync 2010 to call
d. Listen to all of the options, such as Voice Mail, Email, Calendar, and so on, and
Page 7 of 7