FYI DjangoPBX: A New Freeswitch Front-End GUI

The installer video is first rate. Finally a FreeSwitch front end without developer quirks.

Go to this link for a successful setup.
 
Last edited:
You will be impressed, a limey who knows his belt from his braces when bracketing. Works pretty damn well so far !! But you have to get your domain certs in a row first,
 
Last edited:
Clearly not a hobbyist platform but great for future developers and corporate admins perhaps.
 
Last edited:
I have to admit, just looking at the dial plan rules made my head hurt. There are so many differences between Asterisk and Freeswitch that it would be like learning a foreign language. Like who is Sophia? LOL. Still, it is a start and I'm glad someone is doing a good job at making Freeswitch easier and more accessible via a new GUI. It never hurts to have alternatives to the status quo.
 

particularly

... it’s interesting to note that FreeSWITCH was in fact developed as an attempt by a reputable Asterisk developer to tackle some of the perceived issues with Asterisk software. This led to a ground-up rebuild of what eventually became known as FreeSWITCH.
...

sofia (not Sophia, is Greek for wisdom) is a SIP stack with arguably far more function than pjsip
 
Last edited:
Works for me (rechecked), make sure you have your domains in place and certified within nginx , the 'reads' in the install.sh need an explicit y or Y note your users and logins well, you might want to whitelist 0.0.0.0/0 at first.
 
If you've ever used a Django Admin site, this looks super familiar. However I am trying to understand (without actually installing it), is this actually a new PBX--that is, it adds PBX functionality and logic through the GUI--or is it just a web form for configuring the freeswitch XML files, so you would still need to know the ins and outs of configuring freeswitch anyway?
 
It is
If you've ever used a Django Admin site, this looks super familiar. However I am trying to understand (without actually installing it), is this actually a new PBX--that is, it adds PBX functionality and logic through the GUI--or is it just a web form for configuring the freeswitch XML files, so you would still need to know the ins and outs of configuring freeswitch anyway?
much like FusionPBX in that it exposes the bits of FreeSwitch used to make a PBX, probably not for a noob though.

Burgeoning support at

 
Last edited:
sofia (not Sophia, is Greek for wisdom) is a SIP stack with arguably far more function than pjsip
I was being facetious.... I know from Freeswitch that it is a sip stack.
 
Yep, alpha, currently nginx starts too soon, I had to restart nginx after booting
 
Yep, alpha, currently nginx starts too soon, I had to restart nginx after booting
Edit /usr/lib/systemd/system/nginx.service.
Just below PID declaration, insert:
ExecStartPre=/bin/sleep 10

Reboot.

It turns out that was the easy one. Finally got to the GUI only to discover it can't connect to FreeSwitch and firewall missing.
I think I'll pass for now. Looks fancy though.

Screenshot from 2024-02-03 16-03-38.png
 
Last edited:
That's a fix but better to find what it depends on, presumably network but he listens and replies
 
9th Time Is A Charm

Gotchas are using src option to build Freeswitch (DON'T!) and nginx not starting on reboot.

Here's a worry-free install procedure with Debian 12 on the CrownCloud $25/year platform...

First, you must have a public-facing FQDN for your server. It's the only way to login to the GUI (similar to iPBX PUBLIC).
Second, set up an account at Signalwire.com and obtain a Personal Access Token after you login (bottom left link)
Third, login to your Debian 12 server as root using SSH and issue the following commands:
Code:
mkdir -p /usr/src/djangopbx-install
cd /usr/src/djangopbx-install
wget https://raw.githubusercontent.com/djangopbx/djangopbx-install.sh/master/install.sh
chmod +x install.sh
nano -w install.sh
Fourth, once the installer script opens, make these entries. Then SAVE file: Ctrl-X, Y, ENTER...
Code:
Insert your domain_name=somebody.com
If you plan to have multiple tenants, use: domain_name=.somebody.com

Insert your default_domain_name=django.somebody.com
Be sure you've added an A record DNS entry for somebody.com and django.somebody.com

Change:
freeswitch_method=pkg
signalwire_token=pat-token-obtained-above
Fifth, run the script: ./install.sh and type y at all prompts. Be sure to whitelist your client PC's public IP address. Use default user account: django-pbx.

When the script finishes, enter the following commands BEFORE rebooting:
Code:
systemctl enable nftables
sed -i '/PID/a ExecStartPre=/bin/sleep 10' /usr/lib/systemd/system/nginx.service
reboot

Finally, using browser, navigate to https://django.somebody.com and login as django-pbx with your password.

A word of warning about the firewall. Adding Firewall->Add Whitelist entries in the GUI do NOT get preserved on reboot.
Instead, login via SSH and issue the following commands to whitelist additional IP address (12.34.56.78):
Code:
sed -i 's|ipv4_white_list = { |ipv4_white_list = { 12.34.56.78, |' /etc/nftables.conf

Run the config file as a script: /etc/nftables.conf

Verify your added whitelist entry: nft list set inet filter ipv4_white_list

Screenshot 2024-02-04 at 2.49.22 PM.png
 
Last edited:
Code:
You are about to create a superuser to manage DjangoPBX, please use a strong, secure password.
Hint: Use the email format for the username e.g. <[email protected]>

Press any key to continue

sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
 
Code:
You are about to create a superuser to manage DjangoPBX, please use a strong, secure password.
Hint: Use the email format for the username e.g. <[email protected]>

Press any key to continue

sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
sudo: unknown user django-pbx
sudo: error initializing audit plugin sudoers_audit
Yep. Too many quirks for me. Reminds me of my grandmother leaving out one ingredient when she gave somebody one of her recipes. Kinda sums up my overall experience with FreeSwitch over the years.
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
26,714
Messages
174,588
Members
20,282
Latest member
lahensd
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