[asterisk-commits] oej: trunk r89444 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 20 02:36:32 CST 2007


Author: oej
Date: Tue Nov 20 02:36:32 2007
New Revision: 89444

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89444
Log:
Change terminology a bit for CLI commands handling SIP channels/calls/dialogs/whatever.

Closes issue #11312

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=89444&r1=89443&r2=89444
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Nov 20 02:36:32 2007
@@ -11945,9 +11945,9 @@
 		e->command = "sip show {channels|subscriptions}";
 		e->usage =
 		"Usage: sip show channels\n"
-		"       Lists all currently active SIP channels.\n"
+		"       Lists all currently active SIP calls (dialogs).\n"
 		"Usage: sip show subscriptions\n"
-		"       Lists active SIP subscriptions for extension states\n";
+		"       Lists active SIP subscriptions.\n";
 		return NULL;
 	} else if (cmd == CLI_GENERATE)
 		return NULL;
@@ -11969,7 +11969,7 @@
 
 	/* print summary information */
 	ast_cli(arg.fd, "%d active SIP %s%s\n", arg.numchans,
-		(arg.subscriptions ? "subscription" : "channel"),
+		(arg.subscriptions ? "subscription" : "dialog"),
 		ESS(arg.numchans));	/* ESS(n) returns an "s" if n>1 */
 	return CLI_SUCCESS;
 #undef FORMAT
@@ -12132,8 +12132,8 @@
 	case CLI_INIT:
 		e->command = "sip show channel";
 		e->usage =
-			"Usage: sip show channel <channel>\n"
-			"       Provides detailed status on a given SIP channel.\n";
+			"Usage: sip show channel <call-id>\n"
+			"       Provides detailed status on a given SIP dialog (identified by SIP call-id).\n";
 		return NULL;
 	case CLI_GENERATE:
 		return complete_sipch(a->line, a->word, a->pos, a->n);




More information about the asterisk-commits mailing list