Linux serverNETWORK ADMINISTRATIONS

How to install asterisk core (No FreePBX) on CentOS?

#asterisk #centos #NoFreePBX
This is a step-by-step tutorial to install asterisk core on CentOS 7 and 8.
This method works on RHEL 7 and 8 too. Most people find that asterisk is bundled with Sangoma FreePBX. But with this method, you can install asterisk core (without FreePBX) on centos, and you can start connecting phones and extensions and adjust your configuration per your needs.
How to install asterisk core (no FreePBX) on CentOS?
Important Commands and links
1- Development Tools:-
$ sudo dnf group install -y “Development Tools”
$ sudo dnf install -y git wget openssl-devel sqlite-devel psmisc ncurses-devel libtermcap-devel newt-devel libxml2-devel libtiff-devel gtk2-devel libtool libuuid-devel subversion kernel-devel kernel-devel-$(uname -r) crontabs cronie-anacron
2- Install and configure pjsip:-
$ git clone https://github.com/pjsip/pjproject.git
$ sudo ./configure CFLAGS=”-DNDEBUG -DPJ_HAS_IPV6=1″ –prefix=/usr –libdir=/usr/lib64 –enable-shared –disable-video –disable-sound –disable-opencore-amr
3- Clone janson package:-
$ sudo git clone https://github.com/akheron/jansson.git
4- Asterisk package:-
$ sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
5- libedit package:-
ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/29/Workstation/x86_64/os/Packages/l/libedit-3.1-24.20170329cvs.fc29.x86_64.rpm
ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/29/Everything/x86_64/os/Packages/l/libedit-devel-3.1-24.20170329cvs.fc29.x86_64.rpm

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *