Install Asterisk on Ubuntu and FreePBX build your own phone board

Source: Internet
Author: User
Tags php software
I remember that when I had just installed a phone number at home 20 years ago, I needed 2000 or 3000 yuan (RMB) on the first line. Later I installed the phone more cheaply until it was free. Now, with the help of Asterisk and FreePBX, you can build your own phone office at home. If you are abroad, you can easily contact friends and family in China or other places through your own phone office. The following describes how to install Asterisk and FreePBX on Ubuntu12.04. 1. First, update the system (Optional). Input sudoapt-g in the command line.

I remember that when I had just installed a phone number at home 20 years ago, I needed 2000 or 3000 yuan (RMB) on the first line. Later I installed the phone more cheaply until it was free. Now, with the help of Asterisk and FreePBX, you can build your own phone office at home. If you are abroad, you can easily contact friends and family in China or other places through your own phone office.

The following describes how to install Asterisk and FreePBX on Ubuntu 12.04.

1. Update the system (optional)

Enter

Sudo apt-get update

Sudo apt-get upgrade

2. Install LAMP (Apache2 + MySQL + PHP)

Enter

Sudo tasksel

Select LAMP Server

3. Add additional PHP software packages

Sudo apt-get install php5-gd php-pear php-db sox curl

4. Install phpmyadmin (optional)

Sudo apt-get install phpmyadmin

5. Install asterisk

Sudo apt-get install asterisk-mysql asterisk-mp3.

6. Preparations for installing Freepbx

To install Freepbx, you must first find the directory in which Freepbx is installed. FreePBX is a Web management application of asterisk, which can help you configure Asterisk.

1) the Ubuntu Web root directory is/var/www. Therefore, we can install FreePBX in the/var/www/freepbx directory. To facilitate management, we can create three sub-directory conf setting files.

Log storage log

Public WEB application.

Sudo mkdir/var/www/freepbx/

Sudo mkdir/var/www/freepbx/conf

Sudo mkdir/var/www/freepbx/log

Sudo mkdir/var/www/freepbx/public

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.