Asterisk 20.11.1 - Rest API
Hi there.
Since the update to 20.11.1 we are receiving an error from ari/rest-api.
ERROR[824]: res_ari.c:622 ast_ari_get_docs: Error determining real directory for rest-api
Do you have any information on this?
Cheers
Hi @DavidRosseljong. res_ari is not configured by the code in this repo. We have noload => res_ari.so in modules.conf.
If you do not intend to use res_ari you can review the configuration to get rid of the error message.
If on the other and you depend on the functionality of res_ari I think it would be helpful for you to do some more debugging on your system.
Hi, thanks for the quick reply.
We use ARI & AMI extensively in our projects. Hence we were quite surprised that it stopped working after upgrading a minimal x.x.1 version. I guess something changed with the folder structure or use of ari internally. Circling back to 1.1.11 for now. :)
I use the Docker images provided by MLAN. The image from seven months ago "mlan/asterisk:xtra-1.1.11" had the REST API working. The new version seems to not create the folders under "var/lib/asterisk/rest-api." I noticed this because I have my config linked externally meaning the noload => res_ari.so in modules.conf was changed in my config files. The only thing that changed was the Docker image version. I tried to find what changed in the image, but I was unsuccessful.
Has anyone figured out why ARI is not working in the latest version? If so, could you post the solution?