Test UM connectivity to VoIP gateways and PBXs in Exchange Server

Applies to: Exchange Server 2013, Exchange Server 2016

You can test the operation of Unified Messaging (UM) and related connected telephony equipment. When you perform the following procedure, the Client Access and Mailbox server tests the full end-to-end operation of the voice mail system. This includes the telephony components connected to the Client Access and Mailbox servers, including VoIP gateways, Private Branch eXchanges (PBXs), IP PBXs, and cabling.

For additional management tasks related to troubleshooting UM, 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 and telephony components

This example tests the ability of the UM IP gateway to listen on TCP port 5060 for incoming SIP requests.

Test-UMConnectivity -ListenPort 5060 -UMIPGateway MyIPGateway

This example tests the ability of the local Mailbox server to use an unsecured TCP connection instead of a secured mutual TLS connection to place a call through a UM IP gateway named MyUMIPGateway by using the telephone number 56780.

Test-UMConnectivity -UMIPGateway MyUMIPGateway -Phone 56780 -Secured $false

This example tests the Outlook Voice Access number on a dial plan by using a SIP URI. This example can be used in an environment that includes Lync Server.

Test-UMConnectivity -UMIPGateway OCSGateway1 -Phone "sip:SIPdialplan.contoso.com@contoso.com"

Note

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. Use mode 2 when the ­UMIPGateway parameter is specified in the command-line syntax.