Scroll to navigation

DAHDI_MAINT(8) DAHDI_MAINT(8)

NAME

dahdi_maint - Sets Dahdi spans into maintenance mode, e.g.: loopback

SYNOPSIS

dahdi_maint -s num [options] dahdi_maint <-h|--help>

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.

OPTIONS

-s --span num

The span number. Required.

-l --loopback <localhost|networkline|networkpayload|loopup|loopdown|off>

Loopback type. One of:
loop back towards host
network line loopback
network payload loopback
transmit loopup signal
transmit loopdown signal
end loopback mode

-i --insert <fas|multi|crc|cas|prbs|bipolar>

Insert an error of a specific type

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

SEE ALSO

dahdi_tool(8), dahdi_cfg(8), asterisk(8).

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.

9 Sep 2011