← Back to Leaderboard
Ahkjarral

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

Self-hosted Asterisk voice agents with realtime and modular AI backends

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v7.7.5
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIMCPGPU
Total Stars
★ 1,288
24h Growth
+1
7d Growth
+5
Forks
290

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

hkjarral/AVA-AI-Voice-Agent-for-Asterisk Star History (2025-09-28 - 2026-12-04) ALL-TIME STAR HISTORY (2025-09 – 2026-12) +1.3k in 432d · avg +3/day 1.4k 680 0 2025-09-28: ★ 12025-10-25: ★ 442025-11-22: ★ 942025-12-20: ★ 1742026-01-17: ★ 6712026-02-14: ★ 7382026-03-14: ★ 8282026-04-11: ★ 9442026-05-09: ★ 1,0072026-06-06: ★ 1,0432026-07-04: ★ 1,0882026-08-01: ★ 1,1562026-08-29: ★ 1,1862026-09-26: ★ 1,2182026-10-24: ★ 1,2522026-12-04: ★ 1,288 ★ 1.3k 2025-09 2026-05 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

AVA Core is a Python application with two core services: ai_engine for live calls and admin_ui for configuration and operations. Asterisk or FreePBX remains the PBX: AVA uses ARI for call control and a separate media path for audio. Depending on the configuration, media can use AudioSocket, ExternalMedia RTP, or opt-in Media WebSocket. The AI side can use an integrated realtime voice provider or a pipeline with separate STT, LLM, and TTS adapters. local_ai_server and updater are optional services.

The dependency manifest includes ari, websockets, aiohttp, NumPy for audio resampling, and WebRTC VAD (webrtcvad) for speech detection. Integration extends beyond provider adapters: the project includes the MCP Streamable HTTP client and a2a-sdk for optional remote-agent delegation, with per-agent access controls for A2A. This separation lets operators change the inference backend without replacing the PBX, but the new backend must still be validated with the chosen media path and agent tools.

Key Capabilities & Differentiators

Realtime integrations include Deepgram, OpenAI Realtime, Google Live/Vertex, ElevenLabs, and xAI Grok. Modular deployments can mix supported speech and language backends, including OpenAI-compatible endpoints. Agents can transfer calls, check extension availability, send callers to voicemail, or hang up. Business integrations include Google and Microsoft calendars, Calendly booking, email, and HTTP summaries. The Admin UI configures providers and agents and supports filtering and exporting Call History.

The Admin API can also expose local STT through authenticated OpenAI-compatible transcription endpoints, with no cloud fallback or dedicated transcription UI. Plan the transcription workload around live-call priority if the two share STT capacity. Wideband calling requires both the opt-in wideband_pcm_16k audio profile and an end-to-end path that supports G.722; otherwise calls fall back to standard telephony audio.

Trade-offs & Limitations

AVA makes more sense than a hosted voice-agent service when an existing Asterisk estate and PBX-level routing matter. A hosted service can reduce infrastructure work; a direct provider integration can be simpler if one backend meets all requirements. AVA’s advantage is keeping routing on the PBX while giving operators a common place to configure agents, switch among supported backends, and investigate calls. The cost is qualification work: provider, media transport, audio profile, and tool support vary by combination. Check the compatibility and release validation matrices rather than treating those options as interchangeable.

Cloud inference reduces on-host compute needs but sends configured inputs to providers and introduces external service dependencies. Hybrid is not an on-premises data boundary; a local deployment still needs an explicit review of any enabled calendar, email, MCP, or A2A integration. Outbound campaigns and VICIdial integration remain alpha, and FreeSWITCH setup is community-maintained. AVA Operator is a separate early-access commercial management layer, not a requirement for the MIT-licensed Core.

Hardware & Deployment Guide

Start with Linux x86_64, Docker Compose v2, and Asterisk 18+ or FreePBX with ARI enabled. Check the transport compatibility matrix before selecting Media WebSocket or another media path with additional version or module requirements. The default Compose setup uses host networking; check Asterisk group permissions and set the ASTERISK_GID build argument if the host group differs from the default of 995. Cloud setups start at 2 CPU cores and 4 GB RAM. Local CPU or GPU sizing depends on model choice and call concurrency; there is no general VRAM target.

On a fresh install, preflight.sh --apply-fixes checks and prepares the host, and install.sh --ui starts only the Admin UI. Restrict port 3003 to trusted access, change the initial admin password, complete the wizard, and test the generated dialplan with a real two-way call. For existing deployments, use the migration path: v7.7.4 added SenseVoice STT with model validation and language and ITN controls; v7.7.5 synchronized provider catalogs, improved stored-credential protection and Call History upgrades, and included CPU image security fixes.

PBX boundary: ARI for call control; AudioSocket, ExternalMedia RTP, or opt-in Media WebSocket for media, subject to compatibility.
Backend selection: Realtime providers or independently configured STT, LLM, and TTS stages, including supported OpenAI-compatible endpoints.
Call and tool actions: Asterisk transfers, extension availability, voicemail, and hangup; MCP over Streamable HTTP and optional A2A delegation with per-agent access controls.
Local transcription: An authenticated OpenAI-compatible Admin API exposes local STT without fallback to a cloud service or a dedicated transcription UI.
Diagnostics: Admin UI Call History for per-call investigation, CLI health checks and sanitized support packages, and Prometheus-format metrics at port 15000 under /metrics.
Release maintenance: v7.7.5 aligns provider, model, and voice catalogs across runtime, Admin UI, defaults, and CI, and improves Call History upgrades.
Best For

Teams already running Asterisk or FreePBX that want an inbound phone agent for routing, voicemail, or scheduling, with control over where speech and language inference runs.

Skip If

You want a fully managed phone stack, need production-mature outbound campaign tooling, or cannot own PBX compatibility testing and call-data governance.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
docker logs admin_ui | grep -i password

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
AVA-AI-Voice-Agent-for-Asterisk ★1.3k+5PythonMITSelf-hosted Asterisk voice agents with realtime and modular AI backends
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
daily_stock_analysis75.9k+896PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/hkjarral/AVA-AI-Voice-Agent-for-Asterisk.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

hkjarral/AVA-AI-Voice-Agent-for-Asterisk Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about AVA-AI-Voice-Agent-for-Asterisk

How does AVA connect to an existing Asterisk or FreePBX system?

AVA connects to Asterisk through ARI and uses a supported media transport for call audio. Choose the transport against your Asterisk version and installed modules before configuring the provider. Then bring up the engine, apply the generated dialplan and PBX routing, and verify a two-way call. A saved configuration does not prove that media or routing works.

How much CPU, RAM, or VRAM should I budget?

The cloud starting point is 2 CPU cores and 4 GB RAM. Local inference needs additional resources, with CPU and optional GPU configurations available. There is no single VRAM requirement: size for the specific speech and language models you plan to run locally and test at expected peak call concurrency. Include transcription traffic in that test if it will share local STT with live calls.

Can I self-host AVA Core for commercial use without buying AVA Operator?

Yes. AVA Core is MIT-licensed and works independently of AVA Operator, a separate commercial multi-installation product in early access. The Core license does not govern third-party providers or model licenses. For compliance, review where configured inputs are sent, who can access call records or exports, and which external tools each agent can invoke. Self-hosting the UI alone does not keep call data on premises.

When is AVA preferable to a hosted voice-agent service or a direct provider integration?

Choose AVA when Asterisk remains the call-control layer and you want PBX-native actions or the option to replace individual speech and language backends. A hosted voice-agent service is a better fit if you want to minimize PBX and runtime operations and have no need for local inference. Direct provider-to-PBX integration is also worth considering for a single fixed backend if you do not need AVA’s shared configuration, call history, or integration layer.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining hkjarral/AVA-AI-Voice-Agent-for-Asterisk? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature hkjarral/AVA-AI-Voice-Agent-for-Asterisk on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare