No subject


Wed Jun 27 05:48:46 CEST 2012


locId,country,region,city,postalCode,latitude,longitude,metroCode,areaCode
190132,"FR","A2","L=E9zardrieux","",48.7851,-3.1059,,

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

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

Regards

--089e010d8574d136e404d86d1d83
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"background-color:rgb(255,255,255)">Hi</span=
><div><span style=3D"background-color:rgb(255,255,255)">I did setup geoIP m=
odule 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 c=
ountry name the code is showing the region name, while region name is empty=
 &quot;I only need the country name&quot;, see :</span></div>

<div><span style=3D"background-color:rgb(255,255,255)"><br></span></div><di=
v>Config :</div><div><div>if(geoip_match(&quot;$si&quot;, &quot;src&quot;))=
</div></div><div>=A0 =A0 =A0 =A0 xlog(&quot;L_ERR&quot;,&quot;SIP message f=
rom: $gip(src=3D&gt;cc) =A0 $gip(src=3D&gt;regn) =A0 $gip(src=3D&gt;regc)\n=
&quot;);</div>

<div><br></div><div>Log :</div><div>SIP message from : A2 =A0&lt;null&gt; =
=A0&lt;null&gt; =A0</div><div><br></div><div>From the CSV file of geoipcity=
 just for cross reference :</div><div><div>locId,country,region,city,postal=
Code,latitude,longitude,metroCode,areaCode</div>

</div><div><div>190132,&quot;FR&quot;,&quot;A2&quot;,&quot;L=E9zardrieux&qu=
ot;,&quot;&quot;,48.7851,-3.1059,,</div></div><div><br></div><div>As you ca=
n see above A2 is the region it is the 3rd column, src=3D&gt;CC should show=
 FR instead of A2.</div>

<div><br></div><div>Working on Kamailio 3.3.4. Is there anything I missed h=
ere ?</div><div><br>Regards</div><div><br></div></div>

--089e010d8574d136e404d86d1d83--



More information about the sr-users mailing list