Open Source - Asterisk 22 on Debian 12 with official Sangoma FreePBX package repository
As one side benefit of the FreePBX 17 Distribution move to Debian 12 GNU/Linux, Sangoma is pleased to offer our package repository for public use in your next Asterisk installation with or without FreePBX!
Run these commands as root (or use sudo) in your Debian bookworm installation.
Step 1: Add the asterisk group and user
addgroup asterisk
adduser --system --ingroup asterisk asterisk
Step 2: Setup the Sangoma FreePBX repository
apt-get update
apt-get -y install gnupg software-properties-common
wget http://deb.freepbx.org/gpg/aptly-pubkey.asc
gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/freepbx.gpg aptly-pubkey.asc
add-apt-repository -y -S "deb [ arch=amd64 ] http://deb.freepbx.org/freepbx17-prod bookworm main"
Step 3: Install Asterisk with minimal dependencies
apt-get -y install asterisk22 asterisk22-core asterisk22-configs libxslt1.1 liburiparser1
You should now be able to start and run asterisk:
sudo -u asterisk /usr/sbin/asterisk -vvvgc
…or enable & start via systemd wrapper:
systemctl enable asterisk
systemctl start asterisk
Securely configure your asterisk instance by manually editing configuration files in /etc/asterisk/ directory – with special attention to the asterisk.conf file -- before automatically enabling the asterisk process to start at boot.
The aptly-pubkey.asc / freepbx.gpg public key fingerprint is currently 991C 357C 8A35 9D03 82BC 6E87 C4DF E68F CE6D E186
$ gpg --show-keys /etc/apt/trusted.gpg.d/freepbx.gpg
pub rsa4096 2024-02-26 [SC] [expires: 2026-02-25]
991C357C8A359D0382BC6E87C4DFE68FCE6DE186
uid Aptly aptly@sangoma.com
sub rsa4096 2024-02-26 [E] [expires: 2026-02-25]
Related content
Open Source - How do you install AsteriskNOW without FreePBX?
Open Source - How do you install AsteriskNOW without FreePBX?
More like this
PBX Platforms - Converting AsteriskNOW 3.0.X Distro to a AsteriskNOW-FreePBX Distro 5.211.65
PBX Platforms - Converting AsteriskNOW 3.0.X Distro to a AsteriskNOW-FreePBX Distro 5.211.65
More like this
Open Source - How to Download and Compile Asterisk on CentOS
Open Source - How to Download and Compile Asterisk on CentOS
More like this
PBX Platforms - Changing Major Asterisk Versions on the Fly
PBX Platforms - Changing Major Asterisk Versions on the Fly
More like this
FreePBX 17
FreePBX 17
More like this
Version 12.0 Installation
Version 12.0 Installation
More like this