Centos Asterisk

posted in: Asterisk | 0

/etc/sysconfig/networking/devices/

Centos Netzwerkkarte conf

Centos Netzwerkkarte reboot

/sbin/ifup eth0

Download the pre-requisite of asterisk:

gcc

gcc-c++

kernel-devel

bison

openssl-devel

libtermcap-devel

yum install festival

We’ll be using yum for now(there’s no support for apt-get in CentOS 5)

yum -y update

yum install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel

then download the latest asterisk version at asterisk.org to /usr/src:

cd /usr/src

wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz

wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz

#if you plan to use PRI cards(eg. TE110P, TE406P) you need to download this package:

wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz

then untar all the files

tar -zxf zaptel-1.4-current.tar.gz

tar -zxf asterisk-1.4-current.tar.gz

tar -zxf libpri-1.4-current.tar.gz

### INSTALLING ZAPTEL ###

cd /usr/src/zaptel

make clean

make

make install

#If you want “service zaptel restart” command to work do this

make config

### INSTALL LIBPRI ###

# If you are using E1 cards you need to install LIBPRI

cd /usr/src/libpri

make clean

make

make install

### INSTALLING ASTERISK ###

cd /usr/src/asterisk

./configure

make

make install

#If you want sample files to be created in /etc/asterisk

make samples

#If you want program docs/manual pages for asterisk

make progdocs

#If you want “service asterisk restart” command to work do this

make config

/etc/sysconfig/networking/devices/

/etc/sysconfig/networking/devices/

/etc/sysconfig/networking/

/etc/sysconfig/networking