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
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to