summaryrefslogtreecommitdiff
path: root/cli.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-05-30 04:41:18 +0000
committerMark Spencer <markster@digium.com>2003-05-30 04:41:18 +0000
commit047bc4bd88b6b49d54a5b865042dc8396d052d5d (patch)
treece152fc7452bf039617bdb5fd213d37645419c97 /cli.c
parent11325940c85e2fff43607e1eb53aa7760b25ff51 (diff)
Add unique identifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)" : "",