Hi
I did setup geoIP module and got the latest geoipcity free dat file and csv
file and did setup all parameters in kamailio, when doing a test the
instead of showing the country name the code is showing the region name,
while region name is empty "I only need the country name", see :

Config :
if(geoip_match("$si", "src"))
        xlog("L_ERR","SIP message from: $gip(src=>cc)   $gip(src=>regn)
$gip(src=>regc)\n");

Log :
SIP message from : A2  <null>  <null>

>From the CSV file of geoipcity just for cross reference :
locId,country,region,city,postalCode,latitude,longitude,metroCode,areaCode
190132,"FR","A2","Lézardrieux","",48.7851,-3.1059,,

As you can see above A2 is the region it is the 3rd column, src=>CC should
show FR instead of A2.

Working on Kamailio 3.3.4. Is there anything I missed here ?

Regards
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to