summaryrefslogtreecommitdiff
path: root/doc/ztdiag.8
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-08 21:38:53 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-08 21:38:53 +0000
commitff8f331457d228145dd50da5293b7ec449e95463 (patch)
tree944df0f4c0bac7b2b4355d40dc7dc075575e812e /doc/ztdiag.8
parenteb3c91a69f0068e22ec515705eab97bcb8a3a7d8 (diff)
Documentation updates.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3626 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'doc/ztdiag.8')
-rw-r--r--doc/ztdiag.852
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/ztdiag.8 b/doc/ztdiag.8
new file mode 100644
index 0000000..bdcb480
--- /dev/null
+++ b/doc/ztdiag.8
@@ -0,0 +1,52 @@
+.TH ztdiag 8 "2008-01-07"
+.SH NAME
+ztdiag \(em Dump Zaptel channel parameters
+.SH SYNOPSIS
+.B ztdiag
+.I channel
+
+.SH DESCRIPTION
+.B ztdiag
+asks the kernel to dump parameters for Zaptel channel no.
+.I channel
+to the kernel logs. You will be able to see them using, e.g. dmesg(1).
+
+
+.SH OPTIONS
+.I channel
+.RS
+The number of the Zaptel channel whose parammeters should be dumped.
+May be any Zaptel channel (even if it is open).
+.RE
+
+.SH EXAMPLE
+
+ # /tmp/ztdiag 5
+ # dmesg | tail -n 15
+ Dump of Zaptel Channel 5 (XPP_BRI_TE/00/01/1,5,2):
+
+ flags: 501 hex, writechunk: c5190948, readchunk: c5190954
+ rxgain: ccad2e80, txgain: ccad2e80, gainalloc: 0
+ span: c48a900c, sig: 80 hex, sigcap: 80 hex
+ inreadbuf: -1, outreadbuf: 0, inwritebuf: 0, outwritebuf: -1
+ blocksize: 160, numbufs: 4, txbufpolicy: 0, txbufpolicy: 0
+ txdisable: 0, rxdisable: 0, iomask: 0
+ curzone: c78e7000, tonezone: 0, curtone: 00000000, tonep: 0
+ digitmode: 0, txdialbuf: , dialing: 0, aftdialtimer: 0, cadpos. 0
+ confna: 0, confn: 0, confmode: 0, confmute: 0
+ ec: 00000000, echocancel: 0, deflaw: 0, xlaw: ccab5e80
+ echostate: 00, echotimer: 0, echolastupdate: 0
+ itimer: 0, otimer: 0, ringdebtimer: 0
+
+.SH SEE ALSO
+ztcfg(8), asterisk(8), dmesg(1).
+
+.SH AUTHOR
+
+This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>
+Permission is granted to copy, distribute and/or modify this document under
+the terms of the GNU General Public License, Version 2 any
+later version published by the Free Software Foundation.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL.