Module: kamailio
Branch: master
Commit: cc97adb901b0682bfe662482a4b0309d3d5e4635
URL: https://github.com/kamailio/kamailio/commit/cc97adb901b0682bfe662482a4b0309…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-01-09T21:34:13+01:00
exec Copying quote from README just to make a point.
---
Modified: modules/exec/kill.c
---
Diff: https://github.com/kamailio/kamailio/commit/cc97adb901b0682bfe662482a4b0309…
Patch: https://github.com/kamailio/kamailio/commit/cc97adb901b0682bfe662482a4b0309…
---
diff --git a/modules/exec/kill.c b/modules/exec/kill.c
index 9caa727..51c948e 100644
--- a/modules/exec/kill.c
+++ b/modules/exec/kill.c
@@ -37,7 +37,8 @@
* and last but not least -- we don't know the child pid (we use popen)
* so we cannot close anyway
*
- *
+ * From the README:
+ * (There is kill.c but it is not used along with the current mechanisms based on popen. Besides that kill.c is ugly).
*/
Module: kamailio
Branch: master
Commit: 4ff2c48d66a3bce2c491b44d0f1b5e939e5508ff
URL: https://github.com/kamailio/kamailio/commit/4ff2c48d66a3bce2c491b44d0f1b5e9…
Author: Charles Chance <charles.chance(a)sipcentric.com>
Committer: Charles Chance <charles.chance(a)sipcentric.com>
Date: 2015-01-09T17:22:59Z
registrar: update documentation to include path_check_local parameter
---
Modified: modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/4ff2c48d66a3bce2c491b44d0f1b5e9…
Patch: https://github.com/kamailio/kamailio/commit/4ff2c48d66a3bce2c491b44d0f1b5e9…
---
diff --git a/modules/registrar/doc/registrar_admin.xml b/modules/registrar/doc/registrar_admin.xml
index c7d5b98..f1c9dc5 100644
--- a/modules/registrar/doc/registrar_admin.xml
+++ b/modules/registrar/doc/registrar_admin.xml
@@ -630,6 +630,32 @@ modparam("registrar", "path_use_received", 1)
</example>
</section>
+ <section id="registrar.p.path_check_local">
+ <title><varname>path_check_local</varname> (integer)</title>
+ <para>
+ If set to 1, when performing a lookup the Path (if present) is evaluated
+ and if the first hop is local (according to <quote>myself</quote> test), we
+ skip it to avoid unnecessary looping.
+ </para>
+ <para>
+ This is useful if multiple servers are sharing a common location database,
+ each saving contacts with their local address as the Path.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0 (disabled).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>path_check_local</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("registrar", "path_check_local", 1)
+...
+ </programlisting>
+ </example>
+ </section>
+
<section id="registrar.p.reg_callid_avp">
<title><varname>reg_callid_avp</varname> (string)</title>
<para>
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.patchhttps://github.com/kamailio/kamailio/pull/23.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/23