Friday, 17 February 2017

Asterisk On Centos


Step:1
yum update -y


Step:2
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config


Step:3
reboot


Step:4
yum install -y make wget openssl-devel ncurses-devel  newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel


Step:5
cd /usr/src/

wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz

OR

wget http://iindya.com/archive/packages/dahdi-linux-complete-current.tar.gz
wget http://iindya.com/archive/packages/libpri-1.4-current.tar.gz
wget http://iindya.com/archive/packages/asterisk-11-current.tar.gz


Step:6
tar zxvf dahdi-linux-complete*
tar zxvf libpri*
tar zxvf asterisk*


Step:7
cd /usr/src/dahdi-linux-complete*
make && make install && make config


Step:8
cd /usr/src/libpri*
make && make install



Step:9
cd /usr/src/asterisk*

./configure && make menuselect && make && make install

./configure --libdir=/usr/lib64 && make menuselect && make && make install

make clean && make distclean

contrib/scripts/get_mp3_source.sh


make samples

make config

service dahdi start

service asterisk start

asterisk -rvvv

Dwibendu Moharana | www.interbitsolutions.com | Mohali | India | 
Contact :+91-8147023033| USA- +1-631-686-8462 | Skype - muntycse
LinkedIn:-https://in.linkedin.com/in/dwibendumoharana

No comments:

Post a Comment