Topic Last Modified: 2011-05-04
After deploying Microsoft Lync Server 2010, a Mediation Server for this site is not configured. In order to use the Mediation Server being used by Microsoft Office Communications Server 2007 R2, Lync Server 2010 must be configured to use this server.
If a Voice Route and Voice Policy existed in the legacy pool, after you merge Office Communications Server 2007 R2 with Lync Server 2010 and run the Import-CsLegacyConfiguration cmdlet, the Lync Server 2010 pilot pool now has all the necessary configuration information to
- Route outbound calls through the legacy Office Communications
Server 2007 R2 Mediation Server
- Route inbound calls from the legacy pool to the Lync Server
2010 pool
Note: |
---|
Lync Server 2010 Mediation Server features will not be functional until all Mediation Server components are configured, which occurs later in this document. For details about configuring Lync Server 2010 Mediation Server, see Migrate Mediation Server. |
Note: |
---|
For details about finding qualified public switched telephone network (PSTN) gateways, IP-PBXs and SIP trunking services that work with Lync Server 2010, see "Microsoft Unified Communications Open Interoperability Program" at http://go.microsoft.com/fwlink/?LinkId=206015. |
To enable the Lync Server 2010 pilot pool to use the legacy Mediation Server, you must have a Voice Route and Voice policy configured that point to the legacy Mediation Server. If you do not have a legacy Voice Route or Voice Policy, use the following the procedure to configure these settings using Lync Server 2010 Control Panel or by using the Lync Server Management Shell.
To create a voice route to the legacy Mediation Server by using Lync Server Control Panel-
Log on to the computer with an account that is a member of the RTCUniversalServerAdmins group or is assigned to the CsVoiceAdministrator administrative role.
-
Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
-
Click Voice Routing, and then click the Route tab.
-
Click New to create a New Voice Route.
-
Fill in the following fields:
- Name: enter a descriptive name of the voice route. For
this document we will use W13PSTNRoute.
- Description: enter a short description of the voice
route.
- Name: enter a descriptive name of the voice route. For
this document we will use W13PSTNRoute.
-
Skip all remaining sections until you reach Associated gateways, and then click Add. Select the default gateway listed, and then click OK.
-
Under Associated PSTN Usages, click Select.
-
From the Select PSTN Usage Record page, select the legacy Mediation Server fully qualified domain name (FQDN), and then click OK.
-
From the New Voice Route page, click OK to create the Voice Route.
-
From the Voice Routing page, select Route.
-
Move the newly created route to the top of the list, and then click Commit.
-
Log on to the computer with an account that is a member of the RTCUniversalServerAdmins group or is assigned to the CsVoiceAdministrator administrative role.
-
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.
-
Get the FQDN of the legacy Mediation Server by running the following command:
Copy Code Get-CsService -MediationServer
The Identity parameter will contain the name of the legacy Mediation Server. In this example, the value is this: MediationServer:medsvr01.contoso.net
-
Next, verify that a voice policy exists for the legacy Mediation Server by running the following command:
Copy Code Get-CsVoicePolicy
The PSTNUsages parameter should not be empty, but return a value of {Local} or the name of any customer PSTNUsage created on the legacy Mediation Server.
-
Now that we have verified that a legacy Mediation Server exists and it has a voice policy, we create a route in the Lync Server 2010 pool that points to this legacy Mediation Server.
The following code defines a generic voice route that routes any outbound calls from the Lync Server 2010 pool to the legacy Mediation Server.
Copy Code New-CsVoiceRoute -Name W13PSTNRoute -NumberPattern ".*" -PstnUsages Local -PstnGatewayList @{Add="MediationServer:medsvr01.contoso.net "}
-
Finally, run the following command to set the default voice route for this pool.
Copy Code Set-CsVoiceRoute -Identity W13PSTNRoute -Priority 0
-
Run the Get-CsVoiceRoute cmdlet to verify the voice route settings.
For our example, the Identity parameter should be set to W13PSTNRoute. The PSTNUsages should be set to {Local} and the PSTNGatewayList should point to the FQDN of the legacy Mediation Server, Mediation:medsvr01.contoso.net.