diff options
author | Jason Parker <jparker@digium.com> | 2007-10-22 20:05:18 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-10-22 20:05:18 +0000 |
commit | ebe4050128fda79e5611e88c6dcd9621d38de599 (patch) | |
tree | c308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_misdn.c | |
parent | 8711a1dba761de5e72a32abb7aff656c423b5295 (diff) |
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
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r-- | channels/chan_misdn.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 6dd537a82..55f41d928 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -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) |