Seitenanfang

AVM Fritz!Card, Asterisk and Ubuntu - a link collection

Dieser Post wurde aus meiner alten WordPress-Installation importiert. Sollte es Darstellungsprobleme, falsche Links oder fehlende Bilder geben, bitte einfach hier einen Kommentar hinterlassen. Danke.


I'm running a small server at home which does storage services, telephone and MythTV in one box. The VoIP part is served by Asterisk (what else?) and a AVM FritzCard PCI.

Everything is running stable and I don't need a 100+ Euro ISDN card for serving only two channels and few VoIP devices within my private home LAN, but upgrading became challenging since Ubuntu removed the chan_capi drivers from the repository.

You need:

I'll copy the download links for the fcpci Kernel modile in case they get lost on the original page:

Quellcode für das Kernelmodul fcpci
Ubuntu-Version Kernel-Version Archivdatei alternative Quelle
12.04 3.2.0 fritz-fcpci-3.2.0.tar.bz2 fritz-fcpci-3.2.0.tar.bz2
11.10 3.0.0
11.04 2.6.38 fritz-fcpci-2.6.39.tar.bz2 fritz-fcpci-2.6.39.tar.bz2
10.10 2.6.35 fritz-fcpci-2.6.34.tar.bz2 fritz-fcpci-2.6.34.tar.bz2
10.04 2.6.32 fritz-fcpci-2.6.31.tar.bz2 fritz-fcpci-2.6.31.tar.bz2
9.10 2.6.31

Download the required packages using apt-get:

apt-get install asterisk-dev build-essential linux-headers libcapi20-3 libcapi20-dev capiutils

Download and compile the chan_capi module.

Edit /etc/isdn/capi.conf and check that there is a line

fcpci - - - - - -

without leading # char.

Add the following modules to /etc/modules:

capidrvcapifcpci

Add to /etc/asterisk/modules.conf:

load => chan_capi.so

Reboot and run "capiinfo" which should report "Number of Controllers: 1" and a lot of additional information about your card.

Once your card has been configured with Asterisk and chan_capi has been loaded, run "asterisk -r" to get a console and use "capi info" and "capi show channels" to get some few information:

$ sudo asterisk -rAsterisk 1.8.10.1~dfsg-1ubuntu1, Copyright (C) 1999 - 2012 Digium, Inc. and others.Created by Mark Spencer <markster@digium.com>Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.This is free software, with components licensed under the GNU General PublicLicense version 2 and other licenses; you are welcome to redistribute it undercertain conditions. Type 'core show license' for details.=========================================================================Connected to Asterisk 1.8.10.1~dfsg-1ubuntu1 currently running on ts-server (pid = 3174)ts-server*CLI> capi infoCommon ISDN API Driver ($Revision: 949 $) www.chan-capi.orgContr1: 2 B channels total, 2 B channels free.ts-server*CLI> capi show channelsCAPI B-channel information:Line-Name       NTmode state i/o bproto isdnstate   ton  number----------------------------------------------------------------ISDN1#02         no    Disc   -  trans              0x00 ''->''ISDN1#01         no    Disc   -  trans              0x00 ''->''

I planned to write a tutorial showing step-by-step how to set up a AVM FritzCard PCI with Asterisk on Ubuntu - but didn't get the tuits to do it, sorry. This is just a collection of links and partial information, you'll need some time to try out the missing parts yourself.

 

Noch keine Kommentare. Schreib was dazu

Schreib was dazu

Die folgenden HTML-Tags sind erlaubt:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>