average-architect-28889
08/21/2025, 6:04 AMtall-airline-16756
08/21/2025, 6:04 AMtall-airline-16756
08/21/2025, 6:05 AMoutbound-trunk.json. Fill it out like this, swapping in your own SIP provider details:
{
"trunk": {
"name": "My outbound trunk",
"address": "sip.ringover.com",
"numbers": [
"+15105550100"
],
"authUsername": "<your-username>",
"authPassword": "<your-password>"
}
}
2. Create the Trunk Using CLI: Next, run this command:
lk sip outbound create outbound-trunk.json
You’ll get back a SIPTrunkID, which you’ll use to manage your trunk.
3. Optional Tip: If you want to specify caller numbers dynamically when creating a SIP participant, just use "numbers": ["*"] in your config file.
4. Make an Outbound Call: Create a participant.json file like this:
`{
"sip_number": "+15105550100",
"sip_trunk_id": "<your-trunk-id>",
"sip_call_to": "+12135550100",
"room_name": "open-room",
"participant_identity": "sip-test",
"wait_until_answered": true
}`Then run:
lk sip participant create participant.json
If you’re using a different SIP server, just tweak the address, numbers, and authentication fields in your config file to match your provider’s info. Make sure your phone numbers follow the E.164 format, and double-check that your SIP server accepts requests from LiveKit’s IP ranges.
Sources: SIP outbound trunk | LiveKit Docs | Create and configure SIP trunk | LiveKit Docs | Making calls using SIP | LiveKit Docs | Making outbound calls | LiveKit Docs | SIP outbound trunk | LiveKit Docs