colossal-shoe-10928
10/22/2025, 9:37 AMtall-airline-16756
10/22/2025, 9:38 AMtall-airline-16756
10/22/2025, 9:39 AMcolossal-shoe-10928
10/22/2025, 9:54 AMtall-airline-16756
10/22/2025, 9:56 AMsip_inbound_trunk value stored in Redis, and I'd love to guide you through the best way to do this! To keep everything running smoothly and safely, it's really best to use the LiveKit APIs instead of editing Redis directly. This helps protect your data, ensures everything stays compatible with future updates, and keeps things nice and safe.
Here’s a friendly rundown of how you can update the SIP inbound trunk using the API:
• You can use the UpdateSIPInboundTrunk API to replace the entire trunk configuration.
• Or, if you just want to tweak specific parts like authentication credentials or the trunk name, the UpdateSIPInboundTrunkFields API is perfect for that.
If you find yourself needing to modify Redis directly, just a quick heads-up: the sip_inbound_trunk key is stored as a Redis hash, where the trunk ID is the field name and the value is a serialized object. But since this method can risk data corruption and skips important validation, I’d recommend sticking with the API whenever possible.
Please feel free to let me know if you’d like a hand with using the API or setting up the configurations—I’m here to help!
Sources: SIP APIs | LiveKit Docs | SIP inbound trunk | LiveKit Docs | packages/livekit-server-sdk/src/SipClient.ts | livekit-api/livekit/api/sip_service.py | pkg/service/redisstore_sip_test.gocolossal-shoe-10928
10/22/2025, 10:56 AMtall-airline-16756
10/22/2025, 10:57 AM