Имеется Centos 6.3 kernel 2.6.32-279.2.1.el6.i686, asterisk 10.7 , плата tdm410 4*fxo.
Пытаюсь установить oslec по инструкции http://www.rowetel.com/blog/?page_id=454.
Код: Выделить всё
mkdir /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/staging
cp -fR /usr/src/2.6.32-279.2.1.el6.i686/drivers/staging/echo /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/staging/
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/Kbuild
sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|" /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/Kbuild
echo 'obj-m += echo.o' > /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/staging/echo/Kbuild
make
make install
Делаю service dahdi restart в итоге
Код: Выделить всё
Running dahdi_cfg: DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)
[СБОЙ ]
Код: Выделить всё
dahdi_cfg -vv
DAHDI Tools Version - 2.6.1
DAHDI Version: 2.6.1
Echo Canceller(s): HWEC
Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
4 channels to configure.
Setting echocan for channel 1 to oslec
DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)