Skip to content

Labs

Building an AI that talks on the phone is nothing like building a chatbot.

While building AI Santral we ran voice agents on real phone lines with real callers. This page is an honest summary of what we learned across two architectures.

v1: OpenAI Realtime and our own voice gateway

In the first version, audio from a Netgsm SIP line came in through Asterisk (ARI/AudioSocket) and was passed to OpenAI Realtime through a Node.js voice gateway we wrote ourselves. That gave us full control over the audio stream; departments, extensions, a knowledge base, transcripts and call summaries all worked in this version.

But running our own gateway also meant carrying its maintenance: dropped connections, audio format conversion and turn-taking (who speaks when) took up much of our time.

v2: ElevenLabs Agents and a separate rules layer

For the second version we moved the voice agent to ElevenLabs Agents, upgraded the PBX core to Asterisk 22 LTS and moved business rules (queues, business hours, number → topic → step routing) into a separate layer we call pbx-agent.

What we learned

  • Plan for outages. Having calls fall back to a default extension when the AI can't be reached turned out to be one of the most valuable features.
  • Keep rules out of the model. Routing rules belong in an auditable layer, not inside the language model.
  • Transparency builds trust. Having the agent introduce itself as an AI didn't put callers off; it set clear expectations.
  • One language, done well. We don't offer multilingual calls yet; we chose to make one language reliable first.

These notes are field experience, not a measured benchmark. We will publish latency and accuracy figures separately once we have measured them.