cfg_lint
Validate OpenSIPS configuration files for production pitfalls, checking module dependencies, orphaned parameters, deprecated directives, missing anti-flood and NAT checks, and other common issues.
Instructions
Run the OpenSIPS semantic linter against a configuration.
Checks module dependencies, orphaned modparams, deprecated parameters,
missing mf_process_maxfwd_header, anti-flood absence, NAT/rtpengine
dependency gaps, and other common production pitfalls.
Parameters
config_content:
The OpenSIPS configuration text to lint.
include:
Optional allow-list of rule ids (e.g. ["OPS001", "OPS004"]).
exclude:
Optional deny-list of rule ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| include | No | ||
| exclude | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||