aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-30 04:41:18 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-30 04:41:18 +0000
commit960085b93effa2e60a104fd1dc7c285e8a17b43f (patch)
treece152fc7452bf039617bdb5fd213d37645419c97 /cli.c
parentbe1aaf406e36e94633fd6609cf648b56ed841386 (diff)
Add unique identifier
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1064 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 2c17a5d57..0254e4af8 100755
--- a/cli.c
+++ b/cli.c
@@ -476,6 +476,7 @@ static int handle_showchan(int fd, int argc, char *argv[])
" -- General --\n"
" Name: %s\n"
" Type: %s\n"
+ " UniqueID: %s\n"
" Caller ID: %s\n"
" DNID Digits: %s\n"
" State: %s (%d)\n"
@@ -497,7 +498,7 @@ static int handle_showchan(int fd, int argc, char *argv[])
" Data: %s\n"
" Stack: %d\n"
" Blocking in: %s\n",
- c->name, c->type,
+ c->name, c->type, c->uniqueid,
(c->callerid ? c->callerid : "(N/A)"),
(c->dnid ? c->dnid : "(N/A)" ), ast_state2str(c->_state), c->_state, c->rings, c->nativeformats, c->writeformat, c->readformat,
c->fds[0], c->fin & 0x7fffffff, (c->fin & 0x80000000) ? " (DEBUGGED)" : "",