SOLVED

MS Teams Direct Routing: One phone number for all outgoing calls

%3CLINGO-SUB%20id%3D%22lingo-sub-822580%22%20slang%3D%22en-US%22%3EMS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-822580%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20possible%20way%20to%20have%20a%20single%20call%20number%20for%20all%20calls%20going%20out%2Fin%3F%3C%2FP%3E%3CP%3EEx%3A%20We%20have%2020%20users%20but%20only%201%20%22main%22%20office%20phone%20number.%20Is%20it%20possible%20to%20assign%20this%20office%20number%20to%20all%20the%20users%20outgoing%20or%20don't%20assign%20any%20numbers%20to%20the%20users%3F%3C%2FP%3E%3CP%3EThe%20client%20doesn't%20want%20to%20have%20a%20phone%20number%20for%20each%20user%20seperately.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstallation%3A%20Direct%20Routing%20via.%20Powershell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENeed%20any%20more%20info%3F%26nbsp%3B%20Just%20let%20me%20know.%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELars%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-822580%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDirect%20Routing%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-822796%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-822796%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIMO%20you%20could%20just%20assign%20a%20fictional%20phone%20number%20via%20PowerShell%20to%20every%20single%20user%2C%20for%20eg.%20like%20%2B1%20850%2022%2001%20-%20%2B1%20850%2022%2020%20and%20configure%20on%20your%20SBC%20you%20route%20everything%20over%20this%20single%20main%20phone%20number.%20For%20incoming%20calls%20you%20create%20an%20Attendant%20account%20with%20this%20single%20main%20number%20assigned%20and%20route%20everything%20to%20a%20call%20queue%20for%20these%2020%20users.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOtherwise%20you%20would%20need%20to%20assign%20a%20real%20phone%20number%20to%20these%20users%20and%20just%20create%20a%20rule%20on%20the%20SBC%20to%20go%20out%20with%20this%20main%20number.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823036%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823036%22%20slang%3D%22en-US%22%3EHi%20Lars%2C%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20a%20look%20at%20Caller%20ID%20policies%20in%20Teams%20Admin%20Center%20(currently%20rolling%20out).%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fcaller-id-policies%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fcaller-id-policies%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%5CMagnus%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823967%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823967%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38122%22%20target%3D%22_blank%22%3E%40Magnus%20Sandtorv%3C%2FA%3E%2C%20thanks%20for%20your%20suggestion.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhile%20this%20is%20a%20good%20idea%2C%20I%20think%20I%20found%20a%20better%20way...%20(%3F)%3C%2FP%3E%3CP%3EI%20found%20that%20you%20can%20use%20extensions%20with%20the%20%22%3Bext%3Dxx%22%20tag.%3C%2FP%3E%3CP%3ESo%20technically%20I%20can%20use%20the%20same%20number%20for%20each%20user%20but%20with%20a%20different%20extension%20(ex.%201-20)%20and%20the%20outgoing%20number%20will%20be%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20there%20disadvantages%20to%20my%20method%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-%20Lars%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1397822%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1397822%22%20slang%3D%22en-US%22%3EHi%20Lars%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20configure%20it%20like%20this%20in%20the%20end%3F%20And%20did%20it%20work%3F%20I'm%20looking%20to%20do%20the%20same%20to%20have%20a%20few%20phone%20numbers%20for%20many%20people.%20I%20could%20not%20be%20bothered%20that%20you%20can't%20call%20users%20directly%20because%20they%20don't%20have%20a%20number.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20the%20flow%20would%20be%3A%3CBR%20%2F%3EIncomming%20call%20%2B3214212223%20-%26gt%3B%20Auto%20Attendant%20-%26gt%3B%20Call%20Queu%20-%26gt%3B%20Users%20(40%2B)%3CBR%20%2F%3EUsers%20-%26gt%3B%20Outgoing%20call%20using%20%2B3214212223%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1398333%22%20slang%3D%22en-US%22%3ERe%3A%20MS%20Teams%20Direct%20Routing%3A%20One%20phone%20number%20for%20all%20outgoing%20calls%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1398333%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F176421%22%20target%3D%22_blank%22%3E%40Emanuel%20van%20der%20Aalst%3C%2FA%3E%26nbsp%3BYes%2C%20we%20have%20one%20customer%20set%20up%20like%20this.%3C%2FP%3E%3CP%3EYou%20just%20set%20each%20user%20number%20to%20be%3A%20%3CEM%3Etel%3A%3C%2FEM%3E%3CSPAN%3E%3CEM%3E%2B3214212223%3Bext%3D1%3C%2FEM%3E%20to%20%3CEM%3Etel%3A%2B3214212223%3Bext%3D40%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBut%20you%20have%20to%20configure%20the%20SBC%20to%20be%20the%20same%20number%20(%3CEM%3E%2B3214212223)%26nbsp%3B%3C%2FEM%3Efor%20this%20SIP%20Line.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20may%20vary%20between%20SBC's%2C%20but%20we%20set%20the%20SBC%20to%20use%20the%20%22default%22%20fallback%20number.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, 

 

Is there a possible way to have a single call number for all calls going out/in?

Ex: We have 20 users but only 1 "main" office phone number. Is it possible to assign this office number to all the users outgoing or don't assign any numbers to the users?

The client doesn't want to have a phone number for each user seperately.

 

Installation: Direct Routing via. Powershell.

 

Need any more info?  Just let me know.

Thanks in advance!

 

Lars

 

5 Replies

Hello,

 

IMO you could just assign a fictional phone number via PowerShell to every single user, for eg. like +1 850 22 01 - +1 850 22 20 and configure on your SBC you route everything over this single main phone number. For incoming calls you create an Attendant account with this single main number assigned and route everything to a call queue for these 20 users.

 

Otherwise you would need to assign a real phone number to these users and just create a rule on the SBC to go out with this main number.

best response confirmed by Lars_Nestler (Occasional Contributor)
Solution
Hi Lars,

Have a look at Caller ID policies in Teams Admin Center (currently rolling out).

https://docs.microsoft.com/en-us/microsoftteams/caller-id-policies

\Magnus

Hi @Magnus Sandtorv, thanks for your suggestion.

 

While this is a good idea, I think I found a better way... (?)

I found that you can use extensions with the ";ext=xx" tag.

So technically I can use the same number for each user but with a different extension (ex. 1-20) and the outgoing number will be the same.

 

Are there disadvantages to my method?

 

- Lars

 

Hi Lars

Did you configure it like this in the end? And did it work? I'm looking to do the same to have a few phone numbers for many people. I could not be bothered that you can't call users directly because they don't have a number.

So the flow would be:
Incomming call +3214212223 -> Auto Attendant -> Call Queu -> Users (40+)
Users -> Outgoing call using +3214212223

@Emanuel van der Aalst Yes, we have one customer set up like this.

You just set each user number to be: tel:+3214212223;ext=1 to tel:+3214212223;ext=40

But you have to configure the SBC to be the same number (+3214212223) for this SIP Line.

 

This may vary between SBC's, but we set the SBC to use the "default" fallback number.

www.000webhost.com