voiceai-freepbx-module
Connects FreePBX inbound calls to Voice AI platforms via SIP bridging, supporting VAPI, Retell AI, ElevenLabs, and Ultravox agents.
About voiceai-freepbx-module
The voiceai-freepbx-module is an open-source bridge designed to connect traditional PBX infrastructure with the next generation of Voice AI agents. By automating the SIP bridging process, it allows organizations to route standard phone calls directly to LLM-powered platforms without manual trunk configuration or complex dialplan scripting.
For the Non-Technical Reader
Imagine your business phone system getting an instant upgrade to its intelligence. Instead of a basic answering machine or a confusing menu, this tool acts like a universal connector that plugs your existing office phones into advanced AI assistants. The result is a human-like experience where customers can call your business and speak naturally to an AI that understands their needs, answers their questions, and helps them just like a real employee would, at any time of day.
For the Technical Reader
This module targets FreePBX 17.0.1+ and leverages Asterisk with PJSIP to manage real-time voice streams. It streamlines the integration of several major AI providers through distinct SIP methods:
- VAPI & Retell AI: Utilizes Digest authentication and per-call AGI registration for dynamic agent assignment.
- ElevenLabs: Supports TCP transport and high-fidelity G.722 codecs for superior voice quality.
- Ultravox: Implements a SIP registration model where the provider registers directly to the PBX as an extension.
Why It Matters
This tool significantly lowers the barrier to entry for SMBs and independent developers looking to deploy Voice AI. By moving the integration layer into an open-source FreePBX module, it challenges the high costs of proprietary middleware. It promotes a modular AI strategy, allowing businesses to switch between providers like ElevenLabs or Retell AI as easily as changing a setting, ensuring they always have access to the best latency and voice quality in a rapidly evolving market.
The "Voice AI Space Lab" Idea
With this module, you could create an AI Reservationist for Local Diners. Small restaurants often miss calls during peak hours; you could build a system where the PBX automatically overflows busy calls to a Retell AI agent that has real-time access to the restaurant's booking calendar. It could handle reservations, explain the specials of the day, and even text a confirmation link to the caller, all through a standard local phone number.
Check out the repository: https://github.com/Samcotech/voiceai-freepbx-module