Prepare the FreePBX server
Obelisk is installed on an existing FreePBX server. Before you start, have the SSH login, database details and the address you use to open FreePBX ready. The steps below explain what you need.
Check the environment
The reference setup is FreePBX 17 on Debian 12, Asterisk 22 and PHP 8.2. Obelisk is added to a working FreePBX server: its installer does not install FreePBX or upgrade the operating system. Arrange a maintenance window and a recent FreePBX backup before starting.
You need SSH access as root, Python 3, unzip, a MariaDB/MySQL client and the required PHP extensions. A standard FreePBX installation normally provides much of this; the preflight reports what is missing. It also accepts Debian 13 and later PHP versions, but passing a version check does not prove compatibility with every FreePBX module combination.
Understand the checks before installation
Let preflight guide you
Obelisk guides you through a preliminary check called preflight. A series of interactive questions helps you gather the information needed to install. This stage does not install Obelisk or change the PBX configuration or databases; it may save a diagnostic log. You can identify missing information and prepare before confirming the installation. The following chapters explain which questions you will see and what information to have ready.
Check that FreePBX records calls and queue events
Obelisk uses the data FreePBX collects in its database. The cdr table must record calls and the queuelog table must record queue events. Live monitoring also needs access to the Asterisk Manager Interface (AMI). These are basic operating requirements, regardless of the preflight check. FreePBX normally provides these components; on a standard installation much of the preparation is already in place. Still check that both tables receive data, especially on a customized PBX. During setup you can let Obelisk create a dedicated AMI account or use an existing one.
Prepare the FreePBX web address
Use the address you enter in the browser to open FreePBX, without /obelisk. It may use HTTPS or HTTP, including a private IP address. With HTTP or an invalid HTTPS certificate, the installer shows a warning and asks whether to continue. The PBX also needs Internet access for initial license activation.
Check PHP, charts and maps
Ask the server administrator to check PHP both in SSH and on the website: they can use different settings and extensions. Updates need ZIP in both. Two-factor authentication and configuration backups need Sodium and 64-bit PHP; backups also need zlib. Checking the PHP version in the terminal alone is not enough.
Charts and maps load some resources through the browser. Allow access to www.gstatic.com for Google Charts and to the configured map provider, normally tile.openstreetmap.org. If tables appear but charts or maps do not, first check whether the browser or company proxy blocks those addresses. The browser and PBX can have different network access.
Apache must apply Obelisk’s .htaccess rules to protect private files. For the server administrator: allow FileInfo, AuthConfig and changes to both Indexes and MultiViews in the application folder. An example is AllowOverride FileInfo AuthConfig Options=Indexes,MultiViews; adapt it to the server configuration before installing or updating.
Know when to proceed
You can proceed when you have a recent FreePBX backup, the required database credentials and a FreePBX address reachable from the PBX itself. This guide is for a new installation. If Obelisk already exists in /var/www/html/obelisk, use the update guide linked below.