faint-gold-41196
10/29/2025, 9:28 AMtall-airline-16756
10/29/2025, 9:28 AMtall-airline-16756
10/29/2025, 9:29 AM.env file for LiveKit, here’s a simple guide with the variables you’ll need to include:
# Twilio API Keys
TWILIO_PHONE_NUMBER=<your-twilio-phone-number>
TWILIO_ACCOUNT_SID=<your-twilio-account-sid>
TWILIO_AUTH_TOKEN=<your-twilio-auth-token>
# Twilio SIP trunk credentials
TWILIO_SIP_USERNAME=<your-twilio-sip-username>
TWILIO_SIP_PASSWORD=<your-twilio-sip-password>
These variables are essential for SIP trunk configuration and other Twilio features. Don’t forget to also add your LiveKit-specific keys like LIVEKIT_API_KEY, LIVEKIT_API_SECRET, and LIVEKIT_URL in the same file to keep everything running smoothly.
If you’re working on migrating to Twilio Video, there’s a slight tweak: you’ll want to use TWILIO_API_KEY and TWILIO_API_SECRET instead of TWILIO_AUTH_TOKEN. Feel free to reach out if you’d like me to walk you through those details!
Sources: src/setup-livekit.ts | packages/sip--um-actually/src/setup-livekit.ts | server/index.js