r/3CX • • 22h ago Bravo

AiPBX – A 100% open-source, free PBX with native voice AI-Agent support (Asterisk 22, single-port 443, zero paywalls)

31 Upvotes

Hey everyone,

After spending over 20 years working with enterprise and open-source telephony systems, I grew tired of "open-core" PBX platforms that lock basic features behind expensive modules or paywalls.

Over the past 10+ years, I've been building and refining the core VoIP backend, and recently completed the modern web GUI with the help of AI coding tools to release AiPBX — a completely free, MIT-licensed, self-hosted PBX with native voice AI-Agent capabilities.

GitHub: https://github.com/mahirgul/AiPBX

Website / Docs: https://aipbx.bid

Key Features & Architecture

  • 100% Free & Open Source (MIT): No commercial modules, no artificial extension limits, and no paywalled features.
  • Native Voice AI-Agents: Full integration for conversational voice AI agents on calls. Supports both on-premise/local stacks (Whisper STT, Piper TTS, Ollama) and cloud OpenAI-compatible APIs with tool-calling support.
  • Single-Port 443 Architecture: Uses Nginx L4 ALPN stream multiplexing to route Web UI, SIP/TLS, WSS (WebRTC), and provisioning traffic all over port 443—making it virtually immune to strict corporate/ISP firewall blocks.
  • Lightweight & Fast: Powered by Asterisk 22, a clean PHP 8 MVC portal (server-rendered, zero heavy frontend bloat), and a Go microservice for real-time chat and presence.
  • Modern Security & Auth: Built-in Passkeys / WebAuthn support, automated TLS, and modular plugin architecture (mahirgul/aipbx-plugins).
  • Companion Softphones: Includes native Android and iOS mobile app support alongside standard SIP desk phones and WebRTC.

I built this to be a genuinely free, transparent, and hackable telephony platform for homelabbers, developers, and businesses alike.

I'd love to hear your feedback, architectural critiques, or feature requests. Feel free to test it out, open an issue, or contribute!