I haven't really went that deep in the related code, but there are reference counters
behind those values, so they might be released when all processes get to use the new
value, which can be later in time (or never, depending on the type of sip traffic).
Overall, I am not sure if the framework was designed to deal with very often changes,
could be more for adjusting some global/custom/module parameters from time to time to
avoid restarting kamailio.
With the first example in this report, changing very often the ac_extra_hdrs for tm is not
likely, imo.
If you need to use in config a string variable that has to be changed very often via rpc,
use better $shv(x) or $sht(t=>x) .
--
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/2094#issuecomment-539929291