Test UM operation in Exchange Server

Applies to: Exchange Server 2013, Exchange Server 2016

This topic explains how to use the Shell to test the operation of your voice mail system. When you perform the following procedure, the Mailbox server running the Microsoft Exchange Unified Messaging service initiates a diagnostic Session Initiation Protocol (SIP) call, and then returns a health state variable of UM services.

This diagnostic test can be run only on a local Mailbox server, and you can't test the operation of the Mailbox server using the EAC.

For additional management tasks related to Client Access and Mailbox servers, see UM services procedures.

What do you need to know before you begin?

  • Estimated time to complete: 3 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mailbox server (UM service)" and "Client Access Server (UM call router service)" entries in the Unified Messaging permissions topic.

  • To perform the following procedures, you must log on to the Mailbox server by using an account that's a member of the local Administrators group.

  • Verify that the Mailbox server is installed, either on the same computer as the Client Access server or on a separate computer.

  • Verify that the Client Access server is installed, either on the same computer as the Mailbox server or on a separate computer.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.

Use the Shell to test the operation of the Unified Messaging services

This example performs connectivity and operational tests on the local Mailbox server, and then displays the Voice over IP (VoIP) connectivity information.

Test-UMConnectivity

This example tests the ability for a local Client Access server to listen for incoming unencrypted SIP requests on TCP port 5060.

Test-UMConnectivity -ListenPort 5060

This example tests the ability for a local Client Access server to listen for incoming encrypted SIP requests on TCP port 5061.

Test-UMConnectivity -ListenPort 5061

Note

Use mode 1 when the -UMIPGateway parameter isn't specified.

You can set the -Timeout parameter with a value of less than 5 seconds. However, we recommend that you always configure this parameter with a value of 5 seconds or more.