]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ARI: Added new functionality to unload a single module. 08/808/5
authorBenjamin Ford <bford@digium.com>
Tue, 14 Jul 2015 13:55:14 +0000 (08:55 -0500)
committerBenjamin Ford <bford@digium.com>
Tue, 14 Jul 2015 13:57:57 +0000 (08:57 -0500)
commit9dcae23cfceedece83568d2194df00ca62f7d53c
tree7c1865ee0b08507d3e9df6e742d61a71fba06760
parentc219a98d2b46a61996518fd2791b7bb4437969fb
ARI: Added new functionality to unload a single module.

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

The command "curl -v -u user:pass -X DELETE 'http://localhost:8088
/ari/asterisk/modules/{moduleName}'" (or something similar, depending
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 unloaded through http requests

ASTERISK-25173

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