{"id":27804,"date":"2018-08-16T03:52:11","date_gmt":"2018-08-16T08:52:11","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=27804"},"modified":"2022-06-03T03:34:44","modified_gmt":"2022-06-03T08:34:44","slug":"how-to-install-asterisk-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/","title":{"rendered":"How to Install Asterisk on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-27849\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg\" alt=\"How to Install Asterisk on Debian 9\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this tutorial, we will walk you through the installation of Asterisk on\u00a0a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 9 VPS<\/a>.\u00a0 Asterisk is the most popular open source software implementation of a telephone private branch exchange (PBX). It includes both classical PBX functionality and many advanced features such as: conference calling, call recorder, voicemail, interactive voice response, automatic call distribution, real time monitoring, debugging console and supports most of the standard voice over IP (VOIP) protocols including SIP, d H.323 and MGCP.<\/p>\n<p><!--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-69d495751b2c4\" 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-69d495751b2c4\"  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-debian-9\/#Login-to-your-server-via-SSH-and-update-the-packages\" >Login to your server via SSH and update the packages<\/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-debian-9\/#Install-all-required-packages-and-dependencies\" >Install 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-debian-9\/#Download-Asterisk\" >Download Asterisk<\/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-debian-9\/#Compile-Asterisk\" >Compile Asterisk<\/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-debian-9\/#Start-Asterisk\" >Start Asterisk<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Login-to-your-server-via-SSH-and-update-the-packages\"><\/span>Login to your server via SSH and update the packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Make sure your server OS is fully up-to-date:<\/p>\n<pre>apt-get update\r\napt-get upgrade<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Install-all-required-packages-and-dependencies\"><\/span>Install all required packages and dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Install all required packages on your <strong>Asterisk VPS<\/strong> with the following commands:<\/p>\n<pre>apt-get install build-essential\r\napt-get install git-core subversion libjansson-dev sqlite autoconf automake libxml2-dev libncurses5-dev libtool<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Download-Asterisk\"><\/span>Download Asterisk<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>At the time of writing the latest Asterisk version is 15.5.0. Change to the <code>\/usr\/src\/<\/code>directory with:<\/p>\n<pre>cd \/usr\/src\/<\/pre>\n<p>and download the asterisk tar archive with the following wget command:<\/p>\n<pre>wget http:\/\/downloads.asterisk.org\/pub\/telephony\/asterisk\/asterisk-15-current.tar.gz<\/pre>\n<p>When the download is completed run the following command to extract the asterisk-15-current.tar.gz file:<\/p>\n<pre>tar -zxvf asterisk-15-current.tar.gz<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Compile-Asterisk\"><\/span>Compile Asterisk<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once the asterisk archive is extracted, change to the <code>asterisk-15.5.0 <\/code> directory with the following command:<\/p>\n<pre>cd \/usr\/src\/asterisk-15.5.0<\/pre>\n<p>Use the <code>install_prereq<\/code> script to install all of the missing packages:<\/p>\n<pre>.\/contrib\/scripts\/install_prereq install<\/pre>\n<p>Depending on the number of the missing packages the installation may take some time, once it is completed the output will look like the following:<\/p>\n<pre>#############################################\r\n## install completed successfully\r\n#############################################<\/pre>\n<p>Next step is to run the <code>.\/configure<\/code> script which will check your system for missing libraries and binaries and prepare the Asterisk source code for the build process:<\/p>\n<pre>.\/configure<\/pre>\n<p>The output of the successful completion should look like the following:<\/p>\n<pre>configure: Menuselect build configuration successfully completed\r\n\r\n               .$$$$$$$$$$$$$$$=..\r\n            .$7$7..          .7$$7:.\r\n          .$$:.                 ,$7.7\r\n        .$7.     7$$$$           .$$77\r\n     ..$$.       $$$$$            .$$$7\r\n    ..7$   .?.   $$$$$   .?.       7$$$.\r\n   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.\r\n .777.   .$$$$$$77$$$77$$$$$7.      $$$,\r\n $$$~      .7$$$$$$$$$$$$$7.       .$$$.\r\n.$$7          .7$$$$$$$7:          ?$$$.\r\n$$$          ?7$$$$$$$$$$I        .$$$7\r\n$$$       .7$$$$$$$$$$$$$$$$      :$$$.\r\n$$$       $$$$$$7$$$$$$$$$$$$    .$$$.\r\n$$$        $$$   7$$$7  .$$$    .$$$.\r\n$$$$             $$$$7         .$$$.\r\n7$$$7            7$$$$        7$$$\r\n $$$$$                        $$$\r\n  $$$$7.                       $$  (TM)\r\n   $$$$$$$.           .7$$$$$$  $$\r\n     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$\r\n       $$$$$$$$$$$$$$$$.\r\n\r\nconfigure: Package configured for:\r\nconfigure: OS type  : linux-gnu\r\nconfigure: Host CPU : x86_64\r\nconfigure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :\r\nconfigure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :<\/pre>\n<p>Now that the configuration is completed start the compilation process using the <code>make <\/code> command:<\/p>\n<pre>make<\/pre>\n<p>Depending on your system resources the build process may take several minutes and once it is completed the following message will be printed on your console which means that the Asterisk was successfully compiled:<\/p>\n<pre>+--------- Asterisk Build Complete ---------+\r\n+ Asterisk has successfully been built, and +\r\n+ can be installed by running:              +\r\n+                                           +\r\n+                make install               +\r\n+-------------------------------------------+\r\n<\/pre>\n<p>The next step is to run the <code> make install<\/code> command which will install Asterisk and all compiled Asterisk modules:<\/p>\n<pre>make install<\/pre>\n<p>Upon successful Asterisk installation you will be presented with the following message on your screen:<\/p>\n<pre> +---- Asterisk Installation Complete -------+\r\n +                                           +\r\n +    YOU MUST READ THE SECURITY DOCUMENT    +\r\n +                                           +\r\n + Asterisk has successfully been installed. +\r\n + If you would like to install the sample   +\r\n + configuration files (overwriting any      +\r\n + existing config files), run:              +\r\n +                                           +\r\n + For generic reference documentation:      +\r\n +    make samples                           +\r\n +                                           +\r\n + For a sample basic PBX:                   +\r\n +    make basic-pbx                         +\r\n +                                           +\r\n +                                           +\r\n +-----------------  or ---------------------+\r\n +                                           +\r\n + You can go ahead and install the asterisk +\r\n + program documentation now or later run:   +\r\n +                                           +\r\n +               make progdocs               +\r\n +                                           +\r\n + **Note** This requires that you have      +\r\n + doxygen installed on your local system    +\r\n +-------------------------------------------+<\/pre>\n<p>Run the make samples command to install the Asterisk sample configuration files:<\/p>\n<pre>make samples<\/pre>\n<p>Install the initialization script so that you can manage your Asterisk service using the systemctl command :<\/p>\n<pre>make config<\/pre>\n<p>The command above will show no output.<\/p>\n<p>Next install the logrotation script with the following command:<\/p>\n<pre>make install-logrotate<\/pre>\n<p>You will see the following output indicating that the logrotation configuration has been successfully created:<\/p>\n<pre>if [ ! -d \"\/etc\/asterisk\/..\/logrotate.d\" ]; then \\\r\n        \/usr\/bin\/install -c -d \"\/etc\/asterisk\/..\/logrotate.d\" ; \\\r\nfi\r\nsed 's#__LOGDIR__#\/var\/log\/asterisk#g' &lt; contrib\/scripts\/asterisk.logrotate | sed 's#__SBINDIR__#\/usr\/sbin#g' &gt; contrib\/scripts\/asterisk.logrotate.tmp\r\n\/usr\/bin\/install -c -m 0644 contrib\/scripts\/asterisk.logrotate.tmp \"\/etc\/asterisk\/..\/logrotate.d\/asterisk\"\r\nrm -f contrib\/scripts\/asterisk.logrotate.<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Start-Asterisk\"><\/span>Start Asterisk<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now that you have Asterisk installed on your Debian 9 VPS you can to start the Asterisk service with the following command:<\/p>\n<pre>systemctl start asterisk<\/pre>\n<p>You can check if the Asterisk service is started by using ther <code> systemctl status<\/code> command:<\/p>\n<pre>systemctl status asterisk<\/pre>\n<p>If the service is running you will see the following message:<\/p>\n<pre>\u25cf asterisk.service - LSB: Asterisk PBX\r\n   Loaded: loaded (\/etc\/init.d\/asterisk; generated; vendor preset: enabled)\r\n   Active: active (running) since Thu 2018-08-09 01:26:50 CDT; 29s ago\r\n     Docs: man:systemd-sysv-generator(8)\r\n  Process: 4996 ExecStart=\/etc\/init.d\/asterisk start (code=exited, status=0\/SUCCESS)\r\n   CGroup: \/system.slice\/asterisk.service\r\n           \u2514\u25005008 \/usr\/sbin\/asterisk<\/pre>\n<p>Finally enable the Asterisk service to start on system boot with the following command:<\/p>\n<pre>systemctl enable asterisk<\/pre>\n<p>That is it. The Asterisk installation on your Debian 9 based server has been completed.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"size-full wp-image-27850 alignleft\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/Install-Asterisk-on-Debian-9.jpg\" alt=\"Install Asterisk on Debian 9\" width=\"220\" height=\"122\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/Install-Asterisk-on-Debian-9.jpg 220w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/Install-Asterisk-on-Debian-9-150x83.jpg 150w\" sizes=\"(max-width: 220px) 100vw, 220px\" \/>Of course you don\u2019t have to install Asterisk on Debian 9 yourself if you use our <a href=\"https:\/\/www.rosehosting.com\/pbx-hosting.html\">PBX Web Hosting<\/a> plans, in which case you can simply ask our expert Linux admins to install Asterisk on your Debian 9 VPS 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 Debian 9, 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>In this tutorial, we will walk you through the installation of Asterisk on\u00a0a Debian 9 VPS.\u00a0 Asterisk is the most &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Asterisk on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#more-27804\" aria-label=\"Read more about How to Install Asterisk on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":27849,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700],"tags":[1132,1445],"class_list":["post-27804","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-asterisk","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.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Asterisk on Debian 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Asterisk on Debian 9 | RoseHosting\" \/>\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-debian-9\/\" \/>\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 Debian 9\" \/>\n<meta property=\"og:description\" content=\"How to Install Asterisk on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/\" \/>\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=\"2018-08-16T08:52:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:34:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\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-debian-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Asterisk on Debian 9\",\"datePublished\":\"2018-08-16T08:52:11+00:00\",\"dateModified\":\"2022-06-03T08:34:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/\"},\"wordCount\":554,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/How-to-Install-Asterisk-on-Debian-9.jpg\",\"keywords\":[\"Asterisk\",\"pbx\"],\"articleSection\":[\"Debian\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/\",\"name\":\"How to Install Asterisk on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/How-to-Install-Asterisk-on-Debian-9.jpg\",\"datePublished\":\"2018-08-16T08:52:11+00:00\",\"dateModified\":\"2022-06-03T08:34:44+00:00\",\"description\":\"How to Install Asterisk on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/How-to-Install-Asterisk-on-Debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/How-to-Install-Asterisk-on-Debian-9.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install Asterisk on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-asterisk-on-debian-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Asterisk on Debian 9\"}]},{\"@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 Debian 9 | RoseHosting","description":"How to Install Asterisk on Debian 9 | RoseHosting","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-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Asterisk on Debian 9","og_description":"How to Install Asterisk on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-08-16T08:52:11+00:00","article_modified_time":"2022-06-03T08:34:44+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.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-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Asterisk on Debian 9","datePublished":"2018-08-16T08:52:11+00:00","dateModified":"2022-06-03T08:34:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/"},"wordCount":554,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg","keywords":["Asterisk","pbx"],"articleSection":["Debian"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/","name":"How to Install Asterisk on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg","datePublished":"2018-08-16T08:52:11+00:00","dateModified":"2022-06-03T08:34:44+00:00","description":"How to Install Asterisk on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-Install-Asterisk-on-Debian-9.jpg","width":742,"height":372,"caption":"How to Install Asterisk on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-asterisk-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Asterisk on Debian 9"}]},{"@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\/27804","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=27804"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/27804\/revisions"}],"predecessor-version":[{"id":41778,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/27804\/revisions\/41778"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/27849"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=27804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=27804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=27804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}