Our trunks, phones and the PBX support the G722 codec (HD Voice) with a 16 kHz sampling rate.
Now we want to have voice messages (digital receptionist and voicemail) in high fidelity as well.
I've tried to upload a 16 kHz 16 bits WAV file, but it is rejected
Thanks for your answer.
This post has been edited 1 time(s), it was last edited by opf on 31.08.2017 at 16:00.
We would be able to process G.722 encoded files for playback. Before we work on implementing this, we will try to figure out how to encode audio files into this format. If you have any idea on that, please let us know.
First I use OS X speech synthesis to prepare a 16 bits 16 kHz WAV LPCM audio file:
say -v Daniel "I'm a british voice, this is a test of the G722 codec" -o test.wav --file-format=WAVE --data-format=LEI16@16000
Then you can transcode it into G722 using ffmpeg:
ffmpeg -i test.wav -acodec g722 test.g722
And you can convert it back to WAVE:
ffmpeg -i test.g722 -acodec pcm_s16le test.back.wav
Great, we are now working on the implementation. Expect it to be ready for testing in December.