mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	This patch adds three new CLI commands: - ari show apps: list the registered ARI applications - ari show app: show detailed information about an ARI application - ari set debug: dump events being sent to an ARI application Note that while these CLI commands live in the res_stasis module, we use the 'ari' family for these commands. This was done as most users of Asterisk aren't aware of the semantic differences between ARI and res_stasis, and some 'ari' CLI commands already exist. ASTERISK-26488 #close Change-Id: I51ad6ff0cabee0d69db06858c13f18b1c513c9f5
		
			
				
	
	
		
			44 lines
		
	
	
		
			1006 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1006 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Asterisk -- An open source telephony toolkit.
 | 
						|
 *
 | 
						|
 * Copyright (C) 2016, Digium, Inc.
 | 
						|
 *
 | 
						|
 * Matt Jordan <mjordan@digium.com>
 | 
						|
 *
 | 
						|
 * See http://www.asterisk.org for more information about
 | 
						|
 * the Asterisk project. Please do not directly contact
 | 
						|
 * any of the maintainers of this project for assistance;
 | 
						|
 * the project provides a web site, mailing lists and IRC
 | 
						|
 * channels for your use.
 | 
						|
 *
 | 
						|
 * This program is free software, distributed under the terms of
 | 
						|
 * the GNU General Public License Version 2. See the LICENSE file
 | 
						|
 * at the top of the source tree.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _ASTERISK_RES_STASIS_CLI_H
 | 
						|
#define _ASTERISK_RES_STASIS_CLI_H
 | 
						|
 | 
						|
/*! \file
 | 
						|
 *
 | 
						|
 * \brief Internal API for Stasis application CLI commands
 | 
						|
 *
 | 
						|
 * \author Matt Jordan <mjordan@digium.com>
 | 
						|
 * \since 13.13.0
 | 
						|
 */
 | 
						|
 | 
						|
/*!
 | 
						|
 * \brief Initialize the CLI commands
 | 
						|
 *
 | 
						|
 * \retval 0 on success
 | 
						|
 * \retval non-zero on error
 | 
						|
 */
 | 
						|
int cli_init(void);
 | 
						|
 | 
						|
/*!
 | 
						|
 * \brief Cleanup the CLI commands
 | 
						|
 */
 | 
						|
void cli_cleanup(void);
 | 
						|
 | 
						|
#endif /* _ASTERISK_RES_STASIS_CLI_H */
 |