Dear Gurus,

Help!

I am trying to install * with a AVM C2 ISDN Controller and am completely
confused!

I have everything working in * I can call both phones, leave voicemail,
retrieve voicemail etc. But how do I install the AVM C2 card?

We have two ISDN Lines (4 channels) and we are in the UK.

Below is my (long winded!) set-up: -

Box is a Red Hat Linux Version 2.4.20-8 � i686

Asterisk

Check that we have the correct packages (all of the below packages are
required) to install asterisk by doing the following from a Terminal
Window: -

rpm �q kernel-source readline readline-devel openssl openssl-devel


Music on Hold/MP3 Playback

You may also need (depending on your desire to have music on hold) mpg123
which can be found at

http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz

>From your Linux box you can also type

# cd /usr/src
# wget http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz

Extract it

# tar -zxvf mpg123-0.59r.tar.gz
# cd  mpg123-0.59r

Before compiling mpg123, change the line in the Makefile that reads

PREFIX=/usr/local

to

PREFIX=/usr

Now compile it

# make linux
# make install

Once compiled make sure there is a copy in

/usr/bin/mpg123

Note that the copy of mpg123 that comes with Red Hat 8 is of no use to you,
it will not work with Asterisk.


To check out Asterisk code from the Digium CVS repository: -

>From a Terminal Window type: -

cd /usr/src
export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot

cvs login
(the password is anoncvs)

cvs checkout zaptel Zapata libpri asterisk

this will create four directories, zaptel, zapata, libpri and asterisk.  Now
compile them: -

cd zaptel
make clean
make install
cd ../zapata
make clean
make install
cd../libpri
make clean
make install
cd ../asterisk
make clean
make install

to install sample Asterisk configuration files type: -

make samples


To install the AVM C2 Active ISDN Card

Remove kudzu from the start procedure - type the command

/sbin/chkconfig --del kudzu

The command

/etc/rc.d/init.d/isdn stop

will deactivate your ISDN HiSAX software and unload the drivers. Upon that
the command

rpm -e isdn4k-utils

will remove the old IDSN software from your computer.

Should you now get a list of failed dependencies you need to delete some
installed programs first. Try this command

rpm -e isdn4k-utils-vboxgetty isdn4k-utils-devel redhat-config-network
isdn4k-utils xisdnload_1.38-62

it should work and remove all the programs that work with the isdn4k-utils.

Next you change to the directory were you store the downloaded files. For
thi you use the command cd with the proper directory name typed behind it.
If you are there the command

rpm -ivh capi4k-utils-2*

will install the new base package of the capi4k-utils on your computer.

In case your ISDN adapter or device requires a special firmware package you
install it by typing

rpm -ivh (name of the firmware archive)

(for example capi4k-utils-avmb1-* for an AVM B1 PCI).

At this time you need to install the CAPI 2.0 driver - if it is not part of
the kernel -

rpm -ivh (name of the driver package)

(for example kernel-2.4.18-14-avmfcpci-* for the AVM Fritz!Card PCI) will do
this.

Now it should be all in place and we do some tests. The command

rc.capi stop

will unload the CAPI 2.0 control software that was automagically activated
as you installed the capi4k-utils. We need to do this anyhow becaus now we
have a new driver in place. The command

rc.capi start

will start the control software that loads the appropriate firmware and
driver. If you don't get an error message at this stage your work was good.


NOW POWERDOWN AND FIT AVM C2 ISDN CARD AND RE-BOOT


Now, it is time to check if the CAPI 2.0 driver works. The command

cat /proc/capi/controllers/1

should show you some information about your ISDN adapter or device.

The command

capiinfo

does show you a lot of information about the technical capabilities of your
adapter or device


*** ENDS ***

But now what do I do?

Once I have worked this out (with your help) I intend to make available my
steps for other newbie * users who have the same config as me.

Your help is very much appreciated

Nick

From:           Nick Grindley
Position:       Managing Director / CEO
Company:        Intelligent Television and Video Limited
Country:        United Kingdom
E-Mail:         mailto:[EMAIL PROTECTED]
www:            www.itvv.co.uk
Tel:            +44 1723 500767 - Extension 527
Fax:            +44 1723 501208

This e-mail, and any attachment, is confidential. If you have received it in
error, please delete it from your system, do not use or disclose the
information in any way, and notify me immediately. The contents of this
message may contain personal views which are not the views of Intelligent
Television and Video Limited, unless specifically stated.

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to