[sr-dev] [kamailio/kamailio] no corresponding socket found error (Issue #3583)

2023-09-25 Thread descartin via sr-dev
Hello all

we are seeing these kind of logs in a Debian GNU/Linux 11 using kamailio 5.5.6

```Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155702]: 
ERROR:  [core/forward.c:183]: get_out_socket(): no corresponding socket 
found for(udp:[164.152.22.248:5060](http://164.152.22.248:5060/))
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155698]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.184:5060](http://208.74.138.184:5060/))
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155695]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.181:5060](http://208.74.138.181:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155693]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[38.102.250.60:5060](http://38.102.250.60:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155707]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[87.1.1.27:5060](http://87.1.1.27:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155707]: ERROR: 
tm [ut.h:302]: uri2dst2(): no corresponding socket for "87.1.1.27" af 2
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155707]: ERROR: 
tm [t_fwd.c:470]: prepare_new_uac(): can't fwd to af 2, proto 1  (no 
corresponding listening socket)
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155697]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.184:5060](http://208.74.138.184:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155694]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[192.40.216.97:5060](http://192.40.216.97:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155694]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.180:5060](http://208.74.138.180:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155714]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[87.1.1.27:5060](http://87.1.1.27:5060/))
```

The kamailio instance we are using is receiving around 1500 calls per second in 
average when we do start seeing these errors more frequently
In this instance we are using multihomed
the listen address list is

``` children=14
socket_workers=1
listen=udp:[192.168.99.70:5081](http://192.168.99.70:5081/)
listen=udp:[192.168.99.81:5060](http://192.168.99.81:5060/)
listen=udp:[87.1.1.27:5060](http://87.1.1.27:5060/)
listen=tcp:[192.168.96.105:8095](http://192.168.96.105:8095/)
listen=tcp:[87.1.1.27:5060](http://87.1.1.27:5060/)
tcp_children=6
port=5060
```

We use the first worker only to perform the OPTIONS requests from the 
dispatcher module.
The sockets 
listen=udp:[192.168.99.81:5060](http://192.168.99.81:5060/)
listen=udp:[87.1.1.27:5060](http://87.1.1.27:5060/)
are used to communicate both A and B legs

so when a message is received at 
[192.168.99.81:5060](http://192.168.99.81:5060/) we send it to 
[87.1.1.27:5060](http://87.1.1.27:5060/) and viceversa
We were using $fs variable before doing the t_relay() function. 
This way is working, but when load increases, seems sometimes kamailio doesn't 
get the proper socket to forward the reply.
I think the errors mainly are related to responses which are being forwarded, 
like if the function get_sock_info_list was not able to retrieve the listen 
interfaces

we have tried to set in the onreply routes the commands
set_recv_socket("udp:[192.168.99.81:5060](http://192.168.99.81:5060/)");
set_send_socket("udp:[87.1.1.27:5060](http://87.1.1.27:5060/)"); (when reply 
goes from private to public domain)

and it seems it reduces the number of 
```
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155702]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[164.152.22.248:5060](http://164.152.22.248:5060/))
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155698]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.184:5060](http://208.74.138.184:5060/))
Sep 21 17:41:13 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155695]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[208.74.138.181:5060](http://208.74.138.181:5060/))
Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155693]: ERROR: 
 [core/forward.c:183]: get_out_socket(): no corresponding socket found 
for(udp:[38.102.250.60:5060](http://38.102.250.60:5060/))
errors
```

But i honestly don't know why the 
```Sep 21 17:41:14 lax-dedge-1 /usr/local/kamailio/sbin/kamailio[3155707]: 
ERROR: tm [ut.h:302]: uri2dst2(): no corresponding socket for "87.1.1.27" af 2
Sep 21 17:41:14 lax

[sr-dev] git:master:bb33187a: acc_json: Fix parameter name in docs

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: bb33187a0365825db5fde065599538bf5216f45f
URL: 
https://github.com/kamailio/kamailio/commit/bb33187a0365825db5fde065599538bf5216f45f

Author: Bastian Triller 
Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T11:07:17+02:00

acc_json: Fix parameter name in docs

---

Modified: src/modules/acc_json/doc/acc_json_admin.xml

---

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

---

diff --git a/src/modules/acc_json/doc/acc_json_admin.xml 
b/src/modules/acc_json/doc/acc_json_admin.xml
index 99f2b2cf0d1..25206dea32a 100644
--- a/src/modules/acc_json/doc/acc_json_admin.xml
+++ b/src/modules/acc_json/doc/acc_json_admin.xml
@@ -366,8 +366,8 @@ modparam("acc_json", "cdr_extra", 
"ci=$dlg_var(call_id);ft=$dlg_var(from_tag)")


 
-   
-   cdr_json_pre_encoded_prefix 
(string)
+   
+   cdr_pre_encoded_prefix 
(string)

Prefix to identify values that will be considered to be already 
json encoded.

@@ -375,11 +375,11 @@ modparam("acc_json", "cdr_extra", 
"ci=$dlg_var(call_id);ft=$dlg_var(from_tag)")
Default value is NULL.


-   cdr_json_pre_encoded_prefix example
+   cdr_pre_encoded_prefix example

 ...
 modparam("acc_json", "cdr_extra", "json_data=$avp(json_data);")
-modparam("acc_json", "cdr_json_pre_encoded_prefix", "json_")
+modparam("acc_json", "cdr_pre_encoded_prefix", "json_")
 ...
 $avp(json_data) = '{"b":2, "c":3}';
 ...

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


[sr-dev] Re: [kamailio/kamailio] acc_json: Fix parameter name in docs (PR #3582)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3582#issuecomment-1733230351
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] acc_json: Fix parameter name in docs (PR #3582)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Merged #3582 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3582#event-10459796201
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:f8effe32: modules: readme files regenerated - acc_json ... [skip ci]

2023-09-25 Thread Kamailio Dev via sr-dev
Module: kamailio
Branch: master
Commit: f8effe32d0599645be97dbc8737051d17e00ead4
URL: 
https://github.com/kamailio/kamailio/commit/f8effe32d0599645be97dbc8737051d17e00ead4

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2023-09-25T11:17:30+02:00

modules: readme files regenerated - acc_json ... [skip ci]

---

Modified: src/modules/acc_json/README

---

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

---

diff --git a/src/modules/acc_json/README b/src/modules/acc_json/README
index bdcc5e689a5..6d15e77b348 100644
--- a/src/modules/acc_json/README
+++ b/src/modules/acc_json/README
@@ -43,7 +43,7 @@ Julien Chavanton
   3.10. acc_log_level (integer)
   3.11. cdr_enable (int)
   3.12. cdr_extra (str)
-  3.13. cdr_json_pre_encoded_prefix (string)
+  3.13. cdr_pre_encoded_prefix (string)
   3.14. cdr_expired_dlg_enable (str)
   3.15. cdr_output_mqueue (integer)
   3.16. cdr_output_syslog (integer)
@@ -64,7 +64,7 @@ Julien Chavanton
1.10. acc_log_level example
1.11. cdr_enable example
1.12. cdr_extra example
-   1.13. cdr_json_pre_encoded_prefix example
+   1.13. cdr_pre_encoded_prefix example
1.14. cdr_expired_dlg_enable example
1.15. cdr_output_mqueue usage example
1.16. cdr_log_facility example
@@ -94,7 +94,7 @@ Chapter 1. Admin Guide
 3.10. acc_log_level (integer)
 3.11. cdr_enable (int)
 3.12. cdr_extra (str)
-3.13. cdr_json_pre_encoded_prefix (string)
+3.13. cdr_pre_encoded_prefix (string)
 3.14. cdr_expired_dlg_enable (str)
 3.15. cdr_output_mqueue (integer)
 3.16. cdr_output_syslog (integer)
@@ -144,7 +144,7 @@ Chapter 1. Admin Guide
3.10. acc_log_level (integer)
3.11. cdr_enable (int)
3.12. cdr_extra (str)
-   3.13. cdr_json_pre_encoded_prefix (string)
+   3.13. cdr_pre_encoded_prefix (string)
3.14. cdr_expired_dlg_enable (str)
3.15. cdr_output_mqueue (integer)
3.16. cdr_output_syslog (integer)
@@ -350,17 +350,17 @@ modparam("acc_json", "cdr_enable", 1)
 modparam("acc_json", "cdr_extra", "ci=$dlg_var(call_id);ft=$dlg_var(from_tag)")
 ...
 
-3.13. cdr_json_pre_encoded_prefix (string)
+3.13. cdr_pre_encoded_prefix (string)
 
Prefix to identify values that will be considered to be already json
encoded.
 
Default value is NULL.
 
-   Example 1.13. cdr_json_pre_encoded_prefix example
+   Example 1.13. cdr_pre_encoded_prefix example
 ...
 modparam("acc_json", "cdr_extra", "json_data=$avp(json_data);")
-modparam("acc_json", "cdr_json_pre_encoded_prefix", "json_")
+modparam("acc_json", "cdr_pre_encoded_prefix", "json_")
 ...
 $avp(json_data) = '{"b":2, "c":3}';
 ...

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


[sr-dev] Re: [kamailio/kamailio] New record-route is not updating when the device network is broken/power-off & on (sca_subscribe.c). (PR #3569)

2023-09-25 Thread schiramchetty via sr-dev
> I already created the code at #3571 Please test it

Thanks for the update, We will test this code and will get back to you.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3569#issuecomment-1733265837
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] avp: typo assing → assign (PR #3576)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Merged #3576 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3576#event-10460214561
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:212fb408: avp: typo assing ?????? assign

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 212fb4086a1bba6779178465a85593e537a12903
URL: 
https://github.com/kamailio/kamailio/commit/212fb4086a1bba6779178465a85593e537a12903

Author:   

Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T11:41:31+02:00

avp: typo assing ?? assign

---

Modified: src/modules/avp/avp.xml

---

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

---

diff --git a/src/modules/avp/avp.xml b/src/modules/avp/avp.xml
index 3fbbc32c4cb..8fcfda6f719 100644
--- a/src/modules/avp/avp.xml
+++ b/src/modules/avp/avp.xml
@@ -379,7 +379,7 @@
   
   
 Like set_sattr, it is identical to
-assinging a string using the assignment operator and is
+assigning a string using the assignment operator and is
 deprecated.
   
 
@@ -399,7 +399,7 @@
 If the attribute does not yet exist, it is created.
   
   
-This function is identical to assinging an integer using the
+This function is identical to assigning an integer using the
 assignment operator and
 is only kept to retain compatibility with earlier versions of SER.
 It therefore is deprecated and may be removed in the future.
@@ -421,7 +421,7 @@
 attribute does not yet exist, it is created.
   
   
-This function is identical to assinging a string using the
+This function is identical to assigning a string using the
 assignment operator and
 is only kept to retain compatibility with earlier versions of SER.
 It therefore is deprecated and may be removed in the future.

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


[sr-dev] [kamailio/kamailio] cdr_json_pre_encoded_prefix (string) wrong discribe (Issue #3584)

2023-09-25 Thread olegans1972 via sr-dev


I try to do

modparam("acc_json", "cdr_extra", "spx_resp=$avp(spx_resp)")
modparam("acc_json", "cdr_json_pre_encoded_prefix", "spx_resp")
 
 
do restart and get next mistakes:
 
modparam("acc_json", "cdr_extra", "spx_resp=$avp(spx_resp)")
modparam("acc_json", "cdr_json_pre_encoded_prefix", "spx_resp")
 
 
do restart and get next mistakes:
 
sep 22 14:17:15 vms-vms-spx-1 kamailio[581922]: 



### Troubleshooting

it's a bug at the documentation or in the code
I see next:
https://www.kamailio.org/docs/modules/devel/modules/acc_json.html#acc.p.cdr_json_pre_encoded_prefix

But in the code I see a litle bit another
https://github.com/kamailio/kamailio/blob/5.5/src/modules/acc_json/acc_json_mod.c#L95C5-L95C27


Please fix it either in the code or documentation 
Now it works like this:

modparam("acc_json", "cdr_extra", "spx_resp=$avp(spx_resp)")
modparam("acc_json", "cdr_pre_encoded_prefix", "spx_resp")



 Reproduction



 Debugging Data



```
(paste your debugging data here)
```

 Log Messages



```
(paste your log messages here)
```

 SIP Traffic



```
(paste your sip traffic here)
```

### Possible Solutions



### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
(paste your output here)
```

* **Operating System**:



```
(paste your output here)
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3584
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] cdr_json_pre_encoded_prefix (string) wrong discribe (Issue #3584)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Closed #3584 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3584#event-10461967761
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] cdr_json_pre_encoded_prefix (string) wrong discribe (Issue #3584)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
It should be already fixed in the docs by:

  - https://github.com/kamailio/kamailio/pull/3582

Backports to active stable branches will follow, however 5.5.x series is out of 
maintenance time frame, you have to upgrade to 5.6.x or 5.7.x.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3584#issuecomment-1733612000
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] New record-route is not updating when the device network is broken/power-off & on (sca_subscribe.c). (PR #3569)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Closing this one, further discussions should be done to:

  - https://github.com/kamailio/kamailio/pull/3571

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3569#issuecomment-1733614719
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] New record-route is not updating when the device network is broken/power-off & on (sca_subscribe.c). (PR #3569)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Closed #3569.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3569#event-10461987048
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] ims_qos: Add suspend_transaction parameter (PR #3581)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
>From my point of view after a very brief code review, it is fine to merge.

I do have a comment, though. I would suggest to prefix global variables with 
some value specific to the module, like (`ims_qos_` or `_ims_qos_`, e.g., 
`_ims_qos_suspend_transaction`) because there might be cases when global 
variables become exposed across modules or core and when they have rather 
common words then it can result in duplicates and conflicts. IMS modules might 
not have such common prefix to global variables yet, but it would be good to 
start doing it, at least for the newly added variables. This can be done as a 
follow up commit after merging this PR.

The name of the exposed modparam can stay the same, it is only about the C 
variable name.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3581#issuecomment-1733630094
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] htable add column packing features (PR #3573)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3573#issuecomment-1733873564
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] htable add column packing features (PR #3573)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Merged #3573 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3573#event-10463805091
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:9c28f607: htable add column packing features

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 9c28f6077ff5fc834394af1c571bd3d909290d73
URL: 
https://github.com/kamailio/kamailio/commit/9c28f6077ff5fc834394af1c571bd3d909290d73

Author: Tyler Moore 
Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T16:49:27+02:00

htable add column packing features

- add support for changing the column delimeter in a hash table
- add support for changing the column null character

---

Modified: src/modules/htable/doc/htable.xml
Modified: src/modules/htable/doc/htable_admin.xml
Modified: src/modules/htable/ht_api.c
Modified: src/modules/htable/ht_api.h
Modified: src/modules/htable/ht_db.c

---

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

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


[sr-dev] git:master:b6e600d3: tls: remove openssl_mutex_shared

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: b6e600d3865a287f3c677191c8067bc1c57294ba
URL: 
https://github.com/kamailio/kamailio/commit/b6e600d3865a287f3c677191c8067bc1c57294ba

Author:   

Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T16:52:34+02:00

tls: remove openssl_mutex_shared

The code from src/modules/tls/utils/openssl_mutex_shared/openssl_mutex_shared.c
is in src/main.c .

---

Modified: pkg/kamailio/obs/kamailio.spec
Modified: src/modules/tls/Makefile
Modified: src/modules/tls/doc/tls.xml
Removed: src/modules/tls/utils/openssl_mutex_shared/Makefile
Removed: src/modules/tls/utils/openssl_mutex_shared/README.md
Removed: src/modules/tls/utils/openssl_mutex_shared/openssl_mutex_shared.c

---

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

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


[sr-dev] Re: [kamailio/kamailio] tls: remove openssl_mutex_shared (PR #3519)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Merged #3519 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3519#event-10463843915
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:1e52a51a: modules: readme files regenerated - htable ... [skip ci]

2023-09-25 Thread Kamailio Dev via sr-dev
Module: kamailio
Branch: master
Commit: 1e52a51a517a08ade0d554544bda2521535e4f98
URL: 
https://github.com/kamailio/kamailio/commit/1e52a51a517a08ade0d554544bda2521535e4f98

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2023-09-25T17:01:36+02:00

modules: readme files regenerated - htable ... [skip ci]

---

Modified: src/modules/htable/README
Modified: src/modules/tls/README

---

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

---

diff --git a/src/modules/htable/README b/src/modules/htable/README
index ff0686ef14c..4520bce8333 100644
--- a/src/modules/htable/README
+++ b/src/modules/htable/README
@@ -19,7 +19,13 @@ Ovidiu Sas
 

 
+Tyler Moore
+
+   
+
Copyright ?? 2008-2011 http://www.asipto.com
+
+   Copyright ?? 2023 Tyler Moore (devopsec), dOpenSource
  __
 
Table of Contents
@@ -514,6 +520,35 @@ $ kamcmd htable.dump htable
nodes (htable peers). Please note, module parameter ???enable_dmq???
must also be set in order for this to apply (see below). Default is
0 (no replication).
+ * coldelim - the character delimeter to use when packing the htable.
+   When set, this parameter changes the column delimeter between
+   columns in a multiple column hash table. This can be useful when
+   loading JSON data types into a hash table as they conflict with the
+   default ???,??? delimeter, allowing these values to be parsed in the
+   routing config. See the example below on parsing a JSON array from
+   an htable with ???;??? as the column delimeter.
+...
+modparam("htable", "htable", 
"customer=>size=8;dbtable=customer;cols='dids,descr
+iption';coldelim=';'")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_dids) = $(avp(customer){s.select,0,;});
+$var(customer_desc) = $(avp(customer){s.select,1,;});
+...
+ * colnull - the character to use when packing a NULL value into the
+   htable from the database. This parameter can be set to the empty
+   string or a single character. This can be used to simplify checking
+   a single column in a row for emptiness, in the routing config. The
+   example below shows how one would do that.
+...
+modparam("htable", "htable", 
"customer=>size=8;dbtable=customer;cols='name,descr
+iption';colnull=''")
+...
+$avp(customer) = $sht(customer=>1);
+$var(customer_name) = $(avp(customer){s.select,0,;});
+if (!strempty($var(customer_name))) {
+...
+}
 
Default value is NULL.
 
diff --git a/src/modules/tls/README b/src/modules/tls/README
index f721ba81d61..7ae3945db77 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -295,10 +295,6 @@ request_route {
options, run kamailio -V and look for USE_TLS and TLS_HOOKS among the
flags.
 
-   For OpenSSL (libssl) v1.1.x, it is required to preload
-   'openssl_mutex_shared' library shipped by Kamailio. For more details
-   see 'src/modules/tls/utils/openssl_mutex_shared/README.md'.
-
This module includes several workarounds for various Openssl bugs (like
compression and Kerberos using the wrong memory allocations functions,
low memory problems a.s.o). On startup it will try to enable the needed

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


[sr-dev] Re: [kamailio/kamailio] core: fixed wrong network interface selection. (PR #3490)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Merged #3490 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3490#event-10464017734
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:d4e16520: core: fixed wrong network interface selection.

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: d4e16520a06344ce2bfd07eda4447d68a2c3fce8
URL: 
https://github.com/kamailio/kamailio/commit/d4e16520a06344ce2bfd07eda4447d68a2c3fce8

Author: Nikolay Ivanuschak 
Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T17:04:09+02:00

core: fixed wrong network interface selection.

fixed incorrect source IP address selection for the SIP
messages sending procedure when TCP transport is used or
for UDP with the 'mhomed' setting set as 'mhomed=1'.

---

Modified: src/core/forward.c
Modified: src/core/socket_info.c
Modified: src/core/socket_info.h
Modified: src/core/tcp_main.c

---

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

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


[sr-dev] git:master:46430b6e: pkg/kamailio: updated pcre2 deps [skip ci]

2023-09-25 Thread Sergey Safarov via sr-dev
Module: kamailio
Branch: master
Commit: 46430b6e91bd1fbeae9040e80e078380967e0d68
URL: 
https://github.com/kamailio/kamailio/commit/46430b6e91bd1fbeae9040e80e078380967e0d68

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2023-09-25T20:24:11+03:00

pkg/kamailio: updated pcre2 deps [skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 01265299cf3..2d01160530c 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -458,8 +458,8 @@ This module provides various cryptography tools for use in 
Kamailio configuratio
 %packagedialplan
 Summary:String translations based on rules for Kamailio
 Group:  %{PKGGROUP}
-Requires:   pcre, kamailio = %ver
-BuildRequires:  pcre-devel
+Requires:   pcre2, kamailio = %ver
+BuildRequires:  pcre2-devel
 
 %descriptiondialplan
 String translations based on rules for Kamailio.
@@ -647,8 +647,8 @@ Kazoo module for Kamailio.
 %packagelcr
 Summary:Least cost routing for Kamailio
 Group:  %{PKGGROUP}
-Requires:   pcre, kamailio = %ver
-BuildRequires:  pcre-devel
+Requires:   pcre2, kamailio = %ver
+BuildRequires:  pcre2-devel
 
 %descriptionlcr
 Least cost routing for Kamailio.
@@ -903,8 +903,8 @@ Redis configuration file support for Kamailio.
 %packageregex
 Summary:PCRE mtaching operations for Kamailio
 Group:  %{PKGGROUP}
-Requires:   pcre, kamailio = %ver
-BuildRequires:  pcre-devel
+Requires:   pcre2, kamailio = %ver
+BuildRequires:  pcre2-devel
 
 %descriptionregex
 PCRE mtaching operations for Kamailio.

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


[sr-dev] git: new commits in branch 5.7

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
- URL:  
https://github.com/kamailio/kamailio/commit/e681aa8236b502de31ad6600932517a259b6b62e
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

jansson: print unknown type in log message

(cherry picked from commit b8cae4fbcd026ffb81e8242500212582d9672ad5)

- URL:  
https://github.com/kamailio/kamailio/commit/80b26beb7d4f9cd4b3858e9e2dae4588feec8e28
Author: Norbert Koppny Legyes 
Date:   2023-09-25T19:54:49+02:00

xlog: fix docs example for modparam methods_filter

(cherry picked from commit b5a37683e364f596b6c5b4ebbba1fff951d7be84)

- URL:  
https://github.com/kamailio/kamailio/commit/b59009089ad2b7cc33af27b637a81396b240660d
Author: Henning Westerholt 
Date:   2023-09-25T19:54:49+02:00

tm: remove obselete comment, add clarification for reply_wait mode 2

(cherry picked from commit 2dbaa727a38e29da0f887fa5d0d8d20392839f9b)

- URL:  
https://github.com/kamailio/kamailio/commit/ba7b3155611fd983f7d3d244e7b525a483998d3f
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

kex: safety checks when iterating stats list

- GH #3186

(cherry picked from commit 883f6b77211a76b35a9df570a8ddbbc344b05472)

- URL:  
https://github.com/kamailio/kamailio/commit/1b42a7036714a0e50bc61bd9e0619f9a2d36bcf8
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

registrar: increase max size for user and domain building aor

- renamed max aor lenght define to match the user and domain style

(cherry picked from commit b1356efd61e56eaa3426d8e2e813ea6730b4f2c9)

- URL:  
https://github.com/kamailio/kamailio/commit/3e197c7c41c97badece29cbc6477119180b8dcad
Author: MVONDO Eric OBS/OINIS 
Date:   2023-09-25T19:54:49+02:00

siptrace: fix pseudo var direction attribute length

(cherry picked from commit 508886c3054a8470fe4469e78e63aa37ae93922d)

- URL:  
https://github.com/kamailio/kamailio/commit/9276342ea90acffc3d631c6175c1f70c5c4fbacc
Author:   

Date:   2023-09-25T19:54:49+02:00

mohqueue: typo

(cherry picked from commit 0dcaaed5148cba775cebfd88d8e4a593f8c4297d)

- URL:  
https://github.com/kamailio/kamailio/commit/90bd4424e17bc07a9073fd50bbd6d8b608ad4da9
Author:   

Date:   2023-09-25T19:54:49+02:00

etc/ typos

(cherry picked from commit 6e9335ff2245596b74bc1c749d1e7805bf186f02)

- URL:  
https://github.com/kamailio/kamailio/commit/5b1592900920143c9ce5c188e2835c1afd27d489
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

http_async_client: docs - dependency on libevent

- list style for dependencies and links to projects

(cherry picked from commit f16d2658bbefb7a9f43076cbaa958fb3a27f6a0c)

- URL:  
https://github.com/kamailio/kamailio/commit/774b464af7c561e49253066e8ce3b4ee55463d9a
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

xhttp: note about available variables during http request processing

(cherry picked from commit 170067e633ef32ea7b17adad46fdfe2c85fadda0)

- URL:  
https://github.com/kamailio/kamailio/commit/516894e37e53bf17d29a4c95add29df7f70bcb8f
Author: Henning Westerholt 
Date:   2023-09-25T19:54:49+02:00

ims_ipsec_pcscf: typo in spi_add function definition, GH #3513

- fix typo in spi_add function definition
- patch from jbipre2, GH #3513

(cherry picked from commit a053bcc391f0680ecd5f458d2512e57f69499d39)

- URL:  
https://github.com/kamailio/kamailio/commit/34a2d87479d1bcc37d74f3d8fcb4186aea90fc84
Author: Rick Barenthin 
Date:   2023-09-25T19:54:49+02:00

core: cfg.y typo in parsing XAVPVIAFIELDS

In the XAVPVIAFIELDS block there is the string written to the wrong variable.

The string is stored in _ksr_xavp_via_params.s but the lenght is stored in 
_ksr_xavp_via_fields.len. This breaks XAVPVIAPARAMS and XAVPVIAFIELDS.

(cherry picked from commit 722a79a9ba8ca2608e699ec14684ce004ae10d60)

- URL:  
https://github.com/kamailio/kamailio/commit/3a217af6b9229989b3c7a788a01609e9513024c4
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

rabbitmq: proper check for allocated pointer

(cherry picked from commit 4d58141ab84cf248e8c44a96181642ad0f187e80)

- URL:  
https://github.com/kamailio/kamailio/commit/fac1995c8730a83c24036c9d01d52b674291860b
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

db_redis: free db_keys in case of failure

- backport of 027c2b30b39a7596c8630c06995ddc49bb42d789

- URL:  
https://github.com/kamailio/kamailio/commit/34885ab83c0c259376ffda04b41253eb9271780f
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

pv_headers: compare result of pvh_set_xavi() with NULL for error cases

- the function returns a pointer

(cherry picked from commit 5633026f90e46f7d6da8c1a658d425e8926f6949)

- URL:  
https://github.com/kamailio/kamailio/commit/35f0efadeceaecc8e3315f4682d9ac4eba36e363
Author: Daniel-Constantin Mierla 
Date:   2023-09-25T19:54:49+02:00

msilo: cast to fix storage size warning

(cherry picked from commit c11fcbbe9ed19bc54b800100d15d9ae269735f0

[sr-dev] [kamailio/kamailio] build warning (Issue #3585)

2023-09-25 Thread sergey-safarov via sr-dev
```
CC (gcc) [M tm.so] timer.o
CC (gcc) [M tm.so] tm.o
CC (gcc) [M tm.so] tm_load.o
CC (gcc) [M tm.so] uac.o
In file included from ../../core/mem/shm.h:43,
 from ../../core/mem/shm_mem.h:32,
 from uac.c:29:
uac.c: In function 't_run_local_req':
../../core/mem/../dprint.h:354:57: warning: format '%u' expects argument of 
type 'unsigned int', but argument 13 has type 'msg_flags_t' {aka 'long long 
unsigned int'} [-Wformat=]
  354 | fprintf(stderr, "%2d(%d) %s: 
%.*s%s%s%s" fmt, process_no, \
  | 
^~~~
../../core/mem/../dprint.h:382:9: note: in expansion of macro 'LOG_FX'
  382 | LOG_FX(facility, level, lname, prefix, _FUNC_NAME_, fmt, ##args)
  | ^~
../../core/mem/../dprint.h:388:9: note: in expansion of macro 'LOG_FL'
  388 | LOG_FL(facility, level, NULL, prefix, fmt, ##args)
  | ^~
../../core/mem/../dprint.h:391:9: note: in expansion of macro 'LOG_FP'
  391 | LOG_FP(DEFAULT_FACILITY, (level), LOC_INFO, fmt, ##args)
  | ^~
../../core/mem/../dprint.h:453:27: note: in expansion of macro 'LOG'
  453 | #define DBG(fmt, args...) LOG(L_DBG, fmt, ##args)
  |   ^~~
../../core/mem/../dprint.h:457:29: note: in expansion of macro 'DBG'
  457 | #define DEBUG(fmt, args...) DBG(fmt, ##args)
  | ^~~
../../core/mem/../dprint.h:497:16: note: in expansion of macro 'DEBUG'
  497 | #define LM_DBG DEBUG
  |^
uac.c:329:17: note: in expansion of macro 'LM_DBG'
  329 | LM_DBG("local Via update - new socket: [%.*s] - 
msg-flags: %u",
  | ^~
LD (gcc) [M tm.so] tm.so
CC (gcc) [M tmx.so] t_var.o
CC (gcc) [M tmx.so] tmx_mod.o
CC (gcc) [M tmx.so] tmx_pretran.o
LD (gcc) [M tmx.so] tmx.so
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3585
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:e202f597: modules: readme files regenerated - modules ... [skip ci]

2023-09-25 Thread Kamailio Dev via sr-dev
Module: kamailio
Branch: 5.7
Commit: e202f597e1725c204eb33fa7b6266d9ce934be09
URL: 
https://github.com/kamailio/kamailio/commit/e202f597e1725c204eb33fa7b6266d9ce934be09

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2023-09-25T20:02:22+02:00

modules: readme files regenerated - modules ... [skip ci]

---

Modified: src/modules/app_lua/README
Modified: src/modules/http_async_client/README
Modified: src/modules/mohqueue/README
Modified: src/modules/xhttp/README
Modified: src/modules/xlog/README

---

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

---

diff --git a/src/modules/app_lua/README b/src/modules/app_lua/README
index c4697435ee0..f8891270e1a 100644
--- a/src/modules/app_lua/README
+++ b/src/modules/app_lua/README
@@ -149,7 +149,7 @@ Chapter 1. Admin Guide
 
Set the path to the Lua script to be loaded at startup. Then you can
use lua_run(function, params) to execute a function from the script at
-   runtime.
+   runtime. The script can be in Lua-source or bytecode.
 
Default value is ???null???.
 
diff --git a/src/modules/http_async_client/README 
b/src/modules/http_async_client/README
index 57eff8a890f..0caa3d4631f 100644
--- a/src/modules/http_async_client/README
+++ b/src/modules/http_async_client/README
@@ -146,7 +146,8 @@ Chapter 1. Admin Guide
 
The following libraries or applications must be installed before
running Kamailio with this module loaded:
- * libcurl libev
+ * libcurl - https://curl.se/libcurl/
+ * libevent - https://libevent.org/
 
 3. Parameters
 
diff --git a/src/modules/mohqueue/README b/src/modules/mohqueue/README
index 5a0f746fac6..934b5fa145c 100644
--- a/src/modules/mohqueue/README
+++ b/src/modules/mohqueue/README
@@ -327,7 +327,7 @@ $var(mohq) = "operators";
volatile database in memory of call status. If the module is restarted
it loses the internal database and clears the external one.
 
-   On a reqular basis it checks the external table that defines the queues
+   On a regular basis it checks the external table that defines the queues
to see if the definition has changed. It makes this check under the
following conditions: the queue has not been checked in the last 60
seconds AND no call is currently in queue or transitioning in or out.
diff --git a/src/modules/xhttp/README b/src/modules/xhttp/README
index 9a59c839aa1..ec009bacafb 100644
--- a/src/modules/xhttp/README
+++ b/src/modules/xhttp/README
@@ -83,8 +83,8 @@ Chapter 1. Admin Guide
SIP parser can easily handle HTTP requests just by adding a fake Via
header.
 
-   The xmlrpc module uses the same concept. The xHTTP
-   module offers a generic way of handling the HTTP protocol, by calling
+   The xmlrpc module uses the same concept. The xHTTP module offers a
+   generic way of handling the HTTP protocol, by calling
event_route[xhttp:request] in your config. You can check the HTTP URL
via the config variable $hu. Note that use of $ru will raise errors
since the structure of an HTTP URL is not compatible with that of a SIP
@@ -222,7 +222,10 @@ event_route[xhttp:request] {
 
 6.1.  xhttp:request
 
-   The event route is executed when a new HTTP request is received.
+   The event route is executed when a new HTTP request is received. Most
+   of the variables related to a SIP request can be used inside this event
+   route to get HTTP request attributes (e.g., $si - source IP, $hdr(X) -
+   body of header X, $rm - request method, $rb - request body, ...).
 ...
 tcp_accept_no_cl=yes
 ...
diff --git a/src/modules/xlog/README b/src/modules/xlog/README
index 6606c5d9ea1..b21766a6d95 100644
--- a/src/modules/xlog/README
+++ b/src/modules/xlog/README
@@ -266,7 +266,7 @@ kamcmd cfg.set_now_int xlog methods_filter 15
 
Example 1.8. Set methods_filter parameter
 ...
-modparam("xlog", "long_format", 1)
+modparam("xlog", "methods_filter", 15)
 ...
 
 5. Functions

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


[sr-dev] git:master:4deb3a7f: pkg/kamailio: removed CentOS 6 build, no pcre2 deps [skip ci]

2023-09-25 Thread Sergey Safarov via sr-dev
Module: kamailio
Branch: master
Commit: 4deb3a7f7eb97fc30d42aa578082e496997e45d2
URL: 
https://github.com/kamailio/kamailio/commit/4deb3a7f7eb97fc30d42aa578082e496997e45d2

Author: Sergey Safarov 
Committer: Sergey Safarov 
Date: 2023-09-25T21:06:19+03:00

pkg/kamailio: removed CentOS 6 build, no pcre2 deps [skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

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

---

diff --git a/pkg/kamailio/obs/kamailio.spec b/pkg/kamailio/obs/kamailio.spec
index 2d01160530c..cc9e33e46f1 100644
--- a/pkg/kamailio/obs/kamailio.spec
+++ b/pkg/kamailio/obs/kamailio.spec
@@ -31,41 +31,6 @@
 %bcond_without xmlrpc
 %endif
 
-%if 0%{?rhel} == 6
-%if 0%{?centos_ver}
-%define dist_name centos
-%define dist_version %{?centos}
-%endif
-%if 0%{?centos_ver} == 0
-%define dist_name rhel
-%define dist_version %{?rhel}
-%endif
-%bcond_with cnxcc
-%bcond_without dnssec
-%bcond_without evapi
-%bcond_with geoip
-%bcond_without http_async_client
-%bcond_without ims
-%bcond_without jansson
-%bcond_without json
-%bcond_without lua
-%bcond_with lwsc
-%bcond_without kazoo
-%bcond_without memcached
-%bcond_with mongodb
-%bcond_with nats
-%bcond_without perl
-%bcond_with phonenum
-%bcond_without python2
-%bcond_with python3
-%bcond_with rabbitmq
-%bcond_with redis
-%bcond_with ruby
-%bcond_without sctp
-%bcond_without websocket
-%bcond_without xmlrpc
-%endif
-
 %if 0%{?rhel} == 7
 %if 0%{?centos_ver}
 %define dist_name centos
@@ -223,11 +188,6 @@
 %bcond_without xmlrpc
 %endif
 
-# Defining missing macros on RHEL/CentOS 6
-%if 0%{?rhel} == 6
-%define _rundir %{_localstatedir}/run
-%endif
-
 # build with openssl 1.1.1 on RHEL 7 based dists
 %if 0%{?rhel} == 7
 %bcond_with openssl11

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


[sr-dev] Re: [kamailio/kamailio] build warning (Issue #3585)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Thanks, fixed!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3585#issuecomment-1734388308
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:dc6ce127: tm: %llu specifier for printing msg_flags fields

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: dc6ce127441083bc0c9983ba6ebced03b4b515b2
URL: 
https://github.com/kamailio/kamailio/commit/dc6ce127441083bc0c9983ba6ebced03b4b515b2

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2023-09-25T22:05:24+02:00

tm: %llu specifier for printing msg_flags fields

- GH #3585

---

Modified: src/modules/tm/uac.c

---

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

---

diff --git a/src/modules/tm/uac.c b/src/modules/tm/uac.c
index 6c4ea6f809c..f1c2b9d1706 100644
--- a/src/modules/tm/uac.c
+++ b/src/modules/tm/uac.c
@@ -326,7 +326,7 @@ static inline int t_run_local_req(char **buf, int *buf_len, 
uac_req_t *uac_r,
& (FL_ADD_LOCAL_RPORT | FL_ADD_SRVID
| FL_ADD_XAVP_VIA_PARAMS
| 
FL_USE_XAVP_VIA_FIELDS))) {
-   LM_DBG("local Via update - new socket: [%.*s] - msg-flags: %u",
+   LM_DBG("local Via update - new socket: [%.*s] - msg-flags: 
%llu",
(lreq.force_send_socket)
? 
lreq.force_send_socket->address_str.len
: 4,

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


[sr-dev] Re: [kamailio/kamailio] build warning (Issue #3585)

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Closed #3585 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3585#event-10467039985
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:f764cef1: rabbitmq: backport of RABBITMQ_ERR_CREATE needed for handling allocation error

2023-09-25 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: 5.7
Commit: f764cef139d55adb5d38ffc6a1a65fd14bda5f4c
URL: 
https://github.com/kamailio/kamailio/commit/f764cef139d55adb5d38ffc6a1a65fd14bda5f4c

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2023-09-26T08:07:12+02:00

rabbitmq: backport of RABBITMQ_ERR_CREATE needed for handling allocation error

---

Modified: src/modules/rabbitmq/rabbitmq.h

---

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

---

diff --git a/src/modules/rabbitmq/rabbitmq.h b/src/modules/rabbitmq/rabbitmq.h
index 4560c04a051..79c3be55ce9 100644
--- a/src/modules/rabbitmq/rabbitmq.h
+++ b/src/modules/rabbitmq/rabbitmq.h
@@ -48,6 +48,7 @@ typedef enum {
RABBITMQ_ERR_CHANNEL,
RABBITMQ_ERR_QUEUE,
RABBITMQ_ERR_PUBLISH,
+   RABBITMQ_ERR_CREATE,
RABBITMQ_ERR_SOCK,
RABBITMQ_ERR_CONSUME,
RABBITMQ_ERR_NULL,

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