banner



How To Install Asterisk On Fedora

- Advertisement -

Asterisk is a gratis to use, opensource and powerful communication system that is why information technology is used IP PBX systems, VoIP gateways, conference servers used in SMBs, enterprises, phone call centers, carriers and government institutions around the globe. Installing Asterisk Server is the first stride towards implementation of an affordable, reliable and highly available PBX and VoIP systems because it is an open source platform so user may use information technology as per their requirement. In today'south guide we will be covering the installation and configuration of Asterisk 18 LTS on CentOS 8 considering Asterisk 18 recently released for product use and is bachelor for download. If you're using earlier releases of Asterisk and then it is the right time to plan for upgrade.

Lets Offset the Installation of Asterisk and its pre-requisites use post-obit steps:

Step one: Updating system

Update your arrangement earlier installing Asterisk.

          sudo yum -y update        

After updating set SELinux in permissive mode by running following commands:

          setenforce 0        
          sudo sed -i 's/\(^SELINUX=\).*/\SELINUX=permissive/' /etc/selinux/config        
          reboot        

if yous open selinux using "sudo nano /etc/selinux/config" will expect like this because we accept set selinux in permissive mode:

Step 2: Add EPEL Repository

Add together EPEL repository to your CentOS 8 by using following commands:

          sudo yum -y install epel-release sudo yum config-managing director --set-enabled powertools        

Step 3: Install Development Tools

Now install Development tools and required packages because they are pre-requisite for Asterisk.

          sudo yum grouping -y install "Evolution Tools"        
          sudo yum -y install git wget vim net-tools 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 libedit libedit-devel        

Pace 4: Download and Install Jansson

We will install Jansson which is a C library because it will_be used for media data encoding and decoding.

          cd /usr/src git clone https://github.com/akheron/jansson.git  cd jansson  autoreconf -i  ./configure --prefix=/usr/  make  make install        

Step five: Download and Install PJSIP

PJSIP is a powerful multimedia communication library written in C language. It used in implementation of standard based protocols such equally SIP, SDP, RTP, STUN, TURN, and ICE.

Build PJSIP from source by running the following commands in your concluding.

          cd /usr/src git clone https://github.com/pjsip/pjproject.git cd pjproject ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --prefix=/usr --libdir=/usr/lib64 --enable-shared --disable-video --disable-sound --disable-opencore-amr make dep make sudo make install sudo ldconfig        

Step 6: Download and Install Asterisk

          cd /usr/src wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-eighteen-electric current.tar.gz tar xvfz asterisk-eighteen-electric current.tar.gz cd asterisk-18.6.0        

Configure the asterisk that has been downloaded by using post-obit command:

          ./configure --libdir=/usr/lib64        

Later on successful configuration of asterisk output will testify like this:

Pace 7: Fix Asterisk menu options

Setup asterisk carte options using following command:

          make menuselect        

Use Arrow keys to navigate through the menu and Enter primal to select the menu choice.

ane: UnderAdd-ons selectchan_ooh323 andformat_mp3  equally shown beneath

2: On Core Sound Packages, select the formats of Audio packets similar shown below:

3: For Music On Hold, select the post-obit minimal modules

half-dozen: On Extra Audio Packages select every bit shown below:

6: Enableapp_macro under Applications section.

Feel free to modify any other settings co-ordinate to your needs and sosalve and get out when done.

Step 8: Build and Install Asterisk

Download mp3 decoder library into source tree considering asterisk may apply mp3.

          contrib/scripts/get_mp3_source.sh        

Build and install asterisk using following commands:

          make sudo make install  make samples make config sudo ldconfig        

Step 9: Start and Utilise Asterisk

Start Asterisk:

          sudo systemctl start asterisk        

Enable Asterisk Service and then that it may get started automatically whenever system is rebooted.

          sudo systemctl enable asterisk        

Confirm service status using the post-obit control:

Test with asterisk command to confirm Asterisk CLI is working:

Cheers! Now you can do your configuration to run asterisk as per your requirement.

Source: https://unixcop.com/how-to-install-asterisk-18-on-centos-8/

Posted by: peltonfetwerivid.blogspot.com

0 Response to "How To Install Asterisk On Fedora"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel