Hi * Fans, I have some fritz cards now, followed instructions from stuart hirsts email of Jun 28:
-> Thanks for your info but I think I have it working at last. Below are the steps I took which might help others. 1) Download the PCI AVM drivers from ftp://ftp.avm.de/cardware 2) Download the Chan_capi from http://www.junghanns.net/asterisk/ 3) tar -xvzf fcpci-suse8.0-03.09.10.tar.gz which creates a directory called "fritz" 4) edit the file fritz/src.drv/tools.c and put "//" in front of the following lines to exclude them : #include <linux/string.h> #include <linux/vmalloc.h> #include <linux/kernel.h> #include <linux/version.h> //#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18) #include <linux/slab.h> //#else //#include <linux/malloc.h> //#endif This stops the make error message. 5) run "make" 6) run "make install" 7) create a file /etc/capi.conf with the following line in it: fcpci - - - - - - 8) run "insmod -f fcpci". You will get errors about the version of GCC but it should still work 9) run "capiinit" 10) run "capiinfo" which should give output showing the card and supported features. 11) extract using tar -xvzf chan_capi.0.2.2.tar.gz 12) in the chan_capi-0.2.2 directory run "make" and "make install" and "make config" 13) edit /etc/asterisk/modules.conf and add : load => chan_capi.so And in the [global] section add: chan_capi.so=yes 14) then start Asterisk Also forgot to mention that you should make sure that the "isdn" and "hisax" modules are loaded by doing : modprobe isdn modprobe hisax I now have incoming calls working OK and working on getting outgoing working. Stuart <- OK, so I have some good signs: forge:/etc/asterisk# cat /proc/capi/controllers/1 name fritz-pci io 0xD400 irq 10 type A1 class 14 ver_driver 3.09-10 ver_cardtype fritz-pci protocol DSS1 linetype point to multipoint forge:/etc/asterisk# *CLI> capi info Contr1: 2 B channels total, 2 B channels free. *CLI> I've set up capi.conf as best I can: forge:/etc/asterisk# grep -v ^\; capi.conf | grep -v ^$ [general] nationalprefix=0 internationalprefix=0011 rxgain=0.8 txgain=0.8 [interfaces] msn=292996337 incomingmsn=* controller=1 softdtmf=1 accountcode= context=demo devices=2 forge:/etc/asterisk# And some extensions: grep -i 6337 extensions.conf exten => 11031976,1,Dial,CAPI/292996337:0416059875,5,tr exten => 02111947,1,Dial,CAPI/@292996337:0416059875,5,tr And this is what I get every time: *CLI> NOTICE[81926]: File chan_sip.c, Line 5018 (handle_request): Failed to auth enticate user "woody" <sip:[EMAIL PROTECTED]>;tag=f7f432a8-0b96-4daa-901a-e21e153cf f96 -- Executing Dial("SIP/woody-8607", "CAPI/@292996337:0416059875") in new stack -- data = @292996337:0416059875 -- capi request omsn = @292996337 == found capi with omsn = 292996337 == CAPI Call CAPI[contr1/292996337]/1 -- Called @292996337:0416059875 -- CONNECT_CONF ID=001 #0x0005 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 == received CONNECT_CONF PLCI = 0x101 INFO = 0 == DISCONNECT_IND PLCI=0x101 REASON=0x3301 -- CAPI Hangingup == No one is available to answer at this time REASON 0x3301 means Layer 1 problem or signalling killed the channel. Is there something I have missed? thanks in Advance -- Woody _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
