Vexyl AI Voice Gateway — User Manual
Covers gateway 1.7.0
The gateway answers phone calls (and browser sessions) with an AI voice bot. It works in two modes, chosen per call: the speech pipeline (speech recognition, then an AI brain, then speech synthesis), or realtime speech-to-speech, where LiteBot Live or Gemini Live listens and speaks in one audio stream for the most natural conversation (Realtime mode).
Pick the column that matches how you run it, then read the marked chapters.
Speech-to-Text
Streaming and batch recognition with Sarvam, Google, Deepgram, Groq and more.
AI Brain
A LiteBot bot, or your own HTTP endpoint.
Text-to-Speech
Natural voices from Sarvam, Google, ElevenLabs, Azure, Smallest and more.
Speech-to-Speech
Realtime mode: LiteBot Live or Gemini Live hears and speaks in one stream, per call.
| Chapter | What it answers | Self-hosted | Docker | Hosted |
|---|---|---|---|---|
| 01 Overview | What the gateway does, how a call moves through it, and the three ways to run it | ✓ | ✓ | ✓ |
| 02 Quickstart: binary | How to go from the vexyl-gateway bundle to a running gateway that answers a test call |
✓ | ||
| 03 Quickstart: Docker | What differs when you run the gateway from the Docker image | ✓ | ||
| 04 Hosted service | What you receive and how to connect your PBX, web page and webhook receiver when Vexyl runs the gateway | ✓ | ||
| 05 SIP trunk | How to connect a PBX or carrier trunk over SIP, with the gateway variables and log lines to check | ✓ | ✓ | ✓ |
| 05b Panasonic, Avaya, Grandstream, Bitvoice | How to connect a non-Asterisk IP PBX as a SIP trunk or with the bot as an extension | ✓ | ✓ | |
| 05c Outbound SIP and per-call settings | How to place outbound calls over SIP or Asterisk, set voice, model, recogniser, language and bot per call, and what SIP headers carry | ✓ | ✓ | |
| 05d Per-call settings reference | Every value for tts_provider, tts_voice, tts_model, stt_provider, language and bot, and how to send them by SIP header or dialplan | ✓ | ✓ | |
| 06 Asterisk over AudioSocket | How to connect Asterisk with AudioSocket, the default telephony mode | ✓ | ✓ | |
| 07 Configuration recipes | Which .env block to copy for a given provider combination |
✓ | ✓ | |
| 08 Speech recognition | Which STT providers exist, their variables, and the settings that shape what is heard | ✓ | ✓ | |
| 09 Text to speech | Which TTS providers exist, how to override a voice per call, and the cache and playback settings | ✓ | ✓ | |
| 10 AI brain | How to choose between LiteBot and your own HTTP endpoint, and what callers hear when it fails | ✓ | ✓ | |
| 11 Realtime mode | When to use speech-to-speech instead of the pipeline, and how to set up Gemini Live and LiteBot Live | ✓ | ✓ | |
| 12 Browser widget | How to let a visitor talk to your bot from a web page | ✓ | ✓ | ✓ |
| 13 HTTP API | Health checks, per-call settings, outbound calls and housekeeping endpoints | ✓ | ✓ | |
| 14 Conversation behaviour | Who speaks first, interruptions, echo and noise, slow AI, and how a call ends or transfers | ✓ | ✓ | |
| 15 Webhooks and billing | How to receive call events and durable per-call billing records | ✓ | ✓ | ✓ |
| 16 Operations | Logs, monitoring, capacity, backups, lockdown and safe tuning | ✓ | ✓ | |
| 16b Security | What the gateway exposes, how to lock each part down, and what data it keeps | ✓ | ✓ | ✓ |
| 17 Troubleshooting | What a symptom means and which section fixes it | ✓ | ✓ | ✓ |
| 18 Environment reference, part 1 | Every variable for core, telephony and speech, with defaults | ✓ | ✓ | |
| 18b Environment reference, part 2 | Every variable for brain, realtime, widget, API, behaviour, webhooks and operations | ✓ | ✓ | |
| 19 Cost and quality | What each level of voice agent costs per minute, with production figures, and how to save money and sound human | ✓ | ✓ | ✓ |