summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
committerJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
commitebe4050128fda79e5611e88c6dcd9621d38de599 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_zap.c
parent8711a1dba761de5e72a32abb7aff656c423b5295 (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_zap.c')
-rw-r--r--channels/chan_zap.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index f4991fae8..21ea7edc2 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -10845,14 +10845,14 @@ static char *handle_pri_show_debug(struct ast_cli_entry *e, int cmd, struct ast_
}
static struct ast_cli_entry zap_pri_cli[] = {
- AST_CLI(handle_pri_debug, "Enables PRI debugging on a span"),
- AST_CLI(handle_pri_no_debug, "Disables PRI debugging on a span"),
- AST_CLI(handle_pri_really_debug, "Enables REALLY INTENSE PRI debugging"),
- AST_CLI(handle_pri_show_spans, "Displays PRI Information"),
- AST_CLI(handle_pri_show_span, "Displays PRI Information"),
- AST_CLI(handle_pri_show_debug, "Displays current PRI debug settings"),
- AST_CLI(handle_pri_set_debug_file, "Sends PRI debug output to the specified file"),
- AST_CLI(handle_pri_unset_debug_file, "Ends PRI debug output to file"),
+ AST_CLI_DEFINE(handle_pri_debug, "Enables PRI debugging on a span"),
+ AST_CLI_DEFINE(handle_pri_no_debug, "Disables PRI debugging on a span"),
+ AST_CLI_DEFINE(handle_pri_really_debug, "Enables REALLY INTENSE PRI debugging"),
+ AST_CLI_DEFINE(handle_pri_show_spans, "Displays PRI Information"),
+ AST_CLI_DEFINE(handle_pri_show_span, "Displays PRI Information"),
+ AST_CLI_DEFINE(handle_pri_show_debug, "Displays current PRI debug settings"),
+ AST_CLI_DEFINE(handle_pri_set_debug_file, "Sends PRI debug output to the specified file"),
+ AST_CLI_DEFINE(handle_pri_unset_debug_file, "Ends PRI debug output to file"),
};
#endif /* HAVE_PRI */
@@ -11369,13 +11369,13 @@ static char *zap_show_version(struct ast_cli_entry *e, int cmd, struct ast_cli_a
}
static struct ast_cli_entry zap_cli[] = {
- AST_CLI(handle_zap_show_cadences, "List cadences"),
- AST_CLI(zap_show_channels, "Show active zapata channels"),
- AST_CLI(zap_show_channel, "Show information on a channel"),
- AST_CLI(zap_destroy_channel, "Destroy a channel"),
- AST_CLI(zap_restart_cmd, "Fully restart zaptel channels"),
- AST_CLI(zap_show_status, "Show all Zaptel cards status"),
- AST_CLI(zap_show_version, "Show the Zaptel version in use"),
+ AST_CLI_DEFINE(handle_zap_show_cadences, "List cadences"),
+ AST_CLI_DEFINE(zap_show_channels, "Show active zapata channels"),
+ AST_CLI_DEFINE(zap_show_channel, "Show information on a channel"),
+ AST_CLI_DEFINE(zap_destroy_channel, "Destroy a channel"),
+ AST_CLI_DEFINE(zap_restart_cmd, "Fully restart zaptel channels"),
+ AST_CLI_DEFINE(zap_show_status, "Show all Zaptel cards status"),
+ AST_CLI_DEFINE(zap_show_version, "Show the Zaptel version in use"),
};
#define TRANSFER 0
@@ -11969,11 +11969,11 @@ static char *handle_ss7_show_linkset(struct ast_cli_entry *e, int cmd, struct as
}
static struct ast_cli_entry zap_ss7_cli[] = {
- AST_CLI(handle_ss7_debug, "Enables SS7 debugging on a linkset"),
- AST_CLI(handle_ss7_no_debug, "Disables SS7 debugging on a linkset"),
- AST_CLI(handle_ss7_block_cic, "Disables SS7 debugging on a linkset"),
- AST_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset"),
- AST_CLI(handle_ss7_show_linkset, "Shows the status of a linkset"),
+ AST_CLI_DEFINE(handle_ss7_debug, "Enables SS7 debugging on a linkset"),
+ AST_CLI_DEFINE(handle_ss7_no_debug, "Disables SS7 debugging on a linkset"),
+ AST_CLI_DEFINE(handle_ss7_block_cic, "Disables SS7 debugging on a linkset"),
+ AST_CLI_DEFINE(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset"),
+ AST_CLI_DEFINE(handle_ss7_show_linkset, "Shows the status of a linkset"),
};
#endif /* HAVE_SS7 */