Forum Discussion
Direct routing to multi tenant users without MS hosted phone numbers
- Jun 28, 2020
When you write "My Platform" is that a multi tenant SBC you have setup? You have to route the calls to the correct SIP trunk for each customer from your SBC and to the PSTN number of the user, not to the SIP address.
Your customers have to add a subdomain with your domain in their tenant to be able to use your multi tenant Direct Routing setup.
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
When you write "My Platform" is that a multi tenant SBC you have setup? You have to route the calls to the correct SIP trunk for each customer from your SBC and to the PSTN number of the user, not to the SIP address.
Your customers have to add a subdomain with your domain in their tenant to be able to use your multi tenant Direct Routing setup.
https://docs.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants
LinusCansby My Platform is my existing setup used for my normal VOIP traffic, of which I have added a SBC specifically to deal with MS Teams. This then would give my customers the option of delivering calls to their team users.
In my 1st test but not in a multi tenant setup I was delivering the call to the users sip address using direct routing. Which is really what I expected to do going forward. As I said the PSTN numbers are not hosted with MS but my other provider and porting them to MS is not an option.
So how can I get the calls to the user? Can I add a number to a user / team voice routing profile without actually needing that number to be hosted with MS?
- Ryan SteeleJun 28, 2020Bronze Contributor
VoipGuyUK wrote:Can I add a number to a user / team voice routing profile without actually needing that number to be hosted with MS?
Yes. You run a command like
Set-CsUser -Identity "spencer.low@contoso.com" -OnPremLineURI tel:+14255388797 -EnterpriseVoiceEnabled $true -HostedVoiceMail $true
in the customer's tenant, as documented at https://docs.microsoft.com/en-us/microsoftteams/direct-routing-enable-users#configure-the-phone-number-and-enable-enterprise-voice-and-voicemail .
- VoipGuyUKJun 28, 2020Copper Contributor
Ryan Steele Thanks so that number as long as valid E1.64 is acceptable regardless of where hosted. If I want to be able to send a call to multiple users at the same time how should this be achieved? Can multiple users share the same OnPremLineURI ? Or would I need to manage groups on my platform distributing to each OnPremLineURI that each user would have?
- LinusCansbyJun 29, 2020MVP
VoipGuyUK If that number is assigned to a user in another platform (PBX) you should not assign that the same number to a user in Teams. You should decide what PBX you want to use for that number, the old platform you use today or Teams, you can have some users in the old PBX and some in Teams.
If you have multiple users that should answer to calls on the same number the best way is to setup a Call Queue in Teams.
https://docs.microsoft.com/en-us/microsoftteams/create-a-phone-system-call-queue