![]() The custom audio file supported formats are WAV (uncompressed, linear PCM with 8/16/32-bit depth in mono or stereo), WMA (mono only), and MP3. To route calls to unassigned Microsoft Calling Plan service numbers, your tenant needs to have at least one Microsoft Teams Phone Resource Account license. To route calls to unassigned Microsoft Calling Plan subscriber numbers, your tenant needs to have available Communications Credits. If routing to an announcement, the audio file will be played once to the caller. New-CsTeamsUnassignedNumberTreatment -Identity TR1 -Pattern "^\ 1555333\d$" -TargetType Announcement -Target $fid.Guid -TreatmentPriority 2 $AudioFile = Import-CsOnlineAudioFile -FileName "MainAnnouncement.wav" -Content $Content ![]() $Content = ::ReadAllBytes('C:\Media\MainAnnouncement.wav') The next example specifies that all calls to the number range 1 (555) 333-0000 to 1 (555) 333-9999 will be routed to the announcement service, which will play the audio file MainAnnouncement.wav to the caller. For example, the following command specifies that all calls to the number 1 (555) 222-3333 will be routed to the resource account $RAObjectId = (Get-CsOnlineApplicationInstance -Identity -Identity MainAA -Pattern "^\ 15552223333$" -TargetType ResourceAccount -Target $RAObjectId -TreatmentPriority 1 You need to specify the called number or range of numbers and the associated routing for calls to these numbers. To route calls to an unassigned number, use the New/Get/Set/Remove-CsTeamsUnassignedNumberTreatment cmdlet available in Teams PowerShell module 2.5.1 or later. On the Routing rules tab, click Test number.Įnter a phone number directly or click Select a number and select one of your unassigned phone numbers from the drop-down. You can test your routing rules by using the Test number feature. On the Numbers tab, select an unassigned phone number and click Route at the top of the view You can also create a routing rule directly for an unassigned phone number. You can also select advanced setup, where you directly enter the regular expression for the phone number pattern and the routing option. You can select rules where the type of phone number pattern is preconfigured and you complete the pattern and the routing option. Give the rule a name, a description and specify the evaluation order for the rule.ĭecide which kind of rule you want to add. In the left navigation of the Microsoft Teams admin center, go to Voice > Phone Numbers. You can configure routing of unassigned numbers by using the Teams admin center or by using PowerShell. You can route calls to unassigned numbers to a user, to a resource account associated with an Auto Attendant or a Call Queue, or to an announcement service that will play a custom audio file to the caller. ![]() Route all calls to a given unassigned number to the main switchboard. Route all calls to a given unassigned number to a custom announcement. For example, you might want to route calls to unassigned numbers as follows: As an administrator, you can route calls to unassigned numbers in your organization.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |