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