Re: Load multiple geoip2 databases (City + ASN)
Joel Serrano via sr-users <[email protected]>
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <CAMtXxQmCrFWp7H4Lbjp7=CSuNc6XUEE8OVYOxXpQu2AaMbKz5g@mail.gmail.com> |
@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. [1] https://dev.maxmind.com/geoip/docs/databases/asn/ [2] https://www.maxmind.com/en/geoip-anonymous-ip-database On Tue, Apr 8, 2025 at 4:01 AM Sergey Safarov <[email protected]> wrote: > Just a question. > I know only one GeoIP provider exists and only one database. > https://www.maxmind.com/en/geoip-databases > > Who is the second provider? > > On Tue, Apr 8, 2025 at 12:37 AM Joel Serrano via sr-users < > [email protected]> 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 -- >> [email protected] >> To unsubscribe send an email to [email protected] >> Important: keep the mailing list in the recipients, do not reply only to >> the sender! >> > __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!