aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authormatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-02-26 19:41:10 +0000
committermatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-02-26 19:41:10 +0000
commitb1a3b38e6b088b3927ee4ff30f87d3956bfe02c5 (patch)
treea5dd1b53113879abe5adaebf6260c2e5cafc0f89 /cli.c
parentd0ca959736365e73c760d77ebae3a4a49106c3f6 (diff)
mer feb 26 20:41:00 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@624 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index ef1810d2d..aaed2d305 100755
--- a/cli.c
+++ b/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)"));