[sr-dev] Re: [kamailio/kamailio] tm: add mandatory Max-Forwards header to local AC (3a34b46)

2024-05-20 Thread Victor Seva via sr-dev
@juha-h please use ``cherry-pick -x `` when back-porting

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/3a34b468ad93904c507bd0fc7ef592b25321807f#commitcomment-142208292
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tm: add mandatory Max-Forwards header to local ACK (PR #3856)

2024-05-20 Thread Victor Seva via sr-dev
Merged #3856 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3856#event-12864279478
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:d4629be2: tm: add mandatory Max-Forwards header to local AC

2024-05-20 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: d4629be286fc6d3cf61574e34ee877b2c5e9ee4a
URL: 
https://github.com/kamailio/kamailio/commit/d4629be286fc6d3cf61574e34ee877b2c5e9ee4a

Author: Juha Heinanen 
Committer: Victor Seva 
Date: 2024-05-20T12:18:38+02:00

tm: add mandatory Max-Forwards header to local AC

---

Modified: src/modules/tm/t_msgbuilder.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d4629be286fc6d3cf61574e34ee877b2c5e9ee4a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d4629be286fc6d3cf61574e34ee877b2c5e9ee4a.patch

---

diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 362ff6c5eb5..1aa680aa9a4 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -1246,7 +1246,8 @@ char *build_dlg_ack(struct sip_msg *rpl, struct cell 
*Trans,
 
/* headers */
*len += Trans->from_hdr.len + Trans->callid_hdr.len + to->len
-   + Trans->cseq_hdr_n.len + 1 + ACK_LEN + CRLF_LEN;
+   + Trans->cseq_hdr_n.len + 1 + ACK_LEN + 
+MAXFWD_HEADER_LEN
+   + CRLF_LEN;
 
/* copy'n'paste Route headers */
 
@@ -1291,6 +1292,8 @@ char *build_dlg_ack(struct sip_msg *rpl, struct cell 
*Trans,
append_str(p, Trans->callid_hdr.s, Trans->callid_hdr.len);
append_str(p, to->s, to->len);
 
+   append_str(p, MAXFWD_HEADER, MAXFWD_HEADER_LEN);
+
append_str(p, Trans->cseq_hdr_n.s, Trans->cseq_hdr_n.len);
append_str(p, " ", 1);
append_str(p, ACK, ACK_LEN);

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tm: add mandatory Max-Forwards header to local ACK (PR #3856)

2024-05-20 Thread Victor Seva via sr-dev
The idea behind it's that all commits are properly formatted.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3856#issuecomment-2120117882
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tm: add mandatory Max-Forwards header to local ACK (PR #3856)

2024-05-20 Thread Victor Seva via sr-dev
since it's a branch in kamailio repo I did it myself.

```
git rebase -i origin/master
```

squashed both commits and added the tm prefix

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3856#issuecomment-2120114049
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tm: add mandatory Max-Forwards header to local ACK (PR #3856)

2024-05-20 Thread Victor Seva via sr-dev
@juha-h is not a bug. The format checks each commit. I already told you how to 
properly do it.

Just create one commit with the proper commit message prefix squashing both 
previous commits in the branch. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3856#issuecomment-2120073595
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:25e409cf: pkg/kamailio/deb: version set to 6.0.0~dev2 [skip ci]

2024-05-16 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 25e409cf60a80e4e0af09bb84234af51c33755c4
URL: 
https://github.com/kamailio/kamailio/commit/25e409cf60a80e4e0af09bb84234af51c33755c4

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-16T09:46:51+02:00

pkg/kamailio/deb: version set to 6.0.0~dev2 [skip ci]

---

Modified: pkg/kamailio/deb/bionic/changelog
Modified: pkg/kamailio/deb/bookworm/changelog
Modified: pkg/kamailio/deb/bullseye/changelog
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/focal/changelog
Modified: pkg/kamailio/deb/jammy/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/25e409cf60a80e4e0af09bb84234af51c33755c4.diff
Patch: 
https://github.com/kamailio/kamailio/commit/25e409cf60a80e4e0af09bb84234af51c33755c4.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tls: enable statistics (PR #3852)

2024-05-15 Thread Victor Seva via sr-dev
You need to squash both commits in one and push --force

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3852#issuecomment-2113408891
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Added new auth module function auth_algorithm (PR #3849)

2024-05-14 Thread Victor Seva via sr-dev
You can push --force the new commit with the format fixed squashing previous 
commits

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3849#issuecomment-2110860065
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:767b3fae: db_mysql: fixed build on CentOS 7

2024-05-13 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 767b3faee3af450d6482b919c81431ea6d707807
URL: 
https://github.com/kamailio/kamailio/commit/767b3faee3af450d6482b919c81431ea6d707807

Author: Sergey Safarov 
Committer: Victor Seva 
Date: 2024-05-13T08:36:52+02:00

db_mysql: fixed build on CentOS 7

---

Modified: src/modules/db_mysql/km_my_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/767b3faee3af450d6482b919c81431ea6d707807.diff
Patch: 
https://github.com/kamailio/kamailio/commit/767b3faee3af450d6482b919c81431ea6d707807.patch

---

diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 4c756db66ff..561a0037223 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -178,9 +178,16 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
}
 #endif /* MYSQL_VERSION_ID */
 #endif /* MARIADB_BASE_VERSION */
+
+#ifdef MYSQL_OPT_SSL_CA
if(db_mysql_opt_ssl_ca)
mysql_options(
ptr->con, MYSQL_OPT_SSL_CA, (const void 
*)db_mysql_opt_ssl_ca);
+#else
+   LM_WARN("opt_ssl_ca option not supported by mysql version (value %s) - "
+   "ignoring\n",
+   db_mysql_opt_ssl_ca);
+#endif /* MYSQL_OPT_SSL_CA */
 
 #ifdef KSR_MYSQL_OPT_RECONNECT
/* set reconnect flag if enabled */

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] db_mysql: fixed build on CentOS 7 (PR #3847)

2024-05-13 Thread Victor Seva via sr-dev
Merged #3847 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3847#event-12781994668
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: Proposing 6.0.x for next stable release series

2024-05-09 Thread Victor Seva via sr-dev
Hi!

On 8/5/24 14:02, Daniel-Constantin Mierla via sr-dev wrote:
> I am proposing to switch the development version to target 6.0.x as next
> major series.
I agree. I think is a major change even if it's not by default enabled for now.

Cheers,
Victor

-- 
-
|   ,''`.     Victor Seva |
|  : :' :  linuxman...@torreviejawireless.org |
|  `. `'  PGP: 8F19 CADC D42A 42D4 5563  730C 51A0 9B18 CF5A 5068 |
|`-  Debian Developer |
  -


OpenPGP_0x7D7B65C42A0EC8B2.asc
Description: application/pgp-keys


OpenPGP_signature.asc
Description: PGP signature
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:b8d50a89: Revert "pkg/docker: update 5.7 [skip ci]"

2024-05-08 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: b8d50a89d20a1b13b175358c875062d52350cef6
URL: 
https://github.com/kamailio/kamailio/commit/b8d50a89d20a1b13b175358c875062d52350cef6

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-08T15:41:45+02:00

Revert "pkg/docker: update 5.7 [skip ci]"

This reverts commit e21f8667b18c978e90c978e74372b2fc1ad66574.

---

Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/b8d50a89d20a1b13b175358c875062d52350cef6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b8d50a89d20a1b13b175358c875062d52350cef6.patch

---

diff --git a/pkg/docker b/pkg/docker
index 587e86d5e01..064be5f078d 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 587e86d5e013957bcc835d9843df672a4515bdae
+Subproject commit 064be5f078d679b0e44abda0e2bfea22e6c6e9ec

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:4cce7e80: pkg/docker: update 5.7 [skip ci]

2024-05-08 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 4cce7e80b7b4e29a98da97a86ac2fc216cb01f4f
URL: 
https://github.com/kamailio/kamailio/commit/4cce7e80b7b4e29a98da97a86ac2fc216cb01f4f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-08T15:47:11+02:00

pkg/docker: update 5.7 [skip ci]

* pkg-config in build

---

Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/4cce7e80b7b4e29a98da97a86ac2fc216cb01f4f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4cce7e80b7b4e29a98da97a86ac2fc216cb01f4f.patch

---

diff --git a/pkg/docker b/pkg/docker
index 064be5f078d..5b8fe2ef455 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 064be5f078d679b0e44abda0e2bfea22e6c6e9ec
+Subproject commit 5b8fe2ef455d976984015e8fd2eac4cb90f27192

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:2f9ecdae: Revert "pkg/kamailio/alpine: switch to pcre2 [skip ci]"

2024-05-08 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 2f9ecdae6d6b3b49f96e8df86631c23d22396d1f
URL: 
https://github.com/kamailio/kamailio/commit/2f9ecdae6d6b3b49f96e8df86631c23d22396d1f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-08T15:40:52+02:00

Revert "pkg/kamailio/alpine: switch to pcre2 [skip ci]"

This reverts commit 4aeaf7f65744d7037b9dc4fb73f1f1b2266715cc.

---

Modified: pkg/kamailio/alpine/APKBUILD

---

Diff:  
https://github.com/kamailio/kamailio/commit/2f9ecdae6d6b3b49f96e8df86631c23d22396d1f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2f9ecdae6d6b3b49f96e8df86631c23d22396d1f.patch

---

diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD
index 71e8740b596..9d84ac66e74 100644
--- a/pkg/kamailio/alpine/APKBUILD
+++ b/pkg/kamailio/alpine/APKBUILD
@@ -27,7 +27,7 @@ depends="gawk"
 options="!check"
 makedepends="bison db-dev flex freeradius-client-dev expat-dev
lksctp-tools-dev perl-dev postgresql-dev python3-dev
-   pcre2-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev
+   pcre-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev
confuse-dev ncurses-dev sqlite-dev lua-dev openldap-dev openssl-dev
net-snmp-dev libuuid libev-dev jansson-dev json-c-dev libevent-dev
linux-headers libmemcached-dev rabbitmq-c-dev hiredis-dev
@@ -79,7 +79,7 @@ _mod_list_dbuid="db2_ops uid_auth_db uid_avp_db uid_domain 
uid_gflags \
 # - modules for devel purposes
 _mod_list_devel="misctest print print_lib"
 
-# - modules depending on pcre2 library
+# - modules depending on pcre3 library
 _mod_list_pcre="dialplan lcr regex"
 
 # - modules depending on radius client library

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:4aeaf7f6: pkg/kamailio/alpine: switch to pcre2 [skip ci]

2024-05-08 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 4aeaf7f65744d7037b9dc4fb73f1f1b2266715cc
URL: 
https://github.com/kamailio/kamailio/commit/4aeaf7f65744d7037b9dc4fb73f1f1b2266715cc

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-08T15:30:23+02:00

pkg/kamailio/alpine: switch to pcre2 [skip ci]

(cherry picked from commit 7f4fdfa61444ab38b49b74829a40d9ec6d1e050a)

---

Modified: pkg/kamailio/alpine/APKBUILD

---

Diff:  
https://github.com/kamailio/kamailio/commit/4aeaf7f65744d7037b9dc4fb73f1f1b2266715cc.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4aeaf7f65744d7037b9dc4fb73f1f1b2266715cc.patch

---

diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD
index 9d84ac66e74..71e8740b596 100644
--- a/pkg/kamailio/alpine/APKBUILD
+++ b/pkg/kamailio/alpine/APKBUILD
@@ -27,7 +27,7 @@ depends="gawk"
 options="!check"
 makedepends="bison db-dev flex freeradius-client-dev expat-dev
lksctp-tools-dev perl-dev postgresql-dev python3-dev
-   pcre-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev
+   pcre2-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev
confuse-dev ncurses-dev sqlite-dev lua-dev openldap-dev openssl-dev
net-snmp-dev libuuid libev-dev jansson-dev json-c-dev libevent-dev
linux-headers libmemcached-dev rabbitmq-c-dev hiredis-dev
@@ -79,7 +79,7 @@ _mod_list_dbuid="db2_ops uid_auth_db uid_avp_db uid_domain 
uid_gflags \
 # - modules for devel purposes
 _mod_list_devel="misctest print print_lib"
 
-# - modules depending on pcre3 library
+# - modules depending on pcre2 library
 _mod_list_pcre="dialplan lcr regex"
 
 # - modules depending on radius client library

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:e21f8667: pkg/docker: update 5.7 [skip ci]

2024-05-08 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: e21f8667b18c978e90c978e74372b2fc1ad66574
URL: 
https://github.com/kamailio/kamailio/commit/e21f8667b18c978e90c978e74372b2fc1ad66574

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-05-08T14:33:09+02:00

pkg/docker: update 5.7 [skip ci]

* missing pre2-dev

---

Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/e21f8667b18c978e90c978e74372b2fc1ad66574.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e21f8667b18c978e90c978e74372b2fc1ad66574.patch

---

diff --git a/pkg/docker b/pkg/docker
index 064be5f078d..587e86d5e01 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit 064be5f078d679b0e44abda0e2bfea22e6c6e9ec
+Subproject commit 587e86d5e013957bcc835d9843df672a4515bdae

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Kamailio incoming call error (Issue #3842)

2024-05-06 Thread Victor Seva via sr-dev
Closed #3842 as not planned.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3842#event-12723569144
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Kamailio incoming call error (Issue #3842)

2024-05-06 Thread Victor Seva via sr-dev
This tracker is used for reporting bugs in the C code. For asking questions 
about using Kamailio and its configuration file, use 
sr-us...@lists.kamailio.org mailing list.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3842#issuecomment-2097485388
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] kamailio re-INVITE (Issue #3840)

2024-05-06 Thread Victor Seva via sr-dev
This tracker is used for reporting bugs in the C code. For asking questions 
about using Kamailio and its configuration file, use 
[sr-us...@lists.kamailio.org](mailto:sr-us...@lists.kamailio.org) mailing list.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3840#issuecomment-2096053001
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] kamailio re-INVITE (Issue #3840)

2024-05-06 Thread Victor Seva via sr-dev
Closed #3840 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3840#event-12715252986
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:bec4ad64: phonenum: Makefile - option to set C standard version

2024-05-04 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: bec4ad646f127a1f5bbf31604e6185b246867770
URL: 
https://github.com/kamailio/kamailio/commit/bec4ad646f127a1f5bbf31604e6185b246867770

Author: Daniel-Constantin Mierla 
Committer: Victor Seva 
Date: 2024-05-04T11:55:35+02:00

phonenum: Makefile - option to set C standard version

- can be set via option CSTDVER
- defaults now to c++17
- GH #3659

(cherry picked from commit 6dd5598fc043fe3d2582e643d7d4ef675c9e6480)

---

Modified: src/modules/phonenum/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/bec4ad646f127a1f5bbf31604e6185b246867770.diff
Patch: 
https://github.com/kamailio/kamailio/commit/bec4ad646f127a1f5bbf31604e6185b246867770.patch

---

diff --git a/src/modules/phonenum/Makefile b/src/modules/phonenum/Makefile
index f465226a974..47780869232 100644
--- a/src/modules/phonenum/Makefile
+++ b/src/modules/phonenum/Makefile
@@ -7,6 +7,7 @@ NAME=phonenum.so
 
 CXX?=g++
 LD?=g++
+CSTDVER?="c++17"
 
 LIBS+=-L$(LOCALBASE)/lib cphonenumber.o -lphonenumber -lgeocoding
 DEFS+=-I$(LOCALBASE)/include
@@ -18,7 +19,7 @@ include ../../Makefile.modules
 
 cphonenumber.o: cphonenumber.cpp cphonenumber.h
@echo "Compiling $<"
-   $(CXX) -std=c++11 $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
+   $(CXX) -std=$(CSTDVER) $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o 
$@
 
 phonenum.so: cphonenumber.o
 

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] phonenum: fails to build on sid (Issue #3839)

2024-05-04 Thread Victor Seva via sr-dev
duplicated of #3659

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3839#issuecomment-2094098144
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] phonenum: fails to build on sid (Issue #3839)

2024-05-04 Thread Victor Seva via sr-dev
Closed #3839 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3839#event-12703943018
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] phonenum: fails to build on sid (Issue #3839)

2024-05-04 Thread Victor Seva via sr-dev
Forwarded from: **https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069199**

```
Source: kamailio
Version: 5.7.4-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=kamailio=amd64=5.7.4-1%2Bb4=1712538903=0

g++ -std=c++11 -fPIC -DPIC -funroll-loops -Wcast-align -pthread 
-DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DVERSION_NODATE -Wno-write-strings 
-Wno-deprecated -Wno-unused-function -Wno-sign-compare -Wno-strict-aliasing 
-fPIC -DPIC -funroll-loops -Wcast-align -pthread -DKSR_PTHREAD_MUTEX_SHARED 
-Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DVERSION_NODATE -DNAME='"kamailio"' 
-DVERSION='"5.7.4"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' 
-DCOMPILER='"gcc 13.2.0"' -D__CPU_x86_64 -D__OS_linux -DVERSIONVAL=5007004 
-DCFG_DIR='"/etc/kamailio/"' -DSHARE_DIR='"/usr/share/kamailio/"' 
-DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK 
-DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE 
-DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE 
-DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS 
-DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT  
-I/usr/local/include -DMOD_NAME='"phonenum"' -c cphonenumber.cpp -o 
cphonenumber.o
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
In file included from /usr/include/absl/base/config.h:86,
 from /usr/include/absl/base/const_init.h:25,
 from /usr/include/absl/synchronization/mutex.h:67,
 from 
/usr/include/phonenumbers/geocoding/phonenumber_offline_geocoder.h:24,
 from cphonenumber.cpp:24:
/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less 
than C++14 are not supported."
   79 | #error "C++ versions less than C++14 are not supported."
  |  ^

Cheers
-- 
Sebastian Ramacher
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3839
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Error by installing new Rel. 5.8 (Issue #3825)

2024-04-25 Thread Victor Seva via sr-dev
Kamailio Project uses GitHub Issues only for bugs in the code or feature 
requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration 
file, ask on sr-users mailing list:
 -  
https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/

If you have questions about developing extensions to Kamailio or its existing C 
code, ask on sr-dev mailing list:
 -  
https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3825#issuecomment-2076650538
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Error by installing new Rel. 5.8 (Issue #3825)

2024-04-25 Thread Victor Seva via sr-dev
Closed #3825 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3825#event-12604171568
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Kamailio 5.8 core dumps with regex module (Issue #3812)

2024-04-23 Thread Victor Seva via sr-dev
Yes, I have this issue in my TODO list. Hopefully I will get to it this week.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3812#issuecomment-2071941995
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] usrloc: check on db delete the return value of memchr (PR #3815)

2024-04-19 Thread Victor Seva via sr-dev
+2 from me

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3815#issuecomment-2066723812
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:38226473: cfgutils: reformat exported structures

2024-04-18 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 382264730393afac09a319df46044c6ac0753ea7
URL: 
https://github.com/kamailio/kamailio/commit/382264730393afac09a319df46044c6ac0753ea7

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-18T14:25:45+02:00

cfgutils: reformat exported structures

---

Modified: src/modules/cfgutils/cfgutils.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/382264730393afac09a319df46044c6ac0753ea7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/382264730393afac09a319df46044c6ac0753ea7.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:d4c23324: cfgutils: initialize the optional key

2024-04-18 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: d4c23324a84d9727653e0b67c4455f9cf6be3d0c
URL: 
https://github.com/kamailio/kamailio/commit/d4c23324a84d9727653e0b67c4455f9cf6be3d0c

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-18T16:12:33+02:00

cfgutils: initialize the optional key

* bug introduced at 424769743c93dea5a4d2c21f7a0ef8ea8779a5bb

---

Modified: src/modules/cfgutils/cfgutils.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d4c23324a84d9727653e0b67c4455f9cf6be3d0c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d4c23324a84d9727653e0b67c4455f9cf6be3d0c.patch

---

diff --git a/src/modules/cfgutils/cfgutils.c b/src/modules/cfgutils/cfgutils.c
index f7aea690e88..487f68aaab0 100644
--- a/src/modules/cfgutils/cfgutils.c
+++ b/src/modules/cfgutils/cfgutils.c
@@ -691,7 +691,7 @@ static int cfg_lock_helper(str *lkey, str *lkey2, int mode)
unsigned int pos;
str *key2 = NULL;
 
-   if(lkey2 && lkey2->len > 0) {
+   if(lkey2 && lkey2->s && lkey2->len > 0) {
key2 = lkey2;
}
 
@@ -770,7 +770,8 @@ static int cfg_trylock_key2(sip_msg_t *msg, str *lkey, str 
*lkey2)
 static int w_cfg_lock_wrapper(
struct sip_msg *msg, gparam_p key, gparam_p key2, int mode)
 {
-   str s1, s2;
+   str s1;
+   str s2 = STR_NULL;
if(key == NULL) {
return -1;
}

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] usrloc: check on db delete the return value of memchr (PR #3815)

2024-04-17 Thread Victor Seva via sr-dev
@dunst0 please use clang-format and force push the updated commit

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3815#issuecomment-2061056490
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:70f19ddd: pkg/kamailio: app_lua_sr module relocated to archive [skip ci]

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 70f19ddd16b392f46e32b41536bde6fba8e7e14a
URL: 
https://github.com/kamailio/kamailio/commit/70f19ddd16b392f46e32b41536bde6fba8e7e14a

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T11:09:40+02:00

pkg/kamailio: app_lua_sr module relocated to archive [skip ci]

---

Modified: pkg/kamailio/alpine/APKBUILD
Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  
https://github.com/kamailio/kamailio/commit/70f19ddd16b392f46e32b41536bde6fba8e7e14a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/70f19ddd16b392f46e32b41536bde6fba8e7e14a.patch

---

diff --git a/pkg/kamailio/alpine/APKBUILD b/pkg/kamailio/alpine/APKBUILD
index 0696216564a..a2c1f4ac238 100644
--- a/pkg/kamailio/alpine/APKBUILD
+++ b/pkg/kamailio/alpine/APKBUILD
@@ -157,7 +157,7 @@ _mod_list_presence="presence presence_conference 
presence_dialoginfo \
rls xcap_client xcap_server"
 
 # - modules depending on lua library
-_mod_list_lua="app_lua app_lua_sr"
+_mod_list_lua="app_lua"
 
 # - modules depending on perl library
 _mod_list_perl="app_perl db_perlvdb"
diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 6d79bb8ec9f..a9a33082316 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -2054,9 +2054,7 @@ fi
 %files  lua
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.app_lua
-%doc %{_docdir}/kamailio/modules/README.app_lua_sr
 %{_libdir}/kamailio/modules/app_lua.so
-%{_libdir}/kamailio/modules/app_lua_sr.so
 %endif
 
 

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:0c49d30f: app_lua_sr: module relocated to archive

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 0c49d30f9d5ae1b1c4b5210851e30725dfa7aa8b
URL: 
https://github.com/kamailio/kamailio/commit/0c49d30f9d5ae1b1c4b5210851e30725dfa7aa8b

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T11:09:02+02:00

app_lua_sr: module relocated to archive

---

Modified: src/Makefile.groups
Removed: src/modules/app_lua_sr/Makefile
Removed: src/modules/app_lua_sr/README
Removed: src/modules/app_lua_sr/app_lua_sr_api.c
Removed: src/modules/app_lua_sr/app_lua_sr_api.h
Removed: src/modules/app_lua_sr/app_lua_sr_exp.c
Removed: src/modules/app_lua_sr/app_lua_sr_exp.h
Removed: src/modules/app_lua_sr/app_lua_sr_mod.c
Removed: src/modules/app_lua_sr/doc/Makefile
Removed: src/modules/app_lua_sr/doc/app_lua_sr.xml
Removed: src/modules/app_lua_sr/doc/app_lua_sr_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/0c49d30f9d5ae1b1c4b5210851e30725dfa7aa8b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0c49d30f9d5ae1b1c4b5210851e30725dfa7aa8b.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] cfgutils lock (PR #3808)

2024-04-15 Thread Victor Seva via sr-dev
Merged #3808 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3808#event-12465438211
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:42476974: cfgutils: expose optional second string key for hashing at locks

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 424769743c93dea5a4d2c21f7a0ef8ea8779a5bb
URL: 
https://github.com/kamailio/kamailio/commit/424769743c93dea5a4d2c21f7a0ef8ea8779a5bb

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T10:50:26+02:00

cfgutils: expose optional second string key for hashing at locks

---

Modified: src/modules/cfgutils/api.h
Modified: src/modules/cfgutils/cfgutils.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/424769743c93dea5a4d2c21f7a0ef8ea8779a5bb.diff
Patch: 
https://github.com/kamailio/kamailio/commit/424769743c93dea5a4d2c21f7a0ef8ea8779a5bb.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:235591cd: cfgutils: document second optional string for hashing on lock functions family [skip ci]

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 235591cd704529589bbde700b6232ac55281d071
URL: 
https://github.com/kamailio/kamailio/commit/235591cd704529589bbde700b6232ac55281d071

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T10:50:26+02:00

cfgutils: document second optional string for hashing on lock functions family 
[skip ci]

---

Modified: src/modules/cfgutils/doc/cfgutils_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/235591cd704529589bbde700b6232ac55281d071.diff
Patch: 
https://github.com/kamailio/kamailio/commit/235591cd704529589bbde700b6232ac55281d071.patch

---

diff --git a/src/modules/cfgutils/doc/cfgutils_admin.xml 
b/src/modules/cfgutils/doc/cfgutils_admin.xml
index 1cab1284fd5..35721e31c6d 100644
--- a/src/modules/cfgutils/doc/cfgutils_admin.xml
+++ b/src/modules/cfgutils/doc/cfgutils_admin.xml
@@ -485,10 +485,10 @@ if(is_gflag("4"))



-   lock(key)
+   lock(key [, 
key2])

Lock the key. Can be used to synchronize operations in config 
file,
-   a hash id is computed over the key and appropriate lock is set 
in the
+   a hash id is computed over the keys and appropriate lock is set 
in the
lock array controlled by parameter "lock_set_size". Do not use 
lock()
after another lock() unless you are sure the keys hit different 
array
entries.
@@ -497,6 +497,9 @@ if(is_gflag("4"))
key can be static string or string with PVs.


+   key2 is optional and can be static string or 
string with PVs.
+   
+   
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
ONREPLY_ROUTE, BRANCH_ROUTE and LOCAL_ROUTE.

@@ -510,7 +513,7 @@ lock("$rU");



-   trylock(key)
+   trylock(key [, 
key2])

Try to lock the key. If the lock can not be obtained (possibly 
already locked),
the function returns an error and script execution continues.
@@ -519,6 +522,9 @@ lock("$rU");
key can be static string or string with PVs.


+   key2 is optional and can be static string or 
string with PVs.
+   
+   
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
ONREPLY_ROUTE, BRANCH_ROUTE and LOCAL_ROUTE.

@@ -535,7 +541,7 @@ if (trylock("$rU")) {



-   unlock(key)
+   unlock(key [, 
key2])

Unlock the key.

@@ -543,6 +549,9 @@ if (trylock("$rU")) {
key can be static string or string with PVs.


+   key2 is optional and can be static string or 
string with PVs.
+   
+   
This function can be used from REQUEST_ROUTE, FAILURE_ROUTE,
ONREPLY_ROUTE, BRANCH_ROUTE and LOCAL_ROUTE.

@@ -854,4 +863,3 @@ if (rand_event()) {

 
 
-

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:92ac41c1: app_lua_sr: support second str for cfgutils lock

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 92ac41c1e770077d39516fc049358b3c3897d590
URL: 
https://github.com/kamailio/kamailio/commit/92ac41c1e770077d39516fc049358b3c3897d590

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T10:50:26+02:00

app_lua_sr: support second str for cfgutils lock

---

Modified: src/modules/app_lua_sr/app_lua_sr_exp.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/92ac41c1e770077d39516fc049358b3c3897d590.diff
Patch: 
https://github.com/kamailio/kamailio/commit/92ac41c1e770077d39516fc049358b3c3897d590.patch

---

diff --git a/src/modules/app_lua_sr/app_lua_sr_exp.c 
b/src/modules/app_lua_sr/app_lua_sr_exp.c
index 522f0cfb87a..80a4cb69042 100644
--- a/src/modules/app_lua_sr/app_lua_sr_exp.c
+++ b/src/modules/app_lua_sr/app_lua_sr_exp.c
@@ -2783,20 +2783,29 @@ static const luaL_Reg _sr_sanity_Map[] = {
 static int lua_sr_cfgutils_lock(lua_State *L)
 {
int ret;
-   str lkey;
+   str lkey, lkey2;
 
if(!(_sr_lua_exp_reg_mods & SR_LUA_EXP_MOD_CFGUTILS)) {
LM_WARN("weird: cfgutils function executed but module not "
"registered\n");
return app_lua_return_error(L);
}
-   if(lua_gettop(L) != 1) {
+   ret = lua_gettop(L);
+   if(ret < 1 || ret > 3) {
LM_WARN("invalid number of parameters from Lua\n");
return app_lua_return_error(L);
}
+   if(ret > 1) {
+   lkey2.s = (char *)lua_tostring(L, -1);
+   lkey2.len = strlen(lkey2.s);
+   }
lkey.s = (char *)lua_tostring(L, -1);
lkey.len = strlen(lkey.s);
-   ret = _lua_cfgutilsb.mlock();
+   if(ret > 1) {
+   ret = _lua_cfgutilsb.mlock(, );
+   } else {
+   ret = _lua_cfgutilsb.mlock(, NULL);
+   }
 
return app_lua_return_int(L, ret);
 }
@@ -2808,20 +2817,29 @@ static int lua_sr_cfgutils_lock(lua_State *L)
 static int lua_sr_cfgutils_unlock(lua_State *L)
 {
int ret;
-   str lkey;
+   str lkey, lkey2;
 
if(!(_sr_lua_exp_reg_mods & SR_LUA_EXP_MOD_CFGUTILS)) {
LM_WARN("weird: cfgutils function executed but module not "
"registered\n");
return app_lua_return_error(L);
}
-   if(lua_gettop(L) != 1) {
+   ret = lua_gettop(L);
+   if(ret < 1 || ret > 3) {
LM_WARN("invalid number of parameters from Lua\n");
return app_lua_return_error(L);
}
+   if(ret > 1) {
+   lkey2.s = (char *)lua_tostring(L, -1);
+   lkey2.len = strlen(lkey2.s);
+   }
lkey.s = (char *)lua_tostring(L, -1);
lkey.len = strlen(lkey.s);
-   ret = _lua_cfgutilsb.munlock();
+   if(ret > 1) {
+   ret = _lua_cfgutilsb.munlock(, );
+   } else {
+   ret = _lua_cfgutilsb.munlock(, NULL);
+   }
 
return app_lua_return_int(L, ret);
 }

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:0fae1026: pkg/kamailio/deb: version 5.9.0~dev1 [skip ci]

2024-04-15 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 0fae1026d49aa765b4451d2534972b57a2c09998
URL: 
https://github.com/kamailio/kamailio/commit/0fae1026d49aa765b4451d2534972b57a2c09998

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-04-15T08:59:53+02:00

pkg/kamailio/deb: version 5.9.0~dev1 [skip ci]

reset debian/changelog for 5.9.x series

---

Modified: pkg/kamailio/deb/bionic/changelog
Modified: pkg/kamailio/deb/bookworm/changelog
Modified: pkg/kamailio/deb/bullseye/changelog
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/focal/changelog
Modified: pkg/kamailio/deb/jammy/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/0fae1026d49aa765b4451d2534972b57a2c09998.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0fae1026d49aa765b4451d2534972b57a2c09998.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] [kamailio/kamailio] cfgutils lock (PR #3808)

2024-04-10 Thread Victor Seva via sr-dev
 Pre-Submission Checklist
!-- Go over all points below, and after creating the PR, tick all the 
checkboxes that apply --
!-- All points should be verified, otherwise, read the CONTRIBUTING 
guidelines from above--
!-- If youre unsure about any of these, dont hesitate to ask on 
sr-dev mailing list --
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, 
...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook 
files
in `doc/` subfolder, the README file is autogenerated)

 Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

 Checklist:
!-- Go over all points below, and after creating the PR, tick the 
checkboxes that apply --
- [ ] PR should be backported to stable branches
- [x] Tested changes locally

 Description

expose in config via cfgutils ``core_case_hash`` optional second string key for 
hashing

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3808

-- Commit Summary --

  * cfgutils: expose optional second string key for hashing at locks
  * cfgutils: document second optional string for hashing on lock functions 
family [skip ci]
  * app_lua_sr: support second str for cfgutils lock

-- File Changes --

M src/modules/app_lua_sr/app_lua_sr_exp.c (30)
M src/modules/cfgutils/api.h (4)
M src/modules/cfgutils/cfgutils.c (103)
M src/modules/cfgutils/doc/cfgutils_admin.xml (18)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/3808.patch
https://github.com/kamailio/kamailio/pull/3808.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3808
You are receiving this because you are subscribed to this thread.

Message ID: kamailio/kamailio/pull/3...@github.com
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:87e60ca5: github: [skip ci]: bump tj-actions/changed-files from 43 to 44

2024-04-01 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 87e60ca580f327d1d34f6881cda1048e5658a94b
URL: 
https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b

Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-04-02T03:30:26+02:00

github: [skip ci]: bump tj-actions/changed-files from 43 to 44

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) 
from 43 to 44.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v43...v44)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] 

---

Modified: .github/workflows/devcontainer.yaml

---

Diff:  
https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/87e60ca580f327d1d34f6881cda1048e5658a94b.patch

---

diff --git a/.github/workflows/devcontainer.yaml 
b/.github/workflows/devcontainer.yaml
index a237e2a0338..e70f646891c 100644
--- a/.github/workflows/devcontainer.yaml
+++ b/.github/workflows/devcontainer.yaml
@@ -33,14 +33,14 @@ jobs:
   - name: Get changed files
 if: ${{ ! inputs.force }}
 id: changed-files
-uses: tj-actions/changed-files@v43
+uses: tj-actions/changed-files@v44
 with:
   since_last_remote_commit: true
 
   - name: changes in relevant files
 if: ${{ ! inputs.force }}
 id: changed-files-builder
-uses: tj-actions/changed-files@v43
+uses: tj-actions/changed-files@v44
 with:
   files: |
 .devcontainer/**

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 43 to 44 (PR #3801)

2024-04-01 Thread Victor Seva via sr-dev
Merged #3801 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3801#event-12317893880
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] RFC: move app_lua_sr to kamailio-archive

2024-03-26 Thread Victor Seva via sr-dev
Hi,

I would like to move app_lua_sr to kamailio-archive but I would like to hear if 
anyone out there has a solid reason not to do it. Since we have app_lua as KEMI 
for a long time I think is time to retire the old remains of app_lua

Cheers
-- 
-
|   ,''`. Victor Seva |
|  : :' :  linuxman...@torreviejawireless.org |
|  `. `'  PGP: 8F19 CADC D42A 42D4 5563  730C 51A0 9B18 CF5A 5068 |
|`-  Debian Developer |
  -


OpenPGP_signature.asc
Description: PGP signature


OpenPGP_0x7D7B65C42A0EC8B2.asc
Description: application/pgp-keys
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:a03dd2fd: dmq: improve debug logs related to locks

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: a03dd2fdb6ac30937f29fe63cabbe09902ad8300
URL: 
https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T01:13:39+01:00

dmq: improve debug logs related to locks

* dmq_node_list->lock
* dmq_worker->lock unreleased and some info inside worker_loop()

---

Modified: src/modules/dmq/dmq_funcs.c
Modified: src/modules/dmq/dmqnode.c
Modified: src/modules/dmq/notification_peer.c
Modified: src/modules/dmq/worker.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300.diff
Patch: 
https://github.com/kamailio/kamailio/commit/a03dd2fdb6ac30937f29fe63cabbe09902ad8300.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.5:fa08fabe: dmq: fix inter-lock on error

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.5
Commit: fa08fabebb0640d4fe6907b06c78f5154321e5c5
URL: 
https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T00:12:51+01:00

dmq: fix inter-lock on error

triggered by intermittent DNS resolution error. dmq workers
were getting locked at dmq_notification_callback_f() due to
this missing lock_release()

(cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2)
(cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea)
(cherry picked from commit 0a96c9f4fb3bf179d417b0188d619afd7d9096ef)
(cherry picked from commit 3ad3a61a901192290344bd4fadd724f61b8a)

---

Modified: src/modules/dmq/notification_peer.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5.diff
Patch: 
https://github.com/kamailio/kamailio/commit/fa08fabebb0640d4fe6907b06c78f5154321e5c5.patch

---

diff --git a/src/modules/dmq/notification_peer.c 
b/src/modules/dmq/notification_peer.c
index d40fd2cac2e..b04d0fa6d30 100644
--- a/src/modules/dmq/notification_peer.c
+++ b/src/modules/dmq/notification_peer.c
@@ -402,8 +402,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct 
sip_msg *msg)
/* trim the \r, \n and \0's */
trim_r(tmp_uri);
find = build_dmq_node(_uri, 0);
-   if(find == NULL)
-   return -1;
+   if(find == NULL) {
+   LM_ERR("error building dmq node\n");
+   goto error;
+   }
ret = find_dmq_node(update_list, find);
if(!ret) {
LM_DBG("found new node %.*s\n", STR_FMT(_uri));

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.6:3ad3a61a: dmq: fix inter-lock on error

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.6
Commit: 3ad3a61a901192290344bd4fadd724f61b8a
URL: 
https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T00:11:40+01:00

dmq: fix inter-lock on error

triggered by intermittent DNS resolution error. dmq workers
were getting locked at dmq_notification_callback_f() due to
this missing lock_release()

(cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2)
(cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea)
(cherry picked from commit 0a96c9f4fb3bf179d417b0188d619afd7d9096ef)

---

Modified: src/modules/dmq/notification_peer.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3ad3a61a901192290344bd4fadd724f61b8a.patch

---

diff --git a/src/modules/dmq/notification_peer.c 
b/src/modules/dmq/notification_peer.c
index b2470d5ff86..c62eefb1855 100644
--- a/src/modules/dmq/notification_peer.c
+++ b/src/modules/dmq/notification_peer.c
@@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct 
sip_msg *msg)
/* trim the \r, \n and \0's */
trim_r(tmp_uri);
find = build_dmq_node(_uri, 0);
-   if(find == NULL)
-   return -1;
+   if(find == NULL) {
+   LM_ERR("error building dmq node\n");
+   goto error;
+   }
ret = find_dmq_node(update_list, find);
if(!ret) {
LM_DBG("found new node %.*s\n", STR_FMT(_uri));

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:0a96c9f4: dmq: fix inter-lock on error

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 0a96c9f4fb3bf179d417b0188d619afd7d9096ef
URL: 
https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T00:10:01+01:00

dmq: fix inter-lock on error

triggered by intermittent DNS resolution error. dmq workers
were getting locked at dmq_notification_callback_f() due to
this missing lock_release()

(cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2)
(cherry picked from commit 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea)

---

Modified: src/modules/dmq/notification_peer.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0a96c9f4fb3bf179d417b0188d619afd7d9096ef.patch

---

diff --git a/src/modules/dmq/notification_peer.c 
b/src/modules/dmq/notification_peer.c
index b2470d5ff86..c62eefb1855 100644
--- a/src/modules/dmq/notification_peer.c
+++ b/src/modules/dmq/notification_peer.c
@@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct 
sip_msg *msg)
/* trim the \r, \n and \0's */
trim_r(tmp_uri);
find = build_dmq_node(_uri, 0);
-   if(find == NULL)
-   return -1;
+   if(find == NULL) {
+   LM_ERR("error building dmq node\n");
+   goto error;
+   }
ret = find_dmq_node(update_list, find);
if(!ret) {
LM_DBG("found new node %.*s\n", STR_FMT(_uri));

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:814f5bdc: dmq: fix inter-lock on error

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: 814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea
URL: 
https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T00:09:22+01:00

dmq: fix inter-lock on error

triggered by intermittent DNS resolution error. dmq workers
were getting locked at dmq_notification_callback_f() due to
this missing lock_release()

(cherry picked from commit 0d240e4e0dc3184ef37d338ba6872d295d6b16f2)

---

Modified: src/modules/dmq/notification_peer.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea.diff
Patch: 
https://github.com/kamailio/kamailio/commit/814f5bdc9ee5d4594ffb0fd72843bca7b5fa79ea.patch

---

diff --git a/src/modules/dmq/notification_peer.c 
b/src/modules/dmq/notification_peer.c
index 6189acf5359..5e9452a51f3 100644
--- a/src/modules/dmq/notification_peer.c
+++ b/src/modules/dmq/notification_peer.c
@@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct 
sip_msg *msg)
/* trim the \r, \n and \0's */
trim_r(tmp_uri);
find = build_dmq_node(_uri, 0);
-   if(find == NULL)
-   return -1;
+   if(find == NULL) {
+   LM_ERR("error building dmq node\n");
+   goto error;
+   }
ret = find_dmq_node(update_list, find);
 
if(!ret) {

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:0d240e4e: dmq: fix inter-lock on error

2024-03-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 0d240e4e0dc3184ef37d338ba6872d295d6b16f2
URL: 
https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-23T00:00:44+01:00

dmq: fix inter-lock on error

triggered by intermittent DNS resolution error. dmq workers
were getting locked at dmq_notification_callback_f() due to
this missing lock_release()

---

Modified: src/modules/dmq/notification_peer.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0d240e4e0dc3184ef37d338ba6872d295d6b16f2.patch

---

diff --git a/src/modules/dmq/notification_peer.c 
b/src/modules/dmq/notification_peer.c
index 6189acf5359..5e9452a51f3 100644
--- a/src/modules/dmq/notification_peer.c
+++ b/src/modules/dmq/notification_peer.c
@@ -405,8 +405,10 @@ int extract_node_list(dmq_node_list_t *update_list, struct 
sip_msg *msg)
/* trim the \r, \n and \0's */
trim_r(tmp_uri);
find = build_dmq_node(_uri, 0);
-   if(find == NULL)
-   return -1;
+   if(find == NULL) {
+   LM_ERR("error building dmq node\n");
+   goto error;
+   }
ret = find_dmq_node(update_list, find);
 
if(!ret) {

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 42 to 43 (PR #3789)

2024-03-18 Thread Victor Seva via sr-dev
Merged #3789 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3789#event-12159886821
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:9ae99b3d: github: [skip ci]: bump tj-actions/changed-files from 42 to 43

2024-03-18 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 9ae99b3dfc6eb538ea93d6775a283096fe17384c
URL: 
https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c

Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-03-18T22:47:14+01:00

github: [skip ci]: bump tj-actions/changed-files from 42 to 43

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) 
from 42 to 43.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v42...v43)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] 

---

Modified: .github/workflows/devcontainer.yaml

---

Diff:  
https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9ae99b3dfc6eb538ea93d6775a283096fe17384c.patch

---

diff --git a/.github/workflows/devcontainer.yaml 
b/.github/workflows/devcontainer.yaml
index 2da1e56c742..a237e2a0338 100644
--- a/.github/workflows/devcontainer.yaml
+++ b/.github/workflows/devcontainer.yaml
@@ -33,14 +33,14 @@ jobs:
   - name: Get changed files
 if: ${{ ! inputs.force }}
 id: changed-files
-uses: tj-actions/changed-files@v42
+uses: tj-actions/changed-files@v43
 with:
   since_last_remote_commit: true
 
   - name: changes in relevant files
 if: ${{ ! inputs.force }}
 id: changed-files-builder
-uses: tj-actions/changed-files@v42
+uses: tj-actions/changed-files@v43
 with:
   files: |
 .devcontainer/**

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:5392dbf8: pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]

2024-03-14 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 5392dbf8070abf36734d9c857924df91186bc2dd
URL: 
https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd

Author: Oded Arbel 
Committer: Victor Seva 
Date: 2024-03-14T11:01:53+01:00

pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]

Building the WolfSSL module should be optional, even if it is on by default, 
builders should be able to choose to not need to install 4th party repositories.

fixes #3781

---

Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  
https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5392dbf8070abf36734d9c857924df91186bc2dd.patch

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 59f7360f9e2..8bbe77b63dd 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -29,6 +29,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 7
@@ -65,6 +66,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 8
@@ -111,6 +113,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 9
@@ -157,6 +160,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?suse_version}
@@ -186,6 +190,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 # build with openssl 1.1.1 on RHEL 7 based dists
@@ -1037,6 +1042,7 @@ BuildRequires:  openssl-devel
 TLS transport for Kamailio.
 
 
+%if %{with wolfssl}
 %packagetls_wolfssl
 Summary:TLS transport for Kamailio based on wolfSSL
 Group:  %{PKGGROUP}
@@ -1044,6 +1050,7 @@ BuildRequires: pkgconfig(wolfssl)
 
 %descriptiontls_wolfssl
 TLS transport for Kamailio based on wolfSSL
+%endif
 
 
 %packagetcpops
@@ -1291,7 +1298,11 @@ make every-module skip_modules="app_mono db_cassandra 
db_oracle iptrtpproxy \
 %if "%{?_unitdir}" != ""
 ksystemd \
 %endif
-ktls ktls_wolfssl kunixodbc kutils \
+ktls \
+%if %{with wolfssl}
+ktls_wolfssl \
+%endif
+kunixodbc kutils \
 %if %{with websocket}
 kwebsocket \
 %endif
@@ -1400,7 +1411,11 @@ make install-modules-all skip_modules="app_mono 
db_cassandra db_oracle \
 %if "%{?_unitdir}" != ""
 ksystemd \
 %endif
-ktls ktls_wolfssl kunixodbc kutils \
+ktls \
+%if %{with wolfssl}
+ktls_wolfssl \
+%endif
+kunixodbc kutils \
 %if %{with websocket}
 kwebsocket \
 %endif
@@ -2337,10 +2352,12 @@ fi
 %{_libdir}/kamailio/modules/tls.so
 
 
+%if %{with wolfssl}
 %files  tls_wolfssl
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.tls_wolfssl
 %{_libdir}/kamailio/modules/tls_wolfssl.so
+%endif
 
 
 %files  tcpops

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Allow builders to disable wolfssl module (PR #3781)

2024-03-14 Thread Victor Seva via sr-dev
Thanks

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3781#issuecomment-1997077147
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:f9b1cca3: pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]

2024-03-14 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: f9b1cca33a45560f06b2708975c624da9728b6f5
URL: 
https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5

Author: Oded Arbel 
Committer: Victor Seva 
Date: 2024-03-14T11:04:48+01:00

pkg/kamailio/obs: Allow builders to disable wolfssl module [skip ci]

Building the WolfSSL module should be optional, even if it is on by default, 
builders should be able to choose to not need to install 4th party repositories.

fixes #3781

(cherry picked from commit 5392dbf8070abf36734d9c857924df91186bc2dd)

---

Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  
https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f9b1cca33a45560f06b2708975c624da9728b6f5.patch

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 3d83430e9dc..d8811a2d1f9 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -29,6 +29,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 7
@@ -65,6 +66,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 8
@@ -111,6 +113,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?rhel} == 9
@@ -157,6 +160,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 %if 0%{?suse_version}
@@ -186,6 +190,7 @@
 %bcond_without sctp
 %bcond_without websocket
 %bcond_without xmlrpc
+%bcond_without wolfssl
 %endif
 
 # build with openssl 1.1.1 on RHEL 7 based dists
@@ -1037,6 +1042,7 @@ BuildRequires:  openssl-devel
 TLS transport for Kamailio.
 
 
+%if %{with wolfssl}
 %packagetls_wolfssl
 Summary:TLS transport for Kamailio based on wolfSSL
 Group:  %{PKGGROUP}
@@ -1044,6 +1050,7 @@ BuildRequires: pkgconfig(wolfssl)
 
 %descriptiontls_wolfssl
 TLS transport for Kamailio based on wolfSSL
+%endif
 
 
 %packagetcpops
@@ -1291,7 +1298,11 @@ make every-module skip_modules="app_mono db_cassandra 
db_oracle iptrtpproxy \
 %if "%{?_unitdir}" != ""
 ksystemd \
 %endif
-ktls ktls_wolfssl kunixodbc kutils \
+ktls \
+%if %{with wolfssl}
+ktls_wolfssl \
+%endif
+kunixodbc kutils \
 %if %{with websocket}
 kwebsocket \
 %endif
@@ -1400,7 +1411,11 @@ make install-modules-all skip_modules="app_mono 
db_cassandra db_oracle \
 %if "%{?_unitdir}" != ""
 ksystemd \
 %endif
-ktls ktls_wolfssl kunixodbc kutils \
+ktls \
+%if %{with wolfssl}
+ktls_wolfssl \
+%endif
+kunixodbc kutils \
 %if %{with websocket}
 kwebsocket \
 %endif
@@ -2337,10 +2352,12 @@ fi
 %{_libdir}/kamailio/modules/tls.so
 
 
+%if %{with wolfssl}
 %files  tls_wolfssl
 %defattr(-,root,root)
 %doc %{_docdir}/kamailio/modules/README.tls_wolfssl
 %{_libdir}/kamailio/modules/tls_wolfssl.so
+%endif
 
 
 %files  tcpops

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Allow builders to disable wolfssl module (PR #3781)

2024-03-14 Thread Victor Seva via sr-dev
Closed #3781 via 5392dbf8070abf36734d9c857924df91186bc2dd.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3781#event-12115678322
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:50a0f82e: pkg/kamailio/deb: version set 5.8.0 [skip ci]

2024-03-07 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: 50a0f82eab0a1f9dc5738f022231eba349a46a3a
URL: 
https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-03-07T11:42:06+01:00

pkg/kamailio/deb: version set 5.8.0 [skip ci]

---

Modified: pkg/kamailio/deb/bionic/changelog
Modified: pkg/kamailio/deb/bookworm/changelog
Modified: pkg/kamailio/deb/bullseye/changelog
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/focal/changelog
Modified: pkg/kamailio/deb/jammy/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/50a0f82eab0a1f9dc5738f022231eba349a46a3a.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Hello I am Facing issue while Installing Kamilio from Herulspreet brach. It is showing multiple definitions under CDP module. (Issue #3769)

2024-02-27 Thread Victor Seva via sr-dev
Closed #3769 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3769#event-11935799135
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Hello I am Facing issue while Installing Kamilio from Herulspreet brach. It is showing multiple definitions under CDP module. (Issue #3769)

2024-02-27 Thread Victor Seva via sr-dev
Kamailio Project uses GitHub Issues only for bugs in the code or feature 
requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration 
file, ask on sr-users mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/

If you have questions about developing extensions to Kamailio or its existing C 
code, ask on sr-dev mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3769#issuecomment-1966470872
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Kamailio 5.6 (and 5.7) core dumps with uac_req_send() from uac module (Issue #3725)

2024-02-26 Thread Victor Seva via sr-dev
There are dbgsym packages available in the repo

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3725#issuecomment-1965516681
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:5af33b2e: pkg/docker: set branch 5.8 and refresh [skip ci]

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: 5af33b2e0ddc1098919008d44ab91959bc7dfb80
URL: 
https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-23T21:24:19+01:00

pkg/docker: set branch 5.8 and refresh [skip ci]

---

Modified: .gitmodules
Modified: pkg/docker

---

Diff:  
https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5af33b2e0ddc1098919008d44ab91959bc7dfb80.patch

---

diff --git a/.gitmodules b/.gitmodules
index 1d8f99966ed..9ea3c41fd05 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,7 @@
 [submodule "pkg/docker"]
path = pkg/docker
url = https://github.com/kamailio/kamailio-ci.git
+   branch = 5.8
 [submodule "src/modules/tls_wolfssl/lib/wolfssl"]
path = misc/external/wolfssl/wolfssl
url = https://github.com/wolfSSL/wolfssl.git
diff --git a/pkg/docker b/pkg/docker
index cf48a82c5f9..969a5dd0d65 16
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit cf48a82c5f9df67813d14e6619cc9a41ec9a683b
+Subproject commit 969a5dd0d65dadce47049dc5e0dd145e9aff47b8

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:fbdca3da: github: set branch to 5.8 [skip ci]

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: fbdca3da6293aba548989e3ab9d600be338199b2
URL: 
https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-23T20:43:33+01:00

github: set branch to 5.8 [skip ci]

---

Modified: .devcontainer/devcontainer.json
Modified: .github/workflows/devcontainer.yaml
Modified: .github/workflows/main.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/fbdca3da6293aba548989e3ab9d600be338199b2.patch

---

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 2a0413eae4d..9a3e3a47449 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -4,7 +4,7 @@
*/
   "name": "Debian",
   "build": {
-"cacheFrom": "ghcr.io/kamailio/kamailio-master-devcontainer",
+"cacheFrom": "ghcr.io/kamailio/kamailio-5.8-devcontainer",
 "context": "../pkg/kamailio/deb",
 "dockerfile": "Dockerfile"
   },
diff --git a/.github/workflows/devcontainer.yaml 
b/.github/workflows/devcontainer.yaml
index 2da1e56c742..f1549a9bca8 100644
--- a/.github/workflows/devcontainer.yaml
+++ b/.github/workflows/devcontainer.yaml
@@ -4,7 +4,7 @@ name: build devcontainer image
 'on':
   push:
 branches:
-  - master
+  - 5.8
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
 inputs:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8b7ae03a271..145e9f8548f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,7 +3,7 @@ name: build
 'on':
   push:
 branches:
-  - master
+  - 5.8
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
 jobs:

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.8:3566edd0: pkg/kamailio/deb: version set 5.8.0~rc0

2024-02-23 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.8
Commit: 3566edd00ea729bb187b160a80b54fe92e2bbe4d
URL: 
https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-23T20:05:34+01:00

pkg/kamailio/deb: version set 5.8.0~rc0

---

Modified: pkg/kamailio/deb/bionic/changelog
Modified: pkg/kamailio/deb/bookworm/changelog
Modified: pkg/kamailio/deb/bullseye/changelog
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/focal/changelog
Modified: pkg/kamailio/deb/jammy/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3566edd00ea729bb187b160a80b54fe92e2bbe4d.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] microhttpd: fixed typo in the documentation (PR #3761)

2024-02-22 Thread Victor Seva via sr-dev
merged manually with small change in commit message. Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3761#issuecomment-1959039317
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] microhttpd: fixed typo in the documentation (PR #3761)

2024-02-22 Thread Victor Seva via sr-dev
Closed #3761.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3761#event-11888359436
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:ff8229b5: microhttpd: fixed typo in the documentation [skip ci]

2024-02-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: ff8229b58d6f91bae527bc2f5912c7d291c55268
URL: 
https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268

Author: falshunov <37283637+falshu...@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-02-22T10:28:11+01:00

microhttpd: fixed typo in the documentation [skip ci]

---

Modified: src/modules/microhttpd/doc/microhttpd_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ff8229b58d6f91bae527bc2f5912c7d291c55268.patch

---

diff --git a/src/modules/microhttpd/doc/microhttpd_admin.xml 
b/src/modules/microhttpd/doc/microhttpd_admin.xml
index a50edb79818..1967c845b82 100644
--- a/src/modules/microhttpd/doc/microhttpd_admin.xml
+++ b/src/modules/microhttpd/doc/microhttpd_admin.xml
@@ -43,7 +43,7 @@



-   libmicrohhtpd - 
libmicrohttpd library
+   libmicrohttpd - 
libmicrohttpd library




___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tools/kemi: fix bug in mock (PR #3760)

2024-02-20 Thread Victor Seva via sr-dev
Merged #3760 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3760#event-11872017748
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:e54152e0: tools/kemi: fix bug in mock

2024-02-20 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: e54152e06e4a097ac17522e282f26b277ecae4da
URL: 
https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da

Author: Torrey Searle 
Committer: Victor Seva 
Date: 2024-02-21T08:28:20+01:00

tools/kemi: fix bug in mock

remove stray debug print statement that results in generated code
being invalid

---

Modified: misc/tools/kemi/python_mock/kemi_mock.py

---

Diff:  
https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e54152e06e4a097ac17522e282f26b277ecae4da.patch

---

diff --git a/misc/tools/kemi/python_mock/kemi_mock.py 
b/misc/tools/kemi/python_mock/kemi_mock.py
index a755ae4a7c0..48a73efa232 100755
--- a/misc/tools/kemi/python_mock/kemi_mock.py
+++ b/misc/tools/kemi/python_mock/kemi_mock.py
@@ -82,7 +82,6 @@ def printFunction(module_name, func, indent):
 log_format_params = "%s"
 
 param_list = []
-print("func['params']=%s" % func['params'])
 if func['params'] is not None and func['params'] != "none":
 param_list = func['params'].split(", ")
 i = 0

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:bf40176e: core/rthreads.h: use global ksr_tls_threads_mode to constrain thread

2024-02-11 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: bf40176e34e869b567a0f36eab28739508797080
URL: 
https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080

Author: S-P Chan 
Committer: Victor Seva 
Date: 2024-02-12T07:52:26+01:00

core/rthreads.h: use global ksr_tls_threads_mode to constrain thread
wrapping

- 0: run wrapped function directly
- 1: run wrapped function in thread for process#0 else run directly
- 2: always run wrapped function in thread

---

Modified: src/core/rthreads.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080.diff
Patch: 
https://github.com/kamailio/kamailio/commit/bf40176e34e869b567a0f36eab28739508797080.patch

---

diff --git a/src/core/rthreads.h b/src/core/rthreads.h
index fa60ccef071..e96f45c9395 100644
--- a/src/core/rthreads.h
+++ b/src/core/rthreads.h
@@ -27,6 +27,7 @@
  */
 #include 
 
+#include "./globals.h"
 /*
  * prototype: void *fn(void *arg) { ... }
  */
@@ -39,9 +40,11 @@ static void *run_threadP(_thread_proto fn, void *arg)
pthread_t tid;
void *ret;
 
-   if(likely(process_no)) {
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
return fn(arg);
}
+
pthread_create(, NULL, fn, arg);
pthread_join(tid, );
 
@@ -73,7 +76,9 @@ static void *run_threadPI(_thread_protoPI fn, void *arg1, int 
arg2)
 #ifdef USE_TLS
pthread_t tid;
void *ret;
-   if(likely(process_no)) {
+
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
return fn(arg1, arg2);
}
 
@@ -84,7 +89,7 @@ static void *run_threadPI(_thread_protoPI fn, void *arg1, int 
arg2)
return ret;
 #else
return fn(arg1, arg2);
-#endif /* USE_TLS */
+#endif
 }
 #endif
 
@@ -107,18 +112,19 @@ static void run_threadV(_thread_protoV fn)
 {
 #ifdef USE_TLS
pthread_t tid;
-   if(likely(process_no)) {
+
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
fn();
return;
}
 
-
pthread_create(, NULL, (_thread_proto)run_thread_wrapV,
&(struct _thread_argsV){fn});
pthread_join(tid, NULL);
 #else
fn();
-#endif /* USE_TLS */
+#endif
 }
 #endif
 
@@ -146,10 +152,10 @@ static int run_thread4PP(_thread_proto4PP fn, void *arg1, 
void *arg2)
pthread_t tid;
int ret;
 
-   if(likely(process_no)) {
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
return fn(arg1, arg2);
}
-
pthread_create(, NULL, (_thread_proto)run_thread_wrap4PP,
&(struct _thread_args4PP){fn, arg1, arg2, });
pthread_join(tid, NULL);
@@ -182,17 +188,17 @@ static void run_thread0P(_thread_proto0P fn, void *arg1)
 #ifdef USE_TLS
pthread_t tid;
 
-   if(likely(process_no)) {
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
fn(arg1);
return;
}
-
pthread_create(, NULL, (_thread_proto)run_thread_wrap0P,
&(struct _thread_args0P){fn, arg1});
pthread_join(tid, NULL);
 #else
-   fn(arg1);
-#endif /* USE_TLS */
+   fn(arg1)
+#endif
 }
 #endif
 
@@ -234,7 +240,8 @@ static int run_thread4P5I2P2(_thread_proto4P5I2P2 fn, void 
*arg1, void *arg2,
pthread_t tid;
int ret;
 
-   if(likely(process_no)) {
+   if(likely(ksr_tls_threads_mode == 0
+  || (ksr_tls_threads_mode == 1 && process_no > 0))) {
return fn(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
}
pthread_create(, NULL, (_thread_proto)run_thread_wrap4P5I2P2,

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:253f13f1: tls: restore default to bypass thread guards

2024-02-11 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 253f13f18ec6853764d950d58f467c331d03425a
URL: 
https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a

Author: S-P Chan 
Committer: Victor Seva 
Date: 2024-02-12T07:52:26+01:00

tls: restore default to bypass thread guards

- restore <= 5.7.3 behaviour
- require user to opt-in to libssl thread-guards
  with tls_threads_mode = 1|2

---

Modified: src/modules/tls/tls_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/253f13f18ec6853764d950d58f467c331d03425a.patch

---

diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index beaf1b7b70b..3359aaffdcc 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -451,9 +451,9 @@ static int mod_child(int rank)
 #if OPENSSL_VERSION_NUMBER >= 0x010101000L
 /*
  * OpenSSL 3.x/1.1.1: create shared SSL_CTX* in worker to avoid init of
- * libssl in rank 0(thread#1)
+ * libssl in rank 0(thread#1). Requires tls_threads_mode = 1 config.
  */
-if(rank == PROC_SIPINIT) {
+if((rank == PROC_SIPINIT && ksr_tls_threads_mode) || (rank == 
PROC_INIT && !ksr_tls_threads_mode)) {
 #else
 if(rank == PROC_INIT) {
 #endif

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:2f0cca81: Sample etc/kamailio.cfg: global var tls_threads_mode

2024-02-11 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 2f0cca81bfc47783098e4c869b038229cd3e4ed0
URL: 
https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0

Author: S-P Chan 
Committer: Victor Seva 
Date: 2024-02-12T07:52:26+01:00

Sample etc/kamailio.cfg: global var tls_threads_mode
- load tls first if used
- global var tls_threads_mode

---

Modified: etc/kamailio.cfg

---

Diff:  
https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2f0cca81bfc47783098e4c869b038229cd3e4ed0.patch

---

diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
old mode 100644
new mode 100755
index fe7b111a012..a95a652b935
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -220,6 +220,13 @@ enable_tls=yes
 
 /* upper limit for TLS connections */
 tls_max_connections=2048
+
+/* For OpenSSL 3 integration
+ * functions calling libssl3 can be invoked in a transient thread
+ * 0: disable threaded calls
+ * 1: use threads for process#0 only
+ * 2: use threads for all processes */
+tls_threads_mode=1
 #!endif
 
 /* set it to yes to enable sctp and load sctp.so module */
@@ -257,6 +264,12 @@ voicemail.srv_port = "5060" desc "VoiceMail Port"
 /* set paths to location of modules */
 # mpath="/usr/local/lib/kamailio/modules/"
 
+# when using TLS with OpenSSL it is recommended to load this module
+# first so that OpenSSL is initialized correctly
+#!ifdef WITH_TLS
+loadmodule "tls.so"
+#!endif
+
 #!ifdef WITH_MYSQL
 loadmodule "db_mysql.so"
 #!endif
@@ -319,10 +332,6 @@ loadmodule "rtpproxy.so"
 #!endif
 #!endif
 
-#!ifdef WITH_TLS
-loadmodule "tls.so"
-#!endif
-
 #!ifdef WITH_HTABLE
 loadmodule "htable.so"
 #!endif

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] [5.7] Restore libssl default behaviour on stable; opt-in to libssl thread-guards required (PR #3754)

2024-02-11 Thread Victor Seva via sr-dev
Merged #3754 into 5.7.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3754#event-11770580624
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:5.7:3697d763: core: added tls_threads_mode global parameter

2024-02-11 Thread Victor Seva via sr-dev
Module: kamailio
Branch: 5.7
Commit: 3697d763e340b7e88532a8b1920b0088c08fbc72
URL: 
https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72

Author: Daniel-Constantin Mierla 
Committer: Victor Seva 
Date: 2024-02-12T07:52:26+01:00

core: added tls_threads_mode global parameter

- control how to execute functions that may be using libssl3 behind

---

Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/globals.h
Modified: src/main.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3697d763e340b7e88532a8b1920b0088c08fbc72.patch

---

diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index 82278d5447a..d342aa5143d 100644
--- a/src/core/cfg.lex
+++ b/src/core/cfg.lex
@@ -439,6 +439,7 @@ TCP_WAIT_DATA   "tcp_wait_data"
 TCP_SCRIPT_MODE"tcp_script_mode"
 DISABLE_TLS"disable_tls"|"tls_disable"
 ENABLE_TLS "enable_tls"|"tls_enable"
+TLS_THREADS_MODE   "tls_threads_mode"
 TLSLOG "tlslog"|"tls_log"
 TLS_PORT_NO"tls_port_no"
 TLS_METHOD "tls_method"
@@ -953,6 +954,7 @@ IMPORTFILE  "import_file"
 {TCP_SCRIPT_MODE} { count(); yylval.strval=yytext; return 
TCP_SCRIPT_MODE; }
 {DISABLE_TLS} { count(); yylval.strval=yytext; return DISABLE_TLS; }
 {ENABLE_TLS}  { count(); yylval.strval=yytext; return ENABLE_TLS; }
+{TLS_THREADS_MODE}{ count(); yylval.strval=yytext; return 
TLS_THREADS_MODE; }
 {TLSLOG}  { count(); yylval.strval=yytext; return 
TLS_PORT_NO; }
 {TLS_PORT_NO} { count(); yylval.strval=yytext; return TLS_PORT_NO; }
 {TLS_METHOD}  { count(); yylval.strval=yytext; return TLS_METHOD; }
diff --git a/src/core/cfg.y b/src/core/cfg.y
index 1f2ad7fb3fa..412fe5dece4 100644
--- a/src/core/cfg.y
+++ b/src/core/cfg.y
@@ -469,6 +469,7 @@ extern char *default_routename;
 %token TCP_SCRIPT_MODE
 %token DISABLE_TLS
 %token ENABLE_TLS
+%token TLS_THREADS_MODE
 %token TLSLOG
 %token TLS_PORT_NO
 %token TLS_METHOD
@@ -1440,6 +1441,14 @@ assign_stm:
#endif
}
| ENABLE_TLS EQUAL error { yyerror("boolean value expected"); }
+   | TLS_THREADS_MODE EQUAL NUMBER {
+   #ifdef USE_TLS
+   ksr_tls_threads_mode = $3;
+   #else
+   warn("tls support not compiled in");
+   #endif
+   }
+   | TLS_THREADS_MODE EQUAL error { yyerror("int value expected"); }
| TLSLOG EQUAL NUMBER {
#ifdef CORE_TLS
tls_log=$3;
diff --git a/src/core/globals.h b/src/core/globals.h
index 207205c9957..0487a3114eb 100644
--- a/src/core/globals.h
+++ b/src/core/globals.h
@@ -108,6 +108,7 @@ extern int ksr_tcp_script_mode;
 #ifdef USE_TLS
 extern int tls_disable;
 extern unsigned short tls_port_no;
+extern int ksr_tls_threads_mode;
 #endif
 #ifdef USE_SCTP
 extern int sctp_disable;
diff --git a/src/main.c b/src/main.c
index 8e34285fde2..f7cb643ea34 100644
--- a/src/main.c
+++ b/src/main.c
@@ -326,8 +326,9 @@ int tcp_disable = 0; /* 1 if tcp is disabled */
 int tls_disable = 0; /* tls enabled by default */
 #else
 int tls_disable = 1; /* tls disabled by default */
-#endif /* CORE_TLS */
-#endif /* USE_TLS */
+#endif   /* CORE_TLS */
+int ksr_tls_threads_mode = 0; /* threads execution mode for tls with libssl */
+#endif   /* USE_TLS */
 #ifdef USE_SCTP
 int sctp_children_no = 0;
 int sctp_disable = 2; /* 1 if sctp is disabled, 2 if auto mode, 0 enabled */

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:8bdd9ca4: outbound: fix build on xenial

2024-02-03 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d
URL: 
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-03T10:53:33+01:00

outbound: fix build on xenial

> outbound_mod.c: In function 'mod_init':
> outbound_mod.c:122:2: error: too many arguments to function 'mod_init_openssl'
>   mod_init_openssl(NULL);
>   ^
> outbound_mod.c:82:13: note: declared here
>  static void mod_init_openssl(void)
 ^

---

Modified: src/modules/outbound/outbound_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8bdd9ca4b3c3d4f9f2f201b0a9e0ad9a61eee41d.patch

---

diff --git a/src/modules/outbound/outbound_mod.c 
b/src/modules/outbound/outbound_mod.c
index 24d7a54cd71..e5ed1712607 100644
--- a/src/modules/outbound/outbound_mod.c
+++ b/src/modules/outbound/outbound_mod.c
@@ -119,7 +119,7 @@ static int mod_init(void)
ob_key.len = OB_KEY_LEN;
 
 #if OPENSSL_VERSION_NUMBER < 0x010101000L
-   mod_init_openssl(NULL);
+   mod_init_openssl();
 #else
run_threadV(mod_init_openssl);
 #endif

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:b8c0a375: db_mysql: fix build for stretch

2024-02-03 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: b8c0a3757eb282ddb9e4878deb7120c4efd7f571
URL: 
https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-03T10:41:43+01:00

db_mysql: fix build for stretch

* mysql_optionsv is not there. We still use the deprecated flavour
* MYSQL_OPT_SSL_ENFORCE is not there

---

Modified: src/modules/db_mysql/km_my_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b8c0a3757eb282ddb9e4878deb7120c4efd7f571.patch

---

diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 88c950417a6..b4c4dca33b0 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -129,10 +129,14 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
case 2: /* SSL_MODE_PREFERRED */
case 3: /* SSL_MODE_REQUIRED */
case 4: /* SSL_MODE_VERIFY_CA */
-   mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void 
*)&(int){1});
+#if MYSQL_VERSION_ID >= 100339
+   mysql_options(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void 
*)&(int){1});
+#else
+   LM_WARN("ssl mode not supported by %s\n", 
MARIADB_BASE_VERSION);
+#endif
break;
case 5: /* SSL_MODE_VERIFY_IDENTITY */
-   mysql_optionsv(ptr->con, 
MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
+   mysql_options(ptr->con, 
MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
(void *)&(int){1});
break;
default:

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:2cb2e5c9: Revert "db_mysql: fix build for older releases"

2024-02-03 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 2cb2e5c99c3e565762820ef702404ae5ec59a6c9
URL: 
https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-03T09:47:46+01:00

Revert "db_mysql: fix build for older releases"

it doesn't fix anything

This reverts commit f0e73eabee3be198dbad2e50752d9889e4aa8e5f.

---

Modified: src/modules/db_mysql/km_my_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2cb2e5c99c3e565762820ef702404ae5ec59a6c9.patch

---

diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 7a5d090352d..88c950417a6 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -117,7 +117,6 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT,
(const void *)_mysql_timeout_interval);
 
-#if MYSQL_VERSION_ID > 50710
 #ifdef MARIADB_BASE_VERSION
/*
 * emulate SSL_MODE_ from MySQL
@@ -142,6 +141,7 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
break;
}
 #else
+#if MYSQL_VERSION_ID > 50710
if(db_mysql_opt_ssl_mode != 0) {
unsigned int optuint = 0;
if(db_mysql_opt_ssl_mode == 1) {
@@ -155,7 +155,6 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
}
mysql_options(ptr->con, MYSQL_OPT_SSL_MODE, (const void 
*));
}
-#endif /* MARIADB_BASE_VERSION */
 #else
if(db_mysql_opt_ssl_mode != 0) {
LM_WARN("ssl mode not supported by mysql version (value %u) - "
@@ -163,6 +162,7 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
(unsigned int)db_mysql_opt_ssl_mode);
}
 #endif /* MYSQL_VERSION_ID */
+#endif /* MARIADB_BASE_VERSION */
 
 #if MYSQL_VERSION_ID > 50012
/* set reconnect flag if enabled */

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:015da378: pkg/kamailio/deb: no libpcre2-dev on older releases

2024-02-02 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 015da378ab8b4ce5ced8b05f9c51e809ec11e53e
URL: 
https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-02T15:21:39+01:00

pkg/kamailio/deb: no libpcre2-dev on older releases

---

Modified: pkg/kamailio/deb/debian/backports/jessie
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/jessie/control
Modified: pkg/kamailio/deb/precise/control
Modified: pkg/kamailio/deb/trusty/control
Modified: pkg/kamailio/deb/wheezy/control

---

Diff:  
https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/015da378ab8b4ce5ced8b05f9c51e809ec11e53e.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:f0e73eab: db_mysql: fix build for older releases

2024-02-02 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: f0e73eabee3be198dbad2e50752d9889e4aa8e5f
URL: 
https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-02T15:21:39+01:00

db_mysql: fix build for older releases

> km_my_con.c: In function 'db_mysql_new_connection':
> km_my_con.c:132:4: warning: implicit declaration of function 'mysql_optionsv' 
> [-Wimplicit-function-declaration]
>  mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1});
>  ^~
> km_my_con.c:132:29: error: 'MYSQL_OPT_SSL_ENFORCE' undeclared (first use in 
> this function)
> mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void *)&(int){1});
>  ^
> km_my_con.c:132:29: note: each undeclared identifier is reported only once 
> for each function it appears in
> ../../Makefile.rules:100: recipe for target 'km_my_con.o' failed

---

Modified: src/modules/db_mysql/km_my_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f0e73eabee3be198dbad2e50752d9889e4aa8e5f.patch

---

diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index 88c950417a6..7a5d090352d 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -117,6 +117,7 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT,
(const void *)_mysql_timeout_interval);
 
+#if MYSQL_VERSION_ID > 50710
 #ifdef MARIADB_BASE_VERSION
/*
 * emulate SSL_MODE_ from MySQL
@@ -141,7 +142,6 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
break;
}
 #else
-#if MYSQL_VERSION_ID > 50710
if(db_mysql_opt_ssl_mode != 0) {
unsigned int optuint = 0;
if(db_mysql_opt_ssl_mode == 1) {
@@ -155,6 +155,7 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
}
mysql_options(ptr->con, MYSQL_OPT_SSL_MODE, (const void 
*));
}
+#endif /* MARIADB_BASE_VERSION */
 #else
if(db_mysql_opt_ssl_mode != 0) {
LM_WARN("ssl mode not supported by mysql version (value %u) - "
@@ -162,7 +163,6 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
(unsigned int)db_mysql_opt_ssl_mode);
}
 #endif /* MYSQL_VERSION_ID */
-#endif /* MARIADB_BASE_VERSION */
 
 #if MYSQL_VERSION_ID > 50012
/* set reconnect flag if enabled */

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:80214d2f: pkg/kamailio/deb: version set 5.8.0~pre0

2024-02-02 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 80214d2f878b3f2d7547060c9d4bd578a9e1a837
URL: 
https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-02T15:21:39+01:00

pkg/kamailio/deb: version set 5.8.0~pre0

---

Modified: pkg/kamailio/deb/bionic/changelog
Modified: pkg/kamailio/deb/bookworm/changelog
Modified: pkg/kamailio/deb/bullseye/changelog
Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/focal/changelog
Modified: pkg/kamailio/deb/jammy/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837.diff
Patch: 
https://github.com/kamailio/kamailio/commit/80214d2f878b3f2d7547060c9d4bd578a9e1a837.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:976670db: pkg/kamailio/deb: remove mono from wheezy

2024-02-02 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 976670db1313e96a859009288abbf1ea97583357
URL: 
https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-02-02T15:21:39+01:00

pkg/kamailio/deb: remove mono from wheezy

---

Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/wheezy/control
Modified: pkg/kamailio/deb/wheezy/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357.diff
Patch: 
https://github.com/kamailio/kamailio/commit/976670db1313e96a859009288abbf1ea97583357.patch

---

diff --git a/pkg/kamailio/deb/debian/backports/wheezy 
b/pkg/kamailio/deb/debian/backports/wheezy
index 611883fbe46..4afb1f3dfea 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -121,6 +121,12 @@ sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += nats' 
${DIST}/rules
 # no libpcre2-dev
 sed -i -e 's/libpcre2-dev/libpcre3-dev/' ${DIST}/control
 
+# no libmono-2.0-dev
+sed -i -e '/libmono-2.0-dev/d' -e '/^Package: kamailio-mono-modules/,/^$/d' \
+   ${DIST}/control
+sed -i -e '/^PACKAGE_GROUPS += mono/d' ${DIST}/rules
+sed -i -e '/--EXCLUDED--/i EXTRA_EXCLUDED_MODULES += mono' ${DIST}/rules
+
 # libwolfssl-dev < 5.2
 sed -i -e '/^ libwolfssl-dev,/d' \
   -e '/^Package: kamailio-wolftls-modules/,/^$/d' \
diff --git a/pkg/kamailio/deb/wheezy/control b/pkg/kamailio/deb/wheezy/control
index 16719f80988..ed5f1aa50d0 100644
--- a/pkg/kamailio/deb/wheezy/control
+++ b/pkg/kamailio/deb/wheezy/control
@@ -26,7 +26,6 @@ Build-Depends:
  libmemcached-dev,
  libmicrohttpd-dev,
  libmnl-dev,
- libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 
ppc64 ppc64el s390x],
  libmysqlclient-dev,
  libncurses5-dev,
  libpcre3-dev,
@@ -219,23 +218,6 @@ Description: The app_lua module for Kamailio Lua support
  execute embedded Lua applications within the configuration file as
  well as writing the entire configuration file in Lua.
 
-Package: kamailio-mono-modules
-Architecture: any
-Multi-Arch: same
-Pre-Depends:
- ${misc:Pre-Depends},
-Depends:
- kamailio (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends},
-Description: The app_mono module for the Kamailio SIP server
- Kamailio is a very fast and flexible SIP (RFC3261)
- server. Written entirely in C, Kamailio can handle thousands calls
- per second even on low-budget hardware.
- .
- This package provides the app_mono module, an extension allowing to
- execute embedded Mono applications within the Kamailio SIP routing script.
-
 Package: kamailio-python-modules
 Architecture: any
 Multi-Arch: same
diff --git a/pkg/kamailio/deb/wheezy/rules b/pkg/kamailio/deb/wheezy/rules
index 6bd8a12ab2b..e30d2b13810 100755
--- a/pkg/kamailio/deb/wheezy/rules
+++ b/pkg/kamailio/deb/wheezy/rules
@@ -49,6 +49,7 @@ EXTRA_EXCLUDED_MODULES += mqtt
 EXTRA_EXCLUDED_MODULES += secsipid
 EXTRA_EXCLUDED_MODULES += lwsc
 EXTRA_EXCLUDED_MODULES += nats
+EXTRA_EXCLUDED_MODULES += mono
 EXTRA_EXCLUDED_MODULES += tls_wolfssl
 ## --EXCLUDED--
 
@@ -78,7 +79,6 @@ PACKAGE_GROUPS += python
 PACKAGE_GROUPS += geoip
 PACKAGE_GROUPS += sqlite
 PACKAGE_GROUPS += json
-PACKAGE_GROUPS += mono
 PACKAGE_GROUPS += ims
 PACKAGE_GROUPS += sctp
 PACKAGE_GROUPS += java

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:d772b4c2: db_mysql: enable TLS when building with mariadb-connector-c

2024-01-30 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: d772b4c24a3a4995b93287ccf8eac9b80d1a5bac
URL: 
https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac

Author: S-P Chan 
Committer: Victor Seva 
Date: 2024-01-30T14:28:26+01:00

db_mysql: enable TLS when building with mariadb-connector-c

- mariadb-connector-c requires at least one non-NULL configuration
  value to use TLS
- emulate MySQL SSL_MODE_ options

---

Modified: src/modules/db_mysql/km_my_con.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d772b4c24a3a4995b93287ccf8eac9b80d1a5bac.patch

---

diff --git a/src/modules/db_mysql/km_my_con.c b/src/modules/db_mysql/km_my_con.c
index d3f57108886..b415ff87655 100644
--- a/src/modules/db_mysql/km_my_con.c
+++ b/src/modules/db_mysql/km_my_con.c
@@ -116,7 +116,32 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
(const void *)_mysql_timeout_interval);
mysql_options(ptr->con, MYSQL_OPT_WRITE_TIMEOUT,
(const void *)_mysql_timeout_interval);
-#if MYSQL_VERSION_ID > 50710 && !defined(MARIADB_BASE_VERSION)
+
+#ifdef MARIADB_BASE_VERSION
+   /*
+* emulate SSL_MODE_ from MySQL
+*/
+
+   switch(db_mysql_opt_ssl_mode) {
+   case 0: /* opt_ssl_mode = 0(off) */
+   case 1: /* SSL_MODE_DISABLED */
+   break;
+   case 2: /* SSL_MODE_PREFERRED */
+   case 3: /* SSL_MODE_REQUIRED */
+   case 4: /* SSL_MODE_VERIFY_CA */
+   mysql_optionsv(ptr->con, MYSQL_OPT_SSL_ENFORCE, (void 
*)&(int){1});
+   break;
+   case 5: /* SSL_MODE_VERIFY_IDENTITY */
+   mysql_optionsv(ptr->con, 
MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
+   (void *)&(int){1});
+   break;
+   default:
+   LM_WARN("opt_ssl_mode = %d not supported by MariaDB 
Connector/C\n",
+   db_mysql_opt_ssl_mode);
+   break;
+   }
+#else
+#ifdef MYSQL_VERSION_ID> 50710
if(db_mysql_opt_ssl_mode != 0) {
unsigned int optuint = 0;
if(db_mysql_opt_ssl_mode == 1) {
@@ -136,7 +161,8 @@ struct my_con *db_mysql_new_connection(const struct db_id 
*id)
"ignoring\n",
(unsigned int)db_mysql_opt_ssl_mode);
}
-#endif
+#endif /* MYSQL_VERSION_ID */
+#endif /* MARIADB_BASE_VERSION */
 
 #if MYSQL_VERSION_ID > 50012
/* set reconnect flag if enabled */

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:2bcc32a1: db_mysql: update docs for MariaDB Connector/C builds

2024-01-30 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 2bcc32a14e63d895077071715b0321fbdcdb8a33
URL: 
https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33

Author: S-P Chan 
Committer: Victor Seva 
Date: 2024-01-30T14:28:26+01:00

db_mysql: update docs for MariaDB Connector/C builds

---

Modified: src/modules/db_mysql/doc/db_mysql_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2bcc32a14e63d895077071715b0321fbdcdb8a33.patch

---

diff --git a/src/modules/db_mysql/doc/db_mysql_admin.xml 
b/src/modules/db_mysql/doc/db_mysql_admin.xml
index 51c9b5b728d..f1ff53df0ed 100644
--- a/src/modules/db_mysql/doc/db_mysql_admin.xml
+++ b/src/modules/db_mysql/doc/db_mysql_admin.xml
@@ -46,6 +46,7 @@


mysql - the development 
libraries for the MySQL database. In some Linux distributions named 
"libmysqlclient-dev".
+   MariaDB - the development 
libraries for the MariaDB database. In some Linux distributions named 
"libmariadbclient-dev".



@@ -198,7 +199,10 @@ modparam("db_mysql", "update_affected_found", 1)
defined.


-   Note: this option is supported only by libmysqlclient, not by 
libmariadbclient.
+MariaDB client configuration uses the following values: 0, 1 
use plain, 2/3/4 for MYSQL_OPT_SSL_ENFORCE,
+5 for MYSQL_OPT_SSL_VERIFY_SERVER_CERT (see MariaDB 
Connector/C documentation)
+
+Other values are ignored.



@@ -298,4 +302,3 @@ default-character-set = utf8


 
-

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)

2024-01-30 Thread Victor Seva via sr-dev
Merged #3734 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3734#event-11641771032
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)

2024-01-30 Thread Victor Seva via sr-dev
Much better now @space88man . Thanks for taking care.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3734#issuecomment-1916847351
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] extented haproxy protocol support (PR #3731)

2024-01-30 Thread Victor Seva via sr-dev
I was thinking. Could we have something generic that abstracts the rcv 
parameter of the message?


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3731#issuecomment-1916629196
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:e470f67c: github: [skip ci] enable dependabot for devcontainers

2024-01-30 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13
URL: 
https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-01-30T10:44:19+01:00

github: [skip ci] enable dependabot for devcontainers

---

Modified: .github/dependabot.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13.diff
Patch: 
https://github.com/kamailio/kamailio/commit/e470f67c9aaaeb2dc39f49a1b5abb3352b45ad13.patch

---

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 775cd546581..06afaf16847 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -7,3 +7,9 @@ updates:
   interval: "weekly"
 commit-message:
   prefix: "github: [skip ci]"
+  - package-ecosystem: "devcontainers"
+directory: "/"
+schedule:
+  interval: weekly
+commit-message:
+  prefix: "github: [skip ci]"

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] db_mysql: enable TLS when building with mariadb-connector-c (PR #3734)

2024-01-30 Thread Victor Seva via sr-dev
But then, is the connection still possible without TLS or are we forcing that 
the server would support TLS?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3734#issuecomment-1916429032
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; remove OpenSSL-isms (3d0e752)

2024-01-29 Thread Victor Seva via sr-dev
This broke the build on jammy 
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=jammy/2586/display/redirect

**libwolfssl32_5.2.0-2_amd64.deb**
```
gcc -fPIC -DPIC -funroll-loops -Wcast-align -m64 -minline-all-stringops 
-falign-loops -ftree-vectorize -fno-strict-overflow -mtune=generic -pthread 
-DKSR_PTHREAD_MUTEX_SHARED -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609=. 
-flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects 
-fstack-protector-strong -Wformat -Werror=format-security -DVERSION_NODATE   
-DNAME='"kamailio"' -DVERSION='"5.8.0-dev2"' -DARCH='"x86_64"' -DOS='linux_' 
-DOS_QUOTED='"linux"' -DCOMPILER='"gcc 11.4.0"' -D__CPU_x86_64 -D__OS_linux 
-DVERSIONVAL=5008000 -DCFG_DIR='"/etc/kamailio/"' 
-DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' 
-DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE 
-DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLOCKLIST 
-DUSE_NAPTR -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY 
-DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP 
-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM 
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM 
-DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DSIGINFO64_WORKAROUND -DUSE_FUTEX -DHAVE_SELECT  
-DMOD_NAME='"tls_wolfssl"' -DMOD_NAMEID='tls_wolfssl' -c tls_domain.c -o 
tls_domain.o -MMD -MP
tls_domain.c: In function 'set_ssl_options':
tls_domain.c:731:19: error: 'WOLFSSL_OP_ALL' undeclared (first use in this 
function); did you mean 'SSL_OP_ALL'?
  731 | options = WOLFSSL_OP_ALL; /* all the bug workarounds by default 
*/
  |   ^~
  |   SSL_OP_ALL
tls_domain.c:731:19: note: each undeclared identifier is reported only once for 
each function it appears in
tls_domain.c:732:20: error: 'WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION' 
undeclared (first use in this function); did you mean 
'SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION'?
  732 | options |= WOLFSSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
  |^
  |SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
make[3]: *** [../../Makefile.rules:100: tls_domain.o] Error 1
make[2]: *** [Makefile:508: modules] Error 1
make[2]: Leaving directory 
'/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609/src'
make[1]: *** [Makefile:34: every-module] Error 2
make[1]: Leaving directory 
'/build/kamailio-5.8.0~dev2+ubuntu22.04.20240130005413.2609'
make: *** [debian/rules:133: build_tls_wolfssl] Error 2
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/3d0e7521c6de4023b6595685fc306129ef57b8ac#r138041657
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump ammaraskar/gcc-problem-matcher from 0.2.0 to 0.3.0 (PR #3733)

2024-01-29 Thread Victor Seva via sr-dev
Merged #3733 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3733#event-11637088182
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11 (PR #3732)

2024-01-29 Thread Victor Seva via sr-dev
Merged #3732 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3732#event-11637092136
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:520b9dce: github: [skip ci]: bump ammaraskar/gcc-problem-matcher

2024-01-29 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 520b9dce03d695cd1d95432e6bf52ed47d046cd4
URL: 
https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4

Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-01-30T07:40:57+01:00

github: [skip ci]: bump ammaraskar/gcc-problem-matcher

Bumps 
[ammaraskar/gcc-problem-matcher](https://github.com/ammaraskar/gcc-problem-matcher)
 from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/ammaraskar/gcc-problem-matcher/releases)
- 
[Commits](https://github.com/ammaraskar/gcc-problem-matcher/compare/0.2.0...0.3.0)

---
updated-dependencies:
- dependency-name: ammaraskar/gcc-problem-matcher
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

---

Modified: .github/workflows/main.yml
Modified: .github/workflows/pull_request.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4.diff
Patch: 
https://github.com/kamailio/kamailio/commit/520b9dce03d695cd1d95432e6bf52ed47d046cd4.patch

---

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 86b05df1822..8b7ae03a271 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -34,7 +34,7 @@ jobs:
 compilier: clang
 steps:
   - uses: actions/checkout@v4
-  - uses: ammaraskar/gcc-problem-matcher@0.2.0
+  - uses: ammaraskar/gcc-problem-matcher@0.3.0
   - name: build
 run: |
   cd /code
diff --git a/.github/workflows/pull_request.yml 
b/.github/workflows/pull_request.yml
index cda04d04389..e17814b8481 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -39,7 +39,7 @@ jobs:
 compilier: clang
 steps:
   - uses: actions/checkout@v4
-  - uses: ammaraskar/gcc-problem-matcher@0.2.0
+  - uses: ammaraskar/gcc-problem-matcher@0.3.0
   - name: build
 run: |
   cd /code

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:8e2a1a36: github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11

2024-01-29 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 8e2a1a36f14a18834d1a98e8483b4595a533abff
URL: 
https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff

Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-01-30T07:41:30+01:00

github: [skip ci]: bump wolletd/clang-format-checker from 1.10 to 1.11

Bumps 
[wolletd/clang-format-checker](https://github.com/wolletd/clang-format-checker) 
from 1.10 to 1.11.
- [Release notes](https://github.com/wolletd/clang-format-checker/releases)
- 
[Commits](https://github.com/wolletd/clang-format-checker/compare/v1.10...v1.11)

---
updated-dependencies:
- dependency-name: wolletd/clang-format-checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] 

---

Modified: .github/workflows/pull_request.yml

---

Diff:  
https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff.diff
Patch: 
https://github.com/kamailio/kamailio/commit/8e2a1a36f14a18834d1a98e8483b4595a533abff.patch

---

diff --git a/.github/workflows/pull_request.yml 
b/.github/workflows/pull_request.yml
index e17814b8481..543f7c05238 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -13,7 +13,7 @@ jobs:
   contents: read # to fetch code (actions/checkout)
 steps:
   - uses: actions/checkout@v4
-  - uses: wolletd/clang-format-checker@v1.10
+  - uses: wolletd/clang-format-checker@v1.11
 with:
   target-ref: master
   build:

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:247e6164: pkg/kamailio/deb: restore tls_wolfssl for bookworm and jammy

2024-01-26 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 247e6164cbacdcc5d260e98c1085c84ad93957ee
URL: 
https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-01-26T09:05:50+01:00

pkg/kamailio/deb: restore tls_wolfssl for bookworm and jammy

fixed build error at 43ec11a7e0a37dfdaead873d555b26cb65589bd1

---

Modified: pkg/kamailio/deb/bookworm/control
Modified: pkg/kamailio/deb/bookworm/rules
Modified: pkg/kamailio/deb/debian/backports/bookworm
Modified: pkg/kamailio/deb/debian/backports/jammy
Modified: pkg/kamailio/deb/jammy/control
Modified: pkg/kamailio/deb/jammy/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee.diff
Patch: 
https://github.com/kamailio/kamailio/commit/247e6164cbacdcc5d260e98c1085c84ad93957ee.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)

2024-01-25 Thread Victor Seva via sr-dev
Hi,

On 25/1/24 11:32, space88man via sr-dev wrote:
> What are the configure flags for the nightly builds? Is this using a system 
> libwolfssl-dev or the submodule.
> 
> The module expects wolfssl ~ v5.6.6-stable which is equivalent to 
> libwolfssl42(5.6.6-1.2) libwolfssl-dev_5.6.6.
> For RPM based-distros I build the module both with the in-tree submodule and 
> external package wolfssl42-5.6.6.

I think all the latest backports to 5.7 related to tls_wolfssl broke the idea 
of "stable" release since we are changing the expected version dependency of 
the module, no?

> commit 8e915d440293df2ba3b2700e5a4705123925be9a (origin/5.7, 5.7)
> Author: S-P Chan 
> Date:   Wed Jan 24 16:30:48 2024 +0800
> 
> tls_wolfssl: clean-up; continue to remove OpenSSL-isms
> 
> (cherry-pick from 5d3c11c5e0854ce74424a10a88b0cca4453cee75)
> 
> commit 893e9ea4364f60c32a5477c5b75bdc24b619dd52
> Author: S-P Chan 
> Date:   Tue Jan 23 23:13:08 2024 +0800
> 
> tls_wolfssl: clean-up; remove OpenSSL-isms
> 
> (cherry-pick from 3d0e7521c6de4023b6595685fc306129ef57b8ac)
> 
> commit 4240cbc1bdbf9eb5d8b3f7473fbf4ee9d4d90650
> Author: S-P Chan 
> Date:   Sun Jan 21 18:17:37 2024 +0800
> 
> tls_wolfssl: refactor custom BIO
> 
> - remove use of custom BIO at the expense of some memory copies
> 
> (cherry-pick from 32089e134413200bf5d1a97f207378b7d10e65a2)
> 
> commit 8e7df1345c828eeb6b999c30069e75ccdd440200
> Author: S-P Chan 
> Date:   Fri Jan 19 12:16:01 2024 +0800
> 
> tls_wolfssl: use shared WOLFSSL_CTX
> 
> (cherry-pick from 88f27e2b89142652ea1b8f133df1ff403f9f61b2)
> 
> commit 0a481501024b0e85bde8fa74cde1df2bebaa167b
> Author: S-P Chan 
> Date:   Thu Jan 18 12:38:09 2024 +0800
> 
> tls_wolfssl: clean-up OpenSSL compatibility
> 
> - remove unneeded OpenSSL-isms
> 
> (cherry-pick from 255e563e94e9536f0e541c3baeec45cbc68fac5b)
> 
> commit 3b79c1ef3cc6c1019fe7cb99ff77e0c51d8e789a
> Author: S-P Chan 
> Date:   Thu Jan 18 06:21:55 2024 +0800
> 
> tls_wolfssl: clean-up—using wolfSSL native naming for functions / structs
> 
> (cherry-pick from 5bbb224fdad1770150dd2fc37c69393aeda96d40)

There were no impact in the deb builds process since tls_wolfssl is not in the 
list of modules built for 5.7.
-- 
-
|   ,''`. Victor Seva |
|  : :' :  linuxman...@torreviejawireless.org |
|  `. `'  PGP: 8F19 CADC D42A 42D4 5563  730C 51A0 9B18 CF5A 5068 |
|`-  Debian Developer |
  -


OpenPGP_signature.asc
Description: PGP signature


OpenPGP_0x7D7B65C42A0EC8B2.asc
Description: application/pgp-keys
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:aaa3b102: pkg/kamailio/deb: remove support for tls_wolfssl on bookworm/jammy

2024-01-25 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: aaa3b102c62af9ac0abe1aaac12876abaa7ad351
URL: 
https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351

Author: Victor Seva 
Committer: Victor Seva 
Date: 2024-01-25T12:23:47+01:00

pkg/kamailio/deb: remove support for tls_wolfssl on bookworm/jammy

> module expects wolfssl ~ v5.6.6-stable which is equivalent to 
> libwolfssl42(5.6.6-1.2) libwolfssl-dev_5.6.6

---

Modified: pkg/kamailio/deb/bookworm/control
Modified: pkg/kamailio/deb/bookworm/rules
Modified: pkg/kamailio/deb/debian/backports/bookworm
Modified: pkg/kamailio/deb/debian/backports/jammy
Modified: pkg/kamailio/deb/jammy/control
Modified: pkg/kamailio/deb/jammy/rules

---

Diff:  
https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351.diff
Patch: 
https://github.com/kamailio/kamailio/commit/aaa3b102c62af9ac0abe1aaac12876abaa7ad351.patch

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)

2024-01-25 Thread Victor Seva via sr-dev
Sorry but bookworm has 5.5.4-2 
[libwolfssl35](https://packages.debian.org/bookworm/libwolfssl35)
and jammy has 5.2.0-2 
[libwolfssl32](https://packages.ubuntu.com/jammy/libwolfssl32)

I will remove the support for bookworm and jammy for tls_wolfssl then

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/5d3c11c5e0854ce74424a10a88b0cca4453cee75#commitcomment-137782904
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] tls_wolfssl: clean-up; continue to remove OpenSSL-isms (5d3c11c)

2024-01-25 Thread Victor Seva via sr-dev
This broke the nightly build: 
https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=bookworm/2583/consoleText
```
tls_wolfssl_mod.c: In function 'ki_is_peer_verified':
tls_wolfssl_mod.c:456:26: error: 'WOLFSSL_X509_V_OK' undeclared (first use in 
this function); did you mean 'WOLFSSL_X509_V3'?
  456 | if(ssl_verify != WOLFSSL_X509_V_OK) {
  |  ^
  |  WOLFSSL_X509_V3
tls_wolfssl_mod.c:456:26: note: each undeclared identifier is reported only 
once for each function it appears in
```

And the test build failed too: 
https://github.com/kamailio/kamailio/actions/runs/7647318901/job/20838004797

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/5d3c11c5e0854ce74424a10a88b0cca4453cee75#r137775133
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Dialog DMQ sync: Timer needs fixing, firing on wrong node! (Issue #3656)

2024-01-23 Thread Victor Seva via sr-dev
@hb9eue did you test the proposed fix?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3656#issuecomment-1905909309
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] github: [skip ci]: bump tj-actions/changed-files from 41 to 42 (PR #3724)

2024-01-22 Thread Victor Seva via sr-dev
Merged #3724 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3724#event-11563362666
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] git:master:100d96bf: github: [skip ci]: bump tj-actions/changed-files from 41 to 42

2024-01-22 Thread Victor Seva via sr-dev
Module: kamailio
Branch: master
Commit: 100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1
URL: 
https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1

Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Committer: Victor Seva 
Date: 2024-01-23T01:06:07+01:00

github: [skip ci]: bump tj-actions/changed-files from 41 to 42

Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) 
from 41 to 42.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] 

---

Modified: .github/workflows/devcontainer.yaml

---

Diff:  
https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1.diff
Patch: 
https://github.com/kamailio/kamailio/commit/100d96bf3819082ac38f8a4fae1f3c64c8d0c5e1.patch

---

diff --git a/.github/workflows/devcontainer.yaml 
b/.github/workflows/devcontainer.yaml
index 1c2a584ed84..2da1e56c742 100644
--- a/.github/workflows/devcontainer.yaml
+++ b/.github/workflows/devcontainer.yaml
@@ -33,14 +33,14 @@ jobs:
   - name: Get changed files
 if: ${{ ! inputs.force }}
 id: changed-files
-uses: tj-actions/changed-files@v41
+uses: tj-actions/changed-files@v42
 with:
   since_last_remote_commit: true
 
   - name: changes in relevant files
 if: ${{ ! inputs.force }}
 id: changed-files-builder
-uses: tj-actions/changed-files@v41
+uses: tj-actions/changed-files@v42
 with:
   files: |
 .devcontainer/**

___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


[sr-dev] Re: [kamailio/kamailio] Debian package build fails for Kamailio 5.7.4 (Issue #3722)

2024-01-22 Thread Victor Seva via sr-dev
Closed #3722 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3722#event-11554684420
You are receiving this because you are subscribed to this thread.

Message ID: ___
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org


  1   2   3   4   5   6   7   8   9   10   >