OSLEC on Trixbox 2.2.x (Manually)

How to manually install OSLEC on Trixbox 2.2.x manually (not using trixbox repositories)’, ‘This is borrowed from the PIAF forums which changes for it to work on Trixbox, or on 2.2.4:

/etc/init.d/asterisk stop

/etc/init.d/zaptel stop

amportal stop

cd /usr/src

svn co http://svn.astfin.org/software/oslec/trunk/ oslec

cd oslec

make

cp kernel/oslec.ko /lib/modules/`uname -r`/kernel/drivers/misc/.

insmod kernel/oslec.ko

cd ../zaptel

cp /usr/src/oslec/kernel/Module.symvers .

./configure

patch -p1 < ../oslec/kernel/zaptel-1.4.9.2.patch make make install grep /lib/modules/`uname -r`/misc/zaptel.ko: /lib/modules/`uname -r`/modules.dep #if oslec.ko isn\’t shown add it to /lib/modules/`uname -r`/modules.dep as a dependency for zaptel.
Edit: (my additions)

shutdown -r now

rebuild_zaptel
shutdown -r now

amportal stop
genzaptelconfig
shutdown -r now

Leave a Reply