sparse-photographer-77518
08/25/2025, 8:54 AMtall-airline-16756
08/25/2025, 8:54 AMtall-airline-16756
08/25/2025, 8:55 AMTestSIPOutbound that let you test everything from call setup to audio and DTMF, end-to-end.
• Integration Test Suite: Covers all the important scenarios like joining rooms, handling PIN-protected access, and checking audio quality across different codecs.
• Unit Testing Tools: Great for making sure authentication, session management, and handling multiple calls at once work smoothly.
• SIP Test Client: Simulates SIP clients with features like call simulation, audio generation, and codec testing to give you a realistic testing experience.
• CLI Testing Tool: A command-line tool that helps with end-to-end testing, including multi-server setups and trunk configurations.
• Audio Testing Utilities: Useful for generating signals, verifying audio, and testing codecs thoroughly.
All these tools together cover everything you need for testing SIP functionality, from simple call setups to more complex scenarios. If you'd like, I’m here to walk you through any specific tool or feature you’re curious about!
Sources: pkg/sip/service_test.gosparse-photographer-77518
08/25/2025, 8:56 AMtall-airline-16756
08/25/2025, 8:57 AM{
"trunk": {
"name": "My trunk",
"numbers": [
"+15105550100"
],
"krispEnabled": true
}
}
• Then, run this command: lk sip inbound create inbound-trunk.json
• Create a Dispatch Rule: This tells LiveKit how to route incoming calls to rooms. For example:
{
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call"
}
}
}
• Test It Out: Give a call to the phone number you set up in your SIP trunk. LiveKit will take care of authenticating the call, applying the dispatch rule, and placing the caller into a room.
If you want, I’m here to help with any part of this—just let me know!
Sources: Accepting inbound calls | LiveKit Docs | SIP inbound trunk | LiveKit Docs | Inbound calls with Twilio Voice | LiveKit Docs | test/lktest/sip.gosparse-photographer-77518
08/25/2025, 8:59 AMtall-airline-16756
08/25/2025, 9:00 AMsparse-photographer-77518
08/25/2025, 9:01 AMtall-airline-16756
08/25/2025, 9:02 AMsparse-photographer-77518
08/25/2025, 9:04 AMtall-airline-16756
08/25/2025, 9:06 AMconfig.yaml file with these settings:
◦ Then, run the SIP server like this:
If you want, I’m here to help with any specific step or if you have questions along the way. Just let me know!
Sources: Self-hosted SIP server | LiveKit Docs | test/cloud/integration_test.go | Running LiveKit locally | LiveKit Docs