Descarga e instalación dos módulos de Asterisk

De Manuais Informática - IES San Clemente.
Revisión del 01:09 28 may 2009 de Veiga (discusión | contribs.)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
Ir a la navegación Ir a la búsqueda
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalación de los Kernel-Headers.

cd /usr/src

ln -s /usr/src/kernels/2.6.18-128.1.6.el5-i686/include/linux /usr/src/linux

ln -s /usr/src/kernels/2.6.18-128.1.6.el5-i686/include/linux /usr/src/linux-2.6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Instalación de paquetes previos:

yum -y install gcc gcc-c++ kernel-devel bison openssl openssl-devel perl 
perl-Net-SSLeay perl-Crypt-SSLeay \
libtermcap-devel ncurses-devel doxygen curl-devel newt-devel \
mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron \
speex speex-devel unixODBC unixODBC-devel libtool-ltdl \
libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel \
mysql-server php-mysql php-mbstring php-mcrypt flex screen

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

INSTALACION DE ASTERISK:


cd /usr/src
mkdir asterisk
cd asterisk


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalamos Libpri:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


cd /usr/src/asterisk
wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.9.tar.gz

tar zxvf libpri-1.4.9.tar.gz
cd libpri-1.4.9
make
make install


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalamos DAHDI-Linux:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cd /usr/src/asterisk
wget http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-2.1.0.4.tar.gz

tar zxvf dahdi-linux-2.1.0.4.tar.gz
cd dahdi-linux-2.1.0.4
make
make install


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalamos DAHDI-Tools:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cd /usr/src/asterisk
wget http://downloads.digium.com/pub/telephony/dahdi-tools/releases/dahdi-tools-2.1.0.2.tar.gz

tar zxvf dahdi-tools-2.1.0.2.tar.gz

cd dahdi-tools-2.1.0.2
./configure
make menuselect
make
make install
make config

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalamos ASTERISK:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cd /usr/src/asterisk
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.1.0.tar.gz

tar zxvf asterisk-1.6.1.0.tar.gz
cd asterisk-1.6.1.0

./configure
make menuselect
make
make install
make samples

E para que arranque de xeito automático có sistema operativo faremos finalmente:

make config

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Instalamos Asterisk Addons:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cd /usr/src/asterisk
wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.6.1.0.tar.gz

tar -zxvf asterisk-addons-1.6.1.0.tar.gz
cd asterisk-addons-1.6.1.0

./configure
make menuselect
make
make install