I am not sure if they are executed at shut down, it was one of the purposes for fixup-free function, cleaning up at shut down, but this one was not pursued and it is rather tricky because it can be done mainly only for the main process, which is not doing anything at runtime. Also, it can slow the restarts ...

Anyhow, one place where they should be used is when using the modf(...) from KEMI, which should be avoided. Another one, which would be the most important, iirc, is when having expressions in the parameters of config functions, like:

func1($var(x) + $var(y));

instead of:

func1("$var(x)$var(y)");

Anyhow, you should test to validate the above, I was not the one developing the config interpreter when they were added.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3814/2071859533@github.com>