on Asterisk 13.11.2 When I load the codec from Asterisk console:
CLI> module load codec_opus.so
[Sep 27 16:36:09] WARNING[26336]: config_options.c:1000
xmldoc_update_config_type: Cannot update type ‘opus’ in module 'codec_opus’
because it has no existing documentation!
[Sep 27 16:36:09] ERROR[26336]:
codec_opus_config.c:532 codec_opus_config_initialize: Opus: failed to register
sorcery object type ‘opus’
While the modules have been built they have not yet been tested or launched with 13, the build process put them up early. There are additional changes required and they will be in a future 13 release. This initial release was merely targeting 14.
How have you installed the codec? If you don’t install the codec using “make menuselect” you need to manually copy the documentation to /var/lib/asterisk/documentation/thirdparty
CLI> module load codec_opus.so
Unable to load module codec_opus.so
Command ‘module load codec_opus.so’ failed.
== Registered ‘audio’ codec ‘opus’ at sample rate ‘8000’ with id ‘44’
== Created cached format with name ‘opus8’
== Registered ‘audio’ codec ‘opus’ at sample rate ‘16000’ with id ‘45’
== Created cached format with name ‘opus16’
[Jan 13 02:49:40] ERROR[24377]: sorcery.c:979 __ast_sorcery_insert_wizard_mapping: Wizard ‘config’ could not be applied to object type ‘opus’ as it was not found
[Jan 13 02:49:40] ERROR[24377]: codec_opus_config.c:532 codec_opus_config_initialize: Opus: failed to register sorcery object type ‘opus’
I encountered exactly the same issue.
Could you please elaborate how you resolved the problem?
The res_sorcery modules are enabled in my setup.
Thanks.
asterisk-13.13-cert1 on CentOS 7.3.
I installed codec_opus via “make menuselect”.
This is the error:
[Mar 1 14:34:46] ERROR[20935] sorcery.c: Wizard ‘config’ could not be applied to object type ‘opus’ as it was not found
[Mar 1 14:34:46] ERROR[20935] codec_opus_config.c: Opus: failed to register sorcery object type ‘opus’
I have bit different issue but related to codec_opus.so load,it throws error whenever i try to load .I built and even copied .so to the /lib/asterisk/modules directory.
Kindly guide.