Sweden · Telecom security · 2025
TelefonID
Real-time fraud detection for phone calls
A proof of concept for catching phone scams while the call is still going. One set of services streams the call audio from Twilio and transcribes it live with Deepgram. A second service sends the running transcript to GPT-4 and, on a fraud verdict, plays a warning and ends the call.
My role
I designed the architecture and built the proof of concept on my own: the streaming and transcription services in Node.js and the fraud-check service in .NET.
What it does
- Twilio media streams deliver both sides of a live call over WebSockets
- Audio is converted and transcribed in real time with Deepgram
- Services talk through Redis Pub/Sub; recordings go to Azure Blob, transcripts to MongoDB
- GPT-4 checks the running transcript for fraud every 20 seconds
- On a fraud verdict the call gets a spoken warning and is disconnected
- Platforms
- AIBackend
- Stack
- Node.jsTypeScriptTwilioDeepgramOpenAIRedis Pub/SubAzureMongoDB
- Type
- Client project · Solo build

