dialplan_update_rule
Update a dialplan rule by ID. Modify match expression, replacement expression, priority, timerec, or other attributes to adjust SIP routing. Optionally reload the dialplan after modifications.
Instructions
Update a dialplan rule by id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "dialplan_update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| dpid | No | ||
| match_op | No | ||
| match_exp | No | ||
| subst_exp | No | ||
| repl_exp | No | ||
| pr | No | ||
| match_flags | No | ||
| timerec | No | ||
| disabled | No | ||
| attrs | No | ||
| reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||