summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-11-20 08:36:32 +0000
committerOlle Johansson <oej@edvina.net>2007-11-20 08:36:32 +0000
commit308646f8efb1aa9cddb7a3cea4ffe441d82d383f (patch)
treee3301a8d21d5cf462419e1dfdcf30bba4c80513c
parenta7a0ca9f93b94a04af2688c1ddc4faf0b833c684 (diff)
Change terminology a bit for CLI commands handling SIP channels/calls/dialogs/whatever.
Closes issue #11312 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3c2d73b36..e70d1ee83 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11945,9 +11945,9 @@ static char *sip_show_channels(struct ast_cli_entry *e, int cmd, struct ast_cli_
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 @@ static char *sip_show_channels(struct ast_cli_entry *e, int cmd, struct ast_cli_
/* 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 @@ static char *sip_show_channel(struct ast_cli_entry *e, int cmd, struct ast_cli_a
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);