# Cannot load OPUS "No Existing Documentation!"

**URL:** <https://community.asterisk.org/t/cannot-load-opus-no-existing-documentation/89971>\
**Category:** Asterisk Support\
**Created:** [September 15, 2021, 6:09pm UTC](https://community.asterisk.org/t/cannot-load-opus-no-existing-documentation/89971 "2021-09-15T18:09:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZombieLisa](https://avatars.discourse-cdn.com/v4/letter/z/258eb7/32.png) [@ZombieLisa](https://community.asterisk.org/u/ZombieLisa)\
**Post date:** [September 15, 2021, 6:09pm UTC](https://community.asterisk.org/t/cannot-load-opus-no-existing-documentation/89971/1 "2021-09-15T18:09:12Z")

</div>

Asterisk version 16.2.1 on Ubuntu 20.04.2

I am trying to add the OPUS codec onto our Asterisk servers. We did not build from source we installed via Ubuntu repo so I am using the alternative way of downlaoding the tarball from digium.

I have copied the codec\_opus.so file to /usr/lib/asterisk/modules/  
I have copied the codecopus\_config-en\_US.xml file to /var/lib/asterisk/documentation/thirdparty  
The documentation director did not exist in the /var/lib/asteirsk so I had to create it and the thirdparty directory under it. I changed ownership of both directories to the asterisk account and opened up the permissions. When I restart asterisk or try to manually load the opus codec module I get the error below

```auto
CLI> module load codec_opus.so
Unable to load module codec_opus.so
Command 'module load codec_opus.so' failed.
[Sep 15 10:38:13] WARNING[3119196]: config_options.c:1062 xmldoc_update_config_type: Cannot update type 'opus' in module 'codec_opus' because it has no existing documentation!
[Sep 15 10:38:13] ERROR[3119196]: codec_opus_config.c:451 codec_opus_config_initialize: Opus: failed to register sorcery object type 'opus'

```

I even tried putting in all the settings in the codecs.conf file but it made no difference

```auto
[opus]
type=opus
max_playback_rate=48000 ; Limit the maximum playback rate on the encoder
fec=yes ; No inband fec
packet_loss=0
complexity=10
max_bandwidth=full
signal=auto
application=voip
bitrate=auto
cbr=0
dtx=0
fec=0

```

---

<div class="post-metadata">

**Author:** ![ZombieLisa](https://avatars.discourse-cdn.com/v4/letter/z/258eb7/32.png) [@ZombieLisa](https://community.asterisk.org/u/ZombieLisa)\
**Post date:** [September 17, 2021, 5:51pm UTC](https://community.asterisk.org/t/cannot-load-opus-no-existing-documentation/89971/2 "2021-09-17T17:51:05Z")

</div>

Figured it out, the thirdparty folder already existed in this location /usr/share/asterisk/documentation/thirdparty

moved the xml there and that fixed it

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [October 17, 2021, 5:51pm UTC](https://community.asterisk.org/t/cannot-load-opus-no-existing-documentation/89971/3 "2021-10-17T17:51:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
