[sr-dev] [kamailio] registrar: check for local path on lookup (#23)

Charles Chance notifications at github.com
Fri Jan 9 19:10:49 CET 2015


When performing a lookup, the Path (if present) is evaluated and if the first hop is local we skip it to avoid unnecessary looping.

It is useful if multiple servers are sharing a common database, each saving contacts with their local address as the Path.
You can merge this Pull Request by running:

  git pull https://github.com/kamailio/kamailio cchance/registrar

Or you can view, comment on it, or merge it online at:

  https://github.com/kamailio/kamailio/pull/23

-- Commit Summary --

  * registrar: add optional check for local path during lookup()
  * registrar: update documentation to include path_check_local parameter

-- File Changes --

    M modules/registrar/doc/registrar_admin.xml (26)
    M modules/registrar/lookup.c (74)
    M modules/registrar/reg_mod.c (2)
    M modules/registrar/reg_mod.h (1)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/23.patch
https://github.com/kamailio/kamailio/pull/23.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/23
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150109/40def9a9/attachment.html>


More information about the sr-dev mailing list