{"id":5804,"date":"2022-05-27T05:53:25","date_gmt":"2022-05-27T05:53:25","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5804"},"modified":"2022-05-27T05:53:25","modified_gmt":"2022-05-27T05:53:25","slug":"teams-calling-assigning-direct-routing-numbers-to-a-user","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/teams-calling-assigning-direct-routing-numbers-to-a-user","title":{"rendered":"Teams Calling Assigning Direct Routing Numbers To A User"},"content":{"rendered":"<ol><li>Ensure the user you are assigning the number to has adequate licensing by logging into\u00a0<a href=\"https:\/\/admin.microsoft.com\/\">https:\/\/admin.microsoft.com\/<\/a>, select users -&gt; active users -&gt; *click the user you wish to assign the number to* -&gt; Licenses &amp; apps. Make sure the location is set and you have a valid license combination added and click save changes. This example uses Microsoft 365 Business Basic + Microsoft Teams Phone Standard\u00a0<img decoding=\"async\" class=\"teams-image img-responsive\" src=\"https:\/\/cloudphonesystemcap.hosted-voice.net.au\/images\/teams\/v2-general\/v2-general_assignnumbers_2_AU.png\" \/><\/li><li>Navigate back to the Teams Admin Portal at\u00a0<a href=\"https:\/\/admin.teams.microsoft.com\/\">https:\/\/admin.teams.microsoft.com\/<\/a>. Select users -&gt; manage users -&gt; *click the name of the user* -&gt; General Information [edit]<ul><li>Select \u201cDirect Routing\u201d as the phone number type<\/li><li><p>Type in the phone number in the Assigned Phone Number field.<\/p><p><strong>*phone number must be in international format e.g. 02825543350 must be entered in as 612825543350<\/strong><\/p><p>*Alternatively you can perform this action in the terminal instead using the CLI below<\/p><p>Replace: &lt;UID&gt; with user ID e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &lt;DDI IN E164&gt; with phone number e.g. 612825543350<\/p><div class=\"terminal-container\"><div class=\"terminal-button-container\">\u00a0<\/div><div id=\"and-this-one\" class=\"terminal\">Set-CsPhoneNumberAssignment -Identity &#8220;&lt;UID&gt;&#8221; -PhoneNumber &#8220;&lt;DDI IN E164&gt;&#8221; -PhoneNumberType DirectRouting<\/div><\/div><img decoding=\"async\" class=\"teams-image img-responsive\" src=\"https:\/\/cloudphonesystemcap.hosted-voice.net.au\/images\/teams\/v2-general\/v2-general_assignnumbers_3_AU.png\" \/><\/li><\/ul><\/li><\/ol><h3>Assigning Policies To A User<\/h3><ol><li><p>Select Policies -&gt;Assigned Policies [edit] -&gt; Please enter:<\/p><ul><li>Emergency Call Routing Policy: xxxxxx.sbc1.hvteams.com.au<\/li><li>Dial Plan: &lt;Area code&gt;\u00a0<span class=\"fqdn\">xxxxxx.sbc1.hvteams.com.au<\/span><br \/><strong>*for 028 numbers use the &#8220;Non Local\u00a0<span class=\"fqdn\">xxxxxx.sbc1.hvteams.com.au<\/span>&#8221; Dial Plan<\/strong><\/li><li>Voice Routing Policy:\u00a0<span class=\"fqdn\">xxxxxx.sbc1.hvteams.com.au<\/span><\/li><\/ul><\/li><li><p>Click Apply<\/p><p>*Alternatively you can perform this action in the terminal instead using the CLI below<\/p><p>Replace: &lt;UID&gt; with user ID e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx &lt;Area Code&gt; with Area code or Non Local<\/p><div class=\"terminal-container\"><div class=\"terminal-button-container\">\u00a0<\/div><div id=\"copy-this\" class=\"terminal\">Grant-CsTenantDialPlan -Identity &#8220;&lt;UID&gt;&#8221; -PolicyName &#8220;&lt;Area Code&gt; 8021150.sbc1.hvteams.com.au&#8221;;Grant-CsTeamsEmergencyCallRoutingPolicy -identity &#8220;&lt;UID&gt;&#8221; -PolicyName &#8220;xxxxxx.sbc1.hvteams.com.au&#8221;;Grant-CsOnlineVoiceRoutingPolicy -Identity &#8220;&lt;UID&gt;&#8221; -PolicyName &#8220;xxxxxx.sbc1.hvteams.com.au&#8221;;<\/div><\/div><img decoding=\"async\" class=\"teams-image img-responsive\" src=\"https:\/\/cloudphonesystemcap.hosted-voice.net.au\/images\/teams\/v2-general\/v2-general_assignnumbers_3_AU.png\" \/><\/li><\/ol><h3>Testing The Service<\/h3><p>It takes approximately 24hours for a newly provisioned service to be activated.<\/p><p>Once the dial pad appears in the Team Application you should be ready to make phone calls.<\/p><p><img decoding=\"async\" class=\"teams-image img-responsive\" src=\"https:\/\/cloudphonesystemcap.hosted-voice.net.au\/images\/teams\/v2-general\/v2_general_assignnumbers_5_AU.png\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Ensure the user you are assigning the number to has adequate licensing by logging into\u00a0https:\/\/admin.microsoft.com\/, select users -&gt; active users -&gt; *click the user you wish to [&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-5804","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5804","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=5804"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5804\/revisions"}],"predecessor-version":[{"id":5805,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5804\/revisions\/5805"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}