Migrate to Direct Routing
This article describes what is needed to migrate to Direct Routing from a Skype for Business Online and Microsoft Teams configuration perspective. This article covers migrating from the following:
- Phone System with Calling Plans (for Teams and Skype for Business Online)
- Phone System with on-premises PSTN Connectivity in Skype for Business Server (for Skype for Business Online)
- Phone System with on-premises PSTN Connectivity by using the Cloud Connector Edition (for Skype for Business Online)
In addition to these configuration steps, configuration is also required on the Session Border Controller (SBC) to route the calls to the new route. That is outside the scope of this document. For more information, see your SBC vendor documentation.
User provisioning end-state for various PSTN connectivity options
The following table shows the end-state for a user provisioned for the selected PSTN connectivity options with Phone System. Only attributes relevant for voice are shown.
User object attributes | Phone System with Calling Plans | Phone System with on-premises PSTN connectivity via Skype for Business Server | Phone System with on-premises PSTN connectivity via Cloud Connector | Phone System with on-premises PSTN connectivity via Direct Routing |
---|---|---|---|---|
Client | Skype for Business or Teams | Skype for Business | Skype for Business | Teams |
Licenses | Skype Business OnlinePlan 2MCOProfessional or MCOSTANDARD)Phone System (MCOEV)Calling PlansTeams | Skype Business Online Plan 2 (MCOProfessional or MCOSTANDARD)Phone System (MCOEV) | Skype Business Online Plan 2 (MCOProfessional or MCOSTANDARD)Phone System (MCOEV) | Skype Business Online Plan 2 (MCOProfessional or MCOSTANDARDPhone System (MCOEV)Teams |
OnPremLineURI | N/A | The phone number must be synced from the on-premises AD. | The phone number can be managed either in on-premises Active Directory or in Azure Active Directory. | The phone number can be managed either in on-premises Active Directory or in Azure Active Directory. However, if the organization has on-premises Skype for Business, the number must be synced from the on-premises Active Directory. |
LineURI | PSTN Calling phone number | Set automatically from the OnPremLineURI parameter | Set automatically from the OnPremLineURI parameter | Set automatically from the OnPremLineURI parameter |
EnterpriseVoiceEnabled | True | True | True | True |
HostedVoiceMail | True | True | True | True |
VoicePolicy | BusinessVoice | HybridVoice | HybridVoice | HybridVoice |
HostedVoiceMailPolicy | BusinessVoice | BusinessVoice | BusinessVoice | BusinessVoice |
VoiceRoutingPolicy | Has a value | Has a value | Has a value | N/A |
OnlineVoiceRoutingPolicy | $Null | $Null | $Null | Has a value |
TeamsUpgradePolicy1 | TeamsOnly, SfBOnly | $Null | $Null | TeamsOnly |
TeamsCallingPolicyAllowPrivateCalling | True | N/A | N/A | True |
TeamsCallingPolicyAllowGroupCalling | True | N/A | N/A | True |
1 Choosing the right mode of the TeamsUpgradePolicy depends on the scenario. Please read about the voice experience in different modes in Migration and interoperability Guidance for organizations using Teams together with Skype for Business.
As part of this effort, Microsoft recently updated the “Microsoft Teams admin center” (also known as Modern Portal) to reflect the new management model based on coexistence modes. In Modern Portal, configuring TeamsUpgradePolicy will now automatically also set TeamsInteropPolicy to consistent value, so TeamsInteropPolicy is no longer exposed in the user interface. However, admins using PowerShell must still set both TeamsUpgradePolicy and TeamsInteropPolicy together to ensure proper routing. After the transition to TeamsUpgradePolicy is complete, it will no longer be necessary to also set TeamsInteropPolicy.
For more information, please refer to Migration and interoperability Guidance for organizations using Teams together with Skype for Business.
Migrating from Calling Plans
For more information about migrating from Calling Plans, see:
It is recommended that you remove previously configured licensing plan information as follows:
$companyname = “contoso”
$lic1 = $companyname + “:MCOPSTN1”
$lic2 = $companyname + “:MCOPSTN2”
Set-MsolUserLicense -UserPrincipalName <UPN> -RemoveLicenses $lic1
Set-MsolUserLicense -UserPrincipalName <UPN> -RemoveLicenses $lic2
Migrating from Office 365 Phone System with on-premises PSTN connectivity in Skype for Business Server
For more information about migrating from Phone System with on-premises PSTN connectivity in Skype for Business Server, see the following:
It is recommended that you remove previously configured voice routing information as follows:
Grant-CsVoiceRoutingPolicy -PolicyName $NULL -Identity <UPN>
Note
If a global CsVoiceRoutingPolicy is configured, it is recommended that you remove any PSTN usages associated with this global policy.
Migrating from Office 365 Phone System with on-premises PSTN connectivity via Cloud Connector Edition
Important
Cloud Connector Edition will retire July 31, 2021 along with Skype for Business Online. Once your organization has upgraded to Teams, learn how to connect your on-premises telephony network to Teams using Direct Routing.
For more information about migrating from Phone System with on-premises PSTN connectivity via Cloud Connector, see the following:
It is recommended that you remove previously configured voice routing information as follows:
Grant-CsVoiceRoutingPolicy -PolicyName $NULL -Identity <UPN>
Set-CsUserPstnSettings -Identity <UPN> -AllowInternationalCalls $false -HybridPSTNSite $null
Related links
Feedback
Submit and view feedback for