evrexec executes only once, you would have to do a loop or something else to continue
execution. It allows to set the interval to wait before executing the route block.
With rtimer, you can use a test on a $var(...), which is initialized to 0, the set it to 1
with the first execution. At the top of the route you should do if $var(...) != 0 then
return.
I also pushed a patch to async module to detect when faked msg is tried to be used and
return error. I will look at other parts of code that are similar and try to enforce it
there as well.
I am going to close this one here, the error is not in tm anyhow. We can discuss more on
mailing list if you have a specific use case and you don't know if it is possible to
do/how to do.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1727#issuecomment-439912920