From 6a012dd609d305fa91da05c76074981d177ed7ae Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Fri, 9 Sep 2011 13:45:00 +0000 Subject: Man page for dahdi_maint Fix dahdi_maint's usage message while we're at it. Signed-off-by: Tzafrir Cohen git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10198 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- doc/dahdi_maint.8 | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 doc/dahdi_maint.8 (limited to 'doc/dahdi_maint.8') diff --git a/doc/dahdi_maint.8 b/doc/dahdi_maint.8 new file mode 100644 index 0000000..ce05a40 --- /dev/null +++ b/doc/dahdi_maint.8 @@ -0,0 +1,62 @@ +.TH "DAHDI_MAINT" "8" "9 Sep 2011" "" "" + +.SH NAME +dahdi_maint \- Sets Dahdi spans into maintenance mode, e.g.: loopback +.SH SYNOPSIS + +.B dahdi_maint \-s \fInum\fB [options] +.B dahdi_maint <\-h|\-\-help> + +.SH DESCRIPTION + +dahdi_maint uses the DAHDI_MAINT interface to set a Dahdi span (port +of a Dahdi adapter card) into loopback mode or similar maintenance mode. + +.SH OPTIONS +.B \-s \-\-span \fInum\fR +.RS +The span number. Required. +.RE + +.B \-l \-\-loopback +.RS +Loopback type. One of: +.IP localhost 4 +loop back towards host +.IP networkline 4 +network line loopback +.IP networkpayload 4 +network payload loopback +.IP loopup 4 +transmit loopup signal +.IP loopdown 4 +transmit loopdown signal +.IP off 4 +end loopback mode +.RE + +.B \-i \-\-insert +.RS +Insert an error of a specific type +.RE + +.SH EXAMPLES +Enable network line loopback on span 1: + + dahdi_maint -s 1 --loopback networkline + +Disable network line loopback on span 1: + + dahdi_maint -s 1 --loopback off + + +.SH SEE ALSO +.PP +dahdi_tool(8), dahdi_cfg(8), asterisk(8). + +.SH AUTHOR +.PP +This manual page was written by Tzafrir Cohen . +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. -- cgit v1.2.3