Share via


Configure the TCP Listening Port on a UM IP Gateway

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can configure the TCP port that's used to listen for SIP requests on a Unified Messaging (UM) IP gateway. By default, when you create a UM IP gateway, the TCP SIP listening port number is set to 5060. The TCP SIP listening port can't be configured when you create a UM IP gateway or changed by using the EMC. You must configure the TCP SIP listening port number using the Set-UMIPGateway cmdlet.

You may have to configure the TCP listening port to 5061 if you want to:

  • Set the VoIP security setting on a UM dial plan to SIP Secured.

  • Set the VoIP security setting on a UM dial plan to Secured.

  • Integrate Microsoft Exchange Server 2010 with Microsoft Office Communications Server.

  • Use mutual Transport Layer Security (mutual TLS) to encrypt network data between a UM server and other Exchange servers, IP gateways, or IP PBXs.

If you want to use mutual TLS between a UM IP gateway and a dial plan operating in either SIP Secured or Secured mode, when you create the UM IP gateway you must configure it with an FQDN and then use the Exchange Management Shell to configure the UM IP gateway to listen on TCP port 5061. You must also verify that any IP gateways or IP PBXs have also been configured to listen for mutual TLS requests on port 5061.

Important

If you create a UM IP gateway using an FQDN, and the DNS configuration for the UM IP gateway is changed, you must disable and then enable the UM IP gateway to make sure that the UM IP gateway's configuration information is updated correctly in Active Directory.

Looking for other management tasks related to UM IP gateways? Check out Managing UM IP Gateways.

Prerequisites

Use the Shell to configure the TCP listening port on a UM IP gateway

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "UM IP gateways" entry in the Unified Messaging Permissions topic.

This example configures a UM IP gateway named MyUMIPGateway with an FQDN of mTLS.MyUMIPGateway.contoso.com and listens for SIP requests on TCP port 5061.

Set-UMIPGateway -Identity MyUMIPGateway -Address mTLS.MYUMIPGateway.contoso.com -Port 5061

This example configures a UM IP gateway named MyUMIPGateway with an FQDN of SIPSecured.MyUMIPGateway.contoso.com and listens for SIP requests on TCP port 5061.

Set-UMIPGateway -Identity MyUMIPGateway -Address SIPSecured.MyUMIPGateway.contoso.com -Port 5061

This example configures a UM IP gateway named MyUMIPGateway with an FQDN of MyOCSUMIPGateway.contoso.com and listens for SIP requests on TCP port 5061.

Set-UMIPGateway -Identity MyUMIPGateway -Address MyOCSUMIPGateway.contoso.com -Port 5061

For more information about syntax and parameters, see Set-UMIPGateway.

Other Tasks

After you configure the TCP listening port for a UM IP gateway, you may also want to:

 © 2010 Microsoft Corporation. All rights reserved.