[asterisk-commits] oej: branch 1.4 r46216 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Oct 25 08:56:08 MST 2006


Author: oej
Date: Wed Oct 25 10:56:08 2006
New Revision: 46216

URL: http://svn.digium.com/view/asterisk?rev=46216&view=rev
Log:
show settings doesn't produce a list 
of similar objects, it should stay a "show"

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=46216&r1=46215&r2=46216&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Oct 25 10:56:08 2006
@@ -16803,11 +16803,6 @@
 	sip_show_domains, NULL,
         NULL };
 
-static struct ast_cli_entry cli_sip_show_settings_deprecated = {
-	{ "sip", "show", "settings", NULL },
-	sip_show_settings, NULL,
-        NULL };
-
 static struct ast_cli_entry cli_sip_show_peers_deprecated = {
 	{ "sip", "show", "peers", NULL },
 	sip_show_peers, NULL,
@@ -16848,9 +16843,9 @@
 	sip_show_registry, "List SIP registration status",
 	show_reg_usage, NULL, &cli_sip_show_registry_deprecated },
 
-	{ { "sip", "list", "settings", NULL },
-	sip_show_settings, "List SIP global settings",
-	show_settings_usage, NULL, &cli_sip_show_settings_deprecated },
+	{ { "sip", "show", "settings", NULL },
+	sip_show_settings, "Show SIP global settings",
+	show_settings_usage, NULL, NULL},
 
 	{ { "sip", "list", "subscriptions", NULL },
 	sip_show_subscriptions, "List active SIP subscriptions",



More information about the asterisk-commits mailing list