aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-22 20:05:18 +0000
commit7756b987a015d6001cb1f31e06439d4010125185 (patch)
treec308e240451b2777ff9a40a64c62a5e289762709 /channels/chan_sip.c
parent8451f110520d2d9747dd8fc06cb6aaa8dddcc9c2 (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_sip.c')
-rw-r--r--channels/chan_sip.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 1b41379dd..f0187f8d7 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -18947,25 +18947,25 @@ static int reload(void)
/*! \brief SIP Cli commands definition */
static struct ast_cli_entry cli_sip[] = {
- AST_CLI(sip_show_channels, "List active SIP channels/subscriptions"),
- AST_CLI(sip_show_domains, "List our local SIP domains."),
- AST_CLI(sip_show_inuse, "List all inuse/limits"),
- AST_CLI(sip_show_objects, "List all SIP object allocations"),
- AST_CLI(sip_show_peers, "List defined SIP peers"),
- AST_CLI(sip_show_registry, "List SIP registration status"),
- AST_CLI(sip_unregister, "Unregister (force expiration) a SIP peer from the registery\n"),
- AST_CLI(sip_show_settings, "Show SIP global settings"),
- AST_CLI(sip_notify, "Send a notify packet to a SIP peer"),
- AST_CLI(sip_show_channel, "Show detailed SIP channel info"),
- AST_CLI(sip_show_history, "Show SIP dialog history"),
- AST_CLI(sip_show_peer, "Show details on specific SIP peer"),
- AST_CLI(sip_show_users, "List defined SIP users"),
- AST_CLI(sip_show_user, "Show details on specific SIP user"),
- AST_CLI(sip_prune_realtime, "Prune cached Realtime users/peers"),
- AST_CLI(sip_do_debug, "Enable/Disable SIP debugging"),
- AST_CLI(sip_do_history, "Enable SIP history"),
- AST_CLI(sip_no_history, "Disable SIP history"),
- AST_CLI(sip_reload, "Reload SIP configuration"),
+ AST_CLI_DEFINE(sip_show_channels, "List active SIP channels/subscriptions"),
+ AST_CLI_DEFINE(sip_show_domains, "List our local SIP domains."),
+ AST_CLI_DEFINE(sip_show_inuse, "List all inuse/limits"),
+ AST_CLI_DEFINE(sip_show_objects, "List all SIP object allocations"),
+ AST_CLI_DEFINE(sip_show_peers, "List defined SIP peers"),
+ AST_CLI_DEFINE(sip_show_registry, "List SIP registration status"),
+ AST_CLI_DEFINE(sip_unregister, "Unregister (force expiration) a SIP peer from the registery\n"),
+ AST_CLI_DEFINE(sip_show_settings, "Show SIP global settings"),
+ AST_CLI_DEFINE(sip_notify, "Send a notify packet to a SIP peer"),
+ AST_CLI_DEFINE(sip_show_channel, "Show detailed SIP channel info"),
+ AST_CLI_DEFINE(sip_show_history, "Show SIP dialog history"),
+ AST_CLI_DEFINE(sip_show_peer, "Show details on specific SIP peer"),
+ AST_CLI_DEFINE(sip_show_users, "List defined SIP users"),
+ AST_CLI_DEFINE(sip_show_user, "Show details on specific SIP user"),
+ AST_CLI_DEFINE(sip_prune_realtime, "Prune cached Realtime users/peers"),
+ AST_CLI_DEFINE(sip_do_debug, "Enable/Disable SIP debugging"),
+ AST_CLI_DEFINE(sip_do_history, "Enable SIP history"),
+ AST_CLI_DEFINE(sip_no_history, "Disable SIP history"),
+ AST_CLI_DEFINE(sip_reload, "Reload SIP configuration"),
};
/*! \brief PBX load module - initialization */