[OpenSIPS-Users] MMGeoIP

Serge S. Yuriev me at nevian.org
Tue Apr 11 06:23:38 EDT 2017


Hello,

How I can debug mmgeoip module? For any request it's returning Unknown.

OpenSIPS 2.4.0-dev
Params are
modparam("mmgeoip", "mmgeoip_city_db_path", "/usr/share/GeoIP/GeoIP.dat")
modparam("mmgeoip", "cache_type","MEM_CACHE_CHECK")

DB exists and accessible, geoiplookup shows info

root at rositten:/etc/opensips# geoiplookup 62.112.8.216
GeoIP Country Edition: NL, Netherlands
GeoIP City Edition, Rev 1: NL, N/A, N/A, N/A, N/A, 52.382401, 4.899500, 0, 0
GeoIP ASNum Edition: AS49981 WorldStream B.V.
root at rositten:/etc/opensips# geoiplookup 8.8.4.4
GeoIP Country Edition: US, United States
GeoIP City Edition, Rev 1: US, N/A, N/A, N/A, N/A, 37.750999, 
-97.821999, 0, 0
GeoIP ASNum Edition: AS15169 Google Inc.

-- 
Serge S. Yuriev
Lead VoIP engineer




More information about the Users mailing list