Microsoft provides two synthetic transactions that can be used to test the UM integration feature. The Test-CsExUmConnectivity
cmdlet tests whether Lync 2013 can connect to Exchange 2013 UM for a given user, and the Test-CsExUmVoiceMail
cmdlet deposits a voice mail into the user’s inbox.
The following Lync Management Shell commands would be used to test the Exchange UM integration for a user:
$credential=Get-Credential -UserName companyabcdross
Test-CsExUMConnectivity -TargetFqdn lyncse1.companyabc.com -UserSipAddress [email protected] -UserCredential $credential
The following series of commands would be used to deposit a voice mail for the same user, using a sample .wma
file that is included as part of the Lync Audio Test Service:
$credential=Get-Credential -UserName companyabcdross
Test-CsExUMVoiceMail -SenderSipAddress [email protected] -ReceiverSipAddress [email protected] -SenderCredential $credential -WaveFile "C:Program FilesMicrosoft Lync Server 2013Application HostApplicationsAudio Test ServiceMediaen-USWelcome.wma"
After Lync has been successfully configured for Exchange UM integration, and the user has been enabled for UM, a voice mail icon will automatically appear within the Lync client, as shown in Figure 21.12.