{"id":7652,"date":"2024-02-08T02:17:46","date_gmt":"2024-02-08T02:17:46","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=7652"},"modified":"2024-02-18T22:01:45","modified_gmt":"2024-02-18T22:01:45","slug":"migrate-between-operator-connect-and-direct-routing-for-teams-calling","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/migrate-between-operator-connect-and-direct-routing-for-teams-calling","title":{"rendered":"Migrate between Operator Connect and Direct Routing for Teams Calling"},"content":{"rendered":"\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/operator-connect-configure\">https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/operator-connect-configure<\/a><\/p>\n\n\n\n<p>For Inbound remove the number from Direct Connect <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Connect-MicrosoftTeams<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Remove-CsPhoneNumberAssignment -Identity $user.user -PhoneNumber $user.phonenumber -PhoneNumberType DirectRouting<\/code><\/pre>\n\n\n\n<p>Then do a Sync on Operator Connect Portal which will Sync the numbers back to Teams <\/p>\n\n\n\n<p>Then ReAssign the numbers back to the users<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$users =import-csv (CSV name)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">Foreach($user in $users) { Set-CsPhoneNumberAssignment -Identity $user.user -PhoneNumber $user.phonenumber -PhoneNumberType OperatorConnect}<\/code><\/pre>\n\n\n\n<p>For Outbound<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Teams Direct Routing is added to a deployment that already has Calling Plans or Operator Connect.&nbsp;&nbsp;<\/li>\n\n\n\n<li>Calling Plans or Operator Connect are added to a deployment that already has Teams Direct Routing&nbsp;<\/li>\n\n\n\n<li>Unintentional routing of calls for Calling Plan or Operator Connect users&nbsp;will&nbsp;occur when the Global (org-wide default)&nbsp;Online Voice Routing policy&nbsp;is configured to route calls to Teams Direct Routing SBCs. The policy is automatically assigned to all Teams users, including Direct Routing, Calling Plan and Operator Connect users&nbsp;<\/li>\n\n\n\n<li>For both cases, create a user level\u00a0Online Voice Routing policy. You can name it \u201cDirectRoutingDefault\u201d for example\u00a0<\/li>\n\n\n\n<li>Copy the configuration of the Global (org-wide default)&nbsp;Online Voice Routing policy&nbsp;into the \u201cDirectRoutingDefault\u201d&nbsp;Online Voice Routing policy&nbsp;<\/li>\n\n\n\n<li>Create a second user level&nbsp;Online Voice Routing policy&nbsp;for testing. Name in \u201cNonDRUsers\u201d.&nbsp;<\/li>\n\n\n\n<li><strong>This Operator Connect policy should not include any PSTN Usages.\u00a0<\/strong><\/li>\n\n\n\n<li>Assign the \u201cDirectRoutingDefault\u201d\u00a0Online Voice Routing policy\u00a0to all Teams Direct Routing users.\u00a0<\/li>\n\n\n\n<li>I just removed PSTN from all Call Routing Policies<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\"><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/learn.microsoft.com\/en-us\/microsoftteams\/operator-connect-configure For Inbound remove the number from Direct Connect Then do a Sync on Operator Connect Portal which will Sync the numbers back to Teams Then ReAssign [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7652","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=7652"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7652\/revisions"}],"predecessor-version":[{"id":7674,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/7652\/revisions\/7674"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=7652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=7652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=7652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}