No audio in calls

Hi all,

Where I work, we are using FreePBX 16 as our phone system. Our PBX is hosted on Amazon AWS and we connect to it from several different geographical locations through site to site VPN connections. Our phones are S500, S505, S705 and P330. We’re also using Sangoma Phone softphones for people working from home and we have Mitel RFP36 and RFP45 DECT phone base stations for people working in warehouses and shops.

Until two weeks ago, life was good, all was working fine. We activated OPUS, G722, Ulaw and Alaw for audio codescs. Opus for WebRTC clients (Sangoma Phone softphone). But all of a sudden, S500s, P330 and Mitels started having issues. Calls comming in would ring, but once answered, there was absolutly no audio.

After searching the net for a while, opening a ticket at Sangoma and looking at PCAP files, we discovered that for some reasons, the problematic phones where trying to use OPUS as the audio codec even though their hardware did not support it. I was wondering why S505 and S705 worked fine and I found out that these two phone models have support for OPUS.

So here is my question and pardon me for my ignorance, I’m not super competent for now with FreePBX, how can I set up my extensions to be able to use opus when ever I need to (WebRTC for example) and prevent it to be offered at all to any hardware phones?

In hope some one here will know how to help me,

Thanx in advance for your time.

JM Lapointe

When I look under Asterisk SIP Settings in the FreePBX dashboard I see where you can enable specific codecs, and order their priority. Not sure about hardware specific conditions being defined to come into play.

Question. Does the Sangoma Phone softphone solution only support OPUS codec? Have you tried changing the config for a softphone so that its codec is Ulaw or G722? I checked our config on the FreePBX side, and only Ulaw is enabled. And we have a blend of desk phones and softphones that are all working fine with respect to two-way audio.

Have you checked the firmware versions on your S Phones?

I have an S500 on my desk, and both OPUS and G.722 work perfectly.

If you haven’t checked the firmware yet, I recommend verifying that the phones are running version 2.0.4.91 rather than 1.69.

Asterisk Codec Orders: If you change codec orders that will be change on the your phone side too.