mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ARI: Added new functionality to get all module information.
An http request can be sent to retrieve a list of all existing modules, including the resource name, description, use count, status, and support level. The command "curl -v -u user:pass -X GET 'http://localhost:8088/ari/ asterisk/modules" (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 * Information on modules can now be retrieved Change-Id: I63cbbf0ec0c3544cc45ed2a588dceabe91c5e0b0
This commit is contained in:
@@ -67,6 +67,17 @@ int ast_ari_asterisk_get_info_parse_body(
|
||||
* \param[out] response HTTP response
|
||||
*/
|
||||
void ast_ari_asterisk_get_info(struct ast_variable *headers, struct ast_ari_asterisk_get_info_args *args, struct ast_ari_response *response);
|
||||
/*! Argument struct for ast_ari_asterisk_list_modules() */
|
||||
struct ast_ari_asterisk_list_modules_args {
|
||||
};
|
||||
/*!
|
||||
* \brief List Asterisk modules.
|
||||
*
|
||||
* \param headers HTTP headers
|
||||
* \param args Swagger parameters
|
||||
* \param[out] response HTTP response
|
||||
*/
|
||||
void ast_ari_asterisk_list_modules(struct ast_variable *headers, struct ast_ari_asterisk_list_modules_args *args, struct ast_ari_response *response);
|
||||
/*! Argument struct for ast_ari_asterisk_get_global_var() */
|
||||
struct ast_ari_asterisk_get_global_var_args {
|
||||
/*! The variable to get */
|
||||
|
Reference in New Issue
Block a user