For a CentOS 7 server, check In this guide. We’re going to install Asterisk version 15 and FreePBX 14. If you’re in for an LTS release, consider installing Asterisk 13 or wait for Asterisk 16 which will be an LTS version. The good thing, Asterisk 13 is available on Ubuntu repositories and can be quickly installed by running sudo apt-get install asterisk Install Asterisk 15 on Ubuntu 18.04 / Ubuntu 16.04 / Debian 9 As we start the installation, it is good practice to ensure all your system packages are latest to avoid any dependency issues: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo reboot Step 1: Install Asterisk 15 PBX dependencies Once the system is online, proceed to install dependency packages for Asterisk PBX. Sudo apt-get install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev If you get an error for subversion package on Ubuntu like below: E: Package 'subversion' has no installation candidate Then add universe repository and install subversion from it: sudo add-apt-repository universe sudo apt update sudo apt install subversion Step 2: Download Asterisk 15 source and Install dependencies Since Asterisk 15 is not available from both Debian and Ubuntu upstream repositories, the installation will be done from source.
Since asterisk 1.2 you dont have to use mpg123 to playback music on hold. Asterisk has its own built in system. The only limitation of asterisks built in system is that it always starts playing the music from the start. Asterisk is an open source complete PBX system with features of most commercially available PBX systems. It has support for Conference calling, Direct Inward System Access, Call Parking, Call Queues and many other features. Install Asterisk 16 on Ubuntu 18.04 / 16.04 / Debian 9.
First of all there are numerous dependency changes between Ubuntu 14.04 and Ubuntu 12.04. There are several options in the build interface for asterisk and understanding how they interact is key to getting a good working environment when building from source.
If you're looking to get asterisk up and running so that you can work with it I highly recommend just installing from apt-get. I have several systems in limited production roles. They are running on VMs that perform without issue or complaint. It is not necessary to build from source to run asterisk 11 on Ubuntu 14.04. Asterisk 11 is the default version in the REPO. There are plenty of add-ons that install via apt-get as well.
Just run: sudo apt-cache search asterisk For a quick list I'm aware that this is not a complete answer to your question, but it would provide you with a working asterisk environment in about 30 minutes. If you do have a reason or situation where in you absolutely must install Asterisk from sources, please provide more detailed information about how closely you followed this guide. Following it to the letter is simply not possible due to library and other changes in Ubuntu. From FreePBX includes complete working instructions for building Asterisk 11 on Ubuntu 14.04. You will need to allow for changes if you do not want to use the FreePBX GUI. For beginners I highly recommend AsteriskNow or FreePBX.
Be aware that Schmoozecom the company behind FreePBX is now doing development and support for AsteriskNow. This isn't a problem per say, but.