ancient-umbrella-90337
07/21/2025, 9:20 PMtall-airline-16756
07/21/2025, 9:20 PMtall-airline-16756
07/21/2025, 9:21 PMtrunk_ids field.
Here’s how it works:
• Trunk Association: Dispatch rules can be linked to specific inbound trunks. If a dispatch rule’s trunk_ids field is empty, it acts as a wildcard and matches any trunk.
• Matching Priority: The system first tries to match rules associated with the specific trunk. If none match, it falls back to wildcard rules.
• Rule Types: The type of dispatch rule (Direct, Individual, Callee) determines how calls from the trunk are handled:
◦ Direct Dispatch: Routes callers into an existing room, optionally requiring a PIN.
◦ Individual Dispatch: Creates a new room for each caller.
◦ Callee Dispatch: Creates rooms based on the called number.
This setup allows you to control call handling behavior for different trunks or phone numbers, and to use different dispatch strategies as needed.
Sources: livekit/livekit_sip.pb.go | livekit-protocol/src/livekit.rs | SIP overview | LiveKit Docs