<div dir="ltr">Hi, thanks for that info.<div><br></div><div>Will there be support to handle V4 and V6 at the same time? So far there is the possibility just for one database in the module to configure.</div><div><br></div><div>BR</div><div>Jöran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 10:26 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the geoip module is using the old database format (API) that is not
    supporting ipv6, there is a new module in the work that uses the new
    geoip database format/API.<br>
    <br>
    I already got some code and I asked the developer to make a github
    pull request. It should show up soon.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 27/01/15 10:18, Jöran Vinzens wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>i'm trying to get GEO IP Location for an IPv6 Setup.</div>
        <div>We downloaded the GeoLiteCityv6.dat from maxmind and
          referred to it in modparams of geoip.</div>
        <div><br>
        </div>
        <div>If i now place a call from an V6 User and do something
          like:</div>
        <div><br>
        </div>
        <div>
          <div>if(geoip_match("$si", "src")) {</div>
          <div>                xlog("L_NOTICE", "Call comes from IP
            '$si' ($gip(src=>cc)) CID=$ci F=$fU URI=$ru\n");</div>
          <div>                append_hf("X-GeoIP:
            $gip(src=>cc)\r\n");</div>
          <div>}</div>
          <div><br>
          </div>
          <div>it will not match for any reason</div>
          <div><br>
          </div>
          <div>if i xlog the src IP it look like: "Src IP =
            2A01:abc:321:123:0:0:0:2" so it should match to the GEO IP
            Database.</div>
          <div><br>
          </div>
          <div>In CSV version of geo IP database there is an entry for
            my IP Address.</div>
          <div><br>
          </div>
          <div>Since the Module is not that verbose, i cannot tell
            whether the entry exists or not. Just the result in my "if"
            is False.</div>
          <div><br>
          </div>
          <div>Has anybody experience with GEOIP and IPv6?</div>
          <div><br>
          </div>
          <div>thanks</div>
          <div><br>
          </div>
          <div>Best regards,</div>
          <div>Jöran</div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre>Jöran Vinzens - <a href="mailto:vinzens@sipgate.de" target="_blank">vinzens@sipgate.de</a><br>Telefon: +49 211-63 55 56-21<br>Telefax: +49 211-63 55 55-22<br><br>sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf<br>HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois<br>Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391<br><br><a href="http://www.sipgate.de" target="_blank">www.sipgate.de</a> - <a href="http://www.sipgate.co.uk" target="_blank">www.sipgate.co.uk</a><br></pre></div></div>
</div>