r/VOIP • u/ahmadafef • 22h ago
News Q-PBX update #2: what we built from your feedback (auto-provisioning, CSV import, S3 backups, IPv6, post-quantum TLS)
A few days ago I posted about Q-PBX, an open-source (AGPL), multi-organization cloud PBX with fax, built on Kamailio, FreeSWITCH, Elixir and PostgreSQL to replace existing PBX systems. Thanks for all the replies. Here's what came out of them, and what else landed since.
Built from your suggestions
- Phone auto-provisioning (Grandstream GRP26xx first). Enter the phone's MAC on the extension and point the phone at the server (or DHCP option 66). It fetches its config over HTTPS with its own per-phone password. It gets:
- the SIP account over TLS with SRTP.
- busy-lamp keys 1 to 16 with labels, picked in the portal or set through the API.
- the organization's time zone and language.
"Provision now" sends the phone a SIP NOTIFY so it applies a change right away. The phone keeps its NOTIFY authentication on, and the server answers the challenge. Tested on a real GRP2612G.
- Bulk CSV import: extensions with their phones and voicemail, plus numbers. There's a dry run first, and running it twice is safe.
- Recordings: retention per plan (each organization picks within it), a nightly prune, and search by date, number, extension and direction.
- Backups to S3-compatible storage, besides SFTP. One command rebuilds a server from them, to the latest state or any point in time. With bucket locks, even a compromised server can't delete its own backups.
Also new
- IPv6: phones and carriers, over UDP, TCP and TLS.
- Post-quantum encryption, on by default: hybrid ML-KEM key exchange first on the portal and SIP over TLS, falling back to classic for clients that don't support it.
- Office internet address changes: phones that go silent are dropped after two minutes instead of calls failing silently, and an alert names the phones still on the old address.
- Voicemail: a proper mailbox menu (messages announced by date and caller, greeting and PIN by phone).
- Security: a security audit against OWASP ASVS level 2 with the fixes in, plus ZAP and SIPVicious scans against a test server.
- A website: https://q-pbx.org
Next
- Zero-touch provisioning for factory-reset phones.
- Grandstream HT8xx adapters with fax-safe settings.
- More phone brands (Yealink, Alcatel).
- After 1.0: each call's path on its record (DID -> time condition -> IVR -> ring group -> who answered), and reports.
Code: https://github.com/qfiber/q-pbx. It's still pre-release, running our own production phones. Feedback and issues are welcome.