asterisk doesn't support .ogg file format (digged through
apps/app_playback.c, main/file.c)
dev*CLI> core show file formats
Format Name Extensions
------ ---- ----------
slin mp3 mp3
slin48 ogg_opus opus
so with
/var/lib/asterisk/sounds/output-ogg.opus it find the file
dev*CLI> core show channel PJSIP/endpoint33-0000000e
NativeFormats: (alaw)
WriteFormat: slin48
ReadFormat: alaw
WriteTranscode: Yes (slin at 48000)->(slin at 8000)->(alaw at 8000)
Dne 22/12/2021 v 15:14 Doug Lytle napsal(a):>>>> exten =>
_[*+#0-9].,n,Playback(/var/lib/asterisk/sounds/output-ogg)
> If the actual filename is output.ogg then the code should be
>
> exten => _[*+#0-9].,n,Playback(/var/lib/asterisk/sounds/output)
>
> You'll also need to confirm that you compiled Asterisk with Vorbis
support.
>
> Doug
>