Mask the transcript between transcription and everything downstream, so keyword rules, AI analysis, search and the people who open a call only ever see the masked text. Do it in two passes: a pattern pass that catches anything written as digits, then a language-model pass for card numbers spoken as words or split across sentences. And remember that the transcript is only half the problem. The audio recording still contains whatever the customer said.
Why card numbers end up in transcripts
Customers read out card numbers, expiry dates and security codes when they pay over the phone, and agents read them back. Once a call is transcribed, those values sit in plain text, where they flow into analytics, exports, search indexes and the screen of anyone who can open the call.
The card-industry standard applies to this. PCI DSS covers cardholder data captured in call recordings, and the PCI Security Standards Council publishes guidance specifically for telephone payments, including ways to make sensitive authentication data unavailable.[1]
Why one pass is not enough
A pattern matcher is fast, predictable and catches any card number the speech-to-text engine wrote as digits. It cannot catch "four five zero six, five five one zero", a number spelled out in words, or a card read across two sentences. A language model can, but on its own it is slower and may miss things a rule would not. The two together cover each other's gaps.
Checksums do not help. Speech-to-text mistranscribes digits often enough that a Luhn check would reject genuine card numbers, so a redaction tool should not depend on one.
How Speechlytics masks a transcript
Protect Sensitive Content runs after transcription and before keyword matching, AI analysis, custom questions or notifications see the call. The first pass is deterministic and runs in-process, and its result is saved immediately. The second pass sends the whole transcript to the language model, which looks for the spoken-word forms. If the model cannot be reached, the call continues with the pattern-masked transcript, so every digit-form value is still masked.
Each category has its own switch: card numbers, security codes, expiry dates, national insurance and social security numbers, IBANs, phone numbers, and bare numbers spoken after a card, which is how a security code said on its own is caught. Masked values keep their shape, so 5412 7512 3412 3426 becomes 54** **** **** **26.
Masking replaces the stored transcript. There is no unmasked copy and no reveal control at any permission level, so switching a category off later does not unmask past calls. Live calls are masked segment by segment before the text reaches the browser, and stored translations are masked too.
What transcript masking does not do
It does not edit the audio. If your recordings are kept, the card details are still in them, and the recording system is still in scope for PCI DSS. Speechlytics masks transcripts, not audio files.
To keep card data out of the audio as well, stop it reaching the recording: pause-and-resume recording during payment, a DTMF masking service where the customer types the card on the keypad, or an IVR payment line. Transcript masking is then the safety net for the times an agent forgets to pause or a customer reads a card out anyway.
A checklist for your call recording setup
- Keep card data out of the audio where you can, with pause-and-resume, DTMF masking or an IVR payment line.
- Mask transcripts before anything else reads them, including analytics, search and exports.
- Make sure there is no unmasked copy of the transcript anywhere, including in backups and translations.
- Restrict who can play recordings, and log who did.
- Set a retention period for recordings and transcripts, and delete on schedule.
- Ask your QSA how transcripts and recordings are treated in your assessment.
Frequently asked questions
Does masking transcripts make us PCI compliant?
No single feature makes an organisation compliant. Masking keeps card data out of transcripts and everything built from them, which narrows what is in scope. Compliance depends on your whole payment process, including how recordings are handled, and is assessed for your organisation, not for a product.
Will it mask order and reference numbers by mistake?
It can, because a long reference number looks like a card. The default masks any digit run of card length, which is the safe choice. If that hides numbers you need, switch card matching to card prefixes only, which masks only runs starting with a real issuer range.
Can masking be undone?
No, by design. The masked text replaces the stored transcript, so a value masked by mistake stays masked. Changing the settings only affects calls processed afterwards.
Does it work on live calls?
Yes. During live transcription each segment is masked before it is shown, and the completed transcript then goes through the same model pass as a recorded call.