drouting_add_gateway
Adds a new dynamic routing gateway to OpenSIPS with customizable parameters like address, type, strip, prefix, and probe mode. Optionally triggers a dynamic routing reload to apply changes immediately.
Instructions
Add a new dynamic routing gateway. Optionally triggers MI dr_reload.
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": {
"address": "<address>"
},
"name": "drouting_add_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| type | No | ||
| strip | No | ||
| pri_prefix | No | ||
| attrs | No | ||
| probe_mode | No | ||
| state | No | ||
| socket | No | ||
| description | No | ||
| reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||