IVR Audio WAV File Issue

Status
Not open for further replies.

AirLinkSolutions

New User
Joined
Jun 30, 2022
Messages
2
Reaction score
1
As one that self-hosts three 3CX systems, what is the reason that an audio WAV file has to be 8000Hz mono 16 bit? Having a file in that format kills the sound quality of a typical WAV file of 44.100 kHz 16-bit or 32-bit mono file for IVR.

I can understand it if a system is hosted by 3CX as space would be a factor due to being shared VPS, but for self-hosted, my machines are running a mirrored 1TB SSD setup so space is a non-issue.

Also, what about replacing the uploaded WAV files in /var/lib/3cxpbx/Instance1/Data/Ivr/Prompts/Sets/ with a better WAV file? Would it still play? OR is there a modification that can be made to upload better quality files?
 
Wav files have to confirm to this format, anything else it will not play. - the format can not be changed

https://www.3cx.com/docs/converting-wav-file/
Honestly, I find that hard to believe that it cannot be changed. Everything is done through coding and through the codec used. Even Grandstream PBX and FreePBX allow you to choose higher quality audio files including mp3.

Shouldn't this be an option for the administrator? I understand your stance back 5, 6, or 7+ years ago when phones were awful, but today, phones have come a long way and can output high quality, even cell phones do it. The most used IP phones, Fanvil, Yealink, Snom, and Grandstream all have HD audio and all cellphones over the past 4 years do as well.

I will leave this here for anyone else with these concerns. If you use Adobe Audition like me, then the following settings will yield better results.

Take a 44,100 Hz 32-bit file and do the following:

Normalize to -0.1
Use 10 band EQ:
Cut all frequencies under 1khz to -3
Set 1khz to +5
Set 2khz to +12
Set 4khz to +15
Set 8khz to +10
Set 16khz to +5

Adjust volume to -4 or -6 db then save as uncompressed 8khz 16-bit.

I find these settings to be adequate and a lot better than using the 3CX converter.
 
  • Like
Reactions: EdoFede
Honestly, I find that hard to believe that it cannot be changed. Everything is done through coding and through the codec used. Even Grandstream PBX and FreePBX allow you to choose higher quality audio files including mp3.

+1
Agree.

It is absurd that in 2022 there is still the same problem reported for years and that the quality of the recorded messages is similar to a 90s tape answering machine.

There is a huge difference in quality between recorded messages and an operator's response from a terminal or app.

Is it really such a big problem to allow admins to use files with a higher sample rate?
At least a 16kHz, which would allow to have 8kHz of useful audio bandwidth ...

PLEASE!
 
Hi,
I'm having the same issue, when i create the file as wav and convert it, it sounds very bad and garbled, i've tried everything including trying every codec available on 3cx along with several post suggestions. When calling inbound from any phone, cell or landline, the uploaded greeting sounds bad while all the preset 3cx prompts sound great! All internal calls and outbound calls are prefect, inbound is the issue and I have QOS setup and 100mgs of bandwidth and only use less then 2mg during peak times. i'm on version 18.6 and not having any luck here. Any other suggestions?
 
I'm a little out of my depth right now, but it is my supposition that the media server expects this format and 3CX would have to rewrite the service (and likely others) to support other formats. Further, you could also argue that optimizing audio to work best over analog POTS lines is less important today, however, we have to remember that 3CX is an international company with customers in countries where POTS is still common, if not the primary mode of transport.

I also assume that if this was easy, 3CX would have added support for higher quality audio files a long time ago. However, if you stop to consider how many places in the PBX touch audio, you might start to have an inkling regarding what a huge undertaking this would be. Then you have to ask yourself is this the highest priority, or are there more pressing demands on the development team?

Heaven knows having voicemails in a low quality audio format wreaks havoc with voice-to-text engines too, yet here we are trying to serve multiple masters -- support for the best possible voice audio, while supporting lower bandwidth options like analog, and at the same time trying to prioritize issues like bugs, performance, scalability, multi-tenant features, and the list of "critical" needs is surely very, very long.

As you have noted, this request has been around for a long time. But we also have to recognize that the industry demands are changing daily and maybe optimizing 3CX for multi-tenant hosted platforms is even more important... or something else. I for one would much rather they spend time on a REST API, than on higher quality .wav files... and that's my point. What we think is the highest priority is only a couple of inputs into the priority list. Nick has a long track record of directing very successful businesses and I am confident that he is making priority decisions based on what is best for the platform with a very broad view of the future. In light of that, your demands and mine are certainly on his radar but they just have not bubbled up to the top of the list yet.

It's good to keep our pet projects on Nick's radar by providing input through your 3CX representative, and here on the forums. Keep going. But the fact that you are here as either a 3CX customer or partner is an indicator that 3CX, Nick, and the Development team are getting many of the priorities right. As an owner of a software development company myself, I painfully acknowledge the fact that as long as labor and time resources are finite, there will always be competing priorities.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet