]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Added new functionality to reload a single module. 58/858/3
authorBenjamin Ford <bford@digium.com>
Tue, 14 Jul 2015 18:12:32 +0000 (13:12 -0500)
committerBenjamin Ford <bford@digium.com>
Tue, 14 Jul 2015 18:15:39 +0000 (13:15 -0500)
commit1aafadf8148a7cf66f73beeb6fe711d98b678fc5
treecf4d8e057b7c39fba6cc4706bd00c01cd62a5dad
parent9dcae23cfceedece83568d2194df00ca62f7d53c
ARI: Added new functionality to reload a single module.

An http request can be sent to reload an Asterisk module. If the
module can not be reloaded or is not already loaded, an error
response will be returned.

The command "curl -v -u user:pass -X PUT 'http://localhost:8088
/ari/asterisk/modules/{moduleName}'" (or something similar, based
on configuration) can be run in the terminal to access this new
functionality.

For more information, see:
https://wiki.asterisk.org/wiki.display/~bford/Asterisk+ARI+Resource

* Added new ARI functionality
* Asterisk modules can be reloaded through http requests

ASTERISK-25173

Change-Id: I289188bcae182b2083bdbd9ebfffd50b62f58ae1
CHANGES
include/asterisk/ari.h
res/ari/resource_asterisk.c
res/ari/resource_asterisk.h
res/res_ari.c
res/res_ari_asterisk.c
rest-api/api-docs/asterisk.json