The included script (install) and archive (install.tar.gz) will build
FreePBX 2.11, 12, 13, or 14 plus Asterisk 11, 12, 13, or 14 on a Raspberry Pi.
iptables, dnsmasq, exim4, and pygooglevoice are also installed.
Installation takes a little over an hour to complete on a Raspberry Pi 3.
Download the latest Raspbian image.
For FreePBX 12, 13, or 14 Debian Jessie Lite is recommended:
https://downloads.raspberrypi.org/raspbian_lite_latest
For FreePBX 2.11, Debian Wheezy is required:
https://downloads.raspberrypi.org/raspbian/images/raspbian-2015-05-07/2015-05-05-raspbian-wheezy.zip
Write the image to an 8 GB or larger SD card. To accomplish this, I recommend imageUSB or Etcher:
http://osforensics.com/downloads/imageusb.zip or https://etcher.io/
Prior to ejecting the SD card, create an empty file named ssh in the /boot/ directory (type NUL > ssh).
Connect the Raspberry Pi to your LAN using an Ethernet cable.
Insert the SD card and power up the Raspberry Pi.
Copy install and install.tar.gz to the /home/pi directory. To accomplish this, I recommend WinSCP:
https://winscp.net/eng/download.php
Using an SSH client, log in using pi:raspberry. To accomplish this, I recommend PuTTY:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Make the install script executable:
$ chmod +x install
Run the install script:
$ sudo ./install
When prompted:
Set root password
Select time zone (in US, use America, not US)
Select FreePBX version
Select Asterisk version
Answer Edge option (FreePBX 13 or 14 only)
Answer IPv6 option (Not recommended)
Review selections
Set Hostname (Item 2 / Hostname: FreePBX)
Set Localisation Options (Item 4 / I1)
Expand Filesystem (Item 7 / A1)
Finish / Reboot Now: No
The Raspberry Pi will reboot.
Log in as root.
If desired, enable PuTTY logging when prompted.
The system will be updated and then reboot.
Log in as root.
If desired, enable PuTTY logging when prompted.
Confirm install.
Installation will proceed unattended and then reboot.
Log in a root.
Installation is complete.
Utility scripts included in /root:
abn / dbn / ebn / ibn / qbn
===========================
Add / Delete / Export / Import / Query Blacklist Number
add-fcc-blacklist / del-fcc-blacklist
=====================================
Add / Delete FCC Blacklist
exclusions.fcc
==============
Numbers to Exclude from FCC Blacklist
ipt-add / ipt-del / ipt-chk / ipt-dsp
=====================================
Add / Delete / Check / Display iptables Entries
cell-phone-presence-bt / cell-phone-presence-obi
================================================
Cell Phone Presence Detection
pbx-backup / pbx-restore
========================
Backup / Restore PBX Configuration
image-backup / image-shrink
===========================
Backup / Shrink an Image of the System SD Card
upgrade
=======
Upgrade / Update Linux
asterisk-13to14
===============
Upgrade Asterisk 13 to Asterisk 14
asterisk-upgrade
================
Upgrade Asterisk
set-timezone
============
Set System and PHP Time Zone
regen-ssh-keys
==============
Regenerate SSH Keys
clear-cache / clear-logs
========================
Clear Cache / Logs
install-fax
===========
Install Hylafax Server
add-fax-extension
=================
Add Hylafax Extension
del-fax-extension
=================
Delete Hylafax Extension
purge-fax
=========
Purge HylaFAX Server
HylaFAX fax server
==================
1. Execute install-fax: ./install-fax
2. Execute add-fax-extension: ./add-fax-extension
Multiple fax exntsions may be added to support simultanous sending and/or receiving of faxes.
SendFax
=======
SendFax is a program to send a fax file from Windows to a HylaFAX fax server.
No installation is required and no changes are made to your system.
Supported file tpyes are pdf, ps, tif, and tiff.
A cover page can be generated and prepended to outgoing faxes.
Leaving 'File to Send' empty will send only a cover page.
To configure, click Edit -> Options:
IP Address: (the IP address of your HylaFAX server)
Port Number: (the port number of your HylaFax server, normally 4559)
Username: (your username on your HylaFAX server, normally root)
Password: (your password on your HylaFAX server, normally blank)
Email Address: (the email address to deliver notifications to)
Notifications: (notification types to be sent)
Page Chop: (which pages to chop trailing whitespace from)
Threshold: (minimum trailing whitespace (in.) before chopping is used)
Modem: (which modem to use for outgoing faxes, normally blank)
↧