[sr-dev] [kamailio] usrloc fix (#66)

Sergey Okhapkin notifications at github.com
Thu Feb 5 01:34:13 CET 2015


I strictly disagree with the purpose of the ignoring. 

On Wednesday 04 February 2015 01:51:14 Daniel-Constantin Mierla wrote:
> The ignoring was made on purpose, allowing to handle the registrations even
> the socket is different. Think about the case when kamailio is running on a
> server changing the IP (eg, on a DSL link), being restarted when the
> provider changes the address.
> 
> In current form, the patch will not be accepted - solutions:
> 
>   * save server_id in usrloc and rely on that for loading only own records
> (it requires adding a new column to location database) * make a parameter
> to enable/disable this behavior
> 
> The parameter should be done even with server_id, because I think that two
> servers are configured to use the same database table when they want to
> share the location. If you don't want the two (or more) servers to share
> the location, then you can create many location tables with different name
> but same structure (and add a record to version table) and each server is
> using a different one.
> 
> As for the pull request, you have to re-sync your repository with the main
> one, because in pull requests you push now also the patches for geoip2
> module, which is already part of the kamailio.
> 
> I am going to close this item here.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/kamailio/kamailio/pull/66#issuecomment-72827091


---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/66#issuecomment-72971575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150204/5e0f831e/attachment.html>


More information about the sr-dev mailing list