Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-10-22 20:05:18 +00:00
parent 8711a1dba7
commit ebe4050128
64 changed files with 308 additions and 308 deletions

View File

@@ -1762,27 +1762,27 @@ static char *complete_show_config(struct ast_cli_args *a)
}
static struct ast_cli_entry chan_misdn_clis[] = {
AST_CLI(handle_cli_misdn_port_block, "Block the given port"),
AST_CLI(handle_cli_misdn_port_down, "Try to deacivate the L1 on the given port"),
AST_CLI(handle_cli_misdn_port_unblock, "Unblock the given port"),
AST_CLI(handle_cli_misdn_port_up, "Try to establish L1 on the given port"),
AST_CLI(handle_cli_misdn_reload, "Reload internal mISDN config, read from the config file"),
AST_CLI(handle_cli_misdn_restart_pid, "Restart the given pid"),
AST_CLI(handle_cli_misdn_restart_port, "Restart the given port"),
AST_CLI(handle_cli_misdn_show_channel, "Show an internal mISDN channel"),
AST_CLI(handle_cli_misdn_show_channels, "Show the internal mISDN channel list"),
AST_CLI(handle_cli_misdn_show_config, "Show internal mISDN config, read from the config file"),
AST_CLI(handle_cli_misdn_show_port, "Show detailed information for given port"),
AST_CLI(handle_cli_misdn_show_ports_stats, "Show mISDNs channel's call statistics per port"),
AST_CLI(handle_cli_misdn_show_stacks, "Show internal mISDN stack_list"),
AST_CLI(handle_cli_misdn_send_facility, "Sends a Facility Message to the mISDN Channel"),
AST_CLI(handle_cli_misdn_send_digit, "Send DTMF digit to mISDN Channel"),
AST_CLI(handle_cli_misdn_send_display, "Send Text to mISDN Channel"),
AST_CLI(handle_cli_misdn_send_restart, "Send a restart for every bchannel on the given port"),
AST_CLI(handle_cli_misdn_set_crypt_debug, "Set CryptDebuglevel of chan_misdn, at the moment, level={1,2}"),
AST_CLI(handle_cli_misdn_set_debug, "Set Debuglevel of chan_misdn"),
AST_CLI(handle_cli_misdn_set_tics, "???"),
AST_CLI(handle_cli_misdn_toggle_echocancel, "Toggle EchoCancel on mISDN Channel"),
AST_CLI_DEFINE(handle_cli_misdn_port_block, "Block the given port"),
AST_CLI_DEFINE(handle_cli_misdn_port_down, "Try to deacivate the L1 on the given port"),
AST_CLI_DEFINE(handle_cli_misdn_port_unblock, "Unblock the given port"),
AST_CLI_DEFINE(handle_cli_misdn_port_up, "Try to establish L1 on the given port"),
AST_CLI_DEFINE(handle_cli_misdn_reload, "Reload internal mISDN config, read from the config file"),
AST_CLI_DEFINE(handle_cli_misdn_restart_pid, "Restart the given pid"),
AST_CLI_DEFINE(handle_cli_misdn_restart_port, "Restart the given port"),
AST_CLI_DEFINE(handle_cli_misdn_show_channel, "Show an internal mISDN channel"),
AST_CLI_DEFINE(handle_cli_misdn_show_channels, "Show the internal mISDN channel list"),
AST_CLI_DEFINE(handle_cli_misdn_show_config, "Show internal mISDN config, read from the config file"),
AST_CLI_DEFINE(handle_cli_misdn_show_port, "Show detailed information for given port"),
AST_CLI_DEFINE(handle_cli_misdn_show_ports_stats, "Show mISDNs channel's call statistics per port"),
AST_CLI_DEFINE(handle_cli_misdn_show_stacks, "Show internal mISDN stack_list"),
AST_CLI_DEFINE(handle_cli_misdn_send_facility, "Sends a Facility Message to the mISDN Channel"),
AST_CLI_DEFINE(handle_cli_misdn_send_digit, "Send DTMF digit to mISDN Channel"),
AST_CLI_DEFINE(handle_cli_misdn_send_display, "Send Text to mISDN Channel"),
AST_CLI_DEFINE(handle_cli_misdn_send_restart, "Send a restart for every bchannel on the given port"),
AST_CLI_DEFINE(handle_cli_misdn_set_crypt_debug, "Set CryptDebuglevel of chan_misdn, at the moment, level={1,2}"),
AST_CLI_DEFINE(handle_cli_misdn_set_debug, "Set Debuglevel of chan_misdn"),
AST_CLI_DEFINE(handle_cli_misdn_set_tics, "???"),
AST_CLI_DEFINE(handle_cli_misdn_toggle_echocancel, "Toggle EchoCancel on mISDN Channel"),
};
static int update_config(struct chan_list *ch, int orig)