Download the asterisk source in /usr/src for your revision:
Download the Frizt!Card usb driver from ftp://ftp.avm.de/cardware/fritzcrdusb.v20/linux/suse.93/fcusb2-suse93-3.... in /usr/src
# tar zxvf suse93-3.11-07.tar.gz
# cd fritz/src
modify the Makefile: # nano Makefile
Change from:
EXTRA_CFLAGS += -D__$(CARD)__ -DTARGET=\"$(CARD)\"
to
EXTRA_CFLAGS += -O0 -D__$(CARD)__ -DTARGET=\"$(CARD)\"
Now:
# cd ..
# make
# make install
# depmod-ae
If you have Fritz!Card 2.0 copy the file fus2base.frm in /lib/firmware
otherwise copy the file fus3base.frm in the same location.
now: # nano /etc/capi.conf
If you have a Fritz!Card 2.0 write this:
fcusb2 /lib/firmware/fus2base.frm DSS1 - - - - P2P
otherwise
fcusb2 /lib/firmware/fus3base.frm DSS1 - - - - P2P
Now: # cd /usr/src
download the latest capi4linux
# wget ftp://ftp.in-berlin.de/pub/capi4linux/capi4k-utils-2005-07-18.tar.gz
# tar xzvf capi4k-utils-2005-07-18.tar.gz
# cd capi4k-utils
# make config
here you need to check if the kernel source directory is correct.
when your'e done hit exit and then yes to save the configuration
Now: #make
#make install
Now download a script from http://blog.psuter.ch/uploads/capi.tar.gz
and put the file capi in /sbin
and # chmod 733 /sbin/capi
then run # capi start (OK)
to see if it worked, try capiinfo.
Now put it into your rc.d's so that it will be loaded when your box boots...
# cd /etc/rc.d/rc3.d
# ln -s /sbin/capi S35capi
Now download the chan_capi HEAD version
# wget ftp://ftp.chan-capi.org/chan-capi/chan_capi-HEAD.tgz
unpack and go in chan_capi-HEAD
modify the Makefile to point to your asterisk source
#make
#make install
#make samples
P.S you can have some warning but no problems, it works fine..
Now modify the file /etc/asterisk/modules.conf
# nano /etc/asterisk/modules.conf
Put in the [modules] section:
load => res_features.so
load => chan_capi.so
Put in the [general] section after chan_zap.so
chan_capi.so=yes
modify the file /etc/asterisk/capi.conf
change the context: context=capi-in
to context=from-pstn
(don't change the name of the interface (ex: ISDN1).
# reboot
To use the ISDN dial out make a custom trunk with this dialstring CAPI/ISDN1/$OUTNUM$/B
Good luck.
Member Since:
2006-09-13