設定 [聆聽連接埠Configure the listening port

您可以設定用來聆聽的整合通訊 (UM) IP 閘道上的工作階段初始通訊協定 (SIP) 要求的 TCP 連接埠。根據預設,當您建立 UM IP 閘道器 TCP 的 SIP 聆聽連接埠號碼是設為 5060。無法設定或使用 EAC 變更 TCP 的 SIP 聆聽連接埠。您必須使用Set-umipgateway指令程式來設定 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 Server 與 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.

重要

當您建立 UM IP 閘道使用 FQDN 時,您必須建立 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.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 Keyboard shortcuts in Exchange 2013For 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 且 FQDN 為 mTLS.MyUMIPGateway.contoso.com 的 UM IP 閘道,並接聽 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 且 FQDN 為 SIPSecured.MyUMIPGateway.contoso.com 的 UM IP 閘道,並接聽 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 且 FQDN 為 MyOCSUMIPGateway.contoso.com 的 UM IP 閘道,並接聽 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