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
This manual page was written by Tzafrir Cohen <[email protected]>. 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.