I"m getting the following error message trying in the log file when asterisk tries to load the codec_opus.so module:
[2019-02-07 16:52:32.018] VERBOSE[976] loader.c: Loading codec_opus.so.
[2019-02-07 16:52:32.019] WARNING[976] config_options.c: Cannot update type 'opus' in module 'codec_opus' because it has no existing documentation!
[2019-02-07 16:52:32.019] ERROR[976] codec_opus_config.c: Opus: failed to register sorcery object type 'opus'
I followed the instructions for installing it when building asterisk and see in the output of make install
that it got installed:
Installing modules from codecs…
codec_opus: Remote package version 13.0_1.3.0 (263680)
codec_opus: Downloading http://downloads.digium.com/pub/telephony/codec_opus/asterisk-13.0/x86-64/codec_opus-13.0_1.3.0-x86_64.tar.gz to /tmp/tmp.IrZ3LfI3K7/codec_opus-13.0_1.3.0-x86_64.tar.gz
codec_opus: Installing.
codec_opus: Installed.
I can confirm that the documentation files are present:
/var/lib/asterisk/documentation
find thirdparty -type f|xargs ls -l
-rw-r–r-- 1 asterisk asterisk 3660 Dec 11 2017 thirdparty/codec_opus_config-en_US.xml
-rw-r–r-- 1 asterisk asterisk 23456 Dec 11 2017 thirdparty/codec_opus/LICENSE
-rw-r–r-- 1 asterisk asterisk 2498 Dec 11 2017 thirdparty/codec_opus/README
The workaround for me is to install codec_opus_config-en_US.xml
into /var/lib/asterisk/documentation root directory, but I don’t understand why the file is not getting picked up from ‘/var/lib/asterisk/documentation/thirdparty/codec_opus_config-en_US.xml’
Is there something that my configuration is missing that registers the thirdparty
subdir?
Here are my core settings:
CLI> core show settings
PBX Core settings
Version: 13.24.1
Build Options: OPTIONAL_API
Maximum calls: Not set
Maximum open file handles: 803908
Root console verbosity: 3
Current console verbosity: 0
Debug level: 0
Maximum load average: 0.000000
Minimum free memory: 0 MB
Startup time: 17:19:41
Last reload time: 17:19:41
System: Linux/4.9.125-linuxkit built by root on x86_64 2019-02-07 16:10:35 UTC
System name:
Entity ID: 02:6b:99:25:00:ba
PBX UUID: 4fcb612d-b3ff-4513-892e-e0619c9a57e6
Default language: en
Language prefix: Enabled
User name and group: asterisk/asterisk
Executable includes: Disabled
Transcode via SLIN: Enabled
Transmit silence during rec: Disabled
Generic PLC: Disabled
Generic PLC on equal codecs: Disabled
Min DTMF duration:: 80
Cache media frames: Enabled
RTP dynamic payload types: 96-127
Subsystems
Manager (AMI): Enabled
Web Manager (AMI/HTTP): Enabled
Call data records: Enabled
Realtime Architecture (ARA): Disabled
Directories
Configuration file: /etc/asterisk/asterisk.conf
Configuration directory: /etc/asterisk
Module directory: /usr/lib64/asterisk/modules
Spool directory: /var/spool/asterisk
Log directory: /var/log/asterisk
Run/Sockets directory: /var/run/asterisk
PID file: /var/run/asterisk/asterisk.pid
VarLib directory: /var/lib/asterisk
Data directory: /var/lib/asterisk
ASTDB: /var/lib/asterisk/astdb
IAX2 Keys directory: /var/lib/asterisk/keys
AGI Scripts directory: /var/lib/asterisk/agi-bin
Thanks you so much in advance.