Detailed instructions for installing and configuring Asterisk and FreePBX from scratch.  Our Linux OS of choice is Redhat Enterprise Linux or one of the recompiled versions.  If you require our services fell free to contact us

Creating a Standby FreePBX Server for High Availability

Tested on

CentOS v6 FreePBX v2.11
Asterisk v1.11

Linux commands are in courier font

Terminology used

HA = High Availability.  Does not necessarily imply automatic failover.  Just less potential unavailability.

Primary server = Live production server currently in use.

FreePBX Production Install Guide (RHEL v6, Asterisk v1.11+, FreePBX v2.11+)

Sections: 

Changes in this guide include Asterisk 11 which requires at least FreePBX v2.11.  Also cdr_mysql module has been deprecated so FreePBX 2.11 adds support for the ODBC method. This install guide adds configurations to enable the new method.

FreePBX Production Install Guide (RHEL v6, Asterisk v1.10+, FreePBX v2.10+)

Sections: 

This install procedure was tested using the Redhat Enterprise Linux distributions known as CentOS.

 

 

Software used:

CentOS v6
Asterisk 1.10
FreePBX 2.10

How to Install OpenVPN and PPTP on RHEL v6

Sections: 

OpenVPNThis procedure can be used to install OpenVPN and/or PPTP VPN access on a Redhat Enterprise Linux v6 server or OpenVZ RHEL v6 virtual server.  For OpenVZ you also require root access to the physical server or you need your service provider to enable virtual server access to tun and ppp on the physical server for you. 

This install procedure was tested on CentOS v6 using the 64bit distribution.  I have not tried on v5 or 32bit distribution.  For pptp on an OpenVZ virtual server I believe your OS needs to be the same bit type as the physical server.  Ie. if the OpenVZ physical server is 64bit then your virtual server OS must also be 64bit in order for pptp to work

Hardening FreePBX

Sections: 

This script is a highly modified version of the AsteriskNOW hardening script a copy of which is here.  Some things were added.  Some were changed.  Some things were taken out.  Most importantly, it has been updated to work with newer versions of FreePBX where all the settings that used to be in amportal.conf are now in the Asterisk MySQL database.  As such, it is not compatible with older versions of FreePBX (anything before v2.9) which use the amportal.conf file.  

Unlike the original script, this script is (theoretically) designed to work with any distribution or install of FreePBX (such as the FreePBX install procedure on this website) regardless of what the defaults are set to.  This also means it can be (theoretically) re-run on the same server.  All you need is your current MySQL root password.  If you do not know your current MySQL root password and have no way of getting it, this procedure shows how to change it to whatever you want.

Pages

Subscribe to Asterisk FreePBX guides RSS