I have multiple phone numbers registered on Telnyx (e.g.
+12340000001,
+12340000002, etc), each one should route to its own dedicated LiveKit Agent (my-agent-1, my-agent-2, etc). All Telnyx numbers forward to the same SIP URI (the LiveKit SIP gateway). On the LiveKit side, I can create one SIP trunk and register all the numbers there.
How can I route each number to its corresponding agent? Can I use one SIP trunk on the LiveKit side and dispatch based on the number that was dialed? Or do I need to create a separate SIP trunk per number to attach distinct dispatch rules? What’s the recommended dispatch mechanism to achieve per-number agent routing?