asterisk 13 installation with libpri and dahdi on centos 7

5 (100%) 3 votes

Asterisk 13 installation with libpri and dahdi on centos 7

Installation Process

Step 1:

Disable SELINUX permanently.

Please note do not start any installation while selinux still enabled. To know how to disable SELinux  Disable SELinux in Linux

Disable SELinux in Linux

Step 2:

Update operating system

yum update -y

reboot

Step 3:

Download source code of Asterisk 13, Dahdi and LibPRI

Asterisk 13 – Current Version

wget downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz

Dhahi- Current version

wget downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

Libpri – Current version

wget downloads.asterisk.org/pub/telephony/libpri/libpri-current.tar.gz

Step 4:

Unpack files and place them in the compilation directory (/usr/src)

Unpack asterisk 13 to /usr/src

tar -xzvf asterisk-13-current.tar.gz -C /usr/src

Unpack Dahdi to /usr/src

tar -xzvf dahdi-linux-complete-current.tar.gz -C /usr/src

Unpack Libpri to /usr/src

tar -xzvf libpri-current.tar.gz -C /usr/src

Step 5:

Install compilation depencies list

Install optional utilities

yum -y install vim

yum -y sed

yum -y awk

yum -y install wget

Install Compiling tools

yum install -y gcc
yum install -y gcc-c++
yum install -y kernel-devel
yum install -y automake

Install development libraries

yum install -y ncurses-devel
yum install -y newt-devel
yum install -y libuuid-devel
yum install -y jansson-devel
yum install -y libxml2-devel
yum install -y sqlite-devel
yum install -y install libtool-ltdl libtool-ltdl-devel

Step 6: Compile DAHDI

Asterisk 13 – Building DAHDI

check exact version oh dahdi in /usr/src

cd /usr/src/dahdi-linux-complete-*

Build all binaries related with dahdi

make all

Install binaries of DAHDI and DAHDI tools

make install

Install control script

make config

Step 7: Compile LIBPRI

make all

make install

Step 8: Compile Asterisk 13

cd /usr/src/asterisk-13*

./configure

make all

make install

make samples

make config

Step 9: Start Asterisk server

systemctl start asterisk

Step 10: Check Asterisk server status

systemctl status asterisk

Install Asterisk 13 and PJSIP on CentOS 6

Installation of asterisk 11 on centos 6

Installing Asterisk 1.8.9 on Centos 6

 

For any query or issue, feel free to discuss on http://discuss.eduguru.in

Leave a Reply

%d bloggers like this: