[sr-dev] [kamailio/kamailio] Kami Lua retrieving variable in configuration file (#2822)
Arsen Semenov
notifications at github.com
Thu Aug 12 06:55:44 CEST 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210811/0b9daa60/attachment.htm>
More information about the sr-dev
mailing list