Skip to content
Projekte

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

Auf GitHub ansehen

Über uns

Open-Source-KI-Sprachagent zur Integration mit Asterisk/FreePBX über Audiosocket/RTP/Websocket https://demo.agent6789.com

Web- und App-Entwicklung

So werden diese Zahlen gemessen

What you can do

  • Realtime or modular voice: use a full voice-agent provider, or select separate STT, LLM, and TTS backends.
  • Self-hosted management: configure providers and Agents, inspect Call History, filter/export records, and manage updates through the Admin UI.
  • Telephony tools: transfers, extension availability, voicemail, and hangup controls integrated with Asterisk.
  • Business integrations: Google/Microsoft calendars, opt-in Teams meetings, Calendly booking, Pushover, email, HTTP summaries, MCP, and optional A2A delegation with per-Agent access controls.

Gemessener Sternzuwachs

in 24h
0
in 7 days
+5
in 15 days
+12
in 1 month
+19

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original
AVA Core — AI Voice Agent for Asterisk

Version CI License Discord

AVA Core is an open-source AI voice agent for Asterisk and FreePBX. Build phone agents using realtime voice providers or modular speech-to-text, language-model, and text-to-speech pipelines, managed through a self-hosted Admin UI.

Managing multiple PBXs or customer installations? Explore AVA Operator — the commercial multi-installation management layer built around AVA Core, currently available as an early-access preview. AVA Core remains MIT-licensed, free, and fully functional on its own.

Quick Start · Capabilities · Demo · Documentation · Contributing · Community

Quick Start

For a fresh installation, use a Linux x86_64 host with Docker Compose v2 and an Asterisk 18+ / FreePBX system with ARI enabled. Cloud configurations start with 2 CPU cores and 4 GB RAM; local inference needs additional resources. Check supported platforms and transport compatibility first; some transports require newer Asterisk versions or additional modules.

Already running AVA? Follow the v7.7.5 upgrade guide instead of cloning another installation.

On the AVA host:

Use the commands below once v7.7.5 appears in GitHub Releases. Until then, use the guide from the latest published release. v7.7.1 and earlier checkouts use the older-checkout recovery.

git clone --branch v7.7.5 https://github.com/hkjarral/AVA-AI-Voice-Agent-for-Asterisk.git
cd AVA-AI-Voice-Agent-for-Asterisk
sudo ./preflight.sh --apply-fixes
./install.sh --ui

Review preflight's findings before continuing. The installer rechecks Docker build readiness as your current user, prepares .env, and builds/starts only the Admin UI. It selects Compose automatically and handles the scoped network.host entitlement retry. Builds use the active Docker context's built-in builder unless you explicitly set BUILDX_BUILDER. No preliminary docker pull or custom insecure builder is required. See build troubleshooting.

Open http://<server-ip>:3003. Retrieve the one-time admin password:

docker logs admin_ui | grep -i password

Sign in as admin and change the password at first login. Restrict port 3003 to trusted access using a firewall, VPN, or an authenticated TLS reverse proxy; do not expose plain HTTP admin access to the public internet.

Complete the Setup Wizard, then follow First successful call for engine readiness, the generated dialplan, FreePBX/plain-Asterisk routing, and a verified two-way conversation. Saving settings alone does not complete setup. The guide also covers CLI/manual installation, permissions, and recovery; local AI setup covers CPU/GPU configurations.

OpenAI-compatible transcription

The Admin API can expose local STT through authenticated OpenAI-compatible endpoints, without cloud fallback or a transcription UI. See the transcription guide for setup, supported backends, limits and live-call priority.

Capabilities

  • Realtime or modular voice: use a full voice-agent provider, or select separate STT, LLM, and TTS backends.
  • Self-hosted management: configure providers and Agents, inspect Call History, filter/export records, and manage updates through the Admin UI.
  • Telephony tools: transfers, extension availability, voicemail, and hangup controls integrated with Asterisk.
  • Business integrations: Google/Microsoft calendars, opt-in Teams meetings, Calendly booking, Pushover, email, HTTP summaries, MCP, and optional A2A delegation with per-Agent access controls.
  • Cloud, hybrid, or local operation: choose where audio and model inference run. Hybrid deployments still send the configured inputs to cloud services.
  • Operational diagnostics: CLI health checks, sanitized support packages, metrics, and documented upgrade/recovery paths.

Providers and deployment modes

Mode Options Setup
Realtime voice agents Deepgram, OpenAI Realtime, Google Live/Vertex, ElevenLabs, xAI Grok Provider guides
Modular pipelines Mix supported STT, LLM and TTS adapters, including OpenAI-compatible endpoints Pipeline configuration
Local or hybrid Local speech and/or LLM inference, optional GPU acceleration and remote local-model servers Local setup

Model availability, tools, latency, and transport support vary by configuration. Use the compatibility matrix and release validation evidence rather than assuming every provider/transport combination is qualified.

AudioSocket and ExternalMedia RTP are configuration-dependent; Media WebSocket is opt-in and has additional Asterisk requirements. See the WebSocket guide. Outbound campaigns and VICIdial integration remain alpha; FreeSWITCH setup is community-maintained.

Demo

Watch the demo

Demo homepage · Setup videos

Try the US demo lines and follow the current voice menu:

  • Standard voice: (925) 736-6718
  • HD voice: (909) 788-2282

HD voice requires a G.722-capable carrier/device path and the opt-in wideband_pcm_16k Audio Profile; other calls fall back to standard telephony audio. The video is a v6.1 walkthrough, not a description of every current UI screen or model.

Documentation

I want to… Start here
Install, upgrade, or recover Installation · Migration notes
Connect my PBX FreePBX guide · Transport matrix
Configure providers and Agents Admin UI · Agents · Configuration
Add actions and integrations Tools · MCP
Operate and troubleshoot CLI · Troubleshooting · Monitoring
Understand or extend the code Architecture · Developer guides

The core services are ai_engine and admin_ui; local_ai_server and updater are optional. Run only the services required by your deployment.

All documentation · Roadmap · Security policy · Ask DeepWiki

v7.7.5 highlights

  • Synchronized provider/model/voice catalogs and opt-in speech workflows.
  • Stored-credential protection, resilient Call History upgrades and CPU image security fixes.
  • Inbound inactivity destinations, fax handoff preservation and Grok call fixes.
  • Background Docker cleanup with progress and recoverable job status.

See the changelog for detailed changes and contributor credit, GitHub Releases for artifacts, and migration notes before upgrading. Earlier release notes remain in the changelog and versioned repository history.

Contributing

Code, documentation, tests, bug reports, and real-world validation are welcome. Start with CONTRIBUTING.md and the developer quickstart. Include reproducible evidence and follow the PR review workflow. Documentation and many automated tests do not require a PBX.

If you use an AI coding assistant, AVA.mdc provides optional project context. All contributions still require appropriate testing and review.

Contributors

hkjarral
hkjarral

Architecture, Code
a692570
Abhishek

Telnyx LLM Provider
turgutguvercin
turgutguvercin

NumPy Resampler
Scarjit
Scarjit

Code
egorky
egorky

Azure STT/TTS Provider
alemstrom
alemstrom

Docs — PBX Setup
gcsuri
gcsuri

Code — Google Calendar
octo-patch
octo-patch

MiniMax LLM Provider
neilruaro-camb
neilruaro-camb

CAMB AI TTS Provider
Ai-chan-0411
Ai-chan-0411

Transcript Search, Health Badges
exaland
exaland

Outbound .ULAW Compatibility
YosefAdPro
YosefAdPro

Agents API/OpenAPI
cswilsnetex
Chris Wilson

Transfers, AudioSocket, Calendar, Admin UI
Rea-PC08
Rea-PC08

Fish Audio TTS, Call History Filters
arnavp27
Arnav Patil

Admin UI Accessibility, Numeric Alignment, Empty States
alceops
Alce

OpenAI Streaming Timeouts
Genmin
Joey Roth

OpenAI Tool-call Tests
Ivan Garcia contributor badge
Ivan Garcia

Azure STT/TTS, OpenAI GA Tools
pcbeingused333
alexcastgonz

Pipeline Tool Calls, Google/Ollama, CLI
lucamancusodev
lucamancusodev

Transfer Reports, Notification Requirements
pi0n00r
pi0n00r

Local AI, Transcription, MCP, A2A
MVECoder
MVECoder

Grok, Fax and Lifecycle Reports
NC contributor badge
NC

Local AI Environment Parser
theluckystrike
Michael (theluckystrike)

Farewell Hangup Fix
kevinrossen
Kevin Rossen

HTTP Template Security
abaichuan1017
Kai (abaichuan1017)

Local Pipeline Diagnostics Docs
Andrew-Engelbrecht
Andrew-Engelbrecht

Inactivity Fallback Proposal and Upgrade Report
jjaroztegi
jjaroztegi

Media Reports and Reproduction
ibewackofreak
ibewackofreak

Docker Bootstrap Report
lucivan212
lucivan212

Recording Access Proposal
comedianhhh
comedianhhh

SenseVoice STT
LauraGPT
LauraGPT

SenseVoice Proposal

See CONTRIBUTORS.md for contribution details and historical credit. Commit-linked badges preserve attribution when no GitHub profile is linked; they do not imply a verified account identity.

Additional commit-author credit: Debian contributor badge. This preserves an unmapped Git author label, not a verified additional person.

AVA Operator

AVA Operator helps MSPs and operators manage AI voice across multiple Asterisk and FreePBX installations from one console. It builds on AVA Core while remaining a separate commercial product.

Explore the early-access preview →

Community and support

Discord · Issues · Discussions

AVA Core is independently maintained. GitHub Sponsors and Ko-fi support compatibility testing, maintenance, and release infrastructure. Book a consultation for dedicated help.

Product Hunt · Star history

License

AVA Core is MIT-licensed. See LICENSE.

Ähnliche Projekte entdecken

Wird geladen…