wide-dress-57902
08/17/2025, 1:39 AMtall-airline-16756
08/17/2025, 1:40 AMtall-airline-16756
08/17/2025, 1:40 AMSIPDispatchRuleIndividual
to set up a new room for each caller.
• Specify which agent to dispatch by using the roomConfig.agents
field.
{
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call-"
}
},
"name": "My dispatch rule",
"roomConfig": {
"agents": [
{
"agentName": "inbound-agent",
"metadata": "job dispatch metadata"
}
]
}
}
Here’s what it means:
• `dispatchRuleIndividual`: This creates a brand new room for each caller, so every call stays in its own space.
• `roomPrefix`: Adds a prefix to the room name, like "call-123", to keep things organized.
• `roomConfig.agents`: Picks which agent gets dispatched to the room.
Why this helps:
• Every caller gets their own private room with just one agent.
• This stops multiple agents from ending up in the same room by accident.
If anything’s unclear or you want to dive deeper, just let me know—I’m happy to help!