Geoip2 databases provide both v4 and v6 addresses lookup.<br>
I see no use cases when both modules might be used, that's why I use the same <br>
exported function name to minimize changes in kamailio cfg script. The only <br>
change required is to load/set parameter of another module.<br>
<br>
Maxmind pushes new developments to use geoip2 databases and API, the old API <br>
is still supported by maxmind but is obsoleted.<br>
<br>
On Wednesday 28 January 2015 12:35:17 Daniel-Constantin Mierla wrote:<br>
> Couple of clarifications to be made, if you are aware of the answers:<br>
> <br>
> * does the new geoip database/api work with both IPv4 and IPv6?<br>
> * would be there cases to use old geoip module and the new one? I see they<br>
> depend on different libraries, I assume the new one is not available in old<br>
> distros, but then, can be there situations when both libraries are<br>
> available?<br>
> <br>
> Right now, the new module exports same functions and variables as old geoip<br>
> module. In the case both can be used, then the functions/vars should be<br>
> renamed to reflect the new module name. The config needs to be changed<br>
> anyhow to load the new module.<br>
> <br>
> ---<br>
> Reply to this email directly or view it on GitHub:<br>
> https://github.com/kamailio/kamailio/pull/52#issuecomment-71910666

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/52#issuecomment-71918241">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZaS5_ZVuF_803Sw_sdrLUAPuuGjCks5nmUnrgaJpZM4DXwS2.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/52#issuecomment-71918241"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>