Skip to content

Commit 0a32e93

Browse files
authored
Merge pull request MicrosoftDocs#9463 from JensTrier/UNTUpdate1
Update New-CsTeamsUnassignedNumberTreatment
2 parents e42b49a + 6fd555a commit 0a32e93

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

teams/teams-ps/teams/New-CsTeamsUnassignedNumberTreatment.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ where the audio file MainAnnouncement.wav will be played to the caller.
4848

4949
### Example 3
5050
```powershell
51-
$UserObjectId = (Get-CsOnlineUser -Identity [email protected]).ObjectId
51+
$UserObjectId = (Get-CsOnlineUser -Identity [email protected]).Identity
5252
New-CsTeamsUnassignedNumberTreatment -Identity TR2 -Pattern "^\+15552224444$" -TargetType User -Target $UserObjectId -TreatmentPriority 3
5353
```
5454
This example creates a treatment that will route all calls to the number +1 (555) 222-4444 to the user [email protected].
@@ -172,14 +172,18 @@ The cmdlet is available in Teams PS module 2.5.1 or later.
172172
173173
The parameters Identity and TreatmentId are mutually exclusive.
174174
175+
To route calls to unassigned Microsoft Calling Plan subscriber numbers, your tenant needs to have available Communications Credits.
176+
177+
To route calls to unassigned Microsoft Calling Plan service numbers, your tenant needs to have at least one Phone System – Virtual User license.
178+
175179
Both inbound calls to Microsoft Teams and outbound calls from Microsoft Teams will have the called number checked against the unassigned number range.
176180
177181
If a specified pattern/range contains phone numbers that are assigned to a user or resource account in the tenant, calls to these phone numbers will be routed to
178182
the appropriate target and not routed to the specified unassigned number treatment. There are no other checks of the numbers in the range. If the range contains
179183
a valid external phone number, outbound calls from Microsoft Teams to that phone number will be routed according to the treatment.
180184
181185
## RELATED LINKS
182-
[Import-CSOnlineAudioFile](https://docs.microsoft.com/powershell/module/skype/import-csonlineaudiofile)
186+
[Import-CsOnlineAudioFile](https://docs.microsoft.com/powershell/module/skype/import-csonlineaudiofile)
183187
184188
[Get-CsTeamsUnassignedNumberTreatment](Get-CsTeamsUnassignedNumberTreatment.md)
185189

teams/teams-ps/teams/Set-CsTeamsUnassignedNumberTreatment.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ The cmdlet is available in Teams PS module 2.5.1 or later.
161161
162162
Both inbound calls to Microsoft Teams and outbound calls from Microsoft Teams will have the called number checked against the unassigned number range.
163163
164+
To route calls to unassigned Microsoft Calling Plan subscriber numbers, your tenant needs to have available Communications Credits.
165+
166+
To route calls to unassigned Microsoft Calling Plan service numbers, your tenant needs to have at least one Phone System – Virtual User license.
167+
164168
If a specified pattern/range contains phone numbers that are assigned to a user or resource account in the tenant, calls to these phone numbers will be routed to
165169
the appropriate target and not routed to the specified unassigned number treatment. There are no other checks of the numbers in the range. If the range contains
166170
a valid external phone number, outbound calls from Microsoft Teams to that phone number will be routed according to the treatment.

0 commit comments

Comments
 (0)