Module: kamailio
Branch: master
Commit: a2b1f2692603a952a56bf513c68871d172139ca6
URL: https://github.com/kamailio/kamailio/commit/a2b1f2692603a952a56bf513c68871d…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-07-26T17:46:20+02:00
modules: readme files regenerated - uac ... [skip ci]
---
Modified: src/modules/uac/README
---
Diff: https://github.com/kamailio/kamailio/commit/a2b1f2692603a952a56bf513c68871d…
Patch: https://github.com/kamailio/kamailio/commit/a2b1f2692603a952a56bf513c68871d…
---
diff --git a/src/modules/uac/README b/src/modules/uac/README
index 9623b2c256..d4d8701859 100644
--- a/src/modules/uac/README
+++ b/src/modules/uac/README
@@ -419,7 +419,10 @@ modparam("uac","auth_password_avp","$avp(i:12)")
3.12. reg_db_url (string)
- DB URL to fetch account profiles for registration.
+ DB URL to fetch account profiles for registration. This parameter must
+ be set in order to enable remote registrations feature.
+
+ The default value is "" (no value).
Example 1.12. Set reg_db_url parameter
...
Module: kamailio
Branch: master
Commit: 7d414352e0544cfe1739f3e36cec2c23379ae902
URL: https://github.com/kamailio/kamailio/commit/7d414352e0544cfe1739f3e36cec2c2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-26T17:37:28+02:00
uac: added note about default value for reg_db_url
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7d414352e0544cfe1739f3e36cec2c2…
Patch: https://github.com/kamailio/kamailio/commit/7d414352e0544cfe1739f3e36cec2c2…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index e6ba5a2b63..020df01eab 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -10,7 +10,7 @@
<!-- Module User's Guide -->
<chapter>
-
+
<title>&adminguide;</title>
@@ -358,10 +358,10 @@ modparam("uac","auth_username_avp","$avp(i:11)")
to perform authentication.
</para>
<para><emphasis>
- If you define it, you also need to define
- <quote>auth_password_avp</quote>
- (<xref linkend="uac.p.auth-password-avp-id"/>) and
- <quote>auth_username_avp</quote>
+ If you define it, you also need to define
+ <quote>auth_password_avp</quote>
+ (<xref linkend="uac.p.auth-password-avp-id"/>) and
+ <quote>auth_username_avp</quote>
(<xref linkend="uac.p.auth-password-avp-id"/>).
</emphasis></para>
<example>
@@ -376,8 +376,10 @@ modparam("uac","auth_password_avp","$avp(i:12)")
<section id="uac.p.reg-db-url-id">
<title><varname>reg_db_url</varname> (string)</title>
<para>
- DB URL to fetch account profiles for registration.
+ DB URL to fetch account profiles for registration. This parameter
+ must be set in order to enable remote registrations feature.
</para>
+ <para>The default value is "" (no value).</para>
<example>
<title>Set <varname>reg_db_url</varname> parameter</title>
<programlisting format="linespecific">
@@ -392,14 +394,14 @@ modparam("uac", "reg_db_url",
<section id="uac.p.reg-timer-interval-id">
<title><varname>reg_timer_interval</varname> (string)</title>
<para>
- Timer interval (in seconds) at which registrations are managed, e.g. renewed as needed.
+ Timer interval (in seconds) at which registrations are managed, e.g. renewed as needed.
</para>
<para>
<emphasis>
The default value is 90 seconds.
</emphasis>
</para>
-
+
<example>
<title>Set <varname>reg_timer_interval</varname> parameter</title>
<programlisting format="linespecific">
ENV: Debian 8
So on most Linux systems the /var/run folder is a tmpfs and after which clears after each reboot
As I try to start up kamailio after a reboot through kamctl I get the following error.
"ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed"
Because kamailio does not have the permission to write to the /var/run folder as the kamailio user.
Would it be possible to add in the "kamctl" code a section where the SPECIFIED PID LOCATION (/var/run/kamailio) is checked and if it does not exist create it as the root user and chown it to the SPECIFIED USER (kamailio)? The way I have patched it for now is to create a init script that creates a /var/run/kamailio folder and chmods it to kamailio:kamailio
Thanks everyone!
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/231
Module: kamailio
Branch: master
Commit: ab1d3a3302760713722b2fd3ef41615c53b597dc
URL: https://github.com/kamailio/kamailio/commit/ab1d3a3302760713722b2fd3ef41615…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-07-26T09:31:32+02:00
modules: readme files regenerated - dialplan ... [skip ci]
---
Modified: src/modules/dialplan/README
---
Diff: https://github.com/kamailio/kamailio/commit/ab1d3a3302760713722b2fd3ef41615…
Patch: https://github.com/kamailio/kamailio/commit/ab1d3a3302760713722b2fd3ef41615…
---
diff --git a/src/modules/dialplan/README b/src/modules/dialplan/README
index f073564db1..cde96e214d 100644
--- a/src/modules/dialplan/README
+++ b/src/modules/dialplan/README
@@ -54,6 +54,7 @@ Luis Martin
5.11. attrs_pvar (string)
5.12. fetch_rows (int)
5.13. match_dynamic (int)
+ 5.14. append_branch (int)
6. Functions
@@ -87,11 +88,12 @@ Luis Martin
1.11. Set attrs_pvar parameter
1.12. Set fetch_rows parameter
1.13. Set match_dynamic parameter
- 1.14. dp_replace usage
- 1.15. dp_match usage
- 1.16. dp_translate usage
+ 1.14. Set append_branch parameter
+ 1.15. dp_replace usage
+ 1.16. dp_match usage
1.17. dp_translate usage
- 1.18. Example of rules
+ 1.18. dp_translate usage
+ 1.19. Example of rules
Chapter 1. Admin Guide
@@ -120,6 +122,7 @@ Chapter 1. Admin Guide
5.11. attrs_pvar (string)
5.12. fetch_rows (int)
5.13. match_dynamic (int)
+ 5.14. append_branch (int)
6. Functions
@@ -219,6 +222,7 @@ Chapter 1. Admin Guide
5.11. attrs_pvar (string)
5.12. fetch_rows (int)
5.13. match_dynamic (int)
+ 5.14. append_branch (int)
5.1. db_url (string)
@@ -375,6 +379,20 @@ modparam("dialplan", "fetch_rows", 4000)
modparam("dialplan", "match_dynamic", 1)
...
+5.14. append_branch (int)
+
+ If set to 1, the module appends a new outgoing branch when request URI
+ (r-uri) or its user part are changed by dp_translate() or dp_replace()
+ inside a failure_route block. Set it to 0 if the branch should not be
+ added.
+
+ Default value is “1”.
+
+ Example 1.14. Set append_branch parameter
+...
+modparam("dialplan", "append_branch", 0)
+...
+
6. Functions
6.1. dp_replace(dpid, inval, outvar)
@@ -405,7 +423,7 @@ modparam("dialplan", "match_dynamic", 1)
This function can be used from ANY_ROUTE.
- Example 1.14. dp_replace usage
+ Example 1.15. dp_replace usage
...
dp_replace("240", "$rU", "$var(newru)");
xlog("'$rU' was translated to '$var(newru)'\n");
@@ -432,7 +450,7 @@ dp_replace("240", "+49$rU", "$var(newval)");
This function can be used from ANY_ROUTE.
- Example 1.15. dp_match usage
+ Example 1.16. dp_match usage
...
dp_match("240", "+49$rU");
xlog("the attributes associated with '+49$rU' are '$var(attrs)'\n");
@@ -473,13 +491,13 @@ xlog("the attributes associated with '+49$rU' are '$var(attrs)'\n");
This function can be used from ANY_ROUTE.
- Example 1.16. dp_translate usage
+ Example 1.17. dp_translate usage
...
dp_translate("240", "$ruri.user/$avp(s:dest)");
xlog("translated to var $avp(s:dest) \n");
...
- Example 1.17. dp_translate usage
+ Example 1.18. dp_translate usage
...
$avp(s:src) = $ruri.user;
dp_translate("$var(x)", "$avp(s:src)/$var(y)");
@@ -549,7 +567,7 @@ xlog("translated to var $var(y) \n");
Some sample records from a dialplan table are presented in the next
figure.
- Example 1.18. Example of rules
+ Example 1.19. Example of rules
...
dpid: 1
pr: 1