This is an old revision of the document!
# lspci | grep E1 05:00.0 Network controller: OpenVox Communication Co. Ltd. D130P/D130E Single-port E1/T1 card (3rd GEN) (rev 15) # wget http://www.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz # cd dahdi-linux-complete-2.11.1+2.11.1/ # make all # make install # find /lib/modules | grep dahdi # find /lib/modules | grep opv # init 6 # lsmod | grep dah # lsmod | grep opv # apt install dahdi # dahdi_hardware pci:0000:05:00.0 opvxd115- 1b74:d130 OpenVox D130P/D130E
cat /etc/dahdi/system.conf
... span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 ...
# cat /etc/asterisk/dahdi-channels.conf
... group=0,11 context=from-pstn switchtype = euroisdn signalling = pri_cpe channel => 1-15,17-31 context = default group = 63 ...
e1*CLI> dahdi show status
Description Alarms IRQ bpviol CRC Fra Codi Options LBO D115 (E1/T1) Card 0 Span 1 OK 0 0 771 CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
# cat /etc/asterisk/extensions.conf
... exten => _1XX,1,Dial(DAHDI/G0/${EXTEN},,tT) exten => _4XX,1,Dial(SIP/${EXTEN}) [from-pstn] exten => s,1,WaitExten() exten => _XX,1,Goto(default,4${EXTEN},1)