I’m currently testing Asterisk with ARI and audio playback via URL. I’m using mono WAV files with 16bit PCM and a sampling rate of 8kHz.
I started with Asterisk 15 using the
andrius/asterisk:15.x Docker image and everything works fine. I updated to
andrius/asterisk:17-current and still no issues.
After that I wanted to update to the next LTS using the
andrius/asterisk:glibc-18.x image, but with that asterisk refuses to play my file with the following outputs:
asterisk_1 | [Mar 12 20:38:18] WARNING[C-00000001]: file.c:789 ast_openstream_full: File https://example.com/8c22dd75.wav does not exist in any format asterisk_1 | [Mar 12 20:38:18] WARNING[C-00000001]: file.c:1262 ast_streamfile: Unable to open https://example.com/8c22dd75.wav (format (alaw)): Invalid argument asterisk_1 | [Mar 12 20:38:18] WARNING[C-00000001]: res_stasis_playback.c:276 playback_final_update: 1615581497.0: Playback failed for sound:https://example.com/8c22dd75.wav
I would like to investigate that further and would be very happy for any hint.