06-19-2019 01:44 AM
06-19-2019 01:44 AM
Good Day Teams Community.
I logged a call with MS a week and half ago and it seems they have no idea how to resolve my issue. Maybe someone has had the same issue.
I am using MS Teams with Direct Routing with a Audiocodes SBC. The Audiocodes send MS a OPTIONS request and MS replies back 200 OK. MS then sends me a OPTIONS request and my SBC sends back a 200 OK. When I check on my Teams Admin Page (Office Portal), the SBC is up. When I make a call from my teams client, the call never gets to my SBC, and the call just disconnects.
When I make a call to my Teams number, it rings twice, goes straight to voicemail and I get a notification about the voicemail. But the call never rings on my Teams client.
Any advice or assistance will be held in high regard as I have been battling with this for months and I need to get this working this week for my directors.
06-19-2019 10:26 PM
@Gysbert You should check the logs from the Audiocodes SBC. Often there is something wrong with the configuration, maybe codecs that are not matching.
Install Audiocodes syslog viewer on a computer and set the SBC to send syslogs to that computer. In the syslog viewer you should be able to see why the call is not connected as it should, or at least get some indication on why.
06-19-2019 11:53 PM
@Linus Cansby I have the syslog software from Audiocodes installed and checked the logs for a few days now. I had a Teams Implementations Engineer from Audiocodes at our offices also to ensure I had the Audiocodes setup 100%.
When I am a call from my mobile to my landline, I see the INVITE back and forth, it all seems correct (and Audiocodes confirmed this also). I see the call hot the microsoft PSTN gateway and coming back also.
I have a suspicion that my issue is either with my Hybrid deployment of SfB (All my users are currently either in Islands mode or TeamsOnly Mode) or that my actual configuration on SkypeOnline is not correct, although I have followed all the documentation from MS to the T.
06-20-2019 12:26 AM
@Gysbert I guess you can dial out without any problems?
If you increase the time for "Ring for this many seconds before redirecting" is there any difference behavior? Can you try to activate Simultaneously ring to your mobile phone or other number?
I guess you tried being signed in with the Teams mobile app and other clients.
06-20-2019 12:32 AM
@Linus Cansby Dialing out is also not working. It does not hit the SBC at all. When I run a few tests (Test-CSOnlineUserVoiceRouting.ps1 and TeamsDirectRoutingTool-1.00.ps1) it all says that the call is being normalized correctly and that it is routed to my PSTNGateway.
I tried the mobile client also on Android and iOS. I even went as far as to delete my account from SfB On-Prem and also create a pure cloud user. All users have E5 licenses.
Simultaneous ring does not make a difference at all. I will adjust the "Ring for this many seconds before redirecting" now and let you know.
I appreciate the assistance btw. I am at loss currently why this is simply just not working.
06-20-2019 01:49 AM
@Linus Cansby I changed the setting to 60 seconds with no change in the behavior.
When I forward to my mobile number, I do see on the SBC logs that it is trying to route it to my mobile number and it also does pick up the users SIP address.
06-24-2019 12:32 PM
I'm experiencing similar issues.
I'm hybrid on-prem and online, and paired a AudioCodes M1000. Created a "unrestricted" voice routing policy with number pattern ".*", and assigned to a test user.
Assigned a LineUri : TEL:+14441233888 to this user and in my SBC through message manipulation changed public DID to the 4441233888.
Inbound calls to the public DID looks perfect in the syslog. but I get same behaviour; rings twice, then dead air. and does not ring the client.
doing a get-csuser for the test user shows no VoiceRouting Policy assigned, and EnterpriseVoiceEnabled still shows False, although I assigned that several hours ago.
06-24-2019 11:42 PM
@P_theGr8 I also had that issue. Turned out that the a certain portion of the license did not apply correctly. When you do a Get-CsOnlineUser -Identity, look for InterpretedUserType. Make sure that it does not say Needs Provisioning. If it does not, go to your user on the Office 365 portal, edit the user, remove the PhoneSystem and SkypeOnline portions of the license, apply the changes, wait a bout 5 minutes, re-enable the PhoneSystem and SkypeOnline portions and apply. It should take about 15 mins to replicate. After that, set HostedVoiceMail and EnterpriseVoice to $True again, wait 15 mins then you should be sorted.
06-27-2019 05:03 PM
@Gysbert Thanks for the help. I followed the procedure you described. But no improvement.
Did some more research and I'm now at this point:
I have forced my AudioCodes Mediant 1000 to only use G.711 coder, since I don't have DSP modules.
I can make inbound and outbound calls with my Teams client, however there is no audio.
The syslog shows that G.711 is being negotiated successfully, but my SBC is not receiving any RTP/RTSP packets from Teams.
It is not a firewall issue, all ports are open. In Teams admin portal the SBC shows as active, and that calls have been made.