Forum Discussion
Number to Username Translation, Is it possible?
- Oct 05, 2019
godril I've just performed a little science experiment. I ran the following PowerShell command for a user in our tenant which does not have a PSTN assigned:
Set-CsUser -Identity userwithnopstn@example.com -OnPremLineURI tel:1234I then dialed "1234" from Teams and the call was successfully routed to the user. So yes, it does seem it should be possible.
godril I've just performed a little science experiment. I ran the following PowerShell command for a user in our tenant which does not have a PSTN assigned:
Set-CsUser -Identity userwithnopstn@example.com -OnPremLineURI tel:1234I then dialed "1234" from Teams and the call was successfully routed to the user. So yes, it does seem it should be possible.
- godrilOct 06, 2019Brass Contributor
Hi Ryan Steele
Why on earth didnt I think of this before!? So basically it can accept any type of numbers, and not just E164 and I dont have to enable EnterpriseVoice? Must try this first thing in Monday morning. Thank you very much.
Have a very nice weekend.
- Ryan SteeleOct 06, 2019Bronze Contributor
godril I believe the account does need to be licensed for Phone System and have Enterprise Voice enabled. I will also mention that we are using Calling Plans exclusively and haven't implemented Direct Routing, so I'm not sure whether that would make any difference for your scenario.
- godrilOct 20, 2019Brass Contributor
Hi Ryan Steele ,
just want to update with the tinkering. In the Direct Routing I have to Set-CsUser with OnpremlineURI tel: +1001 . It needs to be E164 formatted. From there on I just have to create Tenant Normalization rule and set IsInternalExtension to $false (at first my pbx mindset automatically make $true and it didnt work). And then adding some rule in the SBC for intercall with other PBX as paul-lange suggested.
So thanks again for the clue.