summaryrefslogtreecommitdiff
path: root/doc/patgen.8
diff options
context:
space:
mode:
Diffstat (limited to 'doc/patgen.8')
-rw-r--r--doc/patgen.842
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/patgen.8 b/doc/patgen.8
new file mode 100644
index 0000000..1e5102e
--- /dev/null
+++ b/doc/patgen.8
@@ -0,0 +1,42 @@
+.TH patgen 8 "2008-01-08"
+.SH NAME
+patgen \(em Generates a Pattern for a DAHDI Clear Channel Test
+.SH SYNOPSIS
+.B patgen
+.I dahdi-device
+
+.SH DESCRIPTION
+.B patgen
+Sends test data to a DAHDI channel. The channel should be of CLEAR
+signalling (e.g: B channel of a PRI line). pattest(8) is used to test
+the data at the other side. See its manual for more information.
+
+.B patgen
+Must be able to write to the channel. Hence this cannot be used for a
+channel used by Asterisk.
+
+.SH OPTIONS
+.I dahdi-device
+.RS
+A DAHDI device file.
+.RE
+
+.SH EXAMPLE
+ patgen /dev/dahdi/5
+
+.SH BUGS
+Will not work with channels whose number > 249 as they don't have device
+files. For a simple workaround, see dahdi_diag.c .
+
+.SH SEE ALSO
+pattest(8), dahdi_cfg(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.