docs: add deployment validation plan and expand env config
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 52s
CVE Scan & Docker Build / build-and-push (push) Successful in 1m49s

Add comprehensive deployment and validation plan documenting a staged
bring-up approach that gates each layer on its predecessor and defers
PSTN testing until everything else is proven.

Update .env.example to reflect current configuration:
- Replace static API_TOKEN with Casdoor SSO + owner-minted PAT auth
- Add Rhema TTS settings with port-collision warning
- Add AI Receptionist settings for inbound calls
- Reconcile GATEWAY_SIP_PORT to 5060 and default SIP domain
This commit is contained in:
2026-07-28 21:46:16 -04:00
parent 4a3c14d4af
commit 394e3fc920
5 changed files with 372 additions and 10 deletions

View File

@@ -144,7 +144,11 @@ class AudioClassifier:
)
# 5. If it's speech-like, is it live or automated?
if speech_score > music_score:
# A confident music score wins outright: the speech bands are wide
# enough that sustained hold music satisfies all four and scores 1.0,
# which would otherwise mask music as LIVE_HUMAN and ring the owner
# for a hold queue.
if speech_score > music_score and music_score < self.settings.music_threshold:
# Use history to distinguish live human from IVR
# IVR: repetitive patterns, synthetic prosody
# Human: natural variation, conversational rhythm