[svn-commits] russell: trunk r88370 - /trunk/main/cli.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 2 16:25:55 CDT 2007
Author: russell
Date: Fri Nov 2 16:25:55 2007
New Revision: 88370
URL: http://svn.digium.com/view/asterisk?view=rev&rev=88370
Log:
Show the channel unique ID in the "show channel concise" output
(closes issue #11148, requested by falves11, patched by me)
Modified:
trunk/main/cli.c
Modified: trunk/main/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cli.c?view=diff&rev=88370&r1=88369&r2=88370
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Fri Nov 2 16:25:55 2007
@@ -578,7 +578,7 @@
{
#define FORMAT_STRING "%-20.20s %-20.20s %-7.7s %-30.30s\n"
#define FORMAT_STRING2 "%-20.20s %-20.20s %-7.7s %-30.30s\n"
-#define CONCISE_FORMAT_STRING "%s!%s!%s!%d!%s!%s!%s!%s!%s!%d!%s!%s\n"
+#define CONCISE_FORMAT_STRING "%s!%s!%s!%d!%s!%s!%s!%s!%s!%d!%s!%s!%s\n"
#define VERBOSE_FORMAT_STRING "%-20.20s %-20.20s %-16.16s %4d %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
#define VERBOSE_FORMAT_STRING2 "%-20.20s %-20.20s %-16.16s %-4.4s %-7.7s %-12.12s %-25.25s %-15.15s %8.8s %-11.11s %-20.20s\n"
@@ -650,7 +650,8 @@
S_OR(c->accountcode, ""),
c->amaflags,
durbuf,
- bc ? bc->name : "(None)");
+ bc ? bc->name : "(None)",
+ c->uniqueid);
} else if (verbose) {
ast_cli(fd, VERBOSE_FORMAT_STRING, c->name, c->context, c->exten, c->priority, ast_state2str(c->_state),
c->appl ? c->appl : "(None)",
More information about the svn-commits
mailing list