Forum Discussion
mmartin1935
Dec 06, 2023Copper Contributor
Dialing by Extension
I'm having trouble finding an answer on this. I know this question has been asked before, but lots of things I'm seeing are pointing to Skype Business or users coming from Skype to Teams Phone, etc.....
- Dec 08, 2023How many people are you talking about having extensions and numbers different than their DID?
You could create a number normalization rule that normalizes 4 digits to the full phone number, you'd just end up with 1 rule for each person that has a different DID/extension.
New-CsVoiceNormalizationRule -Name BobsExt -Description "Bob's Extension to DID" -Pattern '^1122$' -Translation '+15555555555;ext=1122'
New-CsVoiceNormalizationRule -Name SarahsExt -Description "Sarah's Extension to DID" -Pattern '^2211$' -Translation '+15555554242;ext=2211'
If you put the numbers in a spreadsheet/csv it wouldn't be hard to use some PowerShell to loop through the list and then push it into Teams.
Another option, though not sure if it's available yet, is Teams Private Numbers. Assign a static phone number with the extension as a private number, then your normalization rule is simplified:
New-CsVoiceNormalizationRule -Name ExtensionMatch -Description "Extension Normalization" -Pattern '^(\d{4})$' -Translation '+15555555555;ext=$1'
Deleted
Dec 06, 2023Hellommartin1935
welcome to the Microsoft community, my name is Recep I'll be happy to help you today.
I understand that you are migrating from Zoom to Teams phone and now you want to be able to dial by extension.
Please note that the users you want to make available for Dial By Extension need to have an extension specified as part of one of the following phone attributes defined in Active Directory (and synchronized via Microsoft Entra Connect) or Microsoft Entra ID. For more information, see Add users individually or in bulk.
- TelephoneNumber (AD and Microsoft Entra ID)
- HomePhone (AD)
- Mobile (AD and Microsoft Entra ID)
- OtherTelephone (AD)
The required format to enter the extension in the user phone number field can be one of the following formats:
+<phone number>;ext=<extension>
+<phone number>x<extension>
x<extension>
Example 1: Update-MgUser -UserId 'email address removed for privacy reasons' -MobilePhone '15555555678;ext=5678'
Example 2: Update-MgUser -UserId 'email address removed for privacy reasons' -MobilePhone '+15555555678x5678'
Example 3: Update-MgUser -UserId 'email address removed for privacy reasons' -MobilePhone 'x5678'
You can set the extension in the Microsoft 365 admin center or the Microsoft Entra admin center. It can take up to 12 hours before changes are available to Auto attendants and Call queues.
Note
If using the TelephoneNumber field to define the extension, Microsoft recommends that you use the format +<phone number>;ext=<extension>. If the user is also assigned a Teams Phone Number, you should define both numbers the same way.
Refence article: Auto attendant and Call queue dialing and voice recognition reference - Microsoft Teams | Microsoft Learn
If I have answered your question, please mark your post as Solved If you like my response, please give it a Like Appreciate your Kudos! Proud to contribute! 🙂 |
mmartin1935
Dec 06, 2023Copper Contributor
Thank you for the reply.
I ran the command:
Set-MsolUser -UserPrincipalName email address removed for privacy reasons -PhoneNumber "+15551230001;ext=2233"
Then, looking in MS 365 Admin Center under that user's contact info I can see under Office Phone it added: "+15551230001;ext=2233"
I saw some articles about setting up an auto-attendant to use dial-by-extension. Currently this is saying no user with that extension exists. But, I did remember seeing it could take up to 12 hours for these extensions to be available to Call Queues and Auto-Attendants.
Should I also be able to pickup my teams desk phone, or from the Teams app dialer and simply dial 2233 to reach that user? Or does it REQUIRE you to use an Auto-Attendant?
Thanks Again,
Matt
I ran the command:
Set-MsolUser -UserPrincipalName email address removed for privacy reasons -PhoneNumber "+15551230001;ext=2233"
Then, looking in MS 365 Admin Center under that user's contact info I can see under Office Phone it added: "+15551230001;ext=2233"
I saw some articles about setting up an auto-attendant to use dial-by-extension. Currently this is saying no user with that extension exists. But, I did remember seeing it could take up to 12 hours for these extensions to be available to Call Queues and Auto-Attendants.
Should I also be able to pickup my teams desk phone, or from the Teams app dialer and simply dial 2233 to reach that user? Or does it REQUIRE you to use an Auto-Attendant?
Thanks Again,
Matt