aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
commitd542122e6a00ac0c2ee0f5178a2b3682f0fd48c3 (patch)
tree449c79f9794d0470ca27cb420554eb128bee9d9e /channels/chan_misdn.c
parent4723d35127a1da861d28ce2ae2ee0e8bbd7c3e7b (diff)
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 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 f9119413f..a717bafe5 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -1707,27 +1707,27 @@ static char *complete_show_config(struct ast_cli_args *a)
}
static struct ast_cli_entry chan_misdn_clis[] = {
- NEW_CLI(handle_cli_misdn_port_block, "Block the given port"),
- NEW_CLI(handle_cli_misdn_port_down, "Try to deacivate the L1 on the given port"),
- NEW_CLI(handle_cli_misdn_port_unblock, "Unblock the given port"),
- NEW_CLI(handle_cli_misdn_port_up, "Try to establish L1 on the given port"),
- NEW_CLI(handle_cli_misdn_reload, "Reload internal mISDN config, read from the config file"),
- NEW_CLI(handle_cli_misdn_restart_pid, "Restart the given pid"),
- NEW_CLI(handle_cli_misdn_restart_port, "Restart the given port"),
- NEW_CLI(handle_cli_misdn_show_channel, "Show an internal mISDN channel"),
- NEW_CLI(handle_cli_misdn_show_channels, "Show the internal mISDN channel list"),
- NEW_CLI(handle_cli_misdn_show_config, "Show internal mISDN config, read from the config file"),
- NEW_CLI(handle_cli_misdn_show_port, "Show detailed information for given port"),
- NEW_CLI(handle_cli_misdn_show_ports_stats, "Show mISDNs channel's call statistics per port"),
- NEW_CLI(handle_cli_misdn_show_stacks, "Show internal mISDN stack_list"),
- NEW_CLI(handle_cli_misdn_send_calldeflect, "Send CallDeflection to mISDN Channel"),
- NEW_CLI(handle_cli_misdn_send_digit, "Send DTMF digit to mISDN Channel"),
- NEW_CLI(handle_cli_misdn_send_display, "Send Text to mISDN Channel"),
- NEW_CLI(handle_cli_misdn_send_restart, "Send a restart for every bchannel on the given port"),
- NEW_CLI(handle_cli_misdn_set_crypt_debug, "Set CryptDebuglevel of chan_misdn, at the moment, level={1,2}"),
- NEW_CLI(handle_cli_misdn_set_debug, "Set Debuglevel of chan_misdn"),
- NEW_CLI(handle_cli_misdn_set_tics, "???"),
- NEW_CLI(handle_cli_misdn_toggle_echocancel, "Toggle EchoCancel on mISDN Channel"),
+ 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_calldeflect, "Send CallDeflection to 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"),
};
static int update_config(struct chan_list *ch, int orig)