diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-22 20:05:18 +0000 |
commit | 7756b987a015d6001cb1f31e06439d4010125185 (patch) | |
tree | c308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_iax2.c | |
parent | 8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (diff) |
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 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 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 */ }; |