cfg_check_compat
Check an OpenSIPS configuration for incompatibilities with a target version. Identifies missing modules, deprecated parameters, and silent-gotcha defaults to prevent runtime errors.
Instructions
Check a config for incompatibilities with a target OpenSIPS version.
Reports modules that don't exist in the target version, deprecated
parameters, and silent-gotcha defaults. Pairs well with
:func:cfg_migrate_plan — run compat first to learn about removals,
plan next to see the rewrites.
Parameters
config_content: The OpenSIPS configuration text to check. target_version: The version you intend to run this config on.
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": {
"config_content": "<config_content>",
"target_version": "<target_version>"
},
"name": "cfg_check_compat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| target_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||