for dispatch rule , how to get caller callee attri...
# ask-ai
v
for dispatch rule , how to get caller callee attributes?
g
To get caller and callee attributes in a dispatch rule, you can use SIP participant attributes. According to the LiveKit SIP participant documentation, SIP participants have attributes such as
sip.phoneNumber
for the caller's number and
sip.trunkPhoneNumber
for the callee's number. These attributes are automatically populated when a call is routed through a SIP trunk. If you need to add custom attributes, you can do so by setting them in the dispatch rule. As per the SIP dispatch rule documentation, you can define custom attributes in the dispatch rule configuration, which will be inherited by all SIP participants created by that rule. Would you like more details on how to configure these attributes or examples of their usage? Sources: - LiveKit SIP participant documentation - SIP dispatch rule documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.