aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
commit7756b987a015d6001cb1f31e06439d4010125185 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_misdn.c
parent8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (diff)
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c42
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)