Instalação Asterisk 11 CentOS 6.7

yum update -y && yum install -y make wget svn openssl-devel ncurses-devel  newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel libuuid-devel && sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config && reboot

install dahdi

cd /usr/src/ && wget wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz && tar -zxvf dahdi-linux-complete
cd /usr/src/dahdi-linux-complete* && make && make install && make config

iksmel google talk

cd /usr/src && wget https://iksemel.googlecode.com/files/iksemel-1.4.tar.gz && tar -zxvf iksemel-1.4.tar.gz && cd iksemel* && ./configure && make && make install

install asterisk

cd /usr/src/ && wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz && tar -zxvf asterisk-11-current.tar.gz && cd /usr/src/asterisk-11* && ./configure –libdir=/usr/lib64 && make menuselect && make && make install && make samples && make config && make clean && make distclean && service asterisk start && asterisk -rvvv

google tts

rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
yum -y install perl perl-libwww-perl sox cpan mpg123

cd /tmp && wget https://github.com/zaf/asterisk-speech-recog/archive/master.tar.gz && tar -zxvf master.tar.gz && cd asterisk-speech-recog-master && cp -rf *.agi /var/lib/asterisk/agi-bin/

gerar senha segura

dd if=/dev/random count=1 bs=8 2>/dev/null | base64 | sed -e ‘s/=*$//’