VOIP PABX Implementations
==============================================
yum update -y
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
reboot
yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
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
tar zxvf dahdi-linux-complete*
tar zxvf libpri*
tar zxvf asterisk*
cd /usr/src/dahdi-linux-complete*
make && make install && make config
cd /usr/src/libpri*
make && make install
cd /usr/src/asterisk*
For 32-bit
./configure && make menuselect && make && make install
For 64-bit
./configure --libdir=/usr/lib64 && make menuselect && make && make install
make samples
make config
service dahdi start
service asterisk start
asterisk -rvvv
========================================================
For CentOS 7 Asterisk 13
yum update -y
yum install wget
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar -zxvf asterisk-13-current.tar.gz
cd asterisk-13.6.0
yum install gcc
yum install gcc-c++ ncurses-devel uuid-devel libuuid-devel jansson-devel libxml2-devel sqlite-devel
make menuselect
make
make install
make samples
asterisk -vvvvgc
Error-
/usr/bin/asterisk: error while loading shared libraries: libasteriskssl.so.1: cannot open shared object file: no such file or directory.
Solution:
ldconfig
==============================================
yum update -y
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
reboot
yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
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
tar zxvf dahdi-linux-complete*
tar zxvf libpri*
tar zxvf asterisk*
cd /usr/src/dahdi-linux-complete*
make && make install && make config
cd /usr/src/libpri*
make && make install
cd /usr/src/asterisk*
For 32-bit
./configure && make menuselect && make && make install
For 64-bit
./configure --libdir=/usr/lib64 && make menuselect && make && make install
make samples
make config
service dahdi start
service asterisk start
asterisk -rvvv
========================================================
For CentOS 7 Asterisk 13
yum update -y
yum install wget
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar -zxvf asterisk-13-current.tar.gz
cd asterisk-13.6.0
yum install gcc
yum install gcc-c++ ncurses-devel uuid-devel libuuid-devel jansson-devel libxml2-devel sqlite-devel
make menuselect
make
make install
make samples
asterisk -vvvvgc
Error-
/usr/bin/asterisk: error while loading shared libraries: libasteriskssl.so.1: cannot open shared object file: no such file or directory.
Solution:
ldconfig
No comments:
Post a Comment