Hi everyone,
I wanted to share a quick technical guide for those who face codec mismatch issues in Asterisk.
Common Symptoms:
-
One-way or no audio
-
Logs show
codec mismatchwarnings
Troubleshooting Steps:
-
Check
allow=lines in yoursip.conforpjsip.conf -
Make sure endpoints (softphones, carriers, trunks) use at least one matching codec
-
Use
rtp set debug onorpjsip set logger onto trace codec negotiation -
Check if transcoding is enabled (and licensed for G.729 if used)
Tip: You can run
core show codecs
core show translation
to verify what Asterisk supports.
Hope this helps others facing similar issues — feedback welcome!