aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-10 19:12:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-10 19:12:11 +0000
commitdc884645e6463fb181af816fdea3599713b0bd87 (patch)
treec16bdd5583e05977a7893075e3b541e1a3afa073 /cli.c
parentea452d3fd8f99256d987297e5afa8d1c226b465e (diff)
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236 f38db490-d61c-443f-a65b-d21fe96a405b
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)"));