summaryrefslogtreecommitdiff
path: root/cli.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
committerMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
commit7157261be4bc6700118cb8a405302a61a8d91c8b (patch)
treec16bdd5583e05977a7893075e3b541e1a3afa073 /cli.c
parent22318b627d954c5a555abe5a5b002af5855e5023 (diff)
Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli.c b/cli.c
index fb8d0731e..aa41b0e7a 100755
--- a/cli.c
+++ b/cli.c
@@ -168,13 +168,13 @@ static int handle_showchan(int fd, int argc, char *argv[])
" -- General --\n"
" Name: %s\n"
" Type: %s\n"
- " Translator: %s\n"
- " Master: %s\n"
" Caller ID: %s\n"
" DNID Digits: %s\n"
" State: %d\n"
" Rings: %d\n"
- " Format: %d\n"
+ " WriteFormat: %d\n"
+ " ReadFormat: %d\n"
+ " NativeFormat: %d\n"
"File Descriptor: %d\n"
" -- PBX --\n"
" Context: %s\n"
@@ -184,9 +184,9 @@ 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->trans ? c->trans->name : "(N/A)"),
- (c->master ? c->master->name : "(N/A)"), (c->callerid ? c->callerid : "(N/A)"),
- (c->dnid ? c->dnid : "(N/A)" ), c->state, c->rings, c->format,
+ c->name, c->type,
+ (c->callerid ? c->callerid : "(N/A)"),
+ (c->dnid ? c->dnid : "(N/A)" ), c->state, c->rings, c->nativeformats, c->writeformat, c->readformat,
c->fd, 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)"));