Unable to load module res_ari_events.so

Trying to setup Asterisk 13.10 to work with ARI, and all other ARI modules are loading fine, but the events module fails to load. If I have it in my modules.conf, it causes Asterisk to not start.

root@chadsterisk:/$ asterisk -cvvvvvvvvvvdddddddddd
# [... snipped loading output]
Loading app_verbose.so.
  == Registered application 'Log'
  == Registered application 'Verbose'
  == app_verbose.so => (Send verbose output)
 Loading res_ari_events.so.
root@chadsterisk:/$ 

If I remove it from my modules.conf, and try module load res_ari_events.so from the asterisk cli, it just says

chadsterisk*CLI> module load res_ari_events.so 
Unable to load module res_ari_events.so
Command 'module load res_ari_events.so ' failed.

With no other output, even when verbose and debug are both set to 10.

I’m very new to setting up Asterisk, so I’m not even really sure how to debug this. Any help would be appreciated. :slight_smile:

Asterisk 13.10.0 built by root @ 2da0903ff372

1 Like

Have you also loaded res_http_websocket.so before it?

I did not have that module loaded, and loading it did fix the issue, thanks.

Is there a good place to learn about what dependencies a specific module has?

You can check the dependencies in “make menuselect” for a module which can tell you what you’ll need. Outside of that it can end up being experimentation.

Okay, I’ll keep that in mind. Thanks for your help Josh