Skip to content

iAndalibi/RasPBX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rasp Pi Rasp Pi OS Asterisk FreePBX

RasPBX Background

Installation of Asterisk and FreePBX GUI on Raspberry Pi

  • "Asterisk" is a PBX communication server
  • "FreePBX" is a front-end that exposes Asterisk functionality via a web-based GUI
  • "FreePBX Distro" (previously called "AsteriskNow") was a pre-configured bundle distribution of Asterisk/FreePBX system based on CentOS. But now discontinued.
  • "RaspPBX" is a pre-configured bundle distribution of Asterisk/FreePBX based on Raspbian Buster 10, Asterisk 16.13.0, and FreePBX 15.0.16.75. The latest version is from 2020-10-10, but is no longer supported.

So... this repository intends to document the process of creating an up-to-date Asterisk installation on a Raspberry Pi, based on latest releases as follows:

  • Asterisk 22 (2025-01-09)
  • FreePBX 17 (2024-08-02)
  • Rasp Pi OS, Debian 12 Bookworm (2024-11-19)

This is based on snippets from various sources, primarily https://www.dslreports.com/forum/r30661088-PBX-FreePBX-for-the-Raspberry-Pi .

1.) Install Raspberry Pi OS (20mins)

Disk Imager

2.) Configure OS in Windows (2mins)

  • a.) Once the OS image is burned, the SD card should automically be mounted in Windows Explorer as a partition named "bootfs"
  • b.) Create an empty file in the bootfs root directory named "ssh"
  • c.) Create a text file named "userconf" in the bootfs root directory containing the following:
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0

BootFS

3.) Copy Installation script to Raspberry Pi (2mins)

  • a.) Insert the SD card into the Raspberry Pi (connected to your LAN via ethernet cable) and power on
  • b.) Use WinSCP to create an SFTP connection to:
host: raspberrypi.local
username: pi
password: raspberry
  • c.) Copy install and install.tar.gz from this repository to the /home/pi directory.

WinSCP

4.) FreePBX Installation: Phase 1 (3mins)

  • a.) Use PuTTY to create a SSH connection to:
host: raspberrypi.local
username: pi
password: raspberry
  • b.) Set executable permissions on the install script chmod +x install
  • c.) Run the install script sudo ./install

Putty

- d.) When prompted: - Set pi user password - Set root user password - Select FreePBX version - Select Asterisk version - Use Edge? - Disable IPv6 option? ('No' recommended) - e.) Review selections as follows: ``` FreePBX Version: 17.0 (c) Asterisk Version: 22 (d) Edge Enabled: Yes (y) IPv6 Enabled: Yes (n) ```

5.) RaspPi OS Configuration (3mins)

  • a.) System Options->Set Hostname (1/S4) RasPBX
  • b.) Localisation Options->Locale (5/L1) en_GB.UTF-8
  • c.) Localisation Options->Timezone (5/L2) Europe - London
  • d.) Advanced Options->Expand Filesystem (6/A1)
  • e.) Finish/Reboot Now No

The Raspberry Pi will reboot, closing the connection to PuTTY. Rasp Pi OS

About

Installation of Asterisk and FreePBX GUI on Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%