Phone agents
For engineers
Connecting voice agents to phone lines, recording consent and AI disclosure, robocall and AI-voice rules, caller verification, and handing over to humans
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A Twilio Media Streams WebSocket sends your server audio from a phone call. In which format does it arrive?
Check yourself · 2 of 5
Your phone agent serves callers in many US states and cannot tell where each caller is. How should recording consent be handled?
Check yourself · 3 of 5
Under the FCC's 2024 ruling, how does a US call made with an AI-generated voice count under the TCPA?
Check yourself · 4 of 5
Why is caller ID alone not a safe way to identify a customer on a phone line?
Check yourself · 5 of 5
What is the main difference between a warm and a cold transfer?
Topics
- Connecting voice agents to phone networks4 min read · SIP trunks and phone numbers, Twilio Media Streams and ConversationRelay, LiveKit telephony, 8 kHz phone audio, keypad input and call transfer
- Recording consent and AI disclosure on calls4 min read · One-party vs all-party consent, announcing recording and that the caller is talking to an AI, storing and deleting recordings and transcripts
- Robocall, telemarketing and AI-voice regulations4 min read · The US TCPA and the 2024 FCC ruling that AI-generated voices count as artificial voices, do-not-call lists, calling hours, EU AI Act transparency duties and sector rules
- Caller verification, spoofing and abuse4 min read · Spoofed caller ID, cloned voices defeating voice biometrics, callers talking the agent into unsafe actions, and limiting what a phone agent may do before verification
- Warm transfer and escalation to human staff4 min read · Escalation triggers such as explicit requests, repeated misunderstanding, distress or high-risk topics, warm transfer with a summary, and after-hours fallbacks
Start here
- Media Streams (Twilio Voice docs) (opens in a new tab)DocsFree
How a live call's audio reaches your server over a WebSocket, including the mu-law 8 kHz format.
- ConversationRelay (Twilio docs) (opens in a new tab)DocsFree
A managed layer that handles speech-to-text and text-to-speech so your server exchanges text.
- LiveKit telephony documentation (opens in a new tab)DocsFree
SIP trunks, phone numbers and dispatching inbound calls to a voice agent.
Scenarios
Helps to know first
110 questions · last verified 2026-12