By Sagar Shankaran, Founder of CallSphere
Voice transcripts leak SSNs, DOBs, and card numbers. See why automatic PII redaction matters and how CallSphere bakes it in vs. Vapi DIY pipelines.
Key takeaways
Voice transcripts are PII-dense by nature. Patients spell out date of birth, callers read credit card numbers, employees mention SSNs. Automatic PII redaction in call logs is the difference between a defensible analytics pipeline and a data-leak waiting to happen. CallSphere ships redaction logic at the analytics layer — sentiment, lead scoring, and topic extraction run on cleaned transcripts, not raw PII. Vapi.ai is voice infrastructure; redaction is the customer's problem to design, build, deploy, and maintain. This post walks through the redaction pipeline (transcript → entity recognition → masking → storage), shows where each platform fits in, and gives you a procurement checklist.
A naive voice AI deployment stores every transcript verbatim:
"Hi, this is Maria Gonzalez, my date of birth is March 4, 1983, and my Medicare number is 1AB2-CD3-EF45."
That single sentence carries: full name, DOB, government ID. Under HIPAA, GDPR, CCPA, PCI-DSS (if a card number lands in the recording), the storage, processing, and analytics on that string each create separate compliance obligations. Worse, transcripts are often piped into:
Without automatic redaction at ingest, every downstream system inherits the PII footprint of the rawest layer.
A production-grade redaction pipeline performs four steps on every transcript turn:
[NAME], [DOB]) or reversible tokens (<<TKN_3a8f>>).Optional but valuable: encryption tokenization so authorized roles (e.g., HIPAA-trained nurses) can re-identify spans on demand, while analysts only see masked text.
Vapi is voice infrastructure — STT in, LLM tools, TTS out. There is no built-in PII redaction layer. To meet enterprise privacy requirements, the customer must:
This is not impossible — but it is 4-8 weeks of engineering work, plus ongoing maintenance, plus a security review. And every gap in the redaction logic is a potential breach.
CallSphere's healthcare and sales verticals run analytics on cleaned, redacted snapshots stored in call_log_analytics. The architecture splits raw and redacted data:
call_logs — short-retention, encrypted, role-gated.call_log_analytics — long-retention, sentiment / lead score / intent extracted from redacted transcripts.agent_interactions — per-turn record with PII spans masked.Only HIPAA-trained / RBAC-elevated users can replay raw audio or view raw transcripts via the call log viewer. Standard analytics dashboards see masked text only, satisfying minimum-necessary principles.
graph LR
CALL[Inbound Call] --> STT[Speech-to-Text]
STT --> RAW[Raw Transcript]
RAW --> NER[Entity Recognition]
NER --> MASK[Masking + Tokenization]
MASK --> RED[Redacted Transcript]
RED --> ANL[call_log_analytics]
RED --> DASH[Dashboards / Reports]
RAW -. short retention.-> Q[Encrypted Quarantine]
Q -. role-gated.-> AUDIT[Auditor / RBAC View]
ANL --> EXPORT[BI / Snowflake Export]
The key insight: analytics, dashboards, and exports never see raw PII. Raw data is quarantined under stricter access controls and a shorter lifetime.
Hear it before you finish reading
Talk to a live CallSphere AI voice agent in your browser — 60 seconds, no signup.
| Capability | Vapi (DIY) | CallSphere |
|---|---|---|
| PII redaction at ingest | Build yourself | Built-in |
| Entity recognition library | Choose and integrate | Curated, healthcare-tuned |
| Tokenization vault | Build yourself | Built-in |
| Quarantine retention rules | Build yourself | Configurable defaults |
| Role-gated raw access | Build yourself | RBAC-enforced |
| Healthcare-specific entities (MRN, NPI, ICD-10) | Build yourself | Pre-loaded |
| Time to compliance-ready redaction | 4-8+ weeks | Day 1 |
Generic NER libraries miss healthcare nuance. CallSphere's healthcare vertical includes patterns for:
The spoken-form recognition is critical. Off-the-shelf regex-based redaction misses "march fourth nineteen eighty three" because there are no digits. CallSphere's tuned pipeline uses contextual cues to catch it.
A large ophthalmology group running a Vapi-based intake bot in mid-2025 discovered during a CSAT pilot that their analytics warehouse held 47,000 transcripts with unredacted DOBs and partial SSNs. The data had been broadly accessible to BI analysts for 11 months. The remediation:
Total cost (engineering + legal + remediation): ~$180K. CallSphere's built-in pattern would have prevented the leak from day one.
PII redaction should not be a quarterly project. Book a CallSphere demo to see the redaction pipeline in action, or visit the healthcare industry page for vertical-specific examples.
For healthcare entities, CallSphere targets less than 0.5% miss rate on a curated benchmark. Continuous evaluation runs against new transcript samples weekly.
Yes. CallSphere's pipeline is pluggable — you can add a custom Presidio recognizer or a regex pack via configuration. The default pack is healthcare-tuned but extensible.
By default, redacted text is masked irreversibly. For workflows requiring re-identification (e.g., a nurse following up with a flagged patient), tokenization with a controlled vault is available under a stricter RBAC role.
Recordings are encrypted at rest and access-gated by RBAC. CallSphere does not currently auto-bleep audio, but raw audio access is logged and time-bounded.
Vapi tools intercept LLM tool calls. They do not see free-text transcripts before the LLM. So tool-level redaction misses the bulk of PII that is spoken in conversation, not in tool arguments.
Out-of-the-box entity coverage in CallSphere:
| Entity Type | Healthcare | Sales | Salon | After-Hours | IT |
|---|---|---|---|---|---|
| Person name | Mask | Tokenize | Tokenize | Mask | Tokenize |
| Phone | Mask last-4 visible | Mask | Mask | Mask | Mask |
| Mask | Mask | Mask | Mask | Mask | |
| SSN / National ID | Full mask | Full mask | Full mask | Full mask | Full mask |
| DOB | Mask year-only | n/a | n/a | n/a | n/a |
| MRN | Full mask | n/a | n/a | n/a | n/a |
| NPI | Visible (provider directory) | n/a | n/a | n/a | n/a |
| Insurance ID | Full mask | n/a | n/a | n/a | n/a |
| Credit card | Full mask | Full mask | Full mask | Full mask | Full mask |
| Bank account | Full mask | Full mask | Full mask | Full mask | Full mask |
| IP address | Mask last octet | Mask last octet | n/a | n/a | Mask last octet |
| Address | Mask street, keep city | Mask | Mask | Mask | Mask |
| Date / time | Visible (operational) | Visible | Visible | Visible | Visible |
| ICD-10 / CPT codes | Visible (clinical) | n/a | n/a | n/a | n/a |
The default policy is conservative — too many false positives is better than too few. Customers can tune per-tenant.
CallSphere supports both modes:
[NAME] placeholder, original value not retrievable<<TKN_3a8f>> token, mapping in a vault accessible only to elevated RBAC rolesReversible tokens enable analytics joins (e.g., "all calls from the same caller in the last 30 days") without exposing raw PII to analysts. The vault is encrypted with a separate KMS key and access is audit-logged.
Off-the-shelf regex misses spoken-form PII. CallSphere's tuned patterns catch:
The detection layer uses a combination of LLM prompt engineering and post-processing rules to achieve high recall on spoken forms.
PII redaction adds ~50-150ms to the analytics pipeline (post-call), not to the live voice response. The live voice path is unaffected — the agent speaks normally and redaction happens after the call ends. Customers who need real-time redaction (e.g., for live transcript display to non-cleared staff) can enable a streaming redaction layer at additional cost.
Still reading? Stop comparing — try CallSphere live.
CallSphere ships complete AI voice agents per industry — 14 tools for healthcare, 10 agents for real estate, 4 specialists for salons. See how it actually handles a call before you book a demo.
PII redaction maps to:
A defensible redaction posture is a single argument that satisfies all five regimes simultaneously.
Each redaction event is logged with:
Logs are retained per the audit_logs retention policy and are exportable for OCR / regulator review.
There are two modes of redaction:
Post-call (default): The full transcript is captured raw, then immediately redacted before any analytics or downstream system sees it. Raw transcripts live in a quarantine bucket with short TTL and elevated RBAC. This mode has the lowest latency impact (none on the live call) and the highest detection quality (full call context available).
Streaming: Each utterance is redacted as it is finalized by STT, with a small added latency. This mode is needed when live transcript display is exposed to non-cleared staff (e.g., a manager monitoring a call from a wallboard). Detection quality is slightly lower because cross-utterance context is limited.
CallSphere supports both modes; most customers use post-call redaction for storage and streaming redaction only where live display requires it.
For reversible tokenization, CallSphere maintains a per-tenant tokenization vault:
This architecture lets analysts join "all calls from caller X" without seeing X's actual phone number, while authorized roles can re-identify when business needs require.
CallSphere uses a hybrid approach:
The hybrid approach gives high recall (few misses) without sacrificing precision (few false positives clobbering useful text).
Enterprise customers can add custom recognizers:
Recognizers are configured via YAML or a Python plugin. The redaction pipeline picks them up automatically and applies them per-tenant.
False positives (e.g., a regular word incorrectly redacted) are handled with:
False negatives (missed PII) are higher-stakes and are handled with:
Redacted transcripts are published to downstream systems via webhooks. Each downstream system declares its required PII level:
This declarative approach means each system gets the minimum data it needs, satisfying minimum necessary principles.

Written by
Sagar Shankaran· Founder, CallSphere
LinkedInSagar Shankaran is the founder of CallSphere, where he builds production AI voice and chat agents deployed across healthcare, hospitality, real estate, and home services. He writes about agentic AI, LLM engineering, and shipping voice agents that handle real calls in production.
See how AI voice agents work for your industry. Live demo available -- no signup required.
CallSphere ships multi-tenant practices natively. Deploying 50 clinics on Vapi means 50 manual setups or building a multi-tenant layer. The cost breakdown.
Tenants, leases, rent ledger, maintenance — all built into CallSphere Real Estate. On Vapi, build it yourself. Full tenant lifecycle breakdown.
CallSphere's Mortgage Calculator agent runs affordability, repayment, and live bank rate scenarios. Vapi has no built-in financial agent. Here is the path.
CallSphere's Suburb Intelligence agent fuses schools, demographics, commute, and forecasts in real time. On Vapi, you build all of it. The data engineering breakdown.
How long should you keep call recordings? CallSphere ships per-vertical retention defaults; Vapi customers DIY. Compare lifecycle and erasure flows.
A caller texts a property photo mid-call. CallSphere analyzes it and integrates the answer into the voice flow. Vapi has no native vision. Here is how it works.
© 2026 CallSphere Inc. All rights reserved.
Made within San Francisco
Watch how CallSphere handles real customer calls, schedules appointments, and processes payments — live.
Try Live DemoBook a DemoCalculate Your ROI