SOLVED

What phone number or SIP URI could be assigned to Teams users/desk phones?

%3CLINGO-SUB%20id%3D%22lingo-sub-1032467%22%20slang%3D%22en-US%22%3EWhat%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1032467%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20try%20to%20set%20up%20the%201st%20MS%20Teams%20desk%20phone(Yealink)%20in%20our%20environment.%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20O365%20E3%20%2B%20Phone%20system%20license.%26nbsp%3B%20No%20phone%20number%20port%20over.%26nbsp%3B%20%26nbsp%3BDeployment%20model%3A%20Direct%20Routing.%26nbsp%3B%20My%20understanding%20is%20Microsoft%20won't%20assign%20any%20%22Microsoft%22%20phone%20number%20to%20the%20user%2Fphone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQuestions%20%3A%3C%2FP%3E%3CP%3E.%20What%20%22phone%20number%22%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20user%2F%20Teams%20desk%20phone%3F%26nbsp%3B%3C%2FP%3E%3CP%3E.%20When%20outside%20caller%20try%20to%20make%20a%20call%20to%20this%20Teams%20phone%20through%20analog%20phone%2C%26nbsp%3B%20how%20this%20caller%20could%20dial%3F%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20information%20or%20help%20will%20be%20appreciated.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHZ%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1032467%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1032774%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1032774%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20assign%20a%20number%20from%20Direct%20Routing%20or%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fcalling-plan-landing-page%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECalling%20Plans%2C%3C%2FA%3E%26nbsp%3Bbut%20since%20you%20have%20Direct%20Routing%20you%20should%20take%20a%20direct%20routing%20number%20and%20assign%20to%20the%20user%20account.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20number%20is%20not%20assigned%20to%20the%20deskphone%2C%20it%20is%20assigned%20to%20the%20user%20account%20that%20signs%20in%20to%20the%20phone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20a%20outside%20caller%20makes%20a%20call%20to%20the%20user%20that%20is%20signed%20in%20to%20the%20deskphone%20the%20call%20will%20go%20from%20PSTN%20to%20Direct%20Routing%20SBC%20(your%20own%20or%20hosted)%20to%20Microsoft%20and%20then%20to%20the%20Teams%20user%20(signed%20in%20to%20Teams%20client%20in%20computer%20or%2Fand%20deskphone).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1034017%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1034017%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply%2C%20Linus.%3C%2FP%3E%3CP%3ECan%20you%20please%20kindly%20advise%20what%20the%20%22direct%20routing%20number%22%20could%20be%3F%26nbsp%3B%20Available%20DIDs%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20have%20Calling%20Plans%20license.%3C%2FP%3E%3CP%3EWhat%20I%20have%20%3A%26nbsp%3B%20%26nbsp%3Bavailabe%20DIDs%20from%20local%20Telco%20service%20provider%3B%3C%2FP%3E%3CP%3Einternal%20extension%20phone%20number%3B%26nbsp%3B%20on-premises%20IP-PBX%3B%26nbsp%3Bon-premises%20SBC(testing%20now).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20a%20thought%3A%3C%2FP%3E%3CP%3EMaybe%20I%20could%20assign%20any%20one%20of%20available%20DIDs%20as%20the%20%22direct%20routing%20number%22%3F%3CBR%20%2F%3EAnd%20program%20the%20phone%20number%20or%20some%20routing%20rules%20on%20the%20on-premises%20SBC%3F%3C%2FP%3E%3CP%3EThen%20the%20inbound%20calls%20could%20go%20through%20(PSTN%20-%26gt%3Bon-premises%20voice%20gateway-%26gt%3B)%20SBC-%26gt%3BTeams-%26gt%3BTeams%20desk%20phone.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHZ%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1035286%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1035286%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F116264%22%20target%3D%22_blank%22%3E%40Howard%20Zhou%3C%2FA%3E%26nbsp%3BThe%20DID%20that%20you%20get%20from%20your%20local%20Telco%20service%20provider%20is%20the%20Direct%20Routing%20numbers%20that%20you%20can%20assign%20to%20an%20user.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1037281%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1037281%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F116264%22%20target%3D%22_blank%22%3E%40Howard%20Zhou%3C%2FA%3E%26nbsp%3BHi%20Howard%2C%20you%20should%20purchase%20DID%20numbers%20from%20your%20SIP%20trunk%20provider.%20I%20presume%20your%20SIP%20trunk%20provider%20is%20also%20hosting%20the%20SBC%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20will%20need%20to%20pair%20the%20SBC%20to%20your%20office%20365%20tenant%20using%20powershell.%20And%20you%20will%20also%20be%20able%20to%20assign%20DID%20numbers%20to%20users%20via%20powershell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20this%20is%20done%20any%20users%20who%20have%20the%20phone%20system%20add-on%20will%20be%20able%20to%20make%20and%20receive%20calls%20using%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAndrew%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1039723%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039723%22%20slang%3D%22en-US%22%3EI%20see%20Linus.%3CBR%20%2F%3EThanks%20for%20your%20response.%3CBR%20%2F%3E%3CBR%20%2F%3ESince%20we%20assign%20DID%20as%20Direct%20Routing%20number%2C%20how%20does%20SBC%20route%20the%20call%20to%20Teams%20users%2Fphone%20from%20SBC%20%3F%20I%20mean%20when%20user%20dials%20the%20%22Direct%20Routing%20number%22.%3CBR%20%2F%3E%3CBR%20%2F%3EShould%20something%20i.e.%20call%20routing%20rules%20are%20required%20to%20set%20up%20on%20the%20on-premises%20SBC%3F%3CBR%20%2F%3E%3CBR%20%2F%3EHoward%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1039738%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039738%22%20slang%3D%22en-US%22%3EHi%20Howard%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20need%20to%20pair%20the%20SBC%20to%20your%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1039742%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039742%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%2F116264%22%20target%3D%22_blank%22%3E%40Howard%20Zhou%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3Ehave%20you%20been%20involved%20in%20the%20setup%20of%20the%20SBC%3F%20Is%20the%20SBC%20really%20implemented%20for%20Direct%20Routing%3F%26nbsp%3B%3C%2FP%3E%3CP%3EYes%2C%20there%20has%20to%20be%20routing%20setup%20on%20on-premise%20SBC%20for%20numbers%20that%20are%20assigned%20to%20Teams%20users.%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20not%20only%20there...%20if%20there%20is%20any%20on-premise%20PBX%20between%20gateway%20and%20SBC%20you%20have%20to%20setup%20even%20routing%20rules%20to%20route%20numbers%20for%20Teams%20users%20to%20the%20SBC%20from%20local%20gateway.%3C%2FP%3E%3CP%3EIf%20your%20SBC%20serves%20as%20gateway%20too%20and%20basically%20all%20calls%20are%20routed%20to%20SBC%20and%20then%20to%20Teams%20then%20you%20are%20missing%20only%20part%20when%20Teams%20user%20logged%20in%20Yealink%20phone%20has%20to%20be%20configured%20as%20EnterpriseVoice%20enabled%2C%20has%20to%20have%20OnPremLineURI%20set%20and%20if%20you%20have%20your%20Phone%20System%20in%20cloud%20provisioned%20already%20for%20Direct%20Routing%20then%20also%20some%20OnlineVoiceRouting%20Policy%20would%20be%20necessary%20for%20such%20user%20in%20order%20to%20make%20outgoing%20calls.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1039832%22%20slang%3D%22en-US%22%3ERe%3A%20What%20phone%20number%20or%20SIP%20URI%20could%20be%20assigned%20to%20Teams%20users%2Fdesk%20phones%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1039832%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263389%22%20target%3D%22_blank%22%3E%40DaveChomi%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EYes%20-%20SBC%20is%20implemented%20for%20Direct%20Routing.%20It%20doesn't%20serve%20as%20gateway%2C%20Just%20routes%20the%20calls%20to%2Ffrom%20Teams%20users.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello all,

 

Just try to set up the 1st MS Teams desk phone(Yealink) in our environment.     

 

We have O365 E3 + Phone system license.  No phone number port over.   Deployment model: Direct Routing.  My understanding is Microsoft won't assign any "Microsoft" phone number to the user/phone.

 

Questions :

. What "phone number" or SIP URI could be assigned to Teams user/ Teams desk phone? 

. When outside caller try to make a call to this Teams phone through analog phone,  how this caller could dial?   

 

Any information or help will be appreciated. 

 

Best regards,

 

HZ

8 Replies

Hi,

 

You can assign a number from Direct Routing or Calling Plans, but since you have Direct Routing you should take a direct routing number and assign to the user account.

 

The number is not assigned to the deskphone, it is assigned to the user account that signs in to the phone.

 

When a outside caller makes a call to the user that is signed in to the deskphone the call will go from PSTN to Direct Routing SBC (your own or hosted) to Microsoft and then to the Teams user (signed in to Teams client in computer or/and deskphone).

@Linus Cansby 

 

Thanks for your reply, Linus.

Can you please kindly advise what the "direct routing number" could be?  Available DIDs?

 

I don't have Calling Plans license.

What I have :   availabe DIDs from local Telco service provider;

internal extension phone number;  on-premises IP-PBX; on-premises SBC(testing now).

 

Just a thought:

Maybe I could assign any one of available DIDs as the "direct routing number"?
And program the phone number or some routing rules on the on-premises SBC?

Then the inbound calls could go through (PSTN ->on-premises voice gateway->) SBC->Teams->Teams desk phone. 

 

 

Best regards,

 

HZ

 

best response confirmed by Howard Zhou (New Contributor)
Solution

@Howard Zhou The DID that you get from your local Telco service provider is the Direct Routing numbers that you can assign to an user.

@Howard Zhou Hi Howard, you should purchase DID numbers from your SIP trunk provider. I presume your SIP trunk provider is also hosting the SBC?

 

You will need to pair the SBC to your office 365 tenant using powershell. And you will also be able to assign DID numbers to users via powershell.

 

Once this is done any users who have the phone system add-on will be able to make and receive calls using Teams.

 

Thanks

 

Andrew

I see Linus.
Thanks for your response.

Since we assign DID as Direct Routing number, how does SBC route the call to Teams users/phone from SBC ? I mean when user dials the "Direct Routing number".

Should something i.e. call routing rules are required to set up on the on-premises SBC?

Howard
Hi Howard,

You need to pair the SBC to your 365 tenant and allocate DID numbers to the users via powershell.

There's approx. 10 lines of powershell commands.

If you need any more help with this please let me know.

Hi @Howard Zhou ,

have you been involved in the setup of the SBC? Is the SBC really implemented for Direct Routing? 

Yes, there has to be routing setup on on-premise SBC for numbers that are assigned to Teams users. 

And not only there... if there is any on-premise PBX between gateway and SBC you have to setup even routing rules to route numbers for Teams users to the SBC from local gateway.

If your SBC serves as gateway too and basically all calls are routed to SBC and then to Teams then you are missing only part when Teams user logged in Yealink phone has to be configured as EnterpriseVoice enabled, has to have OnPremLineURI set and if you have your Phone System in cloud provisioned already for Direct Routing then also some OnlineVoiceRouting Policy would be necessary for such user in order to make outgoing calls. 

 

 

Thanks @DaveChomi

Yes - SBC is implemented for Direct Routing. It doesn't serve as gateway, Just routes the calls to/from Teams users.

We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE