diff options
author | Jason Parker <jparker@digium.com> | 2007-10-19 18:29:40 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-10-19 18:29:40 +0000 |
commit | b0f3e6097e7e40affba1f893c42be66a8d26bd23 (patch) | |
tree | 449c79f9794d0470ca27cb420554eb128bee9d9e /channels/chan_h323.c | |
parent | 65761cbd7a322352fdb834fedee8d4bbb62be61c (diff) |
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
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 7e50afc12..a0f7c961d 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -2744,11 +2744,11 @@ static char *handle_cli_h323_show_tokens(struct ast_cli_entry *e, int cmd, struc } static struct ast_cli_entry cli_h323[] = { - NEW_CLI(handle_cli_h323_set_trace, "Enable/Disable H.323 Stack Tracing"), - NEW_CLI(handle_cli_h323_set_debug, "Enable/Disable H.323 Debugging"), - NEW_CLI(handle_cli_h323_cycle_gk, "Manually re-register with the Gatekeper"), - NEW_CLI(handle_cli_h323_hangup, "Manually try to hang up a call"), - NEW_CLI(handle_cli_h323_show_tokens, "Show all active call tokens"), + AST_CLI(handle_cli_h323_set_trace, "Enable/Disable H.323 Stack Tracing"), + AST_CLI(handle_cli_h323_set_debug, "Enable/Disable H.323 Debugging"), + AST_CLI(handle_cli_h323_cycle_gk, "Manually re-register with the Gatekeper"), + AST_CLI(handle_cli_h323_hangup, "Manually try to hang up a call"), + AST_CLI(handle_cli_h323_show_tokens, "Show all active call tokens"), }; static int reload_config(int is_reload) @@ -3078,7 +3078,7 @@ static int reload(void) } static struct ast_cli_entry cli_h323_reload = - NEW_CLI(handle_cli_h323_reload, "Reload H.323 configuration"); + AST_CLI(handle_cli_h323_reload, "Reload H.323 configuration"); static enum ast_rtp_get_result oh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp) { |