Configuring Opus Forward Error Correction In Asterisk 16 (FreePBX)?
Hi. I am using Asterisk 16.27.0 in FreePBX 15.0.23.11. I installed via the FreePBX ISO (SNG7-PBX-64bit-2104.iso). I used the GUI to enable the Opus Codec in Asterisk SIP Settings and I can confirm the calls are using Opus 16000. How can I turn on fec. I am wondering if there might be a configuration file I need to modify to add “fec=yes” or something like that to turn this on.
Thanks in advance for any help
Brant Merryman
—
One thought on - Configuring Opus Forward Error Correction In Asterisk 16 (FreePBX)?
Yes FEC must be enabled through configuration, but be aware that enabling FEC does not necessarily mean it’s being utilized. For instance, in order for FEC data to be decoded by Sangoma’s codec_opus module for Asterisk several things must occur:
1) it must be enabled through configuration
2) both sides of a call must negotiate for it (via SDP)
3) packet loss must be perceived by the codec_opus module
4) a frame containing FEC data is received
Also, please see the following for more information:
https://wiki.asterisk.org/wiki/display/AST/Codec+Opus
https://wiki.asterisk.org/wiki/display/AST/Asterisk+19+Configuration_codec_opus
https://www.asterisk.org/configuring-opus-encoder-asterisk/
https://www.asterisk.org/asterisk-opus-packet-loss-fec/
– Kevin