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.
- The Ubuntu packages:
- The chan_capi Asterisk module, download and compile it
- The Ubuntu fcPCI documentation
- A lot of time (maybe hours, maybe a day)
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|
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:
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 188.8.131.52~dfsg-1ubuntu1, Copyright (C) 1999 - 2012 Digium, Inc. and others.Created by Mark Spencer <email@example.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 184.108.40.206~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.