[SR-Users] How to use Geoip Module in Kemi
Naveed Ur Rehman
engineer_naveed42 at hotmail.com
Thu Sep 13 10:24:48 CEST 2018
Hi,
I am trying to use geoip2 module in kemi using LUA, The issue is that when i try to access the $gip2(src=>cc) variable using lua, the kamailio instance killed and stops, this is my code snippet, kindly advise anyone how this can be sorted
local sourceIP=KSR.pv.get("$si");
if KSR.geoip2.match("sourceIP","src") then
local x= KSR.pv.get("$gip2(src=>cc)");
end
thanks
Engineer Naveed Ur Rehman
0923415652825
Computer Systems Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180913/f25133c9/attachment.html>
More information about the sr-users
mailing list