mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
ARI: Retrieve existing log channels
An http request can be sent to get the existing Asterisk logs. The command "curl -v -u user:pass -X GET 'http://localhost:8088 /ari/asterisk/logging'" can be run in the terminal to access the newly implemented functionality. * Retrieve all existing log channels ASTERISK-25252 Change-Id: I7bb08b93e3b938c991f3f56cc5d188654768a808
This commit is contained in:
@@ -194,6 +194,17 @@ struct ast_ari_asterisk_reload_module_args {
|
||||
* \param[out] response HTTP response
|
||||
*/
|
||||
void ast_ari_asterisk_reload_module(struct ast_variable *headers, struct ast_ari_asterisk_reload_module_args *args, struct ast_ari_response *response);
|
||||
/*! Argument struct for ast_ari_asterisk_list_log_channels() */
|
||||
struct ast_ari_asterisk_list_log_channels_args {
|
||||
};
|
||||
/*!
|
||||
* \brief Gets Asterisk log channel information.
|
||||
*
|
||||
* \param headers HTTP headers
|
||||
* \param args Swagger parameters
|
||||
* \param[out] response HTTP response
|
||||
*/
|
||||
void ast_ari_asterisk_list_log_channels(struct ast_variable *headers, struct ast_ari_asterisk_list_log_channels_args *args, struct ast_ari_response *response);
|
||||
/*! Argument struct for ast_ari_asterisk_add_log() */
|
||||
struct ast_ari_asterisk_add_log_args {
|
||||
/*! The log channel to add */
|
||||
|
Reference in New Issue
Block a user