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
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to