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

@@ -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 */
};