Hi,
I have Asterisk 18 on Raspberry Pi with arm64 (aarch64) architecture. Whenever I use Answer() in Dialplan with an Opus call, it gives me this error below:
It seems like I can’t use the Opus codec in ARM architecture. I tried to install the codec_opus.so manually, but Digium only supports it on x86 architectures.
Do you need the codec, or would a VP8 format module be sufficient (pass through only)? It looks like the former is not in the standard Asterisk “for legal reasons”. There seems to have been discussions of an official format_vp8 module, but there still doesn’t seem to be one.
Hi David, thank you for your quick reply.
AFAIK VP8 is a video codec. I need a high-quality audio codec (like opus) for my softphones. I want to play something for them with these configurations if the users do not answer.
Here is my configuration on extensions.conf:
...
exten => 1,1,Answer()
same => n,Dial(PJSIP/phone)
same => n,Playback(vm-nobodyavail)
same => n,Hangup()
...
pjsip.conf
[phone]
...
disallow=all
allow=opus
...
But everytime I make a call this error will raise:
It seems like I do not have any translation path for opus.
core show translation paths opus
--- Translation paths SRC Codec "opus" sample rate 48000 ---
opus:48000 To codec2:8000 : No Translation Path
opus:48000 To g723:8000 : No Translation Path
opus:48000 To ulaw:8000 : No Translation Path
opus:48000 To alaw:8000 : No Translation Path
opus:48000 To gsm:8000 : No Translation Path
opus:48000 To g726:8000 : No Translation Path
opus:48000 To g726aal2:8000 : No Translation Path
opus:48000 To adpcm:8000 : No Translation Path
opus:48000 To slin:8000 : No Translation Path
opus:48000 To slin:12000 : No Translation Path
opus:48000 To slin:16000 : No Translation Path
opus:48000 To slin:24000 : No Translation Path
opus:48000 To slin:32000 : No Translation Path
opus:48000 To slin:44100 : No Translation Path
opus:48000 To slin:48000 : No Translation Path
opus:48000 To slin:96000 : No Translation Path
opus:48000 To slin:192000 : No Translation Path
opus:48000 To lpc10:8000 : No Translation Path
opus:48000 To g729:8000 : No Translation Path
opus:48000 To speex:8000 : No Translation Path
opus:48000 To speex:16000 : No Translation Path
opus:48000 To speex:32000 : No Translation Path
opus:48000 To ilbc:8000 : No Translation Path
opus:48000 To g722:16000 : No Translation Path
opus:48000 To siren7:16000 : No Translation Path
opus:48000 To siren14:32000 : No Translation Path
opus:48000 To g719:48000 : No Translation Path
opus:48000 To none:8000 : No Translation Path
opus:48000 To silk:8000 : No Translation Path
opus:48000 To silk:12000 : No Translation Path
opus:48000 To silk:16000 : No Translation Path
opus:48000 To silk:24000 : No Translation Path
Also Module ‘codec_resample’ already loaded and running.