VEXYL AI

Gateway Mode

Gateway Mode connects Asterisk directly to low-latency LLM providers like OpenAI Realtime API, bypassing the internal STT/TTS pipeline for sub-second responses.

Configuration

GATEWAY_MODE=true
LLM_WEBSOCKET_URL=wss://api.openai.com/v1/realtime?model=gpt-4o-realtime-preview-2024-10-01
LLM_API_KEY=sk-proj-...

Supported Providers

  • OpenAI Realtime API: Native 24kHz audio streaming.
  • ElevenLabs Conversational AI: End-to-end voice agents.

Limitations

  • Audio quality limited to 8kHz (telephony standard).
  • No custom STT/TTS provider selection (handled by the endpoint).
  • Higher cost per minute compared to standard mode.