summaryrefslogtreecommitdiff
path: root/channels/chan_iax2.c
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
committerJason Parker <jparker@digium.com>2007-10-22 20:05:18 +0000
commitebe4050128fda79e5611e88c6dcd9621d38de599 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_iax2.c
parent8711a1dba761de5e72a32abb7aff656c423b5295 (diff)
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
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r--channels/chan_iax2.c50
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 */
};