steep-balloon-41261
09/18/2025, 1:27 PMtall-airline-16756
09/18/2025, 1:27 PMtall-airline-16756
09/18/2025, 1:28 PMtall-airline-16756
09/18/2025, 1:29 PM.env.local file and add your LiveKit API key, secret, URL, and SIP outbound trunk ID. Here's an example to guide you:
LIVEKIT_API_KEY=your_livekit_api_key
LIVEKIT_API_SECRET=your_livekit_api_secret
LIVEKIT_URL=your_livekit_url
SIP_OUTBOUND_TRUNK_ID=your_sip_outbound_trunk_id
2. Initiate the Call: You have a couple of options to make the call:
◦ LiveKit CLI: Simply run this command:
`lk dispatch create \
--new-room \
--agent-name outbound-caller \
--metadata '+15105550100'`Just swap out +15105550100 with the phone number you want to call, in E.164 format.
◦ Custom Script: Or, if you prefer, you can use a Node.js script to create a SIP participant and start the call programmatically. For example:
npm run start:call <10-digit-us-phone-number>
If you'd like, I’m more than happy to help you set up the SIP trunk or customize how the call behaves. Just let me know!
Sources: Making calls using SIP | LiveKit Docs | README.md | packages/rpc-demo/.env.local | README.mdtall-airline-16756
09/18/2025, 1:32 PM