I’m trying to take advantage of the opus codec that my softphone supports. It works in general, but all of my pre-recorded sound files are in GSM format and when I try to play one to an opus-using client Asterisk complains:
[Oct 15 08:38:48] WARNING[24872][C-0000002b]: channel.c:5751 set_format: Unable to find a codec translation path: (gsm) -> (opus)
and indeed, this is what Asterisk thinks about that also:
server*CLI> core show translation paths gsm
--- Translation paths SRC Codec "gsm" sample rate 8000 ---
gsm:8000 To g723:8000 : No Translation Path
gsm:8000 To ulaw:8000 : (gsm@8000)->(slin@8000)->(ulaw@8000)
gsm:8000 To alaw:8000 : (gsm@8000)->(slin@8000)->(alaw@8000)
gsm:8000 To g726:8000 : (gsm@8000)->(slin@8000)->(g726@8000)
gsm:8000 To g726aal2:8000 : (gsm@8000)->(slin@8000)->(g726aal2@8000)
gsm:8000 To adpcm:8000 : (gsm@8000)->(slin@8000)->(adpcm@8000)
gsm:8000 To slin:8000 : (gsm@8000)->(slin@8000)
gsm:8000 To slin:12000 : (gsm@8000)->(slin@8000)->(slin@12000)
gsm:8000 To slin:16000 : (gsm@8000)->(slin@8000)->(slin@16000)
gsm:8000 To slin:24000 : (gsm@8000)->(slin@8000)->(slin@24000)
gsm:8000 To slin:32000 : (gsm@8000)->(slin@8000)->(slin@32000)
gsm:8000 To slin:44100 : (gsm@8000)->(slin@8000)->(slin@44100)
gsm:8000 To slin:48000 : (gsm@8000)->(slin@8000)->(slin@48000)
gsm:8000 To slin:96000 : (gsm@8000)->(slin@8000)->(slin@96000)
gsm:8000 To slin:192000 : (gsm@8000)->(slin@8000)->(slin@192000)
gsm:8000 To lpc10:8000 : (gsm@8000)->(slin@8000)->(lpc10@8000)
gsm:8000 To g729:8000 : No Translation Path
gsm:8000 To speex:8000 : (gsm@8000)->(slin@8000)->(speex@8000)
gsm:8000 To speex:16000 : (gsm@8000)->(slin@8000)->(slin@16000)->(speex@16000)
gsm:8000 To speex:32000 : (gsm@8000)->(slin@8000)->(slin@32000)->(speex@32000)
gsm:8000 To ilbc:8000 : (gsm@8000)->(slin@8000)->(ilbc@8000)
gsm:8000 To g722:16000 : (gsm@8000)->(slin@8000)->(g722@16000)
gsm:8000 To siren7:16000 : No Translation Path
gsm:8000 To siren14:32000 : No Translation Path
gsm:8000 To testlaw:8000 : (gsm@8000)->(slin@8000)->(testlaw@8000)
gsm:8000 To g719:48000 : No Translation Path
gsm:8000 To opus:48000 : No Translation Path
gsm:8000 To none:8000 : No Translation Path
gsm:8000 To silk:8000 : No Translation Path
gsm:8000 To silk:12000 : No Translation Path
gsm:8000 To silk:16000 : No Translation Path
gsm:8000 To silk:24000 : No Translation Path
Is there no way to get a translation path from gsm to opus?