Step by Step Installation of Asterisk / Elastix

Asterisk or Elastix is an open source Unified Communications application which enables you to build your own VoIP system or even business with the most advanced features. Asterisk enables users to make calls using VoIP and PSTN like BRI, PRI, SIP Trunks etc. Asterisk provide features like Automated Attendant, Call Parking, Call Queuing, Call Recording, Call Transfer, Call Waiting, Music On Hold, VoIP Gateways, Voicemail etc.

Many small to enterprise businesses has experienced Asterisk and found it to be very cost-effective and reliable. When using Asterisk, you can use any IP Phones, Gateways or Trunks that supports SIP. Cisco IP Phones can also be registered with Asterisk using SIP protocol. Adding to this, trunks can be configured between Cisco Unified Communications Manager (CUCM) and Asterisk so that the phones registered in Asterisk can talk to the phones registered in CUCM.

Follow the below steps to install Asterisk/Elastix from scratch (In this article, we will use VMWare Workstation to install Asterisk)

Step 1:

  • Launch VMWare Workstation > Click on File > Click on New Virtual Machine

Step 2: 

  • Choose Typical and click on Next

Step 3:

  • Radio check I will install the operating system later and click on Next

Step 4:

  • Radio Check Linux and Select CentOS under version drop down menu and click on Next

Step 5:

  • Enter a Virtual Machine Name like “Asterisk” and click on Next

Step 6:

  • Enter Disk Size and click on Next

Step 7:

  • Review the configuration and click on Finish

Step 8:

  • Click on Edit virtual machine setting

Step 9:

  • Click on CD/DVD (IDE)
  • Radio Check Use ISO image file:
  • Click on Browse and select Asterisk/Elastix ISO file
  • Click on OK

Step 10:

  • Click on Power on this virtual machine

Step 11:

  • Hit enter when you see the below screen to install the application in graphical mode (GUI)

Step 12:

  • Select Manual Configuration under Enable IPv4 support and hit OK

Step 13:

  • Enter IPv4 Address, Subnet Mask, Gateway IP Address, Name Server (if any) and click on OK

Step 14:

  • Click on Yes, discard any data

Step 15:

  • Select language and click on Next

Step 16:

  • Select keyboard for the system and click on Next

Step 17:

  • Select timezone and click on Next

Step 18:

  • Enter root account password and confirm password and click on Next

Step 19:

  • Select Use All Space and click on Next

Step 20:

  • Installation in progress

Step 21:

  • Enter MYSQL root password and click on OK and repeat the same MYSQL root confirm password in the next screen as well

Step 22:

  • Enter Elastix Web Login password and click on OK and repeat the same Web Login password in the next screen as well

You are done with the installation! Check the Login screen and dashboard below:

  • Launch your favorite browser and enter the IP Address of Elastix/Asterisk
  • Enter the username “admin” and the password you created during installation.

This is how your Elastix Login Page looks

Elastix Login ScreenThis is how your Elastix dashboard looks

Elastix DashboardHurray! We have completed the installation and have verified the login screen 🙂

In the upcoming posts, we will register SIP Phones and will demonstrate on the Asterisk/Elastix features.

One thought on “Step by Step Installation of Asterisk / Elastix”

  1. Pingback: Configuring an Extension and a user in Asterisk or FreePBX
  2. Trackback: Configuring an Extension and a user in Asterisk or FreePBX

Leave a Reply

Your email address will not be published. Required fields are marked *