[SR-Users] Continent Code GeoIP module, kamailio 4.2

Sergey Okhapkin sos at sokhapkin.dyndns.org
Wed Mar 11 15:34:07 CET 2015


The patch to return continent code in geoip2 module attached. Daniel, please 
apply the diff to the master, I have bad luck fighting with github.

On Wednesday 11 March 2015 11:08:12 Daniel-Constantin Mierla wrote:
> I pushed a path to geoip module in master branch to return continent id
> via 'contid' attribute of the geoip variable. No testing here though,
> therefore I appreciate if you report back it works or not.
> 
> Would be good to get it in geoip2 as well -- hopefully Sergey has the
> time for it.
> 
> Cheers,
> Daniel
> 
> On 11/03/15 01:08, Rene Montilva wrote:
> > I am trying to separate from continent to have rtp more dynamic to
> > simplify the assignment, the geoip i'm working on v1
> > 
> > On Tue, Mar 10, 2015 at 7:22 PM, Sergey Okhapkin
> > 
> > <sos at sokhapkin.dyndns.org <mailto:sos at sokhapkin.dyndns.org>> wrote:
> >     Hmm, I can add continent code pvar to geoip2 module in kamailio
> >     trunk. Is it
> >     really useful instead of country code?
> >     
> >     On Tuesday 10 March 2015 19:03:35 Rene Montilva wrote:
> >     > Hi list
> >     > 
> >     > i'm trying to configure rtp engine routing by source ip, i'd
> >     
> >     like divide it
> >     
> >     > by continent code, is there any pseudo-variables or possibilites
> >     
> >     to handle
> >     
> >     > continent code.
> >     > 
> >     > Team, any idea about it?
> >     
> >     _______________________________________________
> >     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> >     list
> >     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> >     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> > 
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contc.diff
Type: text/x-patch
Size: 2360 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150311/e06916ad/attachment.bin>


More information about the sr-users mailing list