Convert NEW_CLI to AST_CLI.

Closes issue #11039, as suggested by seanbright.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-10-19 18:29:40 +00:00
parent 65761cbd7a
commit b0f3e6097e
64 changed files with 308 additions and 308 deletions

View File

@@ -10828,14 +10828,14 @@ static char *handle_pri_show_debug(struct ast_cli_entry *e, int cmd, struct ast_
}
static struct ast_cli_entry zap_pri_cli[] = {
NEW_CLI(handle_pri_debug, "Enables PRI debugging on a span"),
NEW_CLI(handle_pri_no_debug, "Disables PRI debugging on a span"),
NEW_CLI(handle_pri_really_debug, "Enables REALLY INTENSE PRI debugging"),
NEW_CLI(handle_pri_show_spans, "Displays PRI Information"),
NEW_CLI(handle_pri_show_span, "Displays PRI Information"),
NEW_CLI(handle_pri_show_debug, "Displays current PRI debug settings"),
NEW_CLI(handle_pri_set_debug_file, "Sends PRI debug output to the specified file"),
NEW_CLI(handle_pri_unset_debug_file, "Ends PRI debug output to file"),
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"),
};
#endif /* HAVE_PRI */
@@ -11352,13 +11352,13 @@ static char *zap_show_version(struct ast_cli_entry *e, int cmd, struct ast_cli_a
}
static struct ast_cli_entry zap_cli[] = {
NEW_CLI(handle_zap_show_cadences, "List cadences"),
NEW_CLI(zap_show_channels, "Show active zapata channels"),
NEW_CLI(zap_show_channel, "Show information on a channel"),
NEW_CLI(zap_destroy_channel, "Destroy a channel"),
NEW_CLI(zap_restart_cmd, "Fully restart zaptel channels"),
NEW_CLI(zap_show_status, "Show all Zaptel cards status"),
NEW_CLI(zap_show_version, "Show the Zaptel version in use"),
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"),
};
#define TRANSFER 0
@@ -11958,11 +11958,11 @@ static char *handle_ss7_show_linkset(struct ast_cli_entry *e, int cmd, struct as
}
static struct ast_cli_entry zap_ss7_cli[] = {
NEW_CLI(handle_ss7_debug, "Enables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_no_debug, "Disables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_block_cic, "Disables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_unblock_cic, "Disables SS7 debugging on a linkset"),
NEW_CLI(handle_ss7_show_linkset, "Shows the status of a linkset"),
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"),
};
#endif /* HAVE_SS7 */