yum install automake bluez-libs-devel bzip2 corosynclib-devel gcc gcc-c++ git gsm-devel jansson-devel libcurl-devel libedit-devel libical-devel libogg-devel libsrtp-devel libtool-ltdl-devel libuuid-devel libvorbisdevel libxml2-devel libxslt-devel lua-devel mariadb-devel nano ncurses-devel neon-devel net-snmpdevel newt-devel openldap-devel openssl-devel perl popt-devel postgresql-devel speex-devel sqlitedevel subversion unixODBC-devel uuid-devel wget
cd /usr/src/
wget http://downloads.asterisk.org/pub/tel...
wget http://www.pjsip.org/release/2.4/pjpr...
bzip2 -d pjproject-2.4.tar.bz2
tar xvf pjproject-2.4.tar
cd pjproject-2.4
./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr --libdir=/usr/lib64 --enable-shared -disable-video --disable-sound --disable-opencore-amr
make dep
make
make install
ldconfig
cd /usr/src
tar zxfv certified-asterisk-13.1-current.tar.gz
cd certified-asterisk-13.1-cert2/
./bootstrap.sh
./configure --libdir=/usr/lib64
make
make install
make samples
make config
service asterisk start
asterisk -rvvv