aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 19:38:05 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-04 19:38:05 +0000
commit72d213cdfa15e34b0779a4e7516bd27759d1a8da (patch)
tree96501e0843783b2eb6e523844b54656639994780 /cli.c
parent6d5bd97ace61dfb5d61216fa5872430078c114ec (diff)
- Add information about transcoding to "show channel"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32115 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli.c b/cli.c
index 89c8761f4..63062fc22 100644
--- a/cli.c
+++ b/cli.c
@@ -702,6 +702,8 @@ static int handle_showchan(int fd, int argc, char *argv[])
" NativeFormats: %s\n"
" WriteFormat: %s\n"
" ReadFormat: %s\n"
+ " WriteTranscode: %s\n"
+ " ReadTranscode: %s\n"
"1st File Descriptor: %d\n"
" Frames in: %d%s\n"
" Frames out: %d%s\n"
@@ -725,6 +727,8 @@ static int handle_showchan(int fd, int argc, char *argv[])
ast_getformatname_multiple(nf, sizeof(nf), c->nativeformats),
ast_getformatname_multiple(wf, sizeof(wf), c->writeformat),
ast_getformatname_multiple(rf, sizeof(rf), c->readformat),
+ c->writetrans ? "Yes" : "No",
+ c->readtrans ? "Yes" : "No",
c->fds[0],
c->fin & ~DEBUGCHAN_FLAG, (c->fin & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",
c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",