<div dir="ltr"><div>Hi Daniel<br><br></div>was the patch for v1 geoip module  to kamailio 4.2 , i got the doubt<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 11, 2015 at 11:39 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">I will apply the patch, but I will change to use same attribute name for<br>
continent id as for geoip module, to be coherent.<br>
<br>
Cheers,<br>
Daniel<br>
<div class="HOEnZb"><div class="h5"><br>
On 11/03/15 15:34, Sergey Okhapkin wrote:<br>
> The patch to return continent code in geoip2 module attached. Daniel, please<br>
> apply the diff to the master, I have bad luck fighting with github.<br>
><br>
> On Wednesday 11 March 2015 11:08:12 Daniel-Constantin Mierla wrote:<br>
>> I pushed a path to geoip module in master branch to return continent id<br>
>> via 'contid' attribute of the geoip variable. No testing here though,<br>
>> therefore I appreciate if you report back it works or not.<br>
>><br>
>> Would be good to get it in geoip2 as well -- hopefully Sergey has the<br>
>> time for it.<br>
>><br>
>> Cheers,<br>
>> Daniel<br>
>><br>
>> On 11/03/15 01:08, Rene Montilva wrote:<br>
>>> I am trying to separate from continent to have rtp more dynamic to<br>
>>> simplify the assignment, the geoip i'm working on v1<br>
>>><br>
>>> On Tue, Mar 10, 2015 at 7:22 PM, Sergey Okhapkin<br>
>>><br>
>>> <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a> <mailto:<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>>> wrote:<br>
>>>     Hmm, I can add continent code pvar to geoip2 module in kamailio<br>
>>>     trunk. Is it<br>
>>>     really useful instead of country code?<br>
>>><br>
>>>     On Tuesday 10 March 2015 19:03:35 Rene Montilva wrote:<br>
>>>     > Hi list<br>
>>>     ><br>
>>>     > i'm trying to configure rtp engine routing by source ip, i'd<br>
>>><br>
>>>     like divide it<br>
>>><br>
>>>     > by continent code, is there any pseudo-variables or possibilites<br>
>>><br>
>>>     to handle<br>
>>><br>
>>>     > continent code.<br>
>>>     ><br>
>>>     > Team, any idea about it?<br>
>>><br>
>>>     _______________________________________________<br>
>>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing<br>
>>>     list<br>
>>>     <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a> <mailto:<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>
>>> _______________________________________________<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>
</div></div><span class="im HOEnZb">--<br>
Daniel-Constantin Mierla<br>
<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><br>
Kamailio World Conference, May 27-29, 2015<br>
Berlin, Germany - <a href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a><br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>