DEV Community

Peter Jackman
Peter Jackman

Posted on Originally published at zian.ai

AI Voice Agent on 3CX, FreePBX or Asterisk: Setup

Quick answer: There are three paths. 3CX AI Edition has native AI Agents, using OpenAI or xAI Grok with one provider active at a time. FreePBX or Asterisk reach an agent platform through a PJSIP trunk: G.711, RFC 4733 DTMF, direct_media=no, and a REFER back into a fenced context. AudioSocket carries keypad digits only from Asterisk 20.14.0, 21.9.0 or 22.4.0 onward.

What this covers

  • How do I connect an AI voice agent to my existing 3CX or FreePBX phone system?
  • The setup sequence, in order, for FreePBX and Asterisk
  • The PJSIP trunk we ran, line by line
  • What our sandbox run proved, and what it did not
  • The 202 is not a transfer: reading a REFER on your PBX

This is a technical summary. The full guide — with the tables and worked examples — is on our site: *AI Voice Agent on 3CX, FreePBX or Asterisk: Setup*.

Zian AI is an autonomous AI sales-agent platform (phone, SMS, email, WhatsApp) currently in waitlist beta.

Top comments (0)