mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-24 21:50:53 +00:00
Add unique identifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
cli.c
3
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)" : "",
|
||||
|
||||
Reference in New Issue
Block a user