DOKK / manpages / debian 11 / dahdi / dahdi_maint.8.en
DAHDI_MAINT(8) DAHDI_MAINT(8)

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

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

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.

-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

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

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

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