cfg_migrate_plan
Analyze an OpenSIPS configuration file and report all changes, automatic rewrites, and manual steps required to migrate from one version to another, without altering the config.
Instructions
Report what a version migration would do, without rewriting the config.
Terraform-plan equivalent. Returns the ordered list of hops, every
automatic rewrite, and every manual step / silent-gotcha warning.
Parameters
config_content:
The current OpenSIPS configuration text.
from_version:
Current OpenSIPS version (e.g. 3.4).
to_version:
Target OpenSIPS version (e.g. 3.6).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| from_version | Yes | ||
| to_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||