Module: kamailio
Branch: master
Commit: 8b3847085e793596528d4675acce467a2e7629b7
URL: https://github.com/kamailio/kamailio/commit/8b3847085e793596528d4675acce467…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-01-11T11:37:29+01:00
tls: regenerated the readme file
---
Modified: modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/8b3847085e793596528d4675acce467…
Patch: https://github.com/kamailio/kamailio/commit/8b3847085e793596528d4675acce467…
---
diff --git a/modules/tls/README b/modules/tls/README
index e684498..da74077 100644
--- a/modules/tls/README
+++ b/modules/tls/README
@@ -1306,8 +1306,10 @@ modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
11.4. tls.reload
- Reload the external TLS configuration file. (Does not reload modparam()
- parameters)
+ Reload the external TLS configuration file (aka tls.cfg). It does not
+ reload modparam() parameters. Note that existing active TLS connections
+ are not terminated and they continue to use the old certificates. New
+ configuration will be used for new connections.
Parameters:
* None.
Module: kamailio
Branch: master
Commit: 59ce55977e91c399b86177060421d32dbbd7be06
URL: https://github.com/kamailio/kamailio/commit/59ce55977e91c399b86177060421d32…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-01-11T11:37:07+01:00
tls: more details about tls.cfg reload
---
Modified: modules/tls/doc/rpc.xml
---
Diff: https://github.com/kamailio/kamailio/commit/59ce55977e91c399b86177060421d32…
Patch: https://github.com/kamailio/kamailio/commit/59ce55977e91c399b86177060421d32…
---
diff --git a/modules/tls/doc/rpc.xml b/modules/tls/doc/rpc.xml
index 5efbdee..48b7f6a 100644
--- a/modules/tls/doc/rpc.xml
+++ b/modules/tls/doc/rpc.xml
@@ -53,8 +53,10 @@
<section id="tls.r.tls.reload">
<title><function>tls.reload</function></title>
<para>
- Reload the external TLS configuration file. (Does not reload
- modparam() parameters)
+ Reload the external TLS configuration file (aka tls.cfg). It does not reload
+ modparam() parameters. Note that existing active TLS connections are not
+ terminated and they continue to use the old certificates. New configuration
+ will be used for new connections.
</para>
<para>Parameters: </para>
<itemizedlist>
If final_unit_action flag is set in initial ccr response, kamailio need to send terminate request after time out but it is sending update requestbut it is fine for intermediate requests
Attached file for fixing the issue
[fixtxt](https://githubcom/kamailio/kamailio/files/80008/fixtxt)
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/464
Module: kamailio
Branch: master
Commit: c46a5f2792b8553ade871d98cfe892c5a48a3ff6
URL: https://github.com/kamailio/kamailio/commit/c46a5f2792b8553ade871d98cfe892c…
Author: Ian Yu-Hsun Lin <ianyuhsunlin(a)gmail.com>
Committer: Ian Yu-Hsun Lin <ianyuhsunlin(a)gmail.com>
Date: 2016-01-07T19:10:51+08:00
registrar: do make use of reg_xavp_cfg
- prevent from resetting sock_flag to -1 when reg_xavp_cfg is set
---
Modified: modules/registrar/reg_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/c46a5f2792b8553ade871d98cfe892c…
Patch: https://github.com/kamailio/kamailio/commit/c46a5f2792b8553ade871d98cfe892c…
---
diff --git a/modules/registrar/reg_mod.c b/modules/registrar/reg_mod.c
index 98b136b..0d7c5ac 100644
--- a/modules/registrar/reg_mod.c
+++ b/modules/registrar/reg_mod.c
@@ -362,8 +362,14 @@ static int mod_init(void)
sock_hdr_name.len = 0;
sock_flag = -1;
}
+ } else if (reg_xavp_cfg.s) {
+ if (reg_xavp_cfg.len == 0 || sock_flag == -1) {
+ LM_WARN("empty reg_xavp_cfg or sock_flag no set -> resetting\n");
+ reg_xavp_cfg.len = 0;
+ sock_flag = -1;
+ }
} else if (sock_flag!=-1) {
- LM_WARN("sock_flag defined but no sock_hdr_name -> reseting flag\n");
+ LM_WARN("sock_flag defined but no sock_hdr_name or no reg_xavp_cfg -> resetting flag\n");
sock_flag = -1;
}