<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Asterisk Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/asterisk/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 09 Sep 2019 23:58:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Install FreePBX on RHEL 8 / CentOS 8</title>
		<link>https://www.osradar.com/install-freepbx-rhel-8-centos/</link>
					<comments>https://www.osradar.com/install-freepbx-rhel-8-centos/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Tue, 10 Sep 2019 09:47:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[freepbx]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13389</guid>

					<description><![CDATA[<p>FreePBX is a web-based open-source graphical user interface (GUI) that manages Asterisk, a voice over IP and telephony server. FreePBX is licensed under the GNU General Public License version 3. It is a component of the FreePBX Distro, which is an independently maintained Linux system derived from the source code of the CentOS distribution, having [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-freepbx-rhel-8-centos/">How to Install FreePBX on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.freepbx.org/">FreePBX</a> is a web-based open-source graphical user interface (GUI) that manages Asterisk, a voice over IP and telephony server. FreePBX is licensed under the GNU General Public License version 3. It is a component of the FreePBX Distro, which is an independently maintained Linux system derived from the source code of the CentOS distribution, having Asterisk pre-installed. It is also included in various third-party distributions such as The FreePBX Distro and AsteriskNow. So get ready, in this guide you will learn how to install FreePBX on RHEL 8 / CentOS 8.</p>
<p>This guide assumes that you have already installed Asterisk on your RHEL / CentOS 8 Server.</p>
<p>Click here if you want to <a href="https://www.osradar.com/install-asterisk-16-rhel-centos-8/">install Asterisk on your RHEL / CentOS 8 server.</a></p>
<h2>Step 1: Disable SELinux</h2>
<p>Open file /etc/selinux/config using below command and modify a line from</p>
<pre>SELINUX=enforcing</pre>
<p>to</p>
<pre>SELINUX=disabled</pre>
<pre>vi /etc/selinux/config</pre>
<p>save changes and exit</p>
<p><img loading="lazy" class="alignnone wp-image-13391" src="https://www.osradar.com/wp-content/uploads/2019/09/1-2-300x82.png" alt="" width="670" height="183" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-2-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-2-768x211.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-2-1024x281.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-2-696x191.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-2-1068x293.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-2.png 1280w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p>Now reboot your machine</p>
<pre>reboot</pre>
<h2>Step 2: Install Dependencies</h2>
<pre>dnf install git wget crontabs cronie tftp-server ncurses-devel sendmail sendmail-cf newt-devel libxml2-devel libtiff-devel gtk2-devel subversion kernel-devel @php cronie-anacron vim php-xml sqlite-devel net-tools gnutls-devel unixODBC -y</pre>
<h4>Install and configure Apache, PHP and MYSQL database</h4>
<p><strong>Install Apache webserver</strong></p>
<pre>dnf install httpd -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13392" src="https://www.osradar.com/wp-content/uploads/2019/09/2-2-300x180.png" alt="" width="675" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/2-2.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>Now start and enable Apache service on boot.</p>
<pre>systemctl start httpd

systemctl enable httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13393" src="https://www.osradar.com/wp-content/uploads/2019/09/3-2-300x56.png" alt="" width="675" height="126" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-2-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-2-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-2-1024x190.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-2-696x129.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-2-1068x199.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-2.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>Adding apache ports in the firewall.</p>
<pre>firewall-cmd --add-port={80/tcp,443/tcp} --permanent
firewall-cmd --reload</pre>
<p><img loading="lazy" class="alignnone wp-image-13394" src="https://www.osradar.com/wp-content/uploads/2019/09/4-2-300x51.png" alt="" width="676" height="115" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-2-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-2-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-2-1024x174.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-2-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-2-1068x182.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-2.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p><strong>Install PHP and FreePBX required extensions</strong></p>
<pre>dnf install php php-common php-gettext php-bcmath php-process php-snmp php-pecl-apcu php-curl php-pear php-gd php-xml php-json php-pcntl php-zip php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-opcache php-xml -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13395" src="https://www.osradar.com/wp-content/uploads/2019/09/6-3-300x180.png" alt="" width="677" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-3-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-3-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-3-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-3-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-3-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-3-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/6-3.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p><strong>Set php maximum file upload size</strong></p>
<pre> vi /etc/php.ini</pre>
<p>and set <strong>upload_max_filesize = 20M</strong></p>
<p>After that, restart apache and php-fpm service and enable php-fpm on boot</p>
<pre>systemctl restart httpd php-fpm 
systemctl enable php-fpm</pre>
<p><strong>Install MariaDB</strong></p>
<pre>dnf install mariadb-server -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13396" src="https://www.osradar.com/wp-content/uploads/2019/09/7-4-300x146.png" alt="" width="678" height="330" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-4-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-4-1024x497.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-4-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-4-1068x518.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-4-866x420.png 866w, https://www.osradar.com/wp-content/uploads/2019/09/7-4.png 1280w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>Start and enable MariaDB service on boot.</p>
<pre>systemctl start mariadb
systemctl enable mariadb</pre>
<p><img loading="lazy" class="alignnone wp-image-13397" src="https://www.osradar.com/wp-content/uploads/2019/09/8-3-300x51.png" alt="" width="676" height="115" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8-3-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-3-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-3-1024x175.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-3-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-3-1068x183.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-3.png 1280w" sizes="(max-width: 676px) 100vw, 676px" /></p>
<p>Then you have to complete MariaDB installation</p>
<h5><strong>Note:</strong> Do not set MariaDB password as it will secure by FreePBX installation Script automatically</h5>
<pre>mysql_secure_installation</pre>
<p>Set root password? [Y/n] n<br />
New password: password<br />
Re-enter new password: password<br />
Remove anonymous users? [Y/n] Y<br />
Disallow root login remotely? [Y/n] Y<br />
Remove test database and access to it? [Y/n] Y<br />
Reload privilege tables now? [Y/n] Y</p>
<p><img loading="lazy" class="alignnone wp-image-13398" src="https://www.osradar.com/wp-content/uploads/2019/09/9-3-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9-3-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-3-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-3-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-3-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-3-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-3-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/9-3.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<h2>Step 2: Install and configure FreePBX on RHEL 8 / CentOS 8</h2>
<p>So, switch into /var/www/html/ directory</p>
<pre>cd /var/www/html/</pre>
<p>After that, download FreePBX</p>
<pre>wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-14.0-latest.tgz</pre>
<p><img loading="lazy" class="alignnone wp-image-13399" src="https://www.osradar.com/wp-content/uploads/2019/09/10-3-300x94.png" alt="" width="677" height="212" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10-3-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-3-768x239.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-3-1024x319.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-3-696x217.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-3-1068x333.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-3.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Then, uncompress Downloaded archive and run the installation script</p>
<pre>tar xf freepbx-14.0-latest.tgz
cd freepbx
./start_asterisk start</pre>
<p><img loading="lazy" class="alignnone wp-image-13400" src="https://www.osradar.com/wp-content/uploads/2019/09/11-2-300x69.png" alt="" width="674" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-2-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-2-768x176.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-2-1024x235.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-2-696x160.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-2-1068x245.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11-2.png 1280w" sizes="(max-width: 674px) 100vw, 674px" /></p>
<pre>./install -n</pre>
<p><img loading="lazy" class="alignnone wp-image-13401" src="https://www.osradar.com/wp-content/uploads/2019/09/13-2-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/13-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/13-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/13-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/13-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/13-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/13-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/13-2.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<p>Upon successful installation, you will see below screen.</p>
<p><img loading="lazy" class="alignnone wp-image-13402" src="https://www.osradar.com/wp-content/uploads/2019/09/14-2-300x180.png" alt="" width="668" height="401" srcset="https://www.osradar.com/wp-content/uploads/2019/09/14-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/14-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/14-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/14-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/14-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/14-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/14-2.png 1280w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>Restart Apache service</p>
<pre>systemctl restart httpd</pre>
<h2>Step 3: Access FreePBX Web Interface</h2>
<p>Then, open your browser and browse <strong>http://YOUR-SERVER-IP/. </strong>You will see the Admin setup page, set you admin user and its password and click on &#8220;Setup System&#8221;</p>
<p><img loading="lazy" class="alignnone wp-image-13427" src="https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-300x157.png" alt="" width="669" height="350" srcset="https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-1024x535.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-1068x558.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2-804x420.png 804w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-2.png 1366w" sizes="(max-width: 669px) 100vw, 669px" /></p>
<p>So, you will be redirected to below screen.</p>
<p><img loading="lazy" class="alignnone wp-image-13432" src="https://www.osradar.com/wp-content/uploads/2019/09/16-3-300x159.png" alt="" width="660" height="350" srcset="https://www.osradar.com/wp-content/uploads/2019/09/16-3-300x159.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/16-3-768x407.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/16-3-1024x543.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/16-3-696x369.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/16-3-1068x566.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/16-3-792x420.png 792w, https://www.osradar.com/wp-content/uploads/2019/09/16-3.png 1366w" sizes="(max-width: 660px) 100vw, 660px" /></p>
<p>After that, click on &#8220;FreePBX Administrator&#8221; and you will get below screen, type your login details to access Asterisk FreePBX Admin Panel.</p>
<p><img loading="lazy" class="alignnone wp-image-13429" src="https://www.osradar.com/wp-content/uploads/2019/09/17-2-300x159.png" alt="" width="670" height="355" srcset="https://www.osradar.com/wp-content/uploads/2019/09/17-2-300x159.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/17-2-768x408.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/17-2-1024x543.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/17-2-696x369.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/17-2-1068x567.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/17-2-791x420.png 791w, https://www.osradar.com/wp-content/uploads/2019/09/17-2.png 1366w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p>After successful login you will see the following screen, now make your desired configuration and use FreePBX</p>
<p><img loading="lazy" class="alignnone wp-image-13430" src="https://www.osradar.com/wp-content/uploads/2019/09/18-2-300x91.png" alt="" width="669" height="203" srcset="https://www.osradar.com/wp-content/uploads/2019/09/18-2-300x91.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/18-2-768x232.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/18-2-1024x310.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/18-2-696x210.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/18-2-1068x323.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/18-2.png 1366w" sizes="(max-width: 669px) 100vw, 669px" /></p>
<p>So, that&#8217;s it! You know how to install FreePBX on RHEL 8 and CentOS 8.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-freepbx-rhel-8-centos/">How to Install FreePBX on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-freepbx-rhel-8-centos/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Asterisk 16 on RHEL 8 / CentOS 8</title>
		<link>https://www.osradar.com/install-asterisk-16-rhel-centos-8/</link>
					<comments>https://www.osradar.com/install-asterisk-16-rhel-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sat, 07 Sep 2019 09:45:57 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13363</guid>

					<description><![CDATA[<p>Asterisk is a CLI based software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints, such as customary telephone sets, destinations on the public switched telephone network (PSTN), and devices or services on voice over [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-asterisk-16-rhel-centos-8/">How to Install Asterisk 16 on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Asterisk is a CLI based software implementation of a private branch exchange (PBX). In conjunction with suitable telephony hardware interfaces and network applications, Asterisk is used to establish and control telephone calls between telecommunication endpoints, such as customary telephone sets, destinations on the public switched telephone network (PSTN), and devices or services on voice over Internet Protocol (VoIP) networks. Its name comes from the asterisk (*) symbol for a signal used in dual-tone multi-frequency (DTMF) dialing. In this detailed guide, you will learn how to install Asterisk 16 on CentOS / RHEL 8.</p>
<p><a href="https://www.asterisk.org/get-started/features" rel="noopener noreferrer"><strong>Click here to see Asterisk Features</strong></a></p>
<p>&nbsp;</p>
<h2>Step 1: Install EPEL 8 Repository</h2>
<p>Before proceed to this article, update your system</p>
<pre>dnf update -y</pre>
<p>Run below command to install EPEL Release 8</p>
<pre>dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13367" src="https://www.osradar.com/wp-content/uploads/2019/09/1-1-300x77.png" alt="" width="666" height="171" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-1-300x77.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-1-768x198.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-1-1024x264.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-1-696x179.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-1-1068x275.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-1.png 1280w" sizes="(max-width: 666px) 100vw, 666px" /></p>
<h2>Step 2: Disable SELinux</h2>
<p>Open file /etc/SELinux/config using below command and modify a line from SELINUX=enforcing to <strong>SELINUX=disabled</strong></p>
<pre>vi /etc/selinux/config</pre>
<p>Then, save changes and exit</p>
<p><img loading="lazy" class="alignnone wp-image-13368" src="https://www.osradar.com/wp-content/uploads/2019/09/2-1-300x90.png" alt="" width="673" height="202" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-1-300x90.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-1-768x231.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-1-1024x308.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-1-696x209.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-1-1068x321.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-1.png 1280w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<p>Now reboot your machine</p>
<pre>reboot</pre>
<h2>Step 3: Install Dependencies</h2>
<p>Install software Development tools and other required dependencies to run Asterisk using following commands.</p>
<pre>dnf groupinstall "Development Tools" -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13369" src="https://www.osradar.com/wp-content/uploads/2019/09/3-1-300x180.png" alt="" width="673" height="404" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/3-1.png 1280w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<pre>dnf install git wget 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 -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13370" src="https://www.osradar.com/wp-content/uploads/2019/09/4-1-300x180.png" alt="" width="673" height="404" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/4-1.png 1280w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<h2>Step 4: Compile and Install Jansson</h2>
<p>Jansson is a C library, it is used to encode/decode and manipulate JSON data. run below commands to install it.</p>
<pre>cd /usr/src/
git clone https://github.com/akheron/jansson.git
cd jansson
autoreconf -i
./configure --prefix=/usr/
make &amp;&amp; make install</pre>
<p><img loading="lazy" class="alignnone wp-image-13371" src="https://www.osradar.com/wp-content/uploads/2019/09/5-2-300x180.png" alt="" width="675" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/5-2.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<h2>Step 5: Compile and Install PJSIP</h2>
<p>PJSIP is a free and open-source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. It combines signaling protocol (SIP) with rich multimedia framework and NAT traversal functionality into high-level API that is portable and suitable for almost any type of systems ranging from desktops, embedded systems, to mobile handsets.</p>
<p>run following command to install PJSIP</p>
<pre>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
make install
ldconfig</pre>
<p><img loading="lazy" class="alignnone wp-image-13372" src="https://www.osradar.com/wp-content/uploads/2019/09/6-2-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/6-2.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<h2>Step 6: Install and Configure Asterisk</h2>
<p>All dependencies are installed and Asterisk is ready for installation.</p>
<pre>cd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
tar xfz asterisk-16-current.tar.gz
rm -f asterisk-16-current.tar.gz
cd asterisk-16*/</pre>
<p><img loading="lazy" class="alignnone wp-image-13373" src="https://www.osradar.com/wp-content/uploads/2019/09/7-3-300x180.png" alt="" width="677" height="406" srcset="https://www.osradar.com/wp-content/uploads/2019/09/7-3-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/7-3-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/7-3-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/7-3-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/7-3-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/7-3-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/7-3.png 1280w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Install libedit packages using below commands:</p>
<pre>dnf install https://rpmfind.net/linux/fedora/linux/releases/29/Everything/x86_64/os/Packages/l/libedit-3.1-24.20170329cvs.fc29.x86_64.rpm -y
</pre>
<p><img loading="lazy" class="alignnone wp-image-13374" src="https://www.osradar.com/wp-content/uploads/2019/09/8-2-300x180.png" alt="" width="673" height="404" srcset="https://www.osradar.com/wp-content/uploads/2019/09/8-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/8-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/8-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/8-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/8-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/8-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/8-2.png 1280w" sizes="(max-width: 673px) 100vw, 673px" /></p>
<pre>dnf install https://rpmfind.net/linux/fedora/linux/releases/29/Everything/x86_64/os/Packages/l/libedit-devel-3.1-24.20170329cvs.fc29.x86_64.rpm -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13375" src="https://www.osradar.com/wp-content/uploads/2019/09/9-2-300x180.png" alt="" width="668" height="401" srcset="https://www.osradar.com/wp-content/uploads/2019/09/9-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/9-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/9-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/9-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/9-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/9-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/9-2.png 1280w" sizes="(max-width: 668px) 100vw, 668px" /></p>
<p>Asterisk Configuration</p>
<pre>./configure --libdir=/usr/lib64</pre>
<p><img loading="lazy" class="alignnone wp-image-13376" src="https://www.osradar.com/wp-content/uploads/2019/09/10-2-300x180.png" alt="" width="667" height="400" srcset="https://www.osradar.com/wp-content/uploads/2019/09/10-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/10-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/10-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/10-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/10-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/10-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/10-2.png 1280w" sizes="(max-width: 667px) 100vw, 667px" /></p>
<h2>Step 7: Configure Asterisk Menu Options</h2>
<p>Set Asterisk menu options by using the following command, you can also select your desired options.</p>
<p>Here you will use arrow keys (Up, Down, Right and Left) to navigate and Enter key to select the desired option. The selected option will be marked with * symbol.</p>
<pre>make menuselect</pre>
<p>i Select &#8220;app_macro&#8221; under Applications section.</p>
<p><img loading="lazy" class="alignnone wp-image-13378" src="https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-300x180.png" alt="" width="678" height="407" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1.png 1280w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>ii Under &#8220;Add-ons&#8221; select &#8220;chan_ooh323&#8221; and &#8220;format_mp3&#8221;</p>
<p><img loading="lazy" class="alignnone wp-image-13377" src="https://www.osradar.com/wp-content/uploads/2019/09/11-1-300x180.png" alt="" width="672" height="403" srcset="https://www.osradar.com/wp-content/uploads/2019/09/11-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/11-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/11-1.png 1280w" sizes="(max-width: 672px) 100vw, 672px" /></p>
<p>iii Under &#8220;Core Sound Packages&#8221; select the following Audio formats.</p>
<p>CORE-SOUNDS-EN-ULAW<br />
CORE-SOUNDS-EN-ALAW<br />
CORE-SOUNDS-EN-GSM<br />
CORE-SOUNDS-EN-G729<br />
CORE-SOUNDS-EN-G722<br />
CORE-SOUNDS-EN-SLN16<br />
CORE-SOUNDS-EN-SIREN7<br />
CORE-SOUNDS-EN-SIREN14</p>
<p><img loading="lazy" class="alignnone wp-image-13379" src="https://www.osradar.com/wp-content/uploads/2019/09/12-1-300x180.png" alt="" width="662" height="397" srcset="https://www.osradar.com/wp-content/uploads/2019/09/12-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/12-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/12-1.png 1280w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<p>iv For &#8220;Music On Hold&#8221; select the following minimal modules</p>
<p>MOH-OPSOUND-WAV<br />
MOH-OPSOUND-ULAW<br />
MOH-OPSOUND-ALAW<br />
MOH-OPSOUND-GSM</p>
<p><img loading="lazy" class="alignnone wp-image-13380" src="https://www.osradar.com/wp-content/uploads/2019/09/13-1-300x180.png" alt="" width="658" height="395" srcset="https://www.osradar.com/wp-content/uploads/2019/09/13-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/13-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/13-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/13-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/13-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/13-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/13-1.png 1280w" sizes="(max-width: 658px) 100vw, 658px" /></p>
<p>v On Extra Sound Packages select as shown below</p>
<p>EXTRA-SOUNDS-EN-WAV<br />
EXTRA-SOUNDS-EN-ULAW<br />
EXTRA-SOUNDS-EN-ALAW<br />
EXTRA-SOUNDS-EN-GSM</p>
<p><img loading="lazy" class="alignnone wp-image-13381" src="https://www.osradar.com/wp-content/uploads/2019/09/14-1-300x180.png" alt="" width="662" height="397" srcset="https://www.osradar.com/wp-content/uploads/2019/09/14-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/14-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/14-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/14-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/14-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/14-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/14-1.png 1280w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<p>Then Save and Exit.</p>
<h2>Step 8: Build and Install Asterisk</h2>
<p>Download the mp3 decoder library into the source tree and build Asterisk</p>
<pre>contrib/scripts/get_mp3_source.sh</pre>
<p><img loading="lazy" class="alignnone wp-image-13382" src="https://www.osradar.com/wp-content/uploads/2019/09/15-1-300x108.png" alt="" width="675" height="243" srcset="https://www.osradar.com/wp-content/uploads/2019/09/15-1-300x108.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-1024x367.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-696x250.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-1068x383.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/15-1-1171x420.png 1171w, https://www.osradar.com/wp-content/uploads/2019/09/15-1.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<pre>make
make install
make samples
make config
ldconfig</pre>
<p><img loading="lazy" class="alignnone wp-image-13383" src="https://www.osradar.com/wp-content/uploads/2019/09/16-1-300x180.png" alt="" width="675" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/09/16-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/16-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/16-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/16-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/16-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/16-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/09/16-1.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<h2>Step 9: Create Asterisk User and Start Asterisk</h2>
<p>Create a group and user for asterisk services, and assign appropriate permissions using following commands</p>
<pre>groupadd asterisk
useradd -r -d /var/lib/asterisk -g asterisk asterisk
usermod -aG audio,dialout asterisk
chown -R asterisk.asterisk /etc/asterisk /var/{lib,log,spool}/asterisk /usr/lib64/asterisk</pre>
<p><img loading="lazy" class="alignnone wp-image-13384" src="https://www.osradar.com/wp-content/uploads/2019/09/17-1-300x61.png" alt="" width="684" height="139" srcset="https://www.osradar.com/wp-content/uploads/2019/09/17-1-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/17-1-768x155.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/17-1-1024x207.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/17-1-696x141.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/17-1-1068x216.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/17-1.png 1280w" sizes="(max-width: 684px) 100vw, 684px" /></p>
<p>Set Asterisk default user:</p>
<p>edit /etc/sysconfig/asterisk file by using below command</p>
<pre>vi /etc/sysconfig/asterisk</pre>
<p>and add below lines in this file.</p>
<pre>AST_USER="asterisk"
AST_GROUP="asterisk"</pre>
<p>Then edit /etc/asterisk/asterisk.conf file by using below command.</p>
<pre>vi /etc/asterisk/asterisk.conf</pre>
<p>and add below lines in this file.</p>
<pre>runuser = asterisk ; The user to run as.
rungroup = asterisk ; The group to run as.</pre>
<h2>Step 10: Setup Asterisk service</h2>
<p>Now restart asterisk service and enable it on boot</p>
<pre>systemctl restart asterisk
systemctl enable asterisk
systemctl status asterisk</pre>
<p><img loading="lazy" class="alignnone wp-image-13385" src="https://www.osradar.com/wp-content/uploads/2019/09/18-1-300x53.png" alt="" width="679" height="120" srcset="https://www.osradar.com/wp-content/uploads/2019/09/18-1-300x53.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/18-1-768x137.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/18-1-1024x182.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/18-1-696x124.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/18-1-1068x190.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/18-1.png 1280w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>Verify that you can connect to Asterisk CLI by running below command</p>
<pre>asterisk -rvv</pre>
<p><img loading="lazy" class="alignnone wp-image-13386" src="https://www.osradar.com/wp-content/uploads/2019/09/19-300x88.png" alt="" width="665" height="195" srcset="https://www.osradar.com/wp-content/uploads/2019/09/19-300x88.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/19-768x226.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/19-1024x301.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/19-696x204.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/19-1068x314.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/19.png 1280w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<p>If you entered in above screen congratulation! you have access to Asterisk on CentOS / RHEL.</p>
<p>Also, you can read our <a href="http://osradar.com/tag/centos/">posts about CentOS and RHEL</a>.</p>
<p>Please share this post and join <a href="https://t.me/osradar">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-asterisk-16-rhel-centos-8/">How to Install Asterisk 16 on RHEL 8 / CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-asterisk-16-rhel-centos-8/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
