Daniel-Constantin Mierla writes:
I will check it, but in general the kemi function is executed by the native kamailio.cfg function, after it evaluates its parameters with kamailio pseudo-variables. It is nothing specific for the kemi function than just needing the string/int values of the parameters.
For example in 5.0, the test was in correct order:
https://github.com/kamailio/kamailio/blob/5.0/src/modules/lcr/lcr_mod.c
I don't know what has happened since then.
-- Juha