cfg_add_module
Add a module with optional parameters to an existing OpenSIPS configuration by inserting loadmodule and modparam directives after the last module block.
Instructions
Add a module (with optional modparams) to an existing OpenSIPS configuration.
Inserts the loadmodule directive and any modparam lines after the
last existing loadmodule or modparam block.
Parameters
config_content:
The existing OpenSIPS configuration text.
module_name:
The module to add (e.g. dispatcher, rtpengine).
params:
Optional dict of {param_name: value} to set via modparam.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_content | Yes | ||
| module_name | Yes | ||
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||