cuddly-cartoon-47334
03/27/2025, 6:34 AMtall-airline-16756
03/27/2025, 6:34 AMtall-airline-16756
03/27/2025, 6:34 AMcuddly-cartoon-47334
03/27/2025, 6:35 AMtall-airline-16756
03/27/2025, 6:35 AM{
"metadata": "{\"is_internal\": true}",
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call-"
}
}
}
The metadata field can store arbitrary data (typically in JSON format) for your application, and it will be applied to all participants created by the dispatch rule. Additionally, you can configure other properties for incoming calls, such as SIP headers, participant attributes, and session properties, through the trunk configuration.
If you need unique metadata for every call, you may need to dynamically adjust the dispatch rule or use a mechanism to differentiate calls based on their metadata requirements.
Sources: SIP dispatch rule | LiveKit Docs | SIP inbound trunk | LiveKit Docs | SIP APIs | LiveKit Docscuddly-cartoon-47334
03/27/2025, 6:36 AMtall-airline-16756
03/27/2025, 6:36 AM{
"metadata": "{\"is_internal\": true}",
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call-"
}
}
}
1. Configuring Metadata in the Trunk: You can also set initial metadata when creating an inbound trunk. For example:
{
"trunk": {
"name": "My inbound trunk",
"metadata": "your-metadata-here",
"numbers": [
"+15105550100"
]
}
}
Using these methods, you can pass specific metadata for each inbound call. If you need further assistance, feel free to ask!
Sources: SIP participant | LiveKit Docs | SIP dispatch rule | LiveKit Docs | SIP APIs | LiveKit Docscuddly-cartoon-47334
03/27/2025, 6:37 AMtall-airline-16756
03/27/2025, 6:37 AMcuddly-cartoon-47334
03/27/2025, 6:38 AMcuddly-cartoon-47334
03/27/2025, 6:38 AM