summaryrefslogtreecommitdiff
path: root/doc/pattest.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/pattest.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/pattest.8')
-rw-r--r--doc/pattest.848
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/pattest.8 b/doc/pattest.8
new file mode 100644
index 0000000..c0d14bb
--- /dev/null
+++ b/doc/pattest.8
@@ -0,0 +1,48 @@
+.TH pattest 8 "2008-01-08"
+.SH NAME
+pattest \(em Tests a Pattern for a Zaptel Clear Channel Test
+.SH SYNOPSIS
+.B pattest
+.I zap-device
+
+.SH DESCRIPTION
+.B pattest
+Recieves test data from a Zaptel channel and checks if it matches the
+test pattern. The channel should be of CLEAR signalling (e.g: B channel
+of a PRI line). patgen(8) is used to generate the data at the other side.
+
+.B pattest
+Must be able to read from the channel. Hence this cannot be used for a
+channel used by Asterisk.
+
+The pattern is a simple series of values from 0 to 255. Hence it takes
+at most one sample to get in sync with the other side. If there is no
+output, all is well. Output is an error message.
+
+.SH OPTIONS
+.I zap-device
+.RS
+A Zaptel device file.
+.RE
+
+.SH EXAMPLE
+ pattest /dev/zap/5
+
+.SH BUGS
+Will not work with channels whose number > 249 as they don't have device
+files. For a simple workaround, see ztdiag.c .
+
+Gives way too many errors when does not get any input.
+
+.SH SEE ALSO
+patgen(8), ztcfg(8), asterisk(8).
+
+.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.