hkjarral/AVA-AI-Voice-Agent-for-Asterisk

An open-source AI Voice Agent that integrates with Asterisk/FreePBX using Audiosocket/RTP/Websocket technology https://demo.agent6789.com

What it solves

AVA Core lets owners of Asterisk or FreePBX phone systems add AI voice agents to their existing telephony setup. Instead of building custom speech-to-text, language-model, and text-to-speech wiring from scratch, it provides a ready-made framework that connects calls to either a realtime voice provider or a modular pipeline of STT, LLM, and TTS. It centralises configuration and management through a self-hosted web interface, so businesses can deploy automated phone assistants without giving up control over their infrastructure.

How it works

AVA Core runs as a set of Docker services (core services are ai_engine and admin_ui, with optional local_ai_server and updater). It connects to Asterisk's ARI (Asterisk REST Interface) to handle calls. For each call, audio can be routed to a realtime voice agent provider (like Deepgram or OpenAI) or to modular components where you choose separate STT, LLM, and TTS backends—including OpenAI-compatible endpoints and local inferencing. The Admin UI (typically on port 3003) lets you configure providers, Agents, call history, and updates. The system also supports telephony tools like transfers, voicemail, and hangup, plus integrations with calendars, Calendly, email, HTTP summaries, MCP, and optional A2A delegation.

Who it's for

This project is aimed at businesses, developers, and system administrators who already run Asterisk or FreePBX and want to add AI voice capabilities. It suits environments where you want to self-host and control your own voice-agent stack, whether fully in the cloud, hybrid, or entirely on local hardware. The README also notes a separate commercial product (AVA Operator) for managing multiple installations, but AVA Core itself is free and MIT-licensed.

Highlights

  • Use either realtime voice-agent providers or modular STT/LLM/TTS pipelines.
  • Self-hosted Admin UI for managing providers, Agents, call history, and updates.
  • Built-in telephony tools: transfers, extension availability, voicemail, hangup.
  • Business integrations including Google/Microsoft calendars, Teams meetings, Calendly, Pushover, email, HTTP summaries, MCP, and optional A2A delegation.
  • Deployment flexibility: cloud, hybrid, or fully local operation with optional GPU acceleration.
  • Operational diagnostics: CLI health checks, sanitized support packages, metrics, and documented upgrade/recovery paths.

Related

  • Project
  • Project
  • Project
  • Project
  • Project