I would like to create direct dispatch rule with a...
# ask-ai
g
I would like to create direct dispatch rule with a dynamic rulename (that include sip metadata)
t
Thanks for reaching out, Matthieu. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It sounds like you're looking to create a direct dispatch rule with a dynamic rule name that includes SIP metadata. I'd love to understand your goal a bit better so I can assist you more effectively. For example: • Are you aiming to dynamically name the room where the caller is placed? • Or are you looking to set dynamic participant metadata or attributes? • Maybe you specifically want the dispatch rule's name to be dynamic? Knowing this will really help me guide you in the right direction. Feel free to share more details! Sources: livekit-protocol/src/livekit.rs
g
What I want to achieve: 1. receive twilio phone call 2. create the room myself to include metadata in it, so I control the name of the room. Room naming:
call-${callSid}
3. dispatch SIP participant and agent in this room
call-${callSid}
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
g
Can I grammatically create the room and dispatch sip caller and agent in it?