Sri Software
ABN:45612647971
sales@srisoftware.com

Asterisk Installation



#####################################
## Asterisk Installation on Centos
## and building from source
##
## 19-Nov-2017 Worked on Centos 6.x
#####################################

# update the system first.
# IMPORTANT or will remove existing packages.
yum -y update;
yum -y install wget;
cd /usr/local/src;
## wget https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-14-current.tar.gz
wget -O asterisk-current.tar.gz https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-15-current.tar.gz;

#wget -O asterisk-current.tar.gz https://www.asterisk.org/node/251

## tar -zxvf libpri-current.tar.gz
## tar -zxvf dahdi-linux-complete-2.X.Y+2.X.Y.tar.gz

mkdir /usr/local/src/asterisk

tar -C /usr/local/src/asterisk -zxvf asterisk-current.tar.gz --strip-components=1

cd /usr/local/src/asterisk

## run prereqs installtion script.
./contrib/scripts/install_prereq install;
./contrib/scripts/install_prereq install-unpackaged;

./configure
make && make install

make config
make install-logrotate

# service asterisk start

# update firewall for ports
  • playstore