Module: kamailio
Branch: 5.5
Commit: 42b80a2cf0fa1b2e7192ade5844df670a49480ff
URL: https://github.com/kamailio/kamailio/commit/42b80a2cf0fa1b2e7192ade5844df67…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-02T10:15:05+01:00
core: fixed comment typo
(cherry picked from commit c37ccdc6e3bad0af4644941a872f510c51936c58)
---
Modified: src/core/sr_module.h
---
Diff: https://github.com/kamailio/kamailio/commit/42b80a2cf0fa1b2e7192ade5844df67…
Patch: https://github.com/kamailio/kamailio/commit/42b80a2cf0fa1b2e7192ade5844df67…
---
diff --git a/src/core/sr_module.h b/src/core/sr_module.h
index 99c1dc1de1..df47e18965 100644
--- a/src/core/sr_module.h
+++ b/src/core/sr_module.h
@@ -154,7 +154,7 @@ typedef int (*param_func_t)( modparam_t type, void* val);
@warning child_init(PROC_MAIN) is again called
in the same process (main), but latter
(before tcp), so make sure you don't init things
- twice, bot in PROC_MAIN and PROC_INT */
+ twice, both in PROC_MAIN and PROC_INT */
#define PROC_NOCHLDINIT -128 /**< no child init functions will be called
if this rank is used in fork_process() */
Module: kamailio
Branch: 5.5
Commit: b83292042aae87c445e05c3f82231ca6d335cc96
URL: https://github.com/kamailio/kamailio/commit/b83292042aae87c445e05c3f82231ca…
Author: James Van Vleet <james(a)vanvleet.net>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-02T10:14:11+01:00
Erlang: Revert breaking change
Revert https://github.com/kamailio/kamailio/commit/6542a367638ec5f8a2b62994f8c309e…
xavp_add_xavp_value returns the root and not the xavp it added and that was the reason for the code the commit removed. Changed a variable name to help make that more clear.
Also related to https://github.com/kamailio/kamailio/issues/2069.
(cherry picked from commit 1ed58f0de4f7a3ab3a81dd84c1c3b94fa1df2c4b)
---
Modified: src/modules/erlang/pv_xbuff.c
---
Diff: https://github.com/kamailio/kamailio/commit/b83292042aae87c445e05c3f82231ca…
Patch: https://github.com/kamailio/kamailio/commit/b83292042aae87c445e05c3f82231ca…
---
diff --git a/src/modules/erlang/pv_xbuff.c b/src/modules/erlang/pv_xbuff.c
index 894c36784c..b19a22ac8e 100644
--- a/src/modules/erlang/pv_xbuff.c
+++ b/src/modules/erlang/pv_xbuff.c
@@ -86,11 +86,15 @@ sr_xavp_t *xbuff_new(str *name)
if(!xbuffs_root)
{
- xbuff = xavp_add_xavp_value(&xbuff_list,name,&xbuff_val,xavp_get_crt_list());
- } else {
- xbuff = xavp_get_child(&xbuff_list, name);
+ xbuffs_root = xavp_add_xavp_value(&xbuff_list,name,&xbuff_val,xavp_get_crt_list());
+ if (!xbuffs_root){
+ LM_ERR("cannot create xbuffs_root \n");
+ return NULL;
+ }
}
+ xbuff = xavp_get_child(&xbuff_list, name);
+
if (!xbuff) {
xbuff_val.type = SR_XTYPE_NULL;
Module: kamailio
Branch: master
Commit: eee5068e2f315b6d391e6fe7b6aef4875afcf574
URL: https://github.com/kamailio/kamailio/commit/eee5068e2f315b6d391e6fe7b6aef48…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2022-03-02T08:39:26+01:00
jwt: add missing tag in doc
error instroduced at aaa142d293105ef27f7e4b6143fc3fb18c9a5a75
---
Modified: src/modules/jwt/doc/jwt_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/eee5068e2f315b6d391e6fe7b6aef48…
Patch: https://github.com/kamailio/kamailio/commit/eee5068e2f315b6d391e6fe7b6aef48…
---
diff --git a/src/modules/jwt/doc/jwt_admin.xml b/src/modules/jwt/doc/jwt_admin.xml
index 45d98c7689..a72c518efe 100644
--- a/src/modules/jwt/doc/jwt_admin.xml
+++ b/src/modules/jwt/doc/jwt_admin.xml
@@ -115,6 +115,7 @@ modparam("jwt", "key_mode", 1)
added as string value.
</para>
</listitem>
+ <listitem>
<para>
headers - the list of headers to be added to JWT, in the format
"name1=value1;name2=value2;..." (same as the SIP parameters format).