Connect to the Phone Network
Give your agent a real phone number
Give your dental receptionist a real phone number. Patients call from any phone, and your agent answers. SIP trunking, dispatch rules, DTMF, recording consent, and outbound calls.
What You Build
The dental receptionist with SIP telephony. Patients call from any phone, and your agent handles the call with recording consent, DTMF input, and HD voice.
Prerequisites
- →Course 1.1
How telephony works in LiveKit
25mSIP protocol deep dive, how phone callers become room participants, the telephony architecture, and how to debug SIP issues with pcaps and Wireshark.
Buy a number & configure inbound trunk
15mAcquire a phone number and configure an inbound SIP trunk with your provider.
Dispatch rules: routing calls to agents
15mRoute incoming calls to the right agent using dispatch rules and room naming conventions.
Recording consent with AgentTask
20mBuild a CollectConsent task that handles recording consent before the main agent takes over.
DTMF & keypad input
15mHandle DTMF tones for keypad-based input using the GetDtmfTask prebuilt task.
HD voice & secure trunking
10mConfigure HD voice with Opus, secure your trunks with TLS/SRTP, and pin to regions.
Making outbound calls
15mConfigure an outbound trunk and make calls programmatically with CreateSIPParticipant.
Test from your phone
10mCall your agent from your actual phone, verify the experience, and review in Cloud Insights.
What You Walk Away With
A phone-connected voice agent with inbound/outbound calling, recording consent workflows, DTMF handling, HD voice, and a deep understanding of LiveKit's telephony architecture.