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).
Module: kamailio
Branch: master
Commit: 9d1f223c7705a7ed8d888f50f2611dea1649ffa5
URL: https://github.com/kamailio/kamailio/commit/9d1f223c7705a7ed8d888f50f2611de…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-03-01T14:01:17+01:00
modules: readme files regenerated - corex ... [skip ci]
---
Modified: src/modules/corex/README
---
Diff: https://github.com/kamailio/kamailio/commit/9d1f223c7705a7ed8d888f50f2611de…
Patch: https://github.com/kamailio/kamailio/commit/9d1f223c7705a7ed8d888f50f2611de…
---
diff --git a/src/modules/corex/README b/src/modules/corex/README
index d1721ffa84..dc28b471ec 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -249,10 +249,13 @@ modparam("corex", "alias_subdomains", "udp:sip-router.org:5060")
The format of the value follows the SIP params style:
"attr1=val1;attr2=val2;...". The attributes can be:
- * type - it can be "A" (IPv4) or "AAAA" (IPv6)
+ * type - it can be "A" (IPv4), "AAAA" (IPv6) or "SRV"
* name - the domain name
* addr - the IP address
* ttl - TTL value
+ * priority - priority value for SRV record
+ * weight - weight value for SRV record
+ * port - port value for SRV record
* flags - can be: 1 - the domain is unresolvable (like blocklisted);
2 - the record is permanent (never times out, never deleted, never
overwritten)