Lync 2013 and Unified Messaging Integration

Integration Features

  • Call Answering
  • Outlook Voice Access(OVA)
  • Auto Attendant
  • Lync Archiving Integration
  • Unified Contact Store – same contacts in Lync and Outlook for a user
  • OWA Integration – allows IM from OWA
  • Fax Services

Integration Steps

  1. Make sure Exchange and Lync trust each others certificates, so don’t use Self Signed Certificates.
  2. Configure the UM Dial Plan(Outlook Voice Acces, Mailbox Policies, Auto Attendant) and associate UM Servers to the Dial Plans.
  3. Run the exchucutil.ps1 PowerShell script on the Exchange server. This automatically creates UM Gateways, UM hunt groups.
  4. Enable Users for UM
  5. Run the ocsumutil.exe tool on the Lync server
  6. Test the integration

Integration

1. Exchange certificate

You must asign a certificate to the Unified Messaging and UM Call Router services.

If you get an error message saying that “Microsoft Exchange Unified Messaging is currently set to run in TCP mode only” the you need to configure the Startup Mode on the UM Server to “DUAL”. You can find the instructions here http://technet.microsoft.com/en-us/library/ee423544

After you assign the certificate to the two services you will be prompted to restart the UM services.

2. Configure UM Dial-plan

Make sure you select SIP URI and Secured in the two fields.

You have to provide an E.164 number for these services. You can’t add an extension, so you have to create normalization rules if you want to access these numbers with an extension. You should also have a look at your UM Mailbox Policy that was automatically created, especially if you want to make some changes to your PIN settings.

After this you need to asign an UM Server the the Dial Plan, so open the Exchange Management Shell and run:

Set-UmService -Identity "exch.contoso.com" -DialPlans "Default UM Dial Plan"
and
Set-UMCallRouterSettings -Server "exch.contoso.com" -DialPlans "Default UM Dial Plan"

3. Run the exchucutil.ps1 script

Open a Powershell window and change the path of the directory to C:\Program Files\Microsoft\Exchange Server\V15\Scripts and then run the following command:

C:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\ExchUCUtil.ps1

This script will create UM IP gateways and Hunt groups and change security permissions to access the Lync Server Active Directory objects associated with the UM server. You might have to run the command a second time if there is {<not found>} in the DialPlans column.

4. Enable Users for UM

5. Run the ocsumutil.exe tool

Remember that before you go and run this command you need to have a Lync Dial Plan created with suitable normalization rules.

Open a Poweshell window and change the path to C:\Program Files\Common Files\Microsoft Lync Server 2013\Support and then run the following command:

C:\Program Files\Common Files\Microsoft Lync Server 2013\Support>.\ocsumutil.exe /domain:contoso.com
and then
C:\Program Files\Common Files\Microsoft Lync Server 2013\Support>.\ocsumutil.exe

The second command will launch the tool, and after you press “Load Data” you can make sure that the first command executed corectly. The Subscriber Access and Auto Attendant should be created.

6. Test the integration

Open Lync Management Shell and run the following 2 commands:

$cred = Get-Credential “contoso\test”
and
Test-CsExUMConnectivity –targetFqdn “lync01.contoso.com” –UserSipAddress "sip:test@contoso.com" -UserCredential $cred

The output should say “Success”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s