GSM & Opus codec

Status
Not open for further replies.

dcitelecom

Member
Oct 20, 2021
138
3
18
61
I am new to fusionpbx and could not find the info in the forum. I am using Acrobits to register an extension and can make and receive calls with ulaw and G722 codec. However when I try either Opus or GSM codecs the call fails. The codecs are loaded in MODULES and show codec in fs_cli lists the GSM and Opus codecs available but it's not working. Accoring to the log below, my system only uses G722, PCMU and PCMA codecs even though others are loaded. Can anyone help?

global_codec_prefs = G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM,OPUS
outbound_codec_prefs = PCMU,PCMA,GSM,OPUS

2022-05-04 19:23:22.235421 98.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:103:48000:20:0:1]/[G722:9:8000:20:64000:1]
2022-05-04 19:23:22.235421 98.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:103:48000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-05-04 19:23:22.235421 98.97% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:103:48000:20:0:1]/[PCMA:8:8000:20:64000:1]
 

dcitelecom

Member
Oct 20, 2021
138
3
18
61
Thanks but that's not it. The codecs are loaded in Modules.
However, I got it to work in the end. After changing the codecs in Advanced->variables, I had to go to Advanced->sip profiles and SAVE the internal or external profile. Then go to Status-sip status and restart the internal and external profiles. That updates the codec selection.
 
  • Like
Reactions: cagriaksu
Status
Not open for further replies.