doc/
subfolder, the README file is autogenerated)allows the use definitions as pseudo-variables
#!trydef XIP "$HN(i)"
#!substdef "!MY_IP_ADDRESS!$def(XIP)!g"
#!substdef "!MY_HOSTNAME!$HN(f)!g"
#!trydef REGISTRAR_MIN_EXPIRES 300
loadmodule "registrar.so"
modparam("registrar", "min_expires", REGISTRAR_MIN_EXPIRES)
route[SOMETHING]
{
xlog("L_INFO", "configured value of registrar min-expires is $def(REGISTRAR_MIN_EXPIRES)\n");
xlog("L_INFO", "configured value of host is MY_HOSTNAME\n");
xlog("L_INFO", "configured value of ip is MY_IP_ADDRESS\n");
}
https://github.com/kamailio/kamailio/pull/1814
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.