aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.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_h323.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_h323.c')
-rw-r--r--channels/chan_h323.c12
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)
{