problem scenario is:
need to clear htable cache dynamically (using an event-route + nsq message)
but `sht_rm_name_re` and `sht_rm_value_re` do not support variables as parameters.
solution in patch:
allow variables by adding a 2nd parameter to each function
if called with one parameter like `sht_rm_value_re("ha=>.*");`
traditional behavior is executed.
if passing a 2nd parameter like
`sht_rm_value_re("$var(htable)", ".*$var(match)"); `
new behavior is executed which allows variables.
I hope that makes sense.
--
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/pull/1121#issuecomment-301454269