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