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

Daniel-Constantin Mierla miconda at gmail.com
Wed Mar 11 17:09:42 CET 2015


I will apply the patch, but I will change to use same attribute name for
continent id as for geoip module, to be coherent.

Cheers,
Daniel

On 11/03/15 15:34, Sergey Okhapkin wrote:
> 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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com




More information about the sr-users mailing list