microscopic-dress-75199
09/25/2025, 2:52 PMtall-airline-16756
09/25/2025, 2:52 PMtall-airline-16756
09/25/2025, 2:53 PMtall-airline-16756
09/25/2025, 2:54 PMallowed_numbers field in your trunk configuration. This way, only calls coming from the numbers you specify will be accepted, keeping things nice and secure for you.
Here’s a simple example of how you can update your trunk configuration:
{
"trunk": {
"allowed_addresses": [
"40.69.125.114/32"
],
"auth_password": "dummmy_password",
"auth_username": "dummy_username",
"name": "Cloud metric trunk",
"numbers": [
"+13438845306",
"+3438845306",
"3438845306"
],
"allowed_numbers": [
"+13438845306"
]
}
}
With this setup, only calls from +13438845306 will get through. If you don’t set the allowed_numbers field, calls from any number will be accepted by default.
Please feel free to reach out if you’d like a hand with applying this configuration or if you have any other questions—I’m here to help!
Sources: SIP inbound trunk | LiveKit Docs | sip/sip.go | SIP APIs | LiveKit Docsmicroscopic-dress-75199
09/25/2025, 2:57 PMtall-airline-16756
09/25/2025, 2:57 PMmicroscopic-dress-75199
09/25/2025, 2:58 PMtall-airline-16756
09/25/2025, 2:59 PM{
"rule": {
"dispatchRuleDirect": {
"roomName": "private-room"
}
},
"inbound_numbers": [
"+15105550100"
],
"name": "Private Room Rule"
}
This way, only calls to +15105550100 will be directed to that room, and any calls to other numbers won’t match the rule and will be declined.
If you'd like, I’m here to help you set up these dispatch rules step-by-step. Just let me know!
Sources: livekit/livekit_sip.pb.go | SIP dispatch rule | LiveKit Docsmicroscopic-dress-75199
09/25/2025, 3:00 PMtall-airline-16756
09/25/2025, 3:00 PMnumbers field in your trunk's configuration.
To make sure everything works smoothly, please double-check that your inbound trunk is set up with the exact numbers it should accept calls for. Here’s an example to guide you:
{
"trunk": {
"numbers": [
"+15105550100"
]
}
}
If you’ve confirmed the trunk is configured correctly but calls to other numbers are still coming through, there might be something off in the trunk setup. Please feel free to reach out—I’m here to help you review or update your configuration whenever you need.
Sources: livekit/livekit_sip.pb.go | SIP APIs | LiveKit Docs