Question about "Playback" audio formats

Hello, I’ve recently upgraded to Asterisk 17.4.0. I notice that if I attempt to play a wav sound file in the wrong format, asterisk responds with:

Only PCM encoded, 16 bit, mono, 8kHz/16kHz files are supported with a lowercase ‘.wav’ extension

This suggests that 16kHz 16bit mono files can be used rather than just 8kHz 16bit. When I attempt so play such a file however, Aterisk warns:

Unexpected frequency mismatch 16000 (expecting 8000)

Is Asterisk still limited to wav files at 8kHz or is there some configuration that can enable playback of 16kHz material?

I’m testing with the following sox conversion:

sox test.wav -r 16000 -b 16 test16kHz16bit.wav channels 1

Thanks

The file extension “wav16” can be used for 16kHz wav files.

2 Likes

Excellent, thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.