This guide covers upgrading between major versions of Asterisk AI Voice Agent.
No breaking changes. All new features are additive or opt-in.
# Standard upgrade
git pull
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreateNew in v6.3.1:
- Local AI Server: backend enable/rebuild flow, expanded model catalog, GGUF validation, checksum sidecars
- GPU ergonomics:
LOCAL_LLM_GPU_LAYERS=-1auto-detection, GPU compose overlay improvements - CPU-first onboarding: defaults to
runtime_mode=minimalon CPU-only hosts - Security hardening: path traversal protection, concurrent rebuild race fix, active-call guard on model switch
- Structured local tool gateway with hangup guardrails
- CLI
agent check --local/--remotefor Local AI Server validation - New STT backends: Whisper.cpp (
LOCAL_STT_BACKEND=whisper_cpp) - New TTS backend: MeloTTS (
LOCAL_TTS_BACKEND=melotts)
If you use local_ai_server with optional backends, rebuild to pick up new capabilities:
docker compose build --build-arg INCLUDE_FASTER_WHISPER=true --build-arg INCLUDE_WHISPER_CPP=true local_ai_serverNo breaking changes. All new features are additive or opt-in.
# Standard upgrade
git pull
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreateNew in v6.2.0:
- NumPy audio resampler replaces legacy
audioop.ratecv(fixes crackling) - Google Live native audio latest model support (
gemini-2.5-flash-native-audio-latest) - Google Live VAD tuning, TTS gating, farewell/hangup hardening
- Telnyx AI Inference LLM pipeline provider (
telnyx_llm) - Agent CLI
check --fixauto-repair - Admin UI tool catalog and Google Live settings
- 13 call termination fixes across all providers
No breaking changes. All new features are additive or opt-in.
# Standard upgrade
git pull
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreateNew in v6.1.1:
- Operator config overrides via
config/ai-agent.local.yaml(optional, git-ignored) - Live agent transfer tool (opt-in via tool allowlist)
- ViciDial outbound dialer compatibility (opt-in via
.env)
-
OpenAI Realtime API version default changed to GA
- The default
api_versionis nowga(wasbeta) - GA uses nested audio schema (
audio.input.format/audio.output.formatwith MIME types) - To keep old behavior: Set
api_version: betaexplicitly in your provider config
- The default
-
Email template autoescaping enabled
template_renderer.pynow usesautoescape=Trueby default- Custom HTML templates that use raw HTML variables need Jinja2's
| safefilter
# 1. Backup your configuration
cp .env .env.backup
cp config/ai-agent.yaml config/ai-agent.yaml.backup
# 2. Pull the latest code
git pull
# 3. Run preflight to update environment
sudo ./preflight.sh --apply-fixes
# 4. Rebuild and restart all containers
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreate
# 5. Verify health
curl http://localhost:15000/health
agent checkIf you were using api_version: beta explicitly, no OpenAI changes are needed. If you relied on the default, review your OpenAI provider config.
- Config schema v4: Milestone 13 migrated configuration format. Run
scripts/migrate_config_v4.py --dry-runto preview changes, then--applyto migrate. - Diagnostic settings moved to
.env: Settings likeDIAG_EGRESS_SWAP_MODE,DIAG_ENABLE_TAPS, andSTREAMING_LOG_LEVELare now environment variables, not YAML keys. - Prometheus/Grafana removed: The monitoring stack is no longer shipped. Use Admin UI Call History for per-call debugging and bring your own Prometheus if needed.
- Admin UI added: Web interface on port 3003 for configuration and monitoring.
- Multiple new providers: Google Live, ElevenLabs Agent added since v4.x.
- Tool calling system: Unified tool framework with telephony and business tools.
# 1. Backup everything
cp -r config/ config.backup/
cp .env .env.backup
# 2. Pull the latest code
git pull
# 3. Run config migration (preview first)
python scripts/migrate_config_v4.py --dry-run
python scripts/migrate_config_v4.py --apply
# 4. Run preflight
sudo ./preflight.sh --apply-fixes
# 5. Rebuild containers
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreate
# 6. Verify
agent check
curl http://localhost:15000/health- Access Admin UI at
http://localhost:3003(login: admin/admin, change immediately) - Review your provider configuration in the Admin UI Setup Wizard
- Check Call History for your first test call to verify everything works
For any version upgrade:
- Backup your
.env,config/ai-agent.yaml, andconfig/ai-agent.local.yaml - Pull the latest code:
git pull(or useagent updatewhich handles backup/restore automatically) - Run preflight:
sudo ./preflight.sh --apply-fixes - Rebuild:
docker compose -p asterisk-ai-voice-agent up -d --build --force-recreate - Verify:
agent checkand make a test call
For detailed release notes, see CHANGELOG.md.