summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-06-20 14:33:34 +0000
committerOlle Johansson <oej@edvina.net>2007-06-20 14:33:34 +0000
commit3aafb233f21cf61250c384194faca09c96e6b89f (patch)
tree8d1f3b6d9895951cad02fd599e0967fd23f64b41 /channels/chan_zap.c
parentd260399bc1263bd3a18ecc0def072f653a3be49b (diff)
Show TDD status in "zap show channels"
Inspired by work at Omnitor in Sweden git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index b007b9f84..81c1a8f9c 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -10963,6 +10963,7 @@ static int zap_show_channel(int fd, int argc, char **argv)
ast_cli(fd, "Propagated Conference: %d\n", tmp->propconfno);
ast_cli(fd, "Real in conference: %d\n", tmp->inconference);
ast_cli(fd, "DSP: %s\n", tmp->dsp ? "yes" : "no");
+ ast_cli(fd, "TDD: %s\n", tmp->tdd ? "yes" : "no");
ast_cli(fd, "Relax DTMF: %s\n", tmp->dtmfrelax ? "yes" : "no");
ast_cli(fd, "Dialing/CallwaitCAS: %d/%d\n", tmp->dialing, tmp->callwaitcas);
ast_cli(fd, "Default law: %s\n", tmp->law == ZT_LAW_MULAW ? "ulaw" : tmp->law == ZT_LAW_ALAW ? "alaw" : "unknown");