[OpenSIPS-Users] mmgeoip
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jul 10 12:42:39 CEST 2012
Hi,
1) do you get any warnings/errors from mmgeoip at startup / query time ?
2) are you able to get proper response from mmgeoip using CLI ?
3) are you able to retrieve any attribute at all ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 06/29/2012 09:16 PM, k1028 wrote:
> 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>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/mmgeoip-tp7580620.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list