How to Install and Compile Asterisk 13 on CentOS 7
Learn how to compile, install and configure Asterisk on CentOS.
https://www.udemy.com/how-to-install-asterisk-on-centos-linux-video/?couponCode=youtubejun15
In this video we will follow steps to compile and install Asterisk version 13 on a fresh install of CentOS 7. You will need to make sure to disable SELinux to complete the install but below are the commands used in the video.
If you want to get more information about Asterisk and Linux be sure to check out my Udemy courses. https://www.udemy.com/u/jonmanning3/
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 libvorbis-devel libxml2-devel libxslt-devel lua-devel mariadb-devel nano ncurses-devel neon-devel net-snmp-devel newt-devel openldap-devel openssl-devel perl popt-devel postgresql-devel speex-devel sqlite-devel subversion unixODBC-devel uuid-devel wget
cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/certified-asterisk/certified-asterisk-13.1-current.tar.gz
wget http://www.pjsip.org/release/2.4/pjproject-2.4.tar.bz2
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
centos 7