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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| target_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||