By Stanislav Zayarsky, CEO, Trembit · Last updated 4 December 2026
Voice AI privacy is the set of controls that decide what caller audio, transcripts and derived data each component of a voice agent can see, keep and reveal. It covers three jobs: redacting personally identifiable information (PII) before it reaches logs, model context and stores; limiting how long each system keeps it; and handling AI disclosure and recording consent at the start of the call.
What goes wrong is rarely exotic: a “zero retention” assurance that covers one endpoint, a call recorded without the consent the caller’s state requires, a debug log holding raw card numbers. If you own the product rather than the code, the decisions before launch are the part to hand your team.
Trembit builds real-time video and voice systems. This is our engineering reading for voice agents in any industry, covering US federal and state law and the GDPR, not legal advice. Vendor pages were last read on 4 December 2026; retention terms change, so re-check them.
Key takeaways
- Redact at every sink, not in one place. Partials, logs, traces, eval sets and tool-call arguments leak before the transcript does.
- Streaming forces a trade. Redaction is more accurate on a finished segment, and waiting for one costs latency.
- Zero data retention is an arrangement, not a vendor property. It is granted per organisation, endpoint, agent or request, and leaves out flagged content, stateful features and everything you store yourself.
- ZDR, a BAA or DPA, and “no training” are three separate things.
- Disclosure, recording notice and consent are one scripted sequence at the start of the call, logged as an event, defaulting to the strictest jurisdiction you might reach.
Engineers: start at where caller audio goes. Compliance and procurement: start at the decisions before launch, then zero data retention and recording consent. Everyone: what we have and haven’t built.
Where does caller audio go in a voice agent?

Through up to eight components, each of which may see audio, text or both, and keep either for a different time. The map covers a cascaded agent by where data persists. The agreement each hop needs is in our voice AI for healthcare guide.
| Component | Sees | What can persist | Control |
|---|---|---|---|
| Telephony or CPaaS | Audio, caller ID | Recordings, call metadata | No recording before consent; pause for sensitive fields |
| Your media server and orchestrator | Audio, signalling, often text | SIP traces, packet captures, CDRs, app logs | Log levels, no media in captures, short TTL |
| Speech-to-text (STT) | Audio | Audio and transcripts, on the vendor’s terms | Retention or opt-out settings, native redaction |
| Language model (LLM) | Text, tool results | Prompts and outputs, on the vendor’s terms | ZDR, no stateful features, masking |
| Text-to-speech (TTS) | Text | Input text, generated audio | Vendor retention settings |
| Tools, webhooks, CRM | Structured fields, some free text | Whatever downstream systems log | Pass the minimum, scrub arguments |
| Recording and transcript stores | Audio, text | Everything, until deleted | A retention clock per object |
| Observability, analytics, evals | Text, sometimes audio | Traces, error payloads, copied calls | Scrub at ingestion, TTL |
The speech-to-speech case. With one speech-to-speech model in place of STT, LLM and TTS, there is no text stage to redact before the model. The vendor hears the raw audio, and hearing and reasoning sit behind one vendor’s boundary. Transcripts become a side channel, and redacting them protects your stores, not the model’s input. In our view, that makes the vendor’s terms for the audio modality the main control.
In our view, the sinks teams miss are rarely the transcript store:
- SIP traces and packet captures. A debug pcap with media in it is a call recording. Hardening the media server is covered in our FreeSWITCH HIPAA guide.
- Call detail records (CDRs) and caller-ID fields, which identify the caller before anyone says a name.
- LLM tracing SDKs, error trackers and prompt caches that capture caller text.
- Eval sets and fine-tune data copied from real calls.
- Tool-call arguments in downstream logs.
Where in the pipeline should you redact PII?

As early as the data exists as text, and again at every place text is stored. There are four insertion points, and most production designs need more than one.
In a call, PII means names, dates of birth, addresses, card and ID numbers spoken as digits or words, and health details mentioned in passing. The voice itself can be special-category data: GDPR Art. 9(1) covers “biometric data for the purpose of uniquely identifying a natural person”. In our reading, a recording is biometric data only when you process it to identify someone.
| Insertion point | What it protects | What it leaves exposed | Watch for |
|---|---|---|---|
| 1. STT-native redaction (e.g. Amazon Transcribe, Deepgram, AssemblyAI) | Transcripts and everything downstream | The STT vendor hears raw audio | Entity types, languages, streaming support vary |
| 2. Your own detection after STT (rules, Luhn checks, an open-source detector such as Microsoft Presidio) | Logs and the LLM, with recall you control | Raw text briefly in your memory | You own recall testing |
| 3. Tokenisation before the LLM, with a vault you hold | The model and its vendor-side logs | Tools that need real values; TTS, which must speak them; the vault | Resolve outside the model |
| 4. Audio redaction (beep or silence over detected spans, after the call) | Stored recordings, for the spans found | Live audio to STT; the voice itself | Capped by text recall and word-timestamp accuracy |
Two things often filed under audio redaction are not redaction, in our view. Pausing a recording stops the recording, not the audio going to STT. Keypad (DTMF) entry keeps digits out of speech, provided the tones stay out of the audio path.
At Deepgram, “For non-English audio, only numbers are redacted”, and its Flux model “supports number redaction only”, so on that model names and addresses need your own detector. At AssemblyAI (pre-recorded audio), “PII only redacts words in the text property”, so output from features such as summaries may still contain PII.
Tokenisation protects the model, and in our view it is the most over-trusted option. The model sees [NAME_1]; your tool layer swaps in the real value when it calls the CRM. Anything the agent speaks back is resolved before TTS, so the TTS vendor sees the real value. Four things defeat it:
- An unverified caller asks about another person’s account and the agent fetches it: an authorisation failure, not a redaction one.
- Prompt injection by voice that steers the model into putting a value into a tool call.
- Guessable or global tokens, so the model emits one from another session and your executor resolves it.
- Downstream systems that log the resolved arguments.
Scope each vault to one call, use unguessable single-use IDs, authorise each parameter against the verified caller rather than trusting the schema, and scrub tool logs. Tokenised data is still personal data, in our reading: GDPR defines pseudonymised data as data that “can no longer be attributed to a specific data subject without the use of additional information”, and you hold that information.
The streaming-partials problem

Streaming STT emits partial hypotheses while the caller speaks, so a card number appears in partials before any redactor has a finished segment. Two vendors document the trade. Amazon Transcribe’s streaming documentation: “PII identification and redaction for streaming jobs is performed only upon complete transcription of the audio segments.” Deepgram: “Setting no_delay=true opts for low latency at the risk of redaction performance.”
The architecture follows, in our view:
- Gate what reaches the LLM, logs and stores on final, endpointed segments.
- Hold back digit runs across adjacent finals: a card number read in groups can span two segments.
- Never log partials. If you show them as captions, render from memory and drop them.
- Measure the wait. If the LLM starts at end of turn, the cost is the detector’s time; if it starts on partials, you lose that early start. Budget it beside endpointing in your voice AI latency budget.
- If a turn can’t afford it, send that turn to a secure capture step rather than shortening the wait.
How does PII redaction fail, and how do you design for it?
Redaction fails on recall (a missed number or name), on format and language (digits spoken as words, spelled-out emails, mixed languages, accents), and on context (a rare condition plus a small town identifies a caller with no PII token present). Amazon Transcribe’s documentation: “Amazon Transcribe may not identify and remove all instances of sensitive data in your transcript.” And: “The redaction feature does not meet the requirements for de-identification under medical privacy laws, such as the U.S. Health Insurance Portability and Accountability Act of 1996 (HIPAA).”
Redaction is a control, not a de-identification conclusion; the legal standard is covered in our HIPAA chatbot guide.
Design rules (our engineering view):
- Redact at every sink independently. LiveKit Cloud’s PII redaction for agent observability (an example, not a recommendation) “is off by default for every project”, “runs during recording upload after the session ends and doesn’t affect live sessions”, and leaves raw PII in “session.history or LiveKit Egress recordings”. It protects one store; every other sink needs its own.
- Fail closed. The same feature “doesn’t guarantee complete removal”, and if all detection models fail, the upload “is rejected with a retryable error, and no unredacted content is stored for projects with redaction turned on”. Apply that to your own ingestion: no redaction result, no write. A retry queue holding unredacted payloads is itself a sink. On the live call, decide in advance what a redactor timeout does: route the turn to secure capture or a person, not straight to the model.
- Test recall with canaries. Synthetic callers say known fake card numbers, names and addresses; CI then searches every store you control for those strings. One test set per language.
- Keep payment and ID numbers out of speech. Use keypad entry or a secure capture step instead of trusting the redactor.
- Keep any unredacted copy in one restricted store with its own TTL. Amazon notes that with only a redacted transcript, “your media is the only place where the complete conversation is stored.”
Redaction placement and retention are part of how we scope voice AI agent development.
What does zero data retention actually cover, vendor class by vendor class?
Zero data retention means one vendor does not store your prompts and outputs at rest after it responds, under an arrangement you must request or qualify for. In Anthropic’s wording, under Legacy ZDR it “does not store customer prompts or responses at rest after the API response is returned.”
| Class | Examples and how you get it | What is still kept | What breaks it |
|---|---|---|---|
| LLM API | OpenAI: ZDR or Modified Abuse Monitoring, “subject to prior approval”. Anthropic: enabled per organisation by your account team | OpenAI: by default, abuse-monitoring logs “retained for up to 30 days, unless longer retention is required by law” or to prevent harm; approved customers can have content excluded. Anthropic: data where required by law, and flagged sessions “for up to 2 years” | OpenAI: stateful endpoints (conversations, assistants, threads, agents) keep state until deleted; background mode stores responses “for roughly 10 minutes”. Anthropic: Batch (29-day retention), Files API and MCP connector are not eligible; some newer models require 30-day retention |
| Speech-to-text | Deepgram: mip_opt_out=true per request; data then “is retained only for the duration necessary to process the request”. Google Cloud STT: by default “does not log customer audio data or transcripts” | Deepgram: requests without the flag are not excluded from its Model Improvement Program. Google: audio and transcripts only if you opt into data logging | Missing the flag on one code path |
| TTS, voice and realtime | ElevenLabs Zero Retention Mode, offered to some enterprise customers: “most data in requests and responses are immediately deleted”; covers STT and TTS endpoints; for ElevenAgents, set per agent. OpenAI: /v1/realtime and /v1/audio/speech are ZDR-eligible; the 30 days in its table is the default, not the ZDR case | ElevenLabs Usage Analytics “still records that a request was made” | ElevenLabs: API traffic only, not UI; no MCP. OpenAI: /v1/audio/voices is not eligible |
| Telephony and recording | Twilio: you control recording, pausing and deletion | “Recordings metadata are kept after deletion for a retention period of 40 days” | Recording before consent; card digits in recordings, which “aren’t Payment Card Industry (PCI) compliant by default” (Twilio offers a PCI Mode) |
| Cloud model hosts | Azure OpenAI: approved modified abuse monitoring stops “human eyes-on review”. Google Cloud: a ZDR page for Gemini | Google “may log prompts to detect potential abuse”; Gemini models “cache Customer Data” by default | Azure: unavailable for models released on or after 1 November 2026, from a date to be announced, with at least 30 days’ notice. Google: caching on by default |
ZDR is not a BAA. Anthropic’s page says HIPAA readiness applies broader safeguards than ZDR “rather than requiring immediate deletion.” HHS’s cloud guidance adds that a cloud provider that processes or stores ePHI for a covered entity is a business associate, “even if the CSP processes or stores only encrypted ePHI and lacks an encryption key for the data.” In our reading, deleting after processing is still processing, so the agreement question stands. “No training” is a third, separate promise.
ZDR at the model vendor is moot if your tracing SDK logs the transcript. No vendor setting reaches your own observability, which in our view often holds as much call text as the vendors do.
Terms move with models. Pin model versions and re-confirm terms in writing on every model or feature change.
How should the call open, and when do you ask for consent?

In this order, in the first seconds: say it is an AI, say what happens to the audio and transcript, ask for consent where you need it, then branch on the answer. Log the sequence as one event.
In the EU, AI Act Art. 50(1), which has applied since 2 August 2026, requires systems that interact with people to be designed so that “the natural persons concerned are informed that they are interacting with an AI system, unless this is obvious from the point of view of a natural person who is reasonably well-informed, observant and circumspect.”
Which disclosure rules apply to which call, in the EU and the US, is covered in our voice AI disclosure guide.
A script skeleton (not legal wording; counsel writes the final lines):
“Hi, you’ve reached [Company]. I’m an automated assistant, not a person.” “We record and transcribe this call to [purpose] and keep it for [period]. Is that OK with you?”
Design points:
- Decide what “no” means in advance: continue unrecorded, or hand to a person. Whether STT and the model may still process an unrecorded call is for counsel to settle.
- Transfers and conferences add a party. Re-announce when anyone joins.
- Pause for card digits. Twilio: “An active Call or Conference Recording can be paused and resumed”, with silence replacing the audio by default. That stops the recording, not the audio reaching STT, so keypad entry is better.
- Don’t let barge-in skip the notice. If the caller talks over it, finish or repeat it before recording starts.
- Default to the strictest rule you might reach when the caller and your business are in different states.
- Log the event: timestamp, script version, jurisdiction applied, outcome.
For clinician-patient visits the consent model differs; see our telehealth recording guide.
Do you need consent to record a voice-agent call?
It depends on where the people on the call are, and the safe default is to ask. US federal law needs one party’s consent, some states need everyone’s, and the GDPR needs a lawful basis and notice at collection.
| Jurisdiction | What the text says | Our reading for a voice agent |
|---|---|---|
| US federal, 18 U.S.C. §2511(2)(d) | Not unlawful where a person “is a party to the communication or where one of the parties to the communication has given prior consent”, unless for a criminal or tortious purpose | The floor, not the answer, once state law applies |
| California Penal Code §632 | Prohibits recording “without the consent of all parties to a confidential communication”; a “person” includes a “corporation, limited liability company, or other legal entity” | A business recording a caller who expects privacy needs everyone’s consent |
| Washington RCW 9.73.030 | Unlawful to record a private communication “without first obtaining the consent of all the participants in the communication” | Ask everyone |
| Florida §934.03 | Lawful “when all of the parties to the communication have given prior consent to such interception” | Ask everyone |
| GDPR | A lawful basis under Art. 6; information “at the time when personal data are obtained” (Art. 13(1)), including “the period for which the personal data will be stored” (Art. 13(2)(a)); storage limitation (Art. 5(1)(e)) | Consent is one lawful basis, not the only one; notice is needed either way |
| HIPAA | The HIPAA Privacy and Security Rules (45 CFR Part 164) contain no rule on consent to record a call; we searched the current eCFR text (up to date as of 2 December 2026) for “consent to record”, “audio” and “wiretap” | Consent comes from wiretap and state law; spoken health information is still health information, “whether oral or recorded” (45 CFR 160.103) |
The three states are examples, not an exhaustive list, and state law changes. For Germany, see our healthcare voice AI guide.
This table is an engineering reading; your counsel decides which row applies.
What should you keep, and for how long?
Keep the structured outcome and a redacted transcript. Drop the audio unless you can name a purpose, a consent and an owner for it.
| Object | Default stance (our view) | Who sets the clock |
|---|---|---|
| Raw audio | Don’t keep | Product and legal, per purpose |
| Unredacted final transcript | Short TTL, one restricted store | Legal |
| Redacted transcript | Keep for the stated purpose | Product and legal |
| Structured result | Keep; it is the business record | Business owner |
| Consent record | At least as long as the recording | Legal |
| Eval and fine-tune copies | Synthetic or redacted only | Engineering |
| Vendor-side copies | Zero or minimum, in writing | Vendor management |
Eval sets and “temporary” debug copies are, in our view, where call data most often outlives its purpose. When an erasure obligation applies, GDPR Art. 17(1) says “without undue delay”; in our reading that has to reach vendor copies, backups, traces and caches. If you keep a structured record per call, a vCon is one way to carry redaction history and consent evidence with it.
What have we built that this rests on, and what have we not?
We have built a live healthcare speech pipeline where no audio, text or translation content persists beyond the session, and an on-premises speech-to-text system where no audio leaves the client’s network.
- Zero persistence in a live speech pipeline. For Cloudbreak, a healthcare video translation platform, we put speech recognition, translation and speech synthesis inside the live video call. For the pipeline we built, the case page reads: “Designed entire pipeline for HIPAA/GDPR — zero data persistence, encrypted memory processing, zeroed buffers”, with “audit logging recording translation events without content for compliance traceability”. It is a translation pipeline, not a voice agent.
- Taking the external STT vendor out of the chain. For a media company, our real-time speech-to-text system was “Deployed as an on-premises production system with GPU-accelerated inference and no audio sent to external services”.
- Disclosure and consent in a live voice agent. Our voice screening agent for a staffing company identifies itself as an AI assistant, and the system handles opt-outs, consent recording and an audit trail.
What we have not done: we have not published a case study of a PII-redaction layer or a zero-data-retention vendor configuration for a voice agent. The redaction and retention design here is our engineering view, built on the parts above and on vendor documentation. For a client, that means the first step is mapping your data flows and sinks with you, before anyone picks a redactor.
What should you decide before launch?
| Decision | Owner | Settle by |
|---|---|---|
| Redaction placement for each sink | Engineering | Architecture review |
| Recall test set and canaries in CI | Engineering | Before the first real caller |
| ZDR or retention status per vendor and endpoint, in writing | Vendor management | Contract signature; again on every model change |
| Opening script and consent-log schema | Product and legal | Before the first call |
| Strictest-jurisdiction default | Legal | Before each new market |
| Erasure reaching vendor copies, backups and traces | Engineering, vendor management | Before launch |
FAQ
Do I have to redact PII before sending a transcript to an LLM? None of the rules cited here says so in those words. It is a minimisation control, in line with GDPR’s principle that data be “limited to what is necessary” (Art. 5(1)(c)). In regulated settings, your agreements and risk analysis decide whether unredacted text may reach the model.
Can I use a speech-to-speech model with sensitive data? Only if the vendor’s retention and agreement terms cover the audio modality and you accept having no text stage to redact before the model. Otherwise use a cascaded pipeline, or capture sensitive fields by keypad.
Does redacting a transcript make it anonymous? No. Missed entities and context can still identify a caller, and tokenised data stays personal data while you hold the key.
Building a voice agent for regulated or EU callers? Book a free 30-minute call. Bring your engineer or your vendor list, and the countries your callers are in; we’ll map the data flows, redaction points and consent opening with you. No deck, no pitch. Book the call, or see how we approach voice AI agent development.