{"id":18641,"date":"2016-02-15T13:40:03","date_gmt":"2016-02-15T19:40:03","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18641"},"modified":"2022-06-03T03:43:47","modified_gmt":"2022-06-03T08:43:47","slug":"how-to-install-asterisk-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/","title":{"rendered":"How to Install Asterisk on CentOS 7"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-24110 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg\" alt=\"how to install asterisk on centos 7\" width=\"1200\" height=\"600\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg 1200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-768x384.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-1024x512.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-860x430.jpg 860w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-680x340.jpg 680w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-500x250.jpg 500w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-400x200.jpg 400w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-200x100.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7-50x25.jpg 50w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>We will show you how to install Asterisk on\u00a0\u00a0CentOS 7.<strong>\u00a0<\/strong>\u00a0Asterisk is an open source software implementation of a telephone private branch exchange (PBX) and includes many features such as: voicemail, conference calling, call recorder, automatic call distribution, interactive voice response, real time monitoring and debugging console etc.<br \/>\n<!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ee54b573be9\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ee54b573be9\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#1-Login-via-SSH-and-update-the-OS\" >1. Login via SSH and update the OS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#2-Install-all-required-packages-and-dependencies\" >2.\u00a0Install all required packages and dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#3-Install-pjproject\" >3.\u00a0Install pjproject<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#4-Install-SRTP\" >4. Install SRTP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#5-Install-jansson\" >5. Install jansson<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#6-Install-Lame\" >6. Install Lame<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#7-Install-Asterisk\" >7. Install Asterisk<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#8-Configure-Asterisk\" >8. Configure Asterisk<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#9-Configure-PHP\" >9. Configure PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#10-Configure-MariaDB\" >10. Configure MariaDB<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"1-Login-via-SSH-and-update-the-OS\"><\/span>1. Login via SSH and update the OS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Make sure your server OS is fully up-to-date:<\/p>\n<pre>yum clean all\r\nyum update<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-Install-all-required-packages-and-dependencies\"><\/span>2.\u00a0Install all required packages and dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install all required packages and dependencies on your <strong><a href=\"https:\/\/www.rosehosting.com\/pbx-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Asterisk VPS<\/a><\/strong>:<\/p>\n<pre>yum groupinstall core base \"Development Tools\"\r\nyum install lynx bison php-mbstring php-pear php-gd php-xml libsepol-devel libtiff-devel openssl-devel subversion e2fsprogs-devel keyutils-libs-devel krb5-devel libogg libogg-devel libtool libtool-ltdl-devel kernel-headers kernel-devel tftp-server ncurses-devel sendmail sendmail-cf sox newt-devel libtiff-devel subversion doxygen texinfo mysql-connector-odbc unixODBC-devel sox gnutls-devel ncurses-devel net-snmp-devel neon-devel uuid-devel libuuid-devel audiofile-devel gtk2-devel speex-devel gsm-devel sqlite-devel perl-DateManip spandsp-devel freetds-devel iksemel-devel corosynclib-devel lua-devel radiusclient-ng-devel libxslt-devel portaudio-devel libical-devel gmime-devel bluez-libs-devel jack-audio-connection-kit-devel libedit-devel jansson-devel libsrtp-devel<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-pjproject\"><\/span>3.\u00a0Install pjproject<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>cd \/opt \r\ngit clone git:\/\/github.com\/asterisk\/pjproject pjproject \r\ncd pjproject\/ \r\n.\/configure --libdir=\/usr\/lib64 --prefix=\/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr\r\nmake dep \r\nmake \r\nmake install \r\nldconfig<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"4-Install-SRTP\"><\/span>4. Install SRTP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>cd \/opt  \r\nwget https:\/\/downloads.sourceforge.net\/project\/srtp\/srtp\/1.4.4\/srtp-1.4.4.tgz \r\ntar zxvf srtp-1.4.4.tgz\r\ncd srtp \r\nautoconf \r\n.\/configure CFLAGS=-fPIC --prefix=\/usr  \r\nmake \r\nmake runtest\r\nmake install\r\nldconfig<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5-Install-jansson\"><\/span>5. Install jansson<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>cd \/opt \r\nwget http:\/\/www.digip.org\/jansson\/releases\/jansson-2.7.tar.gz\r\ntar zvxf jansson-2.7.tar.gz \r\ncd jansson-2.7\r\nautoreconf -i\r\n.\/configure --prefix=\/usr\/ --libdir=\/usr\/lib64\r\nmake  \r\nmake install \r\nldconfig<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Lame\"><\/span>6. Install Lame<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>cd \/opt \r\nwget http:\/\/downloads.sourceforge.net\/project\/lame\/lame\/3.99\/lame-3.99.5.tar.gz\r\ntar zxvf lame-3.99.5.tar.gz \r\ncd lame-3.99.5\r\n.\/configure \r\nmake \r\nmake install<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"7-Install-Asterisk\"><\/span>7. Install Asterisk<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Add a new user named &#8216;asterisk&#8217;:<\/p>\n<pre>adduser asterisk -M -c \"Asterisk User\"<\/pre>\n<pre>cd \/opt\r\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/asterisk\/asterisk-13-current.tar.gz\r\ntar zxvf asterisk-13-current.tar.gz\r\ncd asterisk-13*\r\n<code class=\"bash plain\">contrib<\/code><code class=\"bash plain\">\/scripts\/install_prereq<\/code><span class=\"Apple-converted-space\">\u00a0<\/span><code class=\"bash functions\">install<\/code> .\/configure --libdir=\/usr\/lib64 contrib\/scripts\/get_mp3_source.sh make menuselect<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"8-Configure-Asterisk\"><\/span>8. Configure Asterisk<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Choose which modules to build, select &#8216;Save &amp; Exit&#8217; and continue with the installation:<\/p>\n<pre>make \r\nmake install \r\nmake config \r\nldconfig\r\nchkconfig asterisk off<\/pre>\n<p>Set permissions of certain files and directories related to Asterisk:<\/p>\n<pre>chown asterisk. \/var\/run\/asterisk\r\nchown asterisk. -R \/etc\/asterisk\r\nchown asterisk. -R \/var\/{lib,log,spool}\/asterisk\r\nchown asterisk. -R \/usr\/lib64\/asterisk\r\nchown asterisk. -R \/var\/www\/<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"9-Configure-PHP\"><\/span>9. Configure PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Edit the PHP configuration file and set the upload_max_size value to 128 MB or higher.<\/p>\n<pre>vi \/etc\/php.ini<\/pre>\n<pre>upload_max_filesize = 128M<\/pre>\n<p>Edit the main Apache configuration file (\/etc\/httpd\/conf\/httpd.conf) and change user and group from &#8216;apache&#8217; to &#8216;asterisk&#8217;. Also, change &#8216;AllowOverride None&#8217; directive to &#8216;AllowOverride All&#8217;.<br \/>\nRestart the Apache web server for the changes to take effect:<\/p>\n<pre>systemctl restart httpd.service<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"10-Configure-MariaDB\"><\/span>10. Configure MariaDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to the MariaDB server using the &#8216;root&#8217; user login credentials and create new user and two databases:<\/p>\n<pre>mysql -u root -p\r\nMariaDB [(none)]&gt; CREATE DATABASE asterisk;\r\nMariaDB [(none)]&gt; CREATE DATABASE asteriskcdrdb;\r\nMariaDB [(none)]&gt; CREATE USER 'asterisk'@'localhost' IDENTIFIED BY 'Y0uR-PASSW0RD';\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON asterisk.* TO 'asterisk'@'localhost';\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO 'asterisk'@'localhost';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; quit;<\/pre>\n<p>Do not forget to replace &#8216;Y0uR-PASSW0RD&#8217; with a strong password.<\/p>\n<p>Enable log file rotation:<\/p>\n<pre>vi \/etc\/logrotate.d\/asterisk<\/pre>\n<p>add the following lines:<\/p>\n<pre>\/var\/log\/asterisk\/queue_log\r\n\/var\/spool\/mail\/asterisk\r\n\/var\/log\/asterisk\/messages\r\n\/var\/log\/asterisk\/event_log\r\n\/var\/log\/asterisk\/full {\r\n        weekly\r\n        missingok\r\n        rotate 5\r\n        notifempty\r\n        sharedscripts\r\n        create 0640 asterisk asterisk\r\n        postrotate\r\n        \/usr\/sbin\/asterisk -rx 'logger reload' &gt; \/dev\/null 2&gt; \/dev\/null || true\r\n        endscript\r\n}<\/pre>\n<p>That is it. The Asterisk and installation is complete.<\/p>\n<p>Of course you don\u2019t have to install Asterisk on CentOS 7 yourself if you use one of our <a href=\"https:\/\/www.rosehosting.com\/centos-hosting.html\">CentOS 7 VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Asterisk on CentOS 7<strong>\u00a0<\/strong>for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this on how to install Asterisk on CentOS 7, post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We will show you how to install Asterisk on\u00a0\u00a0CentOS 7.\u00a0\u00a0Asterisk is an open source software implementation of a telephone private &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Asterisk on CentOS 7\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#more-18641\" aria-label=\"Read more about How to Install Asterisk on CentOS 7\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":24110,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13],"tags":[1132,1444,1603,1445],"class_list":["post-18641","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-tutorials","tag-asterisk","tag-centox","tag-how-to-install","tag-pbx","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Asterisk on CentOS 7<\/title>\n<meta name=\"description\" content=\"How to install Asterisk on CentOS 7. Installing Asterisk on CentOS7 is an easy task, just follow this step by step tutorial on how to install Asterisk on CentOS\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Asterisk on CentOS 7\" \/>\n<meta property=\"og:description\" content=\"How to Install Asterisk on CentOS 7 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-15T19:40:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:43:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Asterisk on CentOS 7\",\"datePublished\":\"2016-02-15T19:40:03+00:00\",\"dateModified\":\"2022-06-03T08:43:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/\"},\"wordCount\":322,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/how-to-install-asterisk-on-centos-7.jpg\",\"keywords\":[\"Asterisk\",\"centox\",\"how to install\",\"pbx\"],\"articleSection\":[\"CentOS\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/\",\"name\":\"How to Install Asterisk on CentOS 7\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/how-to-install-asterisk-on-centos-7.jpg\",\"datePublished\":\"2016-02-15T19:40:03+00:00\",\"dateModified\":\"2022-06-03T08:43:47+00:00\",\"description\":\"How to install Asterisk on CentOS 7. Installing Asterisk on CentOS7 is an easy task, just follow this step by step tutorial on how to install Asterisk on CentOS\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/how-to-install-asterisk-on-centos-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/how-to-install-asterisk-on-centos-7.jpg\",\"width\":1200,\"height\":600,\"caption\":\"how to install asterisk on centos 7\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Asterisk on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Asterisk on CentOS 7","description":"How to install Asterisk on CentOS 7. Installing Asterisk on CentOS7 is an easy task, just follow this step by step tutorial on how to install Asterisk on CentOS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Asterisk on CentOS 7","og_description":"How to Install Asterisk on CentOS 7 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2016-02-15T19:40:03+00:00","article_modified_time":"2022-06-03T08:43:47+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Asterisk on CentOS 7","datePublished":"2016-02-15T19:40:03+00:00","dateModified":"2022-06-03T08:43:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/"},"wordCount":322,"commentCount":14,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg","keywords":["Asterisk","centox","how to install","pbx"],"articleSection":["CentOS","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/","name":"How to Install Asterisk on CentOS 7","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg","datePublished":"2016-02-15T19:40:03+00:00","dateModified":"2022-06-03T08:43:47+00:00","description":"How to install Asterisk on CentOS 7. Installing Asterisk on CentOS7 is an easy task, just follow this step by step tutorial on how to install Asterisk on CentOS","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2016\/02\/how-to-install-asterisk-on-centos-7.jpg","width":1200,"height":600,"caption":"how to install asterisk on centos 7"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Asterisk on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=18641"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18641\/revisions"}],"predecessor-version":[{"id":42009,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18641\/revisions\/42009"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/24110"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=18641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=18641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=18641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}