Professional Documents
Culture Documents
Microsoft Lync Server 2010 Enterprise Voice Configuration
Microsoft Lync Server 2010 Enterprise Voice Configuration
Table of Contents
Microsoft Lync Server 2010 Enterprise Voice Configuration .................................................... 1
Exercise 1 Configuring Dial Plans ...................................................................................................................................3 Exercise 2 Configuring PSTN Usages ............................................................................................................................10 Exercise 3 Configuring Voice Policies ...........................................................................................................................12 Exercise 4 Configuring Routes .....................................................................................................................................14 Exercise 5 Using the Enterprise Voice Features of Lync Server 2010 ..........................................................................17 Exercise 6 (Optional): Configuring and Experiencing Private Lines .............................................................................20 Exercise 7 Configuring Least Cost Routing ...................................................................................................................22
Scenario
Contoso Ltd. has previously used Microsoft Office Communications Server 2007 (OCS 2007) Release 2 (R2) for internal Lync 2010 calling only (using 4-digit dialing), and for dialing an operator. With Lync Server 2010 deployed, you are now ready to fully deploy Enterprise Voice for Contoso. This will include editing or creating two dial plans, one for Redmond and one for Rome, which will include a full set of dialing rules (normalization rules), usages, policies, and routes for the Redmond and Rome sites. You will also configure trunk configurations for the Redmond and Rome sites. 90 Minutes
DC01
SQL01
LS-FE
LS-ARC-MON
RAS01
Page 1 of 24
LS-SBS
Client01
Client02
Client03
The password for the Administrator account on all computers in this lab is: Password1
Page 2 of 24
Notice that with Lync Server 2010, the term location profile is no longer used; instead, dial plan is used. This matches Microsoft Exchange terminology. In this exercise, you will complete the following management tasks to familiarize yourself with the steps required to edit or create dial plans in the Lync Server 2010 Control Panel. You will also experience trunk configuration. Trunk Configuration allows for site- or service-specific configuration for outbound number manipulation that was previously performed on the Session Initiation Protocol (SIP)/Public Switched Telephone Network (PSTN) media gateway. Once a dialed number has been set to be routed out to the PSTN, Trunk Configuration will manipulate the outbound number to translate it according to that sites requirements. You will configure Rome and Redmond Trunk Configuration. Tasks Complete the following task on: LS-FE 1. Edit the redmond.contoso.c om dial plan. Detailed Steps Note: You will now create a set of normalization rules for the redmond.contoso.com dial plan, for multiple dialing scenarios.
a. On LS-FE, click Start and then click Lync Server Control Panel. b. Log in as Administrator with a password of Password1 c. In the Lync Server 2010 Control Panel, in the primary navigation area, click Voice
details.
e. On the Edit Dial Plan page, on the Associated Normalization Rules toolbar, click
Page 3 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps New.
f.
In the New Normalization Rule page, in the Name field, type Redmond 7 Digit
g. In the Length drop-down list, select Exactly. h. In the Length spinner list, select 7. i.
Leave the Digits to remove spinner list at 0. In the Digits to add field, type +1425. Notice the value in the Pattern to match, which should show ^(\d{7})$. You could have typed this pattern in this field instead. Also notice that the Translation rule field has been populated as well.
j. l.
In the Dialed number to test field, type 1234008 and then click Go. Click OK to close the New Normalization Rule page and save this rule. normalization rules, below the newly created 7-digit rule. The table shows all normalization rules for this plan, including the two created in an earlier lab: Redmond Operator and Redmond 4 Digit, which will NOT need to be recreated and are in grey in the following table.
k. Verify that +14251234008 appears in next to Normalized number: m. Repeat steps f through m to create and test the following additional
Name
Starting digits 0 4
Length
Digits to remove 1
Digits to add
Test
Redmond Operator Redmond 4 Digit Internal Rome 4 Digit Internal Redmond 7 Digit Redmond 10 Digit Redmond 11 Digit Long Distance Redmond Internatio nal
Exactly 1 Exactly 4
+14251234021 +1425123
Exactly 4
+39061234
5014 to +390612345014
Exactly 7 Exactly 10
+1425 +1
Exactly 11
14251234008 to +14251234008
011
At Least 3
011390612345555 to +390612345555
n. Order the Normalization Rules to match the table above by using the Up and
Down
Page 4 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
o. On the Edit Dial Plan page and click OK. p. Verify that the Redmond.contoso.com dial plan includes 7 normalization rules. It
Page 5 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks 2. Create the Rome.contoso.com dial plan. Detailed Steps Note: Dialing for the Rome location requires its own set of normalization rules. You will now create the rome.contoso.com dial plan and configure normalization rules for Rome, Italy.
a. On LS-FE, in the Lync Server 2010 Control Panel, click New and then click User
Dial Plan.
b. On the New Dial Plan page, in the Name field, type rome.contoso.com c. In the Name field, type rome.contoso.com d. In the Simple name field, rome.contoso.com e. In the Description field, type Rome Branch Office f.
Scroll down the inline form and then in the toolbar located above the heading Normalization Rule, click Select. plan and apply them to a new one. This would be especially useful for a branch office within the same country. Select both the Redmond 4 Digit Internal rule and the Rome 4 Digit Internal rule while holding down the CTRL key, and then click OK. These rules will be part of the collection of normalization rules for the Rome location.
g. Notice that if desired, you could select normalization rules from another dial
h. Create two additional rules according to the following table, using the Up and
Down
Name Rome 4 Digit Internal Redmond 4 digit internal Rome Local and National Rome International
00
i.
Back on the New Dial Plan page, highlight the Prefix All rule and then click Remove. When finished, it should look like the following.
j. l.
On the New Dial Plan page, on the toolbar, click OK. In the Uncommitted Voice Configuration Settings window, click Commit.
k. Click the Commit drop-down menu and then click Commit All. m. At the Lync Server Control Panel prompt, click Close.
Page 6 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks 3. Configure inbound normalization. Detailed Steps Note: In previous labs, we have created some inbound normalization rules. You will now add the rules you just created for the two dial plans to the global dial plan.
a. On LS-FE, on the Voice Routing, Dial Plan page, click Global. b. Click the Edit drop-down list and then click Show details. c. Above the Normalization Rules list, click Select. d. In the Select Normalization Rules window, highlight the following rules and then
click OK. (Use the CTRL key to select multiple rules.) Redmond Operator Redmond 4 Digit Internal Rome 4 Digit Internal Redmond 7 Digit Redmond 10 Digit Redmond 11 Digit Long Distance Redmond International Rome Local and National Rome International
Note: Be sure to exclude duplicate Rome and Redmond rules. The 4-digit rules for each site exist within both dial plans but need only be imported here once each.
e. Switch to the Edit Dial Plan page, highlight the Prefix All rule, and then click
Remove. Leave the Dial In Conferencing, Auto Attendant, and Subscriber Access Number rules in their current order at the top. When finished, there should be 11 rules.
f.
g. Click the Commit drop-down menu and then Commit All. h. In the Uncommitted Voice Configuration Settings window, click Commit. i.
4.
Note: You will now create a new site Trunk Configuration for Redmond that will perform number translation that is required by the media gateway in that location. This configuration with OCS 2007 R2 had to be performed at the gateway, but can now be handled by CS 14.
a. On LS-FE, in the Lync Server 2010 Control Panel, click the Trunk Configuration
tab.
b. Click the New drop-down menu and then click Site Trunk. c. In the Select a site window, select the Redmond site and then click OK. d. In the Encryption support level drop-down menu, select Optional. e. On the Associated Translation Rules toolbar, click New. f.
On the New Translation Rule page, in the Name field, type Redmond PBX
g. In the Starting digits field, type +14251234. h. In the Length drop-down list, set to Exactly and 12. i. j. l.
In the Digits to remove field, set it to 8. Leave the Digits to add field blank. Verify that the Translation rule field reads $1 and click OK. following table. Page 7 of 24
k. Verify that the Pattern to match field reads ^\+1425123(4\d{3})$ m. Repeat steps e through l for the three remaining translation rules using the
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
Name Redmond PBX Rome PBX Redmond PSTN Rome PSTN Starting digits +14251234 +39061234 5 +1 +39 Length Exactly 12 Exactly 13 Exactly 12 Exactly 13 Digits to remove 8 9 1 1 Match Pattern ^\+1425123(4\d{3})$ ^\+39061234(5\d{3})$ ^\+(1\d{10})$ ^\+(39\d{10})$
Page 8 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks 5. Create a new Site Trunk Configuration for Rome. Detailed Steps Note: You will now configure site Trunk Configuration for Rome. Although in this lab the rules are the same as for Redmond, in a real world deployment the configuration can be different depending on the gateways requirements.
a. On LS-FE, on the Lync Server Control Panel, Voice Routing, Trunk Configuration
tab, click the New drop-down menu and then click Site Trunk.
b. In the Select a site window, select the Rome site and then click OK. c. In the Encryption Support Level drop-down menu, select Optional. d. On the toolbar above Translation Rule, click Select. e. In the Select Translation Rules window, select all four translation rules and then
click OK.
f.
Reorder the rules to match the following screenshot, using the Up and Down arrows to reorder the rules. When finished, it should look like the following. Click OK.
g. Click the Commit drop-down menu, and then click Commit All. h. In the Uncommitted Voice Configuration Settings window, click Commit. i. j.
At the Lync Server 2010 Control Panel prompt, click Close. You should see the following screen:
Page 9 of 24
Tasks Complete the following task on: LS-FE 1. Create the Redmond location PSTN Usages.
Detailed Steps
a. On LS-FE, in the Lync Server 2010 Control Panel, in the Voice Routing section,
Page 10 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
Redmond International
a. Repeat the same steps as above to create the following usages for Rome:
b. On the Edit Voice Policy Global page, click OK. c. Click the Commit drop-down menu and then click Commit All. d. In the Uncommitted Voice Configuration Settings window, click Commit. e. At the Lync Server 2010 Control Panel prompt, click Close.
Page 11 of 24
Tasks Complete the following task on: LS-FE 1. Create the Voice Policies for the Redmond location.
Detailed Steps Note: You will now create voice policies for the Redmond location that allow different levels of calling.
a. On LS-FE, in the Lync Server 2010 Control Panel, in the Voice Routing section,
toolbar.
e. In the Select PSTN Usage Records window, select Redmond Local and then click
OK.
f.
g. Create two more user policies, using the names and usages shown in the
Page 12 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
a. On LS-FE, use the names and usages shown in the following table to create
Name Rome Local Policy Rome National Policy Rome International Policy
Usages Rome Local Rome Local Rome National Rome Local Rome National Rome International
b. Click the Commit drop-down menu and then click Commit All. c. In the Uncommitted Voice Configuration Settings window, click Commit. d. At the Lync Server 2010 Control Panel prompt, click Close. When finished, it
Page 13 of 24
Tasks Complete the following task on: LS-FE 1. Create Routes for the Redmond site.
Detailed Steps
a. On LS-FE, in the Lync Server 2010 Control Panel, in the Voice Routing section,
caller ID option. This allows the manipulation of caller ID information for outbound calls, in order to mask employees direct-dial extensions and replace them with the generic corporate or departmental number.
f.
Click the Add button next to the Associated gateways box. then click OK. PstnGateway: 10.1.10.10 should show in the Associated gateways box.
Page 14 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
i. j.
In the Select PSTN Usage Record window, select Redmond Local and then click OK. On the New Voice Route page, click OK. PstnGateway:10.1.10.10 Redmond as the gateway.
k. Create the following set of voice routes, in each case, selecting Name Redmond Long Distance Redmond International Starting Digits +1 + Match pattern ^\+1 ^\+ Usages Redmond Long Distance Redmond International
Page 15 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks 2. Create Routes for the Rome site. Detailed Steps
a. On LS-FE, create a similar set of voice routes for the Rome location, selecting
b. When finished, click the Commit drop-down menu and then click Commit All. c. In the Uncommitted Voice Configuration Settings window, click Commit. d. At the Lync Server 2010 Control Panel prompt, click Close. When finished, it
3.
Note: With Enterprise Voice now configured, you will assign Voice Policies to various users in order to grant calling privileges.
a. On LS-FE, in the Lync Server 2010 Control Panel, in the navigation pane, click
Policy, and Holly Holt, giving her the Redmond Long Distance Policy. Leave the Lync Server 2010 Control Panel running. 4. Assign Voice Policies to the Auto Attendant and the Subscriber Access Number contacts.
a. On LS-FE, click Start and then click Lync Server Management Shell. b. In the Lync Server 2010 Management Shell, type the following command and
Page 16 of 24
AttendantConsole.msi.
d. On the Welcome page, click Next. e. On the Microsoft Software License Terms page, select I accept the terms and
g. On the Ready to Install page, click Install. h. On the Completion page, click Finish. i. j. l.
Close Windows Explorer. If you get an Attendant error, click OK. Log in to the Attendant as Contoso\Vivian with a password of Password1 click Microsoft Lync 2010. Wait for Lync 2010 to log in as Contoso\Spencer.
k. Click Start > All Programs > Microsoft Lync Server 2010 Attendant. a. On Client02 you should already be logged in to Lync. If not, click Start and then
Complete the following task on: Client02 2. Start and log in to Lync 2010 on Client02.
Complete the following task on: Client03 3. Start and log in to Lync 2010 on Client03.
Note: You will now view number normalization according to the rules you created in the preceding exercises.
a. On Client03, click Start > All Programs > Microsoft Lync and then click Microsoft
Lync 2010.
b. Wait for Lync 2010 to log in. If prompted, log in as Contoso\Holly with a
password of Password1
c. In Lync 2010 on Client03, in the Find a contact or dial a number field, type 4021
normalizing correctly: 1234051 it should normalize to +1 (425) 123-4051 4251234052 it should normalize to +1 (425) 123-4052 Page 17 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps 14251234053 it should normalize to +1 (425) 123-4053 011390612345678 it should normalize to +390612345678
e. In the Find a contact or dial a number field, type 0 and then click Call.
Complete the following task on: Client01 4. Answer the incoming call in Attendant.
Note: You will now experience answering a call in the Attendant, and then perform a consultation before transferring.
a. On Client01, in the Attendant, notice the call coming in from Holly.
b. Click and drag the call down to the lower blue area to answer. The call should
button.
d. In the Search for people or dial a number field, type 4019 or select Spencer Low
in the Display Name list and then click the Call Complete the following task on: phone icon to answer the call.
button.
a. On Client02 logged in as Spencer, at the incoming call prompt, click the green
Page 18 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Client02 5. Answer the call on Client02. Detailed Steps
Complete the following task on: Client01 6. Merge the call between Holly and Spencer
button. Watch as the call is merged between Holly and Spencer, and Vivian leaves the call.
Note: If necessary, drag and drop the calls on top of each other to make the Merge button visible.
b. Disconnect the call on Client02 and Client03.
Note: You will now perform a series of calls to see the Voice Policies you previously created being applied.
a. On Client02, in Lync 2010, in the Find a contact or dial a number field, type
2061234555 and then click the Call button. Notice that Lync 2010 is trying to route the call but will eventually fail, since there is no media gateway. Spencer has the policy applied that allows this type of call. Holly would be able to make this call also.
a. On Client02, in Lync 2010, in the Search for people or dial a number field, type
8.
12125551234 and then click the Call button. Notice that Lync 2010 is trying to route the call but will eventually fail, since there is no media gateway. Spencer has the policy applied that allows this type of call. Holly would be able to make this call also.
a. On Client02, in Lync 2010, in the Find a contact or dial a number field, type
9.
011390612345555 and then click the Call button. Notice that Lync 2010 is trying to route the call but will eventually fail, since there is no media gateway. Spencer has the policy applied that allows this type of call.
a. On Client03, in Lync 2010, in the Find a contact or dial a number field, type
Complete the following task on: Client03 10. Attempt an international call.
011390612345555 and then click the Call button. Notice that the call is rejected immediately because Holly only has the Redmond Long Distance Policy assigned. She is not granted the rights to make international calls. Later, you will configure Least Cost Routing that will allow this call.
Page 19 of 24
Complete the following task on: Client02 2. Call the private number.
button.
b. It might take a few minutes for the private line to become active.
Complete the following task on: Client03 3. Answer the inbound call.
a. On Cliento3, in Lync 2010, notice that the incoming call from Spencer Low to
Hollys private number shows as a Private call and has a different ring tone and incoming call prompt.
Page 20 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks Detailed Steps
Page 21 of 24
Route tab.
b. Click New. c. On the New Voice Route page, in the Name field, type Redmond to Italy Route
click Add.
e. Next to Associated Gateway, click Add. f.
In the Select Gateway window, select PstnGateway 20.1.10.10 and then click OK.
g. Under Associated PSTN Usages, click Select. h. In the Select PSTN Usage Record window, click Redmond Long Distance and
Page 22 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks 2. Configure a Redmond to Rome Least Cost Route for Rome local calls. Detailed Steps Note: You will now create a least cost route for calls made in Redmond that are Rome local numbers (those that have the 39 country code and the 06 city code).
a. On LS-FE, on the Route tab, click New. b. On the New Voice Route page, in the Name field, type Redmond to Rome Route
click Add.
d. Next to Associated Gateway, click Add. e. In the Select Gateway window, select PstnGateway 20.1.10.10 and then click
OK.
f.
g. In the Select PSTN Usage Record window, click Redmond Local and then click h. Click OK on the New Voice Route page.
3.
Note: You will now create a least cost route for calls made in Italy that are U.S. national numbers (those that have the 1 country code).
a. On LS-FE, on the Route tab, click New. b. On the New Voice Route page, in the Name field, type Rome to US Route (Least
Cost Route)
c. In the Starting digits for numbers that you want to allow field, type +1 and then
click Add.
d. Next to Associated Gateway, click Add. e. In the Select Gateway window, select PstnGateway 10.1.10.10 and then click
OK.
f.
g. In the Select PSTN Usage Record window, click Rome National and then click OK. h. Click OK on the New Voice Route page.
4.
Configure a Redmond to Rome Least Cost Route for Rome local calls.
Note: You will now create a least cost route for calls made in Italy that are Redmond local numbers (those that have the 1 country code and the 425 area code).
a. On LS-FE, on the Route tab, click New. b. On the New Voice Route page, in the Name field, type Rome to Redmond Route
click Add
d. Next to Associated Gateway, click Add. e. In the Select Gateway window, select PstnGateway 10.1.10.10 and then click
OK.
f.
g. In the Select PSTN Usage Record window, click Rome Local and then click OK. h. Click OK on the New Voice Route page. i. j.
Switch to the Route tab, click the Commit drop-down menu, and then click Commit All. In the Uncommitted Voice Configuration Settings window, click Commit.
Note: You will now make a call to an Italy national number with a user that is only Page 23 of 24
Microsoft Lync Server 2010 Enterprise Voice Configuration Tasks task on: Client03 5. Make an International call with a Redmond User. Detailed Steps allowed long-distance calls, not international. You will then configure this user to only have local calling, and then retry Italy and Rome calls.
a. On Client03, in Lync 2010, in the Find a contact or dial a number field, type
011390612345555 and then click Call. Notice that Lync 2010 is trying to route the call but will eventually fail, since there is no media gateway. This call was rejected earlier because Holly only has the Redmond Long Distance Policy voice policy, but now the least cost routing allows this call because it will go out the Rome gateway and only be a national long-distance call. If this call does not go through, sign out of Lync 2010 and then sign back in and retry. This shows a call being routed to an Italy number and being connected as a Long Distance call.
b. On LS-FE, restrict Holly to the Redmond Local Policy voice policy. This is done in
the Users section of the Lync Server Control Panel. Find the Holly Holt, adjust the Voice Policy, and then click Commit.
c. On Client03, in Lync 2010, in the Find a contact or dial a number field, type
011390612345555 and then click Call. Notice that Lync 2010 is trying to route the call but will eventually fail, since there is no media gateway. This call was rejected earlier because Holly only has the Redmond Long Distance Policy voice policy, but now the least cost routing allows this call because it will go out the Rome gateway and only be a Rome local call. Holly may need to be signed out and then back in to get the new policy. This shows a call being routed to a Rome number and being connected as a local call.
d. On Client03, in Lync 2010, in the Find a contact or dial a number field, type
011390098765432 and then click Call. Notice that the call is rejected because Holly now has only the local dialing only voice policy; 39 is the Italy country code, and 06 is the Rome exchange, thus when we dial outside the 3906 area, by dialing 3900, it is no longer a local call and gets rejected.
e. On LS-FE, grant Holly the Redmond International Policy voice policy.
Page 24 of 24