kenn10
Well-Known Member
- Joined
- Dec 16, 2007
- Messages
- 4,650
- Reaction score
- 3,015
** Updated 8/4/2024 ** Introducing IncrediblePBX2024!
This is a script that will install IncrediblePBX on Debian 12, Ubuntu 22.04 LTS or Ubuntu 24.04 LTS. The script will install FreePBX-17-latest, PHP 8.2 and Asterisk-21-latest on a these operating systems. The parts of IncrediblePBX moved over are the Firewall, OpenVPN, a mail subsystem, GTTS, libraries needed for faxing, and other key elements. Most of the IncrediblePBX add-ons like the Public script have not been tackled at this time. This script gets you a working system with default extensions and trunks. You can also restore a FreePBX backup from earlier systems to assist with setup.
There will be updates over time as issues are found and enhancements are deployed. FreePBX-17 is fairly new and module updates are frequently being released. Remember to do the Admin > Module Admin > Check for updates on a regular basis to insure you get the latest updates.
See instructions from @wardmundy on post #43 of this thread. A lot of the cloud services are not offering Ubuntu 24.04 yet but Debian-12 and Ubuntu 22.04 are readily available now.
Here are "gotchas" that you need to note:
After building your OS of choice, then use these commands after logging in as root user:



This is a script that will install IncrediblePBX on Debian 12, Ubuntu 22.04 LTS or Ubuntu 24.04 LTS. The script will install FreePBX-17-latest, PHP 8.2 and Asterisk-21-latest on a these operating systems. The parts of IncrediblePBX moved over are the Firewall, OpenVPN, a mail subsystem, GTTS, libraries needed for faxing, and other key elements. Most of the IncrediblePBX add-ons like the Public script have not been tackled at this time. This script gets you a working system with default extensions and trunks. You can also restore a FreePBX backup from earlier systems to assist with setup.
There will be updates over time as issues are found and enhancements are deployed. FreePBX-17 is fairly new and module updates are frequently being released. Remember to do the Admin > Module Admin > Check for updates on a regular basis to insure you get the latest updates.
See instructions from @wardmundy on post #43 of this thread. A lot of the cloud services are not offering Ubuntu 24.04 yet but Debian-12 and Ubuntu 22.04 are readily available now.
Here are "gotchas" that you need to note:
- You cannot use an existing IncrediblePBXbackup restore from another IncrediblePBX system or it ruins the whole install. You need to copy over your customized /usr/local/sbin/iptables-custom after the install completes. If you have custom dial plan stuff in the /etc/extensions_custom.conf, you need to copy that over as well.
- If you are using a FreePBX backup to restore your old system to the new one, make sure you have not backed up the /etc/asterisk or _ETCASTDIR_ in your backup. This will overwrite the files created by FreePBX-17 in the new /etc/asterisk directory and totally mess things up.
- You will need to access the FreePBX GUI after the initial install and reboot. That will let you select your country. That is a one-time setup after installation.
- There is no chan_sip and there will be no support for it. Beginning with Asterisk-21 and going forward chan_sip is no longer available or supported. The Asterisk developers have told us this would happen for quite some time. Also any custom dial plan that relies on macros will not work. Macro has also been removed from Asterisk. Chan_sip extensions and trunks are converted to PJSIP if your read in a backup. I'm not sure the results are perfect if you use registration for inbound trunks so check your trunks if you restore a backup from an older system.
After building your OS of choice, then use these commands after logging in as root user:
Code:
cd /root
wget "wget https://filedn.com/lBgbGypMOdDm8PWOoOiBR7j/Debian12/IncrediblePBX2024.sh"
chmod +x IncrediblePBX2024.sh
./IncrediblePBX2024.sh



Last edited:
