從商務用 Skype 內部部署升級至團隊的 PSTN 考慮PSTN considerations for upgrading to Teams from Skype for Business on-premises

本文將說明升級至小組時的公用交換電話網絡 (PSTN) 考慮。This article describes Public Switched Telephone Network (PSTN) considerations when upgrading to Teams.

此外,下列文章說明重要的升級概念與共存行為:In addition, the following articles describe important upgrade concepts and coexistence behaviors:

注意

  • 只有在使用者處於 TeamsOnly 模式時,才會支援將電話系統與團隊一起使用。Using Phone System with Teams is only supported when the user is in TeamsOnly mode. 如果使用者使用的是孤島模式,則只有商務用 Skype 支援電話系統。If the user is in Islands mode, Phone System is only supported with Skype for Business.
  • 商務用 Skype 中的任何來電轉接、團隊通話群組和委派設定都不會被遷移,且需要為小組重新建立。Any call forwarding, team-call group, and delegation settings from Skype for Business are not migrated and will need to be re-recreated for Teams.
  • 如需 Microsoft 團隊雲端語音功能的一般概覽,並協助您 規劃團隊的語音方案,請參閱規劃您的小組語音方案For a general overview of Microsoft Teams cloud voice features, and help deciding which Microsoft voice solution is right for your organization, see Plan your Teams voice solution.

PSTN 通話案例PSTN calling scenarios

移至 TeamsOnly 模式時,有四種可能的通話案例:There are four possible calling scenarios when moving to TeamsOnly mode:

本文僅提供高層次的概覽。This article provides a high-level overview only. 如需詳細資訊,請參閱 手機系統 Direct 路由通話方案For more information, see Phone System Direct Routing and Calling Plans.

使用 Microsoft 通話方案從商務用 Skype OnlineFrom Skype for Business Online with Microsoft Calling Plans

這是包括語音在內的最簡單的升級案例。This is the simplest upgrade scenario involving voice.

  1. 請確定使用者已獲指派團隊授權。Make sure users have been assigned a Teams license. 根據預設,當您指派 Microsoft 365 或 Office 365 授權時,系統會啟用團隊,所以除非您先前已停用團隊授權,否則不需要採取任何動作。By default, when you assign a Microsoft 365 or Office 365 license, Teams is enabled, so unless you previously disabled the Teams license, no action should be necessary.

  2. 如果使用者已有電話號碼的 Microsoft 通話方案,唯一的必要變更是在 TeamsUpgradePolicy 中指派使用者 TeamsOnly 模式。If users already have a Microsoft Calling Plan with a phone number, the only required change is to assign the user TeamsOnly mode in TeamsUpgradePolicy. 在指派 TeamsOnly 模式之前,傳入的 PSTN 呼叫將會居住在使用者的商務用 Skype 用戶端。Prior to assigning TeamsOnly mode, incoming PSTN calls will land in the user’s Skype for Business client. 升級至 TeamsOnly 模式之後,傳入的 PSTN 呼叫會集中在使用者的團隊用戶端中。After the upgrade to TeamsOnly mode, incoming PSTN calls will land in the user’s Teams client.

從商務用 Skype Online (含內部部署語音)From Skype for Business Online with on-premises voice

在這種情況下,使用者已經在商務用 Skype Online 中,但其 PSTN 連線是內部部署的,在混合模式或雲端連接器版本中使用商務用 Skype 伺服器。In this scenario, the user is already in Skype for Business Online, but their PSTN connectivity is on-premises, either using Skype for Business Server in hybrid mode or Cloud Connector Edition. 透過 PSTN 功能將這些使用者遷移至 TeamsOnly 模式,就是透過內部部署會話邊界控制器 (SBC) ,讓 PSTN trunks 直接連線到雲端中的直接路由服務。Migrating these users to TeamsOnly mode with PSTN functionality means enabling them for Direct Routing, in which PSTN trunks connect directly to the Direct Routing service in the cloud, via your on-premises Session Border Controller (SBC).

下列基本步驟如下所示。The basic steps are listed below. 步驟1-4 會列在建議的順序中,但它們可以以任何順序完成。Steps 1-4 are listed in the suggested sequence, but they can be done in any order. 金鑰是所有這些都應該在步驟5之前完成。The key is that all of these should be completed before Step 5.

  1. 如果您要將租使用者的原則設定為其中一個商務用 Skype 模式,請務必透過明確指派 grandfather 任何現有的孤島使用者,如前面所述。If you are setting the tenant-wide policy to one of the Skype for Business modes, be sure to grandfather any existing Islands users by explicitly assigning them Islands mode, as previously described.

  2. 針對直接路由設定您的租使用者。Configure your tenant for Direct Routing. 請參閱 直接路由的每個租使用者配置摘要See Summary of per-tenant configuration of Direct Routing.

  3. 如有需要,請針對這些使用者設定各種小組原則 (例如,TeamsMessagingPolicy、TeamsMeetingPolicy 等)。 ) 。If desired, configure various Teams policies for these users (for example, TeamsMessagingPolicy, TeamsMeetingPolicy, etc.). 您可以隨時完成這項作業,但如果您想要確保使用者在升級時有正確的設定,最好在將使用者升級至 TeamsOnly 模式前執行此動作。This can be done at any time, but if you want to ensure that users have the correct configuration when they are upgraded, it’s best to do this before the user is upgraded to TeamsOnly mode.

  4. 準備選取要語音遷移的使用者:Prepare select users for voice migration:

    • 如有需要,請指派 [團隊授權]。If necessary, assign the Teams license. 假設使用者已在商務用 Skype Online 內部部署語音中運作,則使用者已經有商務用 Skype 方案2以及 Microsoft 手機系統。Assuming the user is already functional in Skype for Business Online on-premises voice, the user already has Skype for Business Plan 2 as well as Microsoft Phone System. 讓這些方案保持啟用,包括商務用 Skype Online 方案2授權。Leave both those plans enabled, including the Skype for Business Online Plan 2 license.
    • 指派所需的 OnlineVoiceRoutingPolicy。Assign the desired OnlineVoiceRoutingPolicy.
  5. 升級使用者:必須協調這些步驟。Upgrade the user: These steps should be coordinated.

    • 在 Microsoft 365 或 Office 365 中,將使用者升級為 TeamsOnly 模式 (授與 CsTeamsUpgradePolicy) 。In Microsoft 365 or Office 365, upgrade the user to TeamsOnly mode (Grant-CsTeamsUpgradePolicy).
    • 在 SBC 中,將語音路由設定為直接路由(而不是內部部署的中繼伺服器)傳送呼叫來啟用撥入通話。On the SBC, configure voice routing to enable incoming calls by sending calls to Direct Routing instead of to the on-premises Mediation Server.

從商務用 Skype Server 內部部署(含企業語音)到直接路由From Skype for Business Server on-premises, with Enterprise Voice, to Direct Routing

在這種情況下,使用者仍然是在商務用 Skype 內部部署中,而且其 PSTN 連線也是內部部署。In this scenario, the user is still homed in Skype for Business on-premises, and their PSTN connectivity is also on-premises. 使用 PSTN 功能將這些使用者遷移至 TeamsOnly 模式,可以讓他們直接路由,然後將使用者移至雲端。Migrating these users to TeamsOnly mode with PSTN functionality means enabling them for Direct Routing and then moving the user to the cloud.

下列基本步驟如下所示。The basic steps are listed below. 步驟1-5 會列在建議的順序中,但它們可以以任何順序完成。Steps 1-5 are listed in the suggested sequence, but they can be done in any order. 金鑰是所有這些都應該在步驟6之前完成。The key is that all of these should be completed before Step 6.

  1. 如果您要將租使用者的原則設定為其中一個商務用 Skype 模式,請務必 grandfather 現有的孤島使用者,方法是將其明確指派給其孤島模式(如前面所述)。If you will be setting the tenant-wide policy to one of the Skype for Business modes, be sure to grandfather existing Islands users by explicitly assigning them Islands mode, as previously described.

  2. 如果您尚未這麼做,請 針對商務用 Skype 混合式設定組織If you haven’t already done so, configure the organization for Skype for Business hybrid.

  3. 針對直接路由設定您的租使用者。Configure your tenant for Direct Routing. 請參閱 直接路由的每個租使用者配置摘要See Summary of per-tenant configuration of Direct Routing.

  4. 如有需要,請針對這些使用者設定不同的小組原則 (例如 TeamsMessagingPolicy、TeamsMeetingPolicy 等)。 ) 。If desired, configure various Teams policies for these users (e.g. TeamsMessagingPolicy, TeamsMeetingPolicy, etc.). 您可以隨時完成這項作業,但如果您想要確保使用者在升級時有正確的設定,最好在將使用者升級至 TeamsOnly 前進行。This can be done at any time, but if you want to ensure that users have the correct configuration when they are upgraded, it’s best to do this before the user is upgraded to TeamsOnly.

  5. 如有需要,請指派 Microsoft 365 或 Office 365 授權。Assign the Microsoft 365 or Office 365 licenses if necessary. 使用者應該同時擁有 [小組] 和 [商務用 Skype Online 方案 2],以及 [電話系統]。The user should have both Teams and Skype for Business Online Plan 2, as well as Phone System. 如果商務用 Skype Online 方案2已停用,請重新啟用它。If the Skype for Business Online Plan 2 is disabled, re-enable it.

  6. 升級使用者:必須協調這些步驟。Upgrade the user: These steps should be coordinated.

    • 使用內部部署商務用 Skype 工具,以-MoveToTeams 開關執行 Move-CsUser。Using the on-premises Skype for Business tools, run Move-CsUser with -MoveToTeams switch. 如果您使用的是不支援-MoveToTeams 開關的商務用 Skype Server 版本,請先執行 Move-CsUser 然後在租使用者遠端 PowerShell 或團隊管理主控台中指派 TeamsOnly 模式。If you are using a version of Skype for Business Server that does not support the -MoveToTeams switch, first run Move-CsUser and then assign TeamsOnly mode in tenant remote PowerShell or Teams Admin Console.

    • 在 SBC 中,將語音路由設定為直接路由(而不是內部部署的中繼伺服器)傳送呼叫來啟用撥入通話。On the SBC, configure voice routing to enable incoming calls by sending calls to Direct Routing instead of to the on-premises Mediation Server.

    • 在 Microsoft 365 或 Office 365 中:指派相關的 OnlineVoiceRoutingPolicy 來啟用撥出通話。In Microsoft 365 or Office 365: Assign the relevant OnlineVoiceRoutingPolicy to enable outgoing calls.

從商務用 Skype Server 內部部署(含企業語音)到 Microsoft 通話方案From Skype for Business Server on-premises, with Enterprise Voice, to Microsoft Calling Plan

在這種情況下,使用者仍然是在商務用 Skype 內部部署中,而且其 PSTN 連線也是內部部署。In this scenario, the user is still homed in Skype for Business on-premises, and their PSTN connectivity is also on-premises. 透過 PSTN 功能將這些使用者遷移至 TeamsOnly 模式,意味著將使用者移至雲端,並將其號碼從舊的運營商移植到 Microsoft 通話方案,或為使用者指派新的號碼。Migrating these users to TeamsOnly mode with PSTN functionality means moving the user to the cloud and either porting their number from the old carrier to a Microsoft Calling plan or assigning the user a new number.

下列基本步驟如下所示。The basic steps are listed below.步驟1-5 會列在建議的順序中,但它們可以以任何順序完成。  Steps 1-5 are listed in the suggested sequence, but they can be done in any order. 金鑰是所有這些都應該在步驟6之前完成。The key is that all of these should be completed before Step 6.

  1. 如果您要將租使用者的原則設定為其中一個商務用 Skype 模式,請務必 grandfather 現有的孤島使用者,方法是將其明確指派給其孤島模式(如前面所述)。If you will be setting the tenant-wide policy to one of the Skype for Business modes, be sure to grandfather existing Islands users by explicitly assigning them Islands mode, as previously described.

  2. 如果您尚未這麼做,請 針對商務用 Skype 混合式設定組織If you haven’t already done so, configure the organization for Skype for Business hybrid.

  3. 如有需要,請針對這些使用者設定各種小組原則 (例如,TeamsMessagingPolicy、TeamsMeetingPolicy 等)。 ) 。If desired, configure various Teams policies for these users (for example, TeamsMessagingPolicy, TeamsMeetingPolicy, etc.). 您可以隨時完成這項作業,但如果您想要確保使用者在升級時有正確的設定,最好在將使用者升級至 TeamsOnly 前進行。This can be done at any time, but if you want to ensure that users have the correct configuration when they are upgraded, it’s best to do this before the user is upgraded to TeamsOnly.

  4. 如有需要,請指派 Microsoft 365 或 Office 365 授權。Assign the Microsoft 365 or Office 365 licenses if necessary.使用者應該同時擁有 [小組] 和 [商務用 Skype Online 方案 2],以及 [電話系統]。  The user should have both Teams and Skype for Business Online Plan 2, as well as Phone System. 如果商務用 Skype Online 方案2已停用,請重新啟用它。If the Skype for Business Online Plan 2 is disabled, re-enable it.

  5. 為您的使用者取得電話號碼。Get phone numbers for your users. (如需詳細資訊,請參閱 管理貴組織的電話號碼。 ) (For details see Manage phone numbers for your organization.)

    • 如果您要重複使用這些號碼,請將移植要求提交給您的運營商。If you will be re-using the numbers, submit a porting request to your carrier.
    • 或者,您也可以直接從 Microsoft 取得新號碼。Alternatively, you can acquire new numbers directly from Microsoft.
  6. 升級使用者並視需要指派 LineUri。Upgrade the user and if needed assign LineUri. 使用內部部署商務用 Skype 工具,以-MoveToTeams 開關執行 Move-CsUser。Using the on-premises Skype for Business tools, run Move-CsUser with the -MoveToTeams switch.

    • 如果您要將號碼移植到 Microsoft,您應該將這個作業的時間調整為在埠出現時進行。If you are porting numbers to Microsoft, you should coordinate the timing of this operation to occur when the port occurs.

    • 如果您使用的是 Microsoft 的新號碼,您需要變更該使用者的 LineUri。If you are using new numbers from Microsoft, you’ll need to change the LineUri for the user. 這必須在使用者使用設定 CsOnlineVoiceUser 進行線上移動之後進行。This must be done after the user is moved online using Set-CsOnlineVoiceUser.

直接路由的每個租使用者配置摘要Summary of per-tenant configuration of Direct Routing

  1. 透過查看 此清單,確保您的會話邊界控制器 (SBC) 支援直接路由。Ensure that your Session Border Controller (SBC) is supported with Direct Routing by reviewing this list. 您也必須確定您的固件版本正確。You must also ensure that you have correct version of firmware.

  2. 將您的內部部署 SBC 與團隊直向路由服務配對。Pair your on-premises SBC with the Teams Direct Routing service. 如需詳細資訊,請參閱將 SBC 與電話系統的直接路由服務For details, see Pair the SBC to the Direct Routing service of Phone System.

  3. 此設定實質上是內部部署設定的鏡像。This configuration is essentially a mirror of the on-premises configuration. 線上配置包括:The online configuration consists of:

    • 如果您是從商務用 Skype Online 遷移使用者,且從使用企業語音) 的內部部署遷移使用者,請根據 VoicePolicy 來 OnlineVoiceRoutingPolicy 根據內部部署 VoiceRoutingPolicy 的 (。OnlineVoiceRoutingPolicy (based on the on-premises VoiceRoutingPolicy if migrating users from Skype for Business Online, and based on VoicePolicy if migrating users from on-premises with Enterprise Voice).
    • OnlinePSTNUsage 物件 (根據內部部署的 PSTN 使用量) 。OnlinePSTNUsage objects (based on on-premises PSTN usage).
    • OnlineVoiceRoute 物件 (基於內部部署 VoiceRoute) 。OnlineVoiceRoute objects (based on-premises VoiceRoute).

如需詳細資訊,請參閱 設定直接路由For more information, see Configure Direct Routing.

在遷移期間管理 EnterpriseVoiceEnabled 屬性Manage EnterpriseVoiceEnabled property during migration

無論是使用直接路由或 Microsoft 通話方案,使用者在 Azure AD 中都必須有 EnterpriseVoiceEnabled = true,才能讓使用者擁有 PSTN 功能。Whether using Direct Routing or a Microsoft Calling plan, a user must have EnterpriseVoiceEnabled=true in Azure AD for the user to have PSTN functionality. EnterpriseVoiceEnabled ( "EV-enabled" ) 是一個 (不在內部部署目錄和雲端中的原則) 的屬性。EnterpriseVoiceEnabled (“EV-enabled”) is a property (not a policy) that exists in both an on-premises directory and in the cloud. 雲端中的值是對團隊而言重要的。The value in the cloud is what matters for Teams. 如何將 EV 啟用的確切邏輯設定為 true,視下列情況而定:The exact logic for how EV-enabled gets set to true depends on the following scenario:

  • 如果使用者在內部部署商務用 Skype 伺服器中啟用 EV,且在將使用者移至雲端且使用 Move-csuser 時,系統會為使用者指派電話系統授權,則會使用 EV-enabled = true 來預配線上使用者。If the user is EV-enabled in on-premises Skype for Business Server and a Phone System license is assigned to the user prior to moving the user to the cloud with Move-CsUser, the online user will be provisioned with EV-enabled=true.

  • 如果現有的 TeamsOnly 或商務用 Skype Online 使用者已獲指派電話系統授權,則 EV-enabled 預設不會設定為 true。If an existing TeamsOnly or Skype for Business Online user is assigned a Phone System license, EV-enabled is not set to true by default. 如果在指派電話系統授權之前,將內部部署使用者移至雲端,也會發生這種情況。This also is the case if an on-premises user is moved to the cloud prior to assigning the Phone System license. 不論是哪一種情況,管理員都必須指定下列 Cmdlet:In either case, the admin must specify the following cmdlet:

    Set-CsUser -EnterpriseVoiceEnabled $True 
    

規劃您的小組語音方案Plan your Teams voice solution

與商務用 Skype 搭配使用團隊之組織的遷移和互通性指南Migration and interoperability guidance for organizations using Teams together with Skype for Business

在商務用 Skype Server 與 Microsoft 365 或 Office 365 之間設定混合式連接Configure hybrid connectivity between Skype for Business Server and Microsoft 365 or Office 365

在內部部署和雲端之間移動使用者Move users between on-premises and cloud

設定您的共存與升級設定Setting your coexistence and upgrade settings

授與 CsTeamsUpgradePolicyGrant-CsTeamsUpgradePolicy

使用會議遷移服務 (MMS) Using the Meeting Migration Service (MMS)