diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 18:29:40 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-19 18:29:40 +0000 |
commit | d542122e6a00ac0c2ee0f5178a2b3682f0fd48c3 (patch) | |
tree | 449c79f9794d0470ca27cb420554eb128bee9d9e /channels/chan_iax2.c | |
parent | 4723d35127a1da861d28ce2ae2ee0e8bbd7c3e7b (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_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 30af97a9d..d0b68f13b 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -11305,32 +11305,32 @@ static struct ast_switch iax2_switch = */ static struct ast_cli_entry cli_iax2[] = { - NEW_CLI(handle_cli_iax2_provision, "Provision an IAX device"), - NEW_CLI(handle_cli_iax2_prune_realtime, "Prune a cached realtime lookup"), - NEW_CLI(handle_cli_iax2_reload, "Reload IAX configuration"), - NEW_CLI(handle_cli_iax2_set_mtu, "Set the IAX systemwide trunking MTU"), - NEW_CLI(handle_cli_iax2_set_debug, "Enable IAX debugging"), - NEW_CLI(handle_cli_iax2_set_debug_trunk, "Enable IAX trunk debugging"), - NEW_CLI(handle_cli_iax2_set_debug_jb, "Enable IAX jitterbuffer debugging"), - NEW_CLI(handle_cli_iax2_set_debug_off, "Disable IAX debugging"), - NEW_CLI(handle_cli_iax2_set_debug_trunk_off, "Disable IAX trunk debugging"), - NEW_CLI(handle_cli_iax2_set_debug_jb_off, "Disable IAX jitterbuffer debugging"), - NEW_CLI(handle_cli_iax2_show_cache, "Display IAX cached dialplan"), - NEW_CLI(handle_cli_iax2_show_channels, "List active IAX channels"), - NEW_CLI(handle_cli_iax2_show_firmware, "List available IAX firmware"), - NEW_CLI(handle_cli_iax2_show_netstats, "List active IAX channel netstats"), - NEW_CLI(handle_cli_iax2_show_peer, "Show details on specific IAX peer"), - NEW_CLI(handle_cli_iax2_show_peers, "List defined IAX peers"), - NEW_CLI(handle_cli_iax2_show_registry, "Display IAX registration status"), - NEW_CLI(handle_cli_iax2_show_stats, "Display IAX statistics"), - NEW_CLI(handle_cli_iax2_show_threads, "Display IAX helper thread info"), - NEW_CLI(handle_cli_iax2_show_users, "List defined IAX users"), - NEW_CLI(handle_cli_iax2_test_losspct, "Set IAX2 incoming frame loss percentage"), - NEW_CLI(handle_cli_iax2_unregister, "Unregister (force expiration) an IAX2 peer from the registry"), + AST_CLI(handle_cli_iax2_provision, "Provision an IAX device"), + AST_CLI(handle_cli_iax2_prune_realtime, "Prune a cached realtime lookup"), + AST_CLI(handle_cli_iax2_reload, "Reload IAX configuration"), + AST_CLI(handle_cli_iax2_set_mtu, "Set the IAX systemwide trunking MTU"), + AST_CLI(handle_cli_iax2_set_debug, "Enable IAX debugging"), + AST_CLI(handle_cli_iax2_set_debug_trunk, "Enable IAX trunk debugging"), + AST_CLI(handle_cli_iax2_set_debug_jb, "Enable IAX jitterbuffer debugging"), + AST_CLI(handle_cli_iax2_set_debug_off, "Disable IAX debugging"), + AST_CLI(handle_cli_iax2_set_debug_trunk_off, "Disable IAX trunk debugging"), + AST_CLI(handle_cli_iax2_set_debug_jb_off, "Disable IAX jitterbuffer debugging"), + AST_CLI(handle_cli_iax2_show_cache, "Display IAX cached dialplan"), + AST_CLI(handle_cli_iax2_show_channels, "List active IAX channels"), + AST_CLI(handle_cli_iax2_show_firmware, "List available IAX firmware"), + AST_CLI(handle_cli_iax2_show_netstats, "List active IAX channel netstats"), + AST_CLI(handle_cli_iax2_show_peer, "Show details on specific IAX peer"), + AST_CLI(handle_cli_iax2_show_peers, "List defined IAX peers"), + AST_CLI(handle_cli_iax2_show_registry, "Display IAX registration status"), + AST_CLI(handle_cli_iax2_show_stats, "Display IAX statistics"), + AST_CLI(handle_cli_iax2_show_threads, "Display IAX helper thread info"), + AST_CLI(handle_cli_iax2_show_users, "List defined IAX users"), + AST_CLI(handle_cli_iax2_test_losspct, "Set IAX2 incoming frame loss percentage"), + AST_CLI(handle_cli_iax2_unregister, "Unregister (force expiration) an IAX2 peer from the registry"), #ifdef IAXTESTS - NEW_CLI(handle_cli_iax2_test_jitter, "Simulates jitter for testing"), - NEW_CLI(handle_cli_iax2_test_late, "Test the receipt of a late frame"), - NEW_CLI(handle_cli_iax2_test_resync, "Test a resync in received timestamps"), + AST_CLI(handle_cli_iax2_test_jitter, "Simulates jitter for testing"), + AST_CLI(handle_cli_iax2_test_late, "Test the receipt of a late frame"), + AST_CLI(handle_cli_iax2_test_resync, "Test a resync in received timestamps"), #endif /* IAXTESTS */ }; |