Could you create a feature request on Kamailio repo?


On Wed, Apr 9, 2025, 8:57 AM Joel Serrano <joel@textplus.com> wrote:
@Henning: I didn't know about that tool, thank you for sharing.

@Sergey: It's the same provider, and it offers several different databases (Country / City as you know, ASN [1], and then there are paid ones, like the Anonymous [2], etc.) 

My goal was to get the ASN and the 2-letter Country Code. Problem is each of those are in separate databases. Right now I'm doing it with a python3 script and KSR, but I was wondering if it could be done with the geoip2 module directly.

Thank you guys for the input.

Joel.


On Tue, Apr 8, 2025 at 4:01 AM Sergey Safarov <s.safarov@gmail.com> wrote:
Just a question.
I know only one GeoIP provider exists and only one database.

Who is the second provider?

On Tue, Apr 8, 2025 at 12:37 AM Joel Serrano via sr-users <sr-users@lists.kamailio.org> wrote:
Hi guys, 

Is there a way to have multiple geoip2 databases loaded into Kamailio and then point the geoip2_match to them? 

If I understand correctly the docs I can only load one: https://www.kamailio.org/docs/modules/6.0.x/modules/geoip2.html#geoip2.p.path

Is my assumption correct?

Thanks,
Joel.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!