[OpenSIPS-Users] Variable in param is not a string

Alexey slackway2me at gmail.com
Sat May 10 10:30:28 UTC 2025


Hi list,
what may be wrong?

------
Logs:

ERROR:core:do_action: Failed to get fixups for command
<set_dlg_profile> in /etc/opensips/opensips.cfg, line 262
ERROR:core:get_cmd_fixups: Variable in param [2] is not a string

ERROR:core:do_action: Failed to get fixups for command
<get_profile_size> in /etc/opensips/opensips.cfg, line 263
ERROR:core:get_cmd_fixups: Variable in param [2] is not a string

------
Config/route:

262                  set_dlg_profile("numbers",$var(fnumber));
263                  get_profile_size("numbers", $var(fnumber), $var(size));

------
Config/module params:

modparam("dialog", "profiles_with_value", "numbers/b;")

------
MI command for test:

voip-astclustergw01 ~ # opensips-cli -x mi profile_get_size numbers
{
    "Profile": {
        "name": "numbers",
        "value": null,
        "count": 241,
        "shared": "no",
        "replicated": "no"
    }
}


-- 
best regards, Alexey
https://alexeyka.zantsev.com/



More information about the Users mailing list