Documentation Index
Fetch the complete documentation index at: https://docs.spn.wtf/llms.txt
Use this file to discover all available pages before exploring further.
What Is SIP?
SIP means Session Initiation Protocol. It is a standard protocol used by phone systems to start, manage, and end voice calls over the internet. In this application, SIP is the bridge between:- The normal telephone network where leads receive calls
- LiveKit rooms where the AI voice agent listens and speaks
What Is A SIP Trunk?
A SIP trunk is a configured connection between a telephony provider and an application. Think of it as the phone line for internet-based calling. This app uses two trunk concepts:| Trunk type | Use |
|---|---|
| Inbound trunk | Receives calls from the phone network into LiveKit |
| Outbound trunk | Places calls from LiveKit to real phone numbers |
Why Vobiz Is Used
Vobiz is the SIP/telephony provider in this project. It supplies:- SIP domain or address
- SIP username
- SIP password
- Caller phone number
- PSTN connectivity for dialing Indian mobile numbers
How The Call Travels
Environment Variables
Creating SIP Config
Run:- A LiveKit inbound trunk named
Ignitech Vobiz Inbound - A LiveKit dispatch rule named
Ignitech Lead Dispatch - A LiveKit outbound trunk named
Ignitech Vobiz Outbound
Listing SIP Config
Manual Test Call
Deleting SIP Config
Important Notes
LIVEKIT_SIP_TRUNK_IDmust be an outbound trunk ID.- Phone numbers must normalize to E.164, such as
+91XXXXXXXXXX. participant_identityuses hyphens:sip-lead-123.VOBIZ_PHONE_NUMBERis used as caller ID when configured.krisp_enabled=Trueis set for noise reduction.play_ringtone=Trueis enabled so ringing behavior feels natural.