Asterisk installation on the cloud – Proposal – This video presents the process of installing a VoIP server Asterisk using the infrastructure of Amazon Cloud (AWS). – Network diagram – – Steps – Step 01 – Create a virtual machine, Step 02 – Configure the date and time, Step 03 – Install Asterisk, Step 04 – Configure Asterisk, Step 05 –
Test asterisk Open your account in the Amazon AWS Cloud, select EC2 and create a new virtual machine instance with the Ubuntu operating system. If you have any questions about creating the virtual machine and the remote access process, click on the image below and watch our video instructions step by step to create a virtual machine running the Ubuntu Linux operating system using the Amazon AWS cloud.
Let’s set the correct date and time with NTP. Run the command below and select your correct time zone correctly. Install the ntpdate utility and immediately update the system time using the commands below. Check the time of your system. Install the NTP service responsible for maintaining the system with the correct date and time and restart the service.
Check the time of your system. After checking that the time is set correctly by NTP, synchronize the BIOS time with the system time using the command below. Check the time of your system and BIOS using the commands below. Let’s do the Asterisk installation Run the installation of libraries and compilers required using the following commands. Download the dahdi framework and extract it using the commands below.
The link is on the description of this video. Install the dahdi framework using the commands below. Install the rccong package and use it to start the dahdi at startup. Download Library libpri and extract it using the commands below. The link is on the description of this video. Compile and install the libpri library using the commands below. Download the Asterisk package and extract it using the commands below.
The link is on the description of this video. Go to the contrib / scripts folder and run the install_prereq script. When you have finished installing, return to the package root folder and prepare Asterisk for the commands below. Run the following command to choose which Asterisk modules to install. If you are not familiar with this step, just keep the default values.
Compile and install the asterisk. Create sample configuration files with the command below Create Asterisk server startup script using the command below. Create log rotation scripts and restart the Asterisk service with the following command. Run the rcconf utility again and check the service asterisk to start automatically at startup. The installation of your Asterisk server on the Amazon cloud AWS has been successfully completed. In the second part of this video we will configure Asterisk and star the tests.