Установка Asterisk на Centos

yum update
yum install -y wget

wget http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-11.25.3.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

tar -xvzf asterisk-11*
tar -xvzf dahdi-linux-complete*

yum install -y kernel-devel perl ncurses-devel gcc make gcc-c++ libxml2-devel svn sqlite-devel
yum install -y mysql-server mysql mysql-devel php-mysql php

cd dahdi-linux-complete*
make all
make install
make config

cd asterisk-*
make clean
./configure
contrib/scripts/get_mp3_source.sh
make menuselect
make
make install
make samples
make config

/usr/sbin/asterisk
/usr/sbin/asterisk -r

-----------------------------------------------------------------------------