mmgeoip

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mmgeoip

k1028
I am getting unknown when using mmgeoip. I tried both the citylite version and city version from maxmind. Thank You

version: opensips 1.7.2-notls (x86_64/linux)

if (mmg_lookup("lon:lat:cc:reg","$si","$avp(lat_lon)")) {
                xlog("GEOIP: $(avp(lat_lon)[0]) $(avp(lat_lon)[1]) $(avp(lat_lon)[2]) $(avp(lat_lon)[3]) $(avp(lat_lon)[4]) $avp(lat_lon)");
}

DBG:mmgeoip:mmg_lookup_cmd: 'x.x.x.x'--> 'Unknown'.
GEOIP: <null> <null> <null> <null> <null> <null>