在 Microsoft 團隊中設定直接路由Configure Direct Routing in Microsoft Teams

直接路由Direct Routing

No 活動或任務Activity or task 描述Description 完畢?Completed? 其他資訊Additional information
11 判斷將針對貴組織的位置部署哪些 PSTN 連線性Determine which PSTN connectivity will be deployed for your organization's locations Microsoft 提供替代方法,為您的使用者使用 Microsoft 365 或 Office 365 手機系統提供 PSTN 連線。Microsoft provides alternative methods to provide PSTN connectivity for your users using Microsoft 365 or Office 365 Phone System.
  • 含有通話方案的電話系統 ( 「通話方案」 ) :商務用 Skype Online 與團隊Phone System with Calling Plans ("Calling Plans"): Skype for Business Online and Teams
  • 電話系統 Direct 路由 ( 「直接路由」 ) :僅限團隊Phone System Direct Routing ("Direct Routing"): Teams only
  • 具有內部部署 PSTN 連線的電話系統:僅適用于商務用 Skype OnlinePhone System with on-premises PSTN connectivity: Skype for Business Online only
  • 商務用 skype 雲端連接器版本:僅適用于商務用 Skype OnlineSkype for Business Cloud Connector Edition: Skype for Business Online only
[直接傳送] 可提供與呼叫方案相同的優點,除了由協力廠商提供者(而不是 Microsoft)來加速 PSTN 連線以外。Direct Routing gives organizations the same benefits as Calling Plans, except that PSTN connectivity is facilitated by a third-party provider rather than Microsoft. 這可讓您在無法使用通話方案的國家或地區進行部署,或是在需要維護現有 PSTN 服務提供者合約,或需要與特定內部部署系統進行互通性的部署中進行。This allows for deployment in countries where Calling Plans aren't available, or in deployments where an existing PSTN service provider contract needs to be maintained or interoperability with certain on-premises systems is required.

決定哪一個選項 (s) 最適合您的組織。Determine which option(s) are most suitable for your organization.
音訊會議與通話方案的適用國家/地區Country and region availability for Audio Conferencing and Calling Plans

音訊會議與通話方案的加入檢查清單Onboarding checklists for Audio Conferencing and Calling Plans
22 驗證您的使用者清單和部署節奏,以啟用直接路由Verify your list of users and deployment cadence for enabling Direct Routing 確認您在範圍中有與團隊直接路由的商務單位或網站清單。Check that you have a list of business units or sites in scope for Direct Routing with Teams. 使用 [目標] 和 [主要結果] 模型,即可完成直接路由作用中的使用者。Using the objectives and key results model, work out which users will be in scope for Direct Routing. 我們建議您以網站為基礎,讓您能將資源集中在一起。We recommend that you work on a site-by-site basis, so you can focus your resources.

在您的啟用方案中,請根據 (試生產、網站1、網站2等) ,找出您要啟用的使用者。As part of your enablement plan, identify which users you'll enable, by when (Pilot, Site 1, Site 2, and so on).
直接路由展望Direct Routing envisioning
33 規劃及取得授權Plan and obtain licenses 直接傳送的使用者必須具有下列在 Microsoft 365 或 Office 365 中指派的授權:Users of Direct Routing must have the following licenses assigned in Microsoft 365 or Office 365:
  • 商務用 Skype Online (方案 2)Skype for Business Online (Plan 2)
  • Microsoft Phone 系統Microsoft Phone System
  • Microsoft TeamsMicrosoft Teams
  • Microsoft 音訊會議Microsoft Audio Conferencing
直接路由還支援已授權呼叫方案的使用者。Direct Routing also supports users who are licensed for Calling Plans. 含有通話方案的電話系統可以使用直接路由介面傳送一些通話。Phone System with Calling Plans can route some calls by using the Direct Routing interface.

若要將外部參與者新增至排程的會議,請撥打電話給他們,或提供撥入號碼,就必須使用音訊會議授權。The Audio Conferencing license is required for adding external participants to scheduled meetings, either by dialing out to them or by providing the dial-in number.
直接路由授權Direct Routing licensing
44 規劃會話邊界控制器 (SBC) 功能變數名稱Plan for the session border controller (SBC) domain names SBC 功能變數名稱必須來自租使用者的「網域」中所註冊的名稱之一。The SBC domain name must be from one of the names registered in "Domains" of the tenant.

注意: 您不能將 *. onmicrosoft.com 用於完全限定功能變數名稱 (SBC) 。Note: You can't use *.onmicrosoft.com for the fully qualified domain name (FQDN) of the SBC.

在規劃每個 SBC 所需的憑證時,SBC 網功能變數名稱稱也很重要。The SBC domain name is also important in planning the certificates required for each SBC.
SBC 網功能變數名稱稱SBC domain names
5005 規劃憑證Plan for the certificates 我們強烈建議您在 (CSR) 中產生認證簽署要求,以要求 SBC 的憑證。We strongly recommend that you request the certificate for the SBC by generating a certification signing request (CSR).

憑證必須在 [主旨]、[常見名稱] 或 [subject 替代名稱] 欄位中有 SBC FQDN。The certificate needs to have the SBC FQDN in the subject, common name, or subject alternate name fields. 或者,直接路由支援通用名稱或消費者替換名稱中的萬用字元。Alternatively, Direct Routing supports a wildcard in the common name or subject alternate name.

如需針對 SBC 產生 CSR 的特定指示,請參閱您的 SBC 轉銷商提供的檔。For specific instructions on generating a CSR for an SBC, refer to the documentation provided by your SBC vendor.

[ 其他資訊 ] 欄中的文章會列出支援的根憑證授權單位。The article in the Additional information column lists supported root certificate authorities.
SBC 公開信任的憑證Public trusted certificate for the SBC
66 規劃及設定防火牆埠Plan for and configure the firewall ports 直接路由的連接點是下列三個 Fqdn:The connection points for Direct Routing are the following three FQDNs:
  • sip.pstnhub.microsoft.comsip.pstnhub.microsoft.com
  • sip2.pstnhub.microsoft.comsip2.pstnhub.microsoft.com
  • sip3.pstnhub.microsoft.comsip3.pstnhub.microsoft.com
這些連接點與您的 SBCs 之間的流量必須在您的企業防火牆上允許。The traffic between these connection points and your SBCs must be allowed on your corporate firewalls. 您可以在設定 SBC 時定義 SBC 上的 TCP 埠。You define the TCP port on the SBC when you configure the SBC.

媒體流量是在 UDP 上。Media traffic is on UDP. 此類型的流量會流向媒體處理器元件。This type of traffic flows to and from media processor components. 您的防火牆上也必須允許在 SBCs 與媒體處理器之間進行雙向通訊。Bidirectional traffic between the SBCs and the media processors must also be allowed on your firewalls.

注意: 媒體處理器有動態 IP 位址,而且會在稍後提供靜態 IP 位址。Note: The media processors have dynamic IP addresses, and the static IP address will be available later. 您可以允許 Azure 資料中心 Ip 範圍中所列的任何 IP 位址,這一點非常重要。It's important that you allow any IP address listed in the Azure Datacenter IP Ranges.
SIP 信號: Fqdn 和防火牆埠SIP Signaling: FQDNs and firewall ports

媒體流量: IP 位址與埠範圍Media traffic: IP addresses and port ranges

Azure 資料中心 IP 範圍Azure Datacenter IP Ranges
utf-77 設定 SBCsConfigure SBCs Microsoft 只支援驗證的 SBCs 與直接路由配對。Microsoft only supports the certified SBCs to pair with Direct Routing.

使用供應商專用的指示,以及 [ 其他資訊 ] 欄中的文章中的指示來設定 SBCs。Configure SBCs by using vendor-specific guidance and the instructions in the article in the Additional information column.
支援的會話邊界控制器 (SBCs) Supported Session Border Controllers (SBCs)
8 使用直接佈線對 SBCs 進行配對Pair SBCs with Direct Routing 在每個網站中,SBCs 都必須與直接路由搭配使用,以提供撥號音和 PSTN 通話功能(您自己的 trunks)。SBCs in each site must be paired with Direct Routing to provide dial tone and PSTN calling capabilities by using your own trunks.

驗證特定網站中的 SBC 已與直接路由配對,或者如果不在之前就進行設定。Validate the SBC in that specific site is already paired with Direct Routing or configure the pair if not performed before.

Microsoft 只支援認證的 SBC 與直接路由配對。Microsoft supports only the certified SBC's to pair with Direct Routing. 驗證該網站中的 SBC 已認證。Validate the SBC in that site is certified.
使 SBC 與電話系統的直接路由服務成對Pair the SBC to Direct Routing Service of Phone System
99 驗證 SBC 配對Validate SBC pairing 針對 Get-CsOnlinePSTNGateway 您針對特定網站進行配對的每個 SBC 執行 Cmdlet,並確認 已啟用 參數顯示值 TrueRun the Get-CsOnlinePSTNGateway cmdlet for each SBC you paired for the specific site and verify that the parameter Enabled displays the value True.

使用 SBC 管理介面,確認 SBC 收到 200 「確定 」對傳出 SIP 選項的回應。Use the SBC management interface to verify that the SBC gets 200 "OK" responses to the outgoing SIP OPTIONS.
10 驗證使用者設定Validate user configuration 使用目錄同步處理,確認使用者帳戶是直接在 Microsoft 365 或 Office 365 中建立或同步處理。Verify that the user accounts are either created directly in or synchronized to Microsoft 365 or Office 365 by using Directory synchronization.

確認已指派所需的授權給使用者。Verify that the necessary licenses are assigned to the users.

針對直接路由的 PSTN 連線,您的使用者必須駐留在商務用 Skype Online 中,且已啟用 Microsoft 團隊。For PSTN connectivity with Direct Routing, your users must be homed in Skype for Business Online and enabled for Microsoft Teams.
允許使用者使用直接路由服務Enable users for Direct Routing Service
1111 設定使用者的電話號碼Configure users' phone numbers 直接傳送範圍內的所有使用者,都必須獲指派電話號碼和語音信箱。All users who are in scope for Direct Routing must be assigned their phone numbers and voicemail.

使用 Set-CsUser Cmdlet 來啟用語音信箱並將電話號碼指派給您的使用者。Use Set-CsUser cmdlet to enable voicemail and assign phone numbers to your users.
設定電話號碼並啟用企業語音及語音信箱Configure the phone number and enable enterprise voice and voicemail
之間12 設定語音路由Configure voice routing [電話系統] 有一個路由機制,可讓您根據下列情況,將呼叫傳送到特定的 SBC:Phone System has a routing mechanism that allows a call to be sent to a specific SBC based on:
  • 名為 [數位模式]Called number pattern
  • 撥打電話的電話號碼模式 + 特定使用者Called number pattern + Specific User who makes the call
透過建立下列專案來設定使用者的語音路由:Configure voice routing for the users by creating:
  • 語音路由策略Voice Routing Policies
  • PSTN 用法PSTN Usages
  • 語音路線Voice Routes
  • 線上 PSTN 閘道Online PSTN Gateways
設定語音路由Configure Voice Routing
13 將 Microsoft 團隊設定為使用者的首選呼叫用戶端Set Microsoft Teams as the preferred calling client for the users 在使用者可以在 Microsoft 團隊中看到 [ 通話 ] 索引標籤之前,您必須先為 microsoft 團隊中的租使用者啟用 私人通話 ,而且小組用戶端必須設定為使用者的 首選呼叫客戶 端。Before a user can see the Calls tab in Microsoft Teams, you need to enable private calling for the tenant in Microsoft Teams and the Teams client must be configured as the preferred calling client for the users. 啟用 Microsoft 團隊通話Enable Calling for Microsoft Teams

將 Microsoft 團隊設定為使用者的首選呼叫用戶端Set Microsoft Teams as the preferred calling client for the users
414 允許使用者直接傳送Enable users for Direct Routing 將語音路由策略指派給將透過已設定的 SBC 直接路由的使用者,進行撥打電話並取得 PSTN 通話。Assign the voice routing policies to the users who will make and get PSTN calls by using Direct Routing through the configured SBC. 允許使用者使用直接路由服務Enable users for Direct Routing Service
工資15 準備及執行使用者接受度測試Prepare and execute user acceptance testing 準備及執行使用者接受度測試,包括撥入和撥出案例。Prepare and execute user acceptance tests, including dial-in and dial-out scenarios. 在團隊中測試雲端語音工作負載Test cloud voice workloads in Teams
16 報表使用量、健康情況、金鑰成功指示器 (KSIs) 及品質Report usage, health, key success indicators (KSIs), and quality 在您在構想階段中定義的使用方式、健康情況、KSIs 和品質等報告。Report on usage, health, KSIs, and quality as you defined them during the Envision phase. 操作指南Operations Guide

後續步驟Next steps

完成此檢查清單後,您就可以成功地設定直接與您的小組部署進行路由。After you complete this checklist, you'll have successfully configured Direct Routing with your Teams deployment.

在下一個步驟中,使用 [網站啟用行動手冊] 來取得語音 (行動手冊) ,協助您規劃並執行重要的網站特定活動。As the next step, use the Site Enablement Playbook for Voice (Playbook) to help you onboard your users on each site, and help ensure that you plan and execute important site-specific activities.