From ebe4050128fda79e5611e88c6dcd9621d38de599 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Mon, 22 Oct 2007 20:05:18 +0000 Subject: Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_iax2.c | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'channels/chan_iax2.c') diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index d0b68f13b..6b456f626 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[] = { - 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"), + AST_CLI_DEFINE(handle_cli_iax2_provision, "Provision an IAX device"), + AST_CLI_DEFINE(handle_cli_iax2_prune_realtime, "Prune a cached realtime lookup"), + AST_CLI_DEFINE(handle_cli_iax2_reload, "Reload IAX configuration"), + AST_CLI_DEFINE(handle_cli_iax2_set_mtu, "Set the IAX systemwide trunking MTU"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug, "Enable IAX debugging"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug_trunk, "Enable IAX trunk debugging"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug_jb, "Enable IAX jitterbuffer debugging"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug_off, "Disable IAX debugging"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug_trunk_off, "Disable IAX trunk debugging"), + AST_CLI_DEFINE(handle_cli_iax2_set_debug_jb_off, "Disable IAX jitterbuffer debugging"), + AST_CLI_DEFINE(handle_cli_iax2_show_cache, "Display IAX cached dialplan"), + AST_CLI_DEFINE(handle_cli_iax2_show_channels, "List active IAX channels"), + AST_CLI_DEFINE(handle_cli_iax2_show_firmware, "List available IAX firmware"), + AST_CLI_DEFINE(handle_cli_iax2_show_netstats, "List active IAX channel netstats"), + AST_CLI_DEFINE(handle_cli_iax2_show_peer, "Show details on specific IAX peer"), + AST_CLI_DEFINE(handle_cli_iax2_show_peers, "List defined IAX peers"), + AST_CLI_DEFINE(handle_cli_iax2_show_registry, "Display IAX registration status"), + AST_CLI_DEFINE(handle_cli_iax2_show_stats, "Display IAX statistics"), + AST_CLI_DEFINE(handle_cli_iax2_show_threads, "Display IAX helper thread info"), + AST_CLI_DEFINE(handle_cli_iax2_show_users, "List defined IAX users"), + AST_CLI_DEFINE(handle_cli_iax2_test_losspct, "Set IAX2 incoming frame loss percentage"), + AST_CLI_DEFINE(handle_cli_iax2_unregister, "Unregister (force expiration) an IAX2 peer from the registry"), #ifdef IAXTESTS - 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"), + AST_CLI_DEFINE(handle_cli_iax2_test_jitter, "Simulates jitter for testing"), + AST_CLI_DEFINE(handle_cli_iax2_test_late, "Test the receipt of a late frame"), + AST_CLI_DEFINE(handle_cli_iax2_test_resync, "Test a resync in received timestamps"), #endif /* IAXTESTS */ }; -- cgit v1.2.3