for KEMI there is an option which was recently merged to the master
you can get value of #!defined by using KSR.kx.get_def("VAR")
#!define MYVAR 1234
then in your script you can use
KSR.kx.get_def("MYVAR")
there was a mail thread on this topic in users list
--
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/2822#issuecomment-897348018