mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
mer feb 26 20:41:00 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
cli.c
4
cli.c
@@ -345,6 +345,7 @@ static int handle_showchan(int fd, int argc, char *argv[])
|
||||
"1st File Descriptor: %d\n"
|
||||
" Frames in: %d\n"
|
||||
" Frames out: %d\n"
|
||||
" Time to Hangup: %d\n"
|
||||
" -- PBX --\n"
|
||||
" Context: %s\n"
|
||||
" Extension: %s\n"
|
||||
@@ -356,7 +357,8 @@ static int handle_showchan(int fd, int argc, char *argv[])
|
||||
c->name, c->type,
|
||||
(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, c->fout, c->context, c->exten, c->priority, ( c->appl ? c->appl : "(N/A)" ),
|
||||
c->fds[0], c->fin, c->fout, c->whentohangup,
|
||||
c->context, c->exten, c->priority, ( c->appl ? c->appl : "(N/A)" ),
|
||||
( c-> data ? (strlen(c->data) ? c->data : "(Empty)") : "(None)"),
|
||||
c->stack, (c->blocking ? c->blockproc : "(Not Blocking)"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user