配置侦听端口Configure the listening port

您可以配置用于侦听会话初始协议 (SIP) 上的请求的统一消息 (UM) IP 网关的 TCP 端口。默认情况下,当您创建一个 UM IP 网关,TCP SIP 侦听端口号设置为 5060。无法配置或使用 EAC 更改 TCP SIP 侦听端口。您必须使用Set-umipgateway cmdlet 配置的 TCP SIP 侦听的端口号。You can configure the TCP port that's used to listen for Session Initiation Protocol (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 or changed by using the EAC. You must configure the TCP SIP listening port number by using the Set-UMIPGateway cmdlet.

如果您要进行以下操作,必须将 TCP 侦听端口号配置为 5061:You may have to configure the TCP listening port number to 5061 if you want to:

  • 将 UM 拨号计划中的 VoIP 安全设置设为"SIP 安全"。Set the VoIP security setting on a UM dial plan to SIP Secured.

  • 将 UM 拨号计划中的 VoIP 安全设置设为"安全"。Set the VoIP security setting on a UM dial plan to Secured.

  • 与 Microsoft Office Communications Server 2007 R2 或 Microsoft Lync Server 集成。Integrate with Microsoft Office Communications Server 2007 R2 or Microsoft Lync Server.

  • 使用相互传输层安全性(相互 TLS)对 Exchange 服务器和 VoIP 网关、针对 SIP 启用的专用交换机 (PBX)、IP PBX 或会话边界控制器 (SBC) 之间的网络数据进行加密。Use mutual Transport Layer Security (mutual TLS) to encrypt network data between Exchange servers and a VoIP gateway, Private Branch eXchange (PBX) enabled for SIP, IP PBX, or session border controller (SBC).

如果您要在 UM IP 网关和在"SIP 安全"模式或"安全"模式下运行的拨号计划之间使用相互 TLS,则在您创建 UM IP 网关时,必须使用完全限定域名 (FQDN) 对其进行配置,然后使用命令行管理程序配置 UM IP 网关,以侦听 TCP 端口 5061。您必须验证任何 VoIP 网关、针对 SIP 启用的 PBX、IP PBX 和 SBC 是否也配置为可侦听端口 5061 上的相互 TLS 请求。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 a fully qualified domain name (FQDN) and then use the Shell to configure the UM IP gateway to listen on TCP port 5061. You must also verify that any VoIP gateways, PBXs enabled for SIP, IP PBXs, and SBCs have also been configured to listen for mutual TLS requests on port 5061.

重要

创建使用 FQDN 的 UM IP 网关时,您必须在 DNS 正向查找区域中创建相应的主机 (A) 记录。如果您创建 UM IP 网关使用的 FQDN,并更改 UM IP 网关的 DNS 配置,您必须禁用,然后再启用的 UM IP 网关,以确保正确更新后的 UM IP 网关的配置信息。When you create a UM IP gateway using an FQDN, you must create the appropriate HOST (A) records in your DNS forward lookup zone. 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.

有关 UM IP 网关的更多管理任务,请参阅UM IP 网关过程For additional management tasks related to UM IP gateways, see UM IP gateway procedures.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:2 分钟。Estimated time to complete: 2 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Messaging Permissions主题中的"UM IP 网关"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM IP gateways" entry in the Unified Messaging Permissions topic.

  • 在执行此过程之前,请先确认已创建 UM 拨号计划。有关详细步骤,请参阅创建 UM 拨号计划Before you perform this procedure, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • 在执行此过程之前,请确认已创建一个 UM IP 网关。有关详细步骤,请参阅创建一个 UM IP 网关Before you perform this procedure, confirm that a UM IP gateway has been created. For detailed steps, see Create a UM IP gateway.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online Protection。.Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection..

使用命令行管理程序配置 TCP 侦听端口Use the Shell to configure the TCP listening port

此示例配置了名为 MyUMIPGateway 的 UM IP 网关,该网关具有名为 mTLS.MyUMIPGateway.contoso.com 的 FQDN,并侦听 TCP 端口 5061 上的 SIP 请求。This example configures a UM IP gateway named MyUMIPGateway that has 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

此示例配置了名为 MyUMIPGateway 的 UM IP 网关,该网关具有名为 SIPSecured.MyUMIPGateway.contoso.com 的 FQDN,并侦听 TCP 端口 5061 上的 SIP 请求。This example configures a UM IP gateway named MyUMIPGateway that has 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

此示例配置了名为 MyUMIPGateway 的 UM IP 网关,该网关具有名为 MyOCSUMIPGateway.contoso.com 的 FQDN,并侦听 TCP 端口 5061 上的 SIP 请求。This example configures a UM IP gateway named MyUMIPGateway that has 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