TIPS Fresh Install Cleanup Incredible PBX 2027

bobloblaw

New Member
Joined
Dec 11, 2024
Messages
9
Reaction score
3
I just setup my first Incredible PBX 2027 on Debian 11. Coming over from freepbx I see a few preconfigured items like extensions, inbound/outbound routes which are easy enough to delete, but there's 30+ trunks in there that you have to delete one by one (as far as I can tell). Tried using the bulk handler, but the trunks don't show up on the export since they're disabled (plus I don't see an add/delete header).

Since this is only my test server for now and I plan to redo the whole thing when I'm ready for production, is there a script or something to clean up this stuff? Or at least tell the install script to have a minimal install?
 
IncrediblePBX is designed mostly for newbies and thus it comes pre-configured turnkey with a few extensions and a bunch of trunks. Trunks must be deleted one at a time as FreePBX does not offer a bulk delete function on them. It takes no more than about 5 minutes to wipe out the trunks you don't want. There is no minimal install script. Once you eliminate extensions and trunks you don't want, back up the system and you're good to go. A backup of the cleaned out system gives you a good starting point if you want to begin again.

I have a template backup for all the things I use in my systems and just restore it to new installations as a starting point.
 
Last edited:
5 minutes to wipe out the trunks you don't want.
Or just set them to disabled (that is the default?)

in the FreePBX GUI from your browser goto
Connectivity > Trunks

First at bottom of page select in the dropdown to 50 rows per page; then

In the sub-headings below '+Add Trunk' just click on the word 'Status' (4th column), to see all the enabled trunks (probably just those edited or added by you).

You can disable trunks by click on the pen (edit icon)
Disable Trunk is Under the General Tab 8th Item.

Sorry its still one at a time - but at least they are disabled by default, and not fully operational until included in an outbound route.
 
Last edited:
@bobloblaw: I'm always curious why anyone would want to invest the effort removing trunks that are already disabled. But, since you have time to spare, you might want to download the script below which shows how to add a trunk using a script from the command line. If you know what you're doing, it'd fairly simple to reverse the process. If you don't know what you're doing, then delete the trunks one at a time using the GUI.

wget http://incrediblepbx.com/add-skyetel-pjsip
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top