Teams Direct routing

%3CLINGO-SUB%20id%3D%22lingo-sub-1862322%22%20slang%3D%22en-US%22%3ETeams%20Direct%20routing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1862322%22%20slang%3D%22en-US%22%3EHi%20All%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20have%20hybrid%20environment.%20We%20are%20migrating%20user%20from%20sfb%20on%20prem%20to%20teams.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20follow%20the%20below%20steps%20to%20move%20user%20and%20enable%20for%20teams%20ev%20through%20direct%20routing%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-enable-users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdirect-routing-enable-users%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20assigning%20number%20in%20sfb%20online%20and%20upgrade%20policy%20to%20teams.%20I%20am%20able%20to%20make%20outbound%20call.%3CBR%20%2F%3E%3CBR%20%2F%3EIssue%20is%20when%20making%20calls%20it%20shows%20unknown%20number%20as%20caller%20id%20and%20when%20external%20user%20dial%20my%20number%20it%20says%20number%20not%20assigned.%20In%20sbc%20it%20shows%20the%20unassigned%20number%20but%20when%20run%20get-csonline%20user%20-identity%20it%20shows%20ev%20enable.%20Please%20advice%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1862322%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-1863529%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Direct%20routing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1863529%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F417124%22%20target%3D%22_blank%22%3E%40Ashka123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20run%20Get-CsOnlineUser%2C%20do%20you%20show%20the%20phone%20number%20assigned%20under%20LineURI%3F%26nbsp%3B%20If%20not%2C%20that%20would%20be%20why.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EGet-CsOnlineUser%20-Identity%20user%40domain.tld%20%7C%20Select%20LineUri%2COnPremLineURI%0ASet-CsOnlineUser%20-Identity%20user%40domain.tld%20-OnPremLineUri%20'tel%3APhoneNumber%60%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMake%20sure%20the%20phone%20number%20is%20in%20a%20properly%20formatted%20E.164%20format.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1865459%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Direct%20routing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1865459%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342739%22%20target%3D%22_blank%22%3E%40jangliss%3C%2FA%3E%26nbsp%3B%20Thanks%20for%20the%20reply.%20Yes%26nbsp%3B%20it%20phone%20number%20when%20use%20PS%20but%20not%20in%20admin%20portal.%20if%20you%20see%20the%201st%20screenshoo%2C%20it%20shows%20online%20instead%20of%20onprem(%20which%20ideally%20show%20when%20number%20is%20through%20direct%20routin)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ashka123_0-1604875036036.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F232211iFC1AC2D8DC220B2B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ashka123_0-1604875036036.png%22%20alt%3D%22Ashka123_0-1604875036036.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Ashka123_1-1604875099942.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F232212i492EF1346292113B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Ashka123_1-1604875099942.png%22%20alt%3D%22Ashka123_1-1604875099942.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1884862%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Direct%20routing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1884862%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F417124%22%20target%3D%22_blank%22%3E%40Ashka123%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20at%20the%20first%20screen%2C%20it%20looks%20like%20you%20have%20Enterprise%20Voice%20disabled.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3ESet-CsUser%20-Identity%20username%40domain.tld%20-EnterpriseVoiceEnabled%20%24true%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20might%20also%20want%20to%20look%20at%20HostedVoiceMail%20as%20well%2C%20otherwise%20the%20end%20user%20won't%20have%20voicemail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1897634%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Direct%20routing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1897634%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F342739%22%20target%3D%22_blank%22%3E%40jangliss%3C%2FA%3E%26nbsp%3B%20Enabling%20EV%20also%20not%20working%20as%20expected%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor
Hi All,

We have hybrid environment. We are migrating user from sfb on prem to teams.

I follow the below steps to move user and enable for teams ev through direct routing

https://docs.microsoft.com/en-us/microsoftteams/direct-routing-enable-users

After assigning number in sfb online and upgrade policy to teams. I am able to make outbound call.

Issue is when making calls it shows unknown number as caller id and when external user dial my number it says number not assigned. In sbc it shows the unassigned number but when run get-csonline user -identity it shows ev enable. Please advice
6 Replies
Highlighted

@Ashka123 

 

When you run Get-CsOnlineUser, do you show the phone number assigned under LineURI?  If not, that would be why.

 

Get-CsOnlineUser -Identity user@domain.tld | Select LineUri,OnPremLineURI
Set-CsOnlineUser -Identity user@domain.tld -OnPremLineUri 'tel:PhoneNumber`

 

Make sure the phone number is in a properly formatted E.164 format.

Highlighted

@jangliss  Thanks for the reply. Yes  it phone number when use PS but not in admin portal. if you see the 1st screenshoo, it shows online instead of onprem( which ideally show when number is through direct routin)

Ashka123_0-1604875036036.pngAshka123_1-1604875099942.png

 

Highlighted

@Ashka123 

 

Looking at the first screen, it looks like you have Enterprise Voice disabled.

 

Set-CsUser -Identity username@domain.tld -EnterpriseVoiceEnabled $true

 

You might also want to look at HostedVoiceMail as well, otherwise the end user won't have voicemail.

Highlighted

@jangliss  Enabling EV also not working as expected

Highlighted

@Ashka123 

 

Do you have the exact error message the SBC is getting?  Can you share the output of:

 

Get-CsOnlineUser -Identity 'username@domain.tld' | select -ea SilentlyContinue *voice*,*enter*,*line*,mco*

 

Do other users work correctly with Direct Routing?

Highlighted

@jangliss  

 

Ashka123_0-1606142726544.png

SBC erro is number assigned when someone dial DID