Show TDD status in "zap show channels"
authorOlle Johansson <oej@edvina.net>
Wed, 20 Jun 2007 14:33:34 +0000 (14:33 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 20 Jun 2007 14:33:34 +0000 (14:33 +0000)
Inspired by work at Omnitor in Sweden

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70310 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index b007b9f..81c1a8f 100644 (file)
@@ -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");