Each layer reduces risk before the call reaches business logic or the LLM; its output feeds the global risk engine and the policy engine; it is never the single decision point.
Design golden rule
Never: caller → LLM → action
The right path: caller → telecom security → audio security → identity check → risk engine → policy engine → deterministic workflow → controlled action.
01-05 · Entry
01entry
Call Entry
PSTN / SIP / WebRTC entry
Controls
carrier filteringsession border controllerrate limitingnumber reputationgeo and context checks
02session
Session Security
secure the session (TLS/SRTP/auth)
Controls
SIP authTLS/SRTPIP allowlistfraud monitoring
03audio
Audio Capture
RTP capture + call fingerprint
Controls
RTP validationtimestampsstream fingerprintingreplay cache
04quality
VAD & Quality Gate
detect speech / silence / noise
Controls
VAD detection (Silero, WebRTC)SNR thresholdminimum speech quality
05normalization
Audio Normalization
normalize sample rate / volume / codec
Threats
Controls
resamplingband-pass filteringvolume normalizationartifact detection
06-09 · Audio auth
06deepfake
Deepfake Detection
detect TTS / conversion / synthesis
Controls
anti-spoofing ensemblethresholdsmodel confidencehuman escalation
07liveness
Liveness Challenge
dynamic questions / repetition
Controls
random challenge-responsedynamic phrasetiming analysis
08speaker
Speaker Verification
voice comparison = weak signal
Controls
never used aloneMFAcontext verification
09transcription
STT Transcription
speech-to-text + confidence
Threats
Controls
confidence thresholdlanguage detectionhuman fallback
10-13 · Prompt & intent
10injection
Prompt Injection Filter
detect adversarial spoken instructions
Controls
injection classifierblocked patternsinstruction hierarchy
11intent
Intent Detection
classify the request, scenario whitelist
Controls
intent whitelistsensitive-intent escalationscenario routing
12identity
Identity & Context Check
CRM, OTP, callback, known context
Controls
OTPcallbackknown-number checkCRM validation
13risk
Risk Scoring
signal fusion toward the decision
Controls
weighted scoringrules + MLthreshold routing
14-18 · Policy & tools
14interpretation
LLM Interpretation
the LLM interprets, does NOT act directly
Controls
restricted contextno direct actionsredactiongrounding
15policy
Policy Engine
authorize / deny each tool call (RBAC/ABAC)
Controls
RBACtool allowlistapproval gatesscoped tokens
16workflow
Workflow Execution
deterministic workflows (Temporal, API gateway)
Controls
typed schemasAPI gatewayidempotencyleast privilege
17escalation
Human Escalation
transfer to operators
Controls
risk bannerverification checklistrecording review
18audit
Audit Logging
evidence, SIEM, forensics
Controls
immutable logsencryptionretention policyaccess controls
19-20 · Chain & ops
19monitoring
Monitoring
slow attacks, drift, campaigns (OTel, Grafana)
Controls
OpenTelemetryGrafanaalertsanomaly detection
20chain
Model & Supply Chain
models, dependencies, images (SBOM, cosign, trivy)
Threats
Controls
SBOMsigned modelsCVE scanningred-team benchmarks