[Asterisk-Users] ISDN Fritz & RedHat 8.0

Stuart Hirst shirst at easynet.co.uk
Mon Jul 28 06:58:14 MST 2003


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

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Stuart Hirst
Sent: 28 July 2003 13:10
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] ISDN Fritz & RedHat 8.0


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

I have only just got this to work and so have not tested it yet but it
looks as though it should work. Once tested I will workout how to have
this little lot started up automatically after a reboot.

Hope this helps others.

Stuart




-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of WipeOut .
Sent: 28 July 2003 12:48
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] ISDN Fritz & RedHat 8.0


The ISDN tools are in the package isdn4kutils..

Not sure about the error you are getting when you run "make" do you have
the kernel-source installed?

> I would like to use the CAPI drivers and I have downloaded the drivers

> from the AVM site but when I do a "make" in the fritz directory it
> exits with :
> 
> make[1]: *** [tools.o] Error 1
> make[1]: Leaving directory `/usr/src/fritz/src.drv'
> make: *** [drv] Error 2
> 
> I guess that this is because I don't have ISDN tools loaded correctly.

> I have tried "modprobe isdn" but there is still not difference.
> 
> How do I make sure that I have the ISDN tools loaded correctly ?
> 
> Does the standard RH 8.0 kernel have precompiled the right options ?
> 
> Thanks for your help.
> 
> Stuart
> 
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of WipeOut .
> Sent: 28 July 2003 08:01
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] ISDN Fritz & RedHat 8.0
> 
> 
> I have set one up on RH9 but I am sure the process is the same.. its
> not very well documented I am afraid..
> 
> Basically download the CAPI drivers from the AVM site..
> 
> Extract them and then run "make" and then "make install"..
> 
> Make sure you have the ISDN tools loaded..
> 
> Create a file in etc called capi.conf and put the following line into
> it..
> fcpci     -     -     -     -     -     -
> 
> Save it and then try capiinit start..
> 
> It will complain that the module will taint the kernel but it still
> works..
> 
> then to verify its loaded run "capiinfo"
> 
> Hope that helps..
> 
> 
> > Has anyone got the BT Speedway (AVM Fritz) card working on a RedHat 
> > 8.0 system with *.
> >  
> > If so could someone give me some pointers on getting the right 
> > sequence of installing the drivers and which versions to use.
> >  
> > Thanks,
> >  
> > Stuart
> 
> --
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze _______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list