Hi,
I set up a Asterisk 13 system (13.13-cert1) from scratch. Among others, I included chan_opus.
When I start asterisk, I see that opus translation paths are missing:
CLI> core show translation paths opus
--- Translation paths SRC Codec "opus" sample rate 48000 ---
opus:48000 To g723:8000 : No Translation Path
opus:48000 To ulaw:8000 :
opus:48000 To alaw:8000 :
opus:48000 To gsm:8000 :
opus:48000 To g726:8000 :
opus:48000 To g726aal2:8000 :
opus:48000 To adpcm:8000 : No Translation Path
opus:48000 To slin:8000 :
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 : (opus@48000)->(slin@48000)
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 testlaw:8000 :
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
The translation table is also incomplete:
*CLI> core show translation
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
ulaw alaw gsm g726 g726aal2 slin slin testlaw opus
ulaw - 9150 15000 15000 15000 9000 - 15000 -
alaw 9150 - 15000 15000 15000 9000 - 15000 -
gsm 15000 15000 - 15000 15000 9000 - 15000 -
g726 15000 15000 15000 - 15000 9000 - 15000 -
g726aal2 15000 15000 15000 15000 - 9000 - 15000 -
slin 6000 6000 6000 6000 6000 - - 6000 -
slin - - - - - - - - 6000
testlaw 15000 15000 15000 15000 15000 9000 - - -
opus - - - - - - 9000 - -
How can I “add” the missing translation paths?
Before switching to Asterisk 13, we ran a Asterisk 11 system (11.6-cert11) where we applied a patch to get opus support. On this system, the translation table is complete.
Thanks,
Ouss