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

2024-03-06 Thread github-actions[bot] via sr-dev
This issue is stale because it has been open 6 weeks with no activity. Remove 
stale label or comment or this will be closed in 2 weeks.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3656#issuecomment-1982229419
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] xhttp: fix execution of async functions (PR #3723)

2024-03-06 Thread github-actions[bot] via sr-dev
This PR is stale because it has been open 6 weeks with no activity. Remove 
stale label or comment or this will be closed in 2 weeks.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3723#issuecomment-1982229451
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:67785fea: tls/docs: Update certificate generation docs

2024-03-06 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 67785fea8f906236e4a30bc09bb11b3292c46572
URL: 
https://github.com/kamailio/kamailio/commit/67785fea8f906236e4a30bc09bb11b3292c46572

Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Committer: Daniel-Constantin Mierla 
Date: 2024-03-06T19:40:26+01:00

tls/docs: Update certificate generation docs

---

Modified: src/modules/tls/doc/tls.xml

---

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

---

diff --git a/src/modules/tls/doc/tls.xml b/src/modules/tls/doc/tls.xml
index 9b3f4eaacb3..5697792655a 100644
--- a/src/modules/tls/doc/tls.xml
+++ b/src/modules/tls/doc/tls.xml
@@ -93,7 +93,10 @@


When installing tls module of kamailio, a sample 'tls.cfg' file 
is deployed in the same
-   folder with 'kamailio.cfg', along with freshly generated self 
signed certificates.
+   folder with 'kamailio.cfg'. For freshly generated self signed 
certificates make must be called from tls folder
+   
+make install-tls-cert
+   


HINT: be sure you have enable_tls=yes to 
your kamailio.cfg.

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


[sr-dev] Re: [kamailio/kamailio] Update TLS docs (PR #3776)

2024-03-06 Thread Daniel-Constantin Mierla via sr-dev
Merged #3776 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3776#event-12032000651
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] Update TLS docs (PR #3776)

2024-03-06 Thread Daniel-Constantin Mierla via sr-dev
Thanks! Merging to backport for newer release.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3776#issuecomment-1981548565
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:4c9cfa7a: tls/docs: Update tls.reload docs

2024-03-06 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio
Branch: master
Commit: 4c9cfa7a6a770a693ecb3b840ad042fb201db675
URL: 
https://github.com/kamailio/kamailio/commit/4c9cfa7a6a770a693ecb3b840ad042fb201db675

Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Committer: Daniel-Constantin Mierla 
Date: 2024-03-06T19:40:26+01:00

tls/docs: Update tls.reload docs

---

Modified: src/modules/tls/doc/rpc.xml
Modified: src/modules/tls/doc/tls.xml

---

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

---

diff --git a/src/modules/tls/doc/rpc.xml b/src/modules/tls/doc/rpc.xml
index 495fc7b31c2..d9e75b014b2 100644
--- a/src/modules/tls/doc/rpc.xml
+++ b/src/modules/tls/doc/rpc.xml
@@ -70,6 +70,10 @@
terminated and they continue to use the old 
certificates. The new configuration
will be used for new connections.

+   
+   Reload is generally safe and usable in production environments. 
If possible should
+   be done in a time where the service has lower usage/connections.
+   

This RPC command is exported with "RPC_EXEC_DELTA" 
flag, therefore its
execution rate can be restricted to specific time 
intervals by setting
diff --git a/src/modules/tls/doc/tls.xml b/src/modules/tls/doc/tls.xml
index 9460d73c89f..9b3f4eaacb3 100644
--- a/src/modules/tls/doc/tls.xml
+++ b/src/modules/tls/doc/tls.xml
@@ -284,10 +284,6 @@ make -C modules/tls extra_defs="-DTLS_WR_DEBUG 
-DTLS_RD_DEBUG"
but also not exactly standard conforming (the 
verification should happen during TLS
connection establishment and not after).

-   
-   TLS specific config reloading is not safe, so for now 
better don't use it,
-   especially under heavy traffic.
-   

This documentation is incomplete.
The provided selects are not documented in this file. A 
list with all the
@@ -364,4 +360,3 @@ event_route[tls:connection-out] {


 
-

___
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.8

2024-03-06 Thread Daniel-Constantin Mierla via sr-dev
- URL:  
https://github.com/kamailio/kamailio/commit/15ffdf7c0721fb5d05772d96e133ac74412c0068
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:00+01:00

ndb_redis: reformat exported structures

(cherry picked from commit fb21f89dc544551b1bb65805303131fa990d2f44)

- URL:  
https://github.com/kamailio/kamailio/commit/3415be29303bbacaf25b646d6c86027e93cf7c7e
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:16+01:00

evrexec: reformat exported structures

(cherry picked from commit 65eef5c5446c1f6870eecf8bbc84d68d12271bc7)

- URL:  
https://github.com/kamailio/kamailio/commit/2d2006701f491f732ea07b36a48016f7fbe436bf
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:23+01:00

microhttpd: docs - note about variables available in the event route

(cherry picked from commit 993583015b127b0a83603acd352925c8d6e6db70)

- URL:  
https://github.com/kamailio/kamailio/commit/50c759030f024dd080c08a3d94127f1d1af544e2
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:32+01:00

ndb_redis: init enabled for tcp-main and postchildinit callbacks

- GH #3768

(cherry picked from commit 19e5bf3d4cfc2b7d47623e307fff7e60e73e8a18)

- URL:  
https://github.com/kamailio/kamailio/commit/c2ac3ffc907ded71bcde59c3c5c0d6b69e997696
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:41+01:00

tcpops: variables to get active connection attributes

(cherry picked from commit 59230a07b8c6a79c4a574890bae775c3d166c471)

- URL:  
https://github.com/kamailio/kamailio/commit/8835f04334981b81df7eed6c03e581fcc4070da8
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:44:47+01:00

tcpops: if connection not found, return attributes from sip msg rcv

(cherry picked from commit c3d753885b3cd1bc0cb9f46986e5798dfb5f6552)

- URL:  
https://github.com/kamailio/kamailio/commit/ab981daa54c1afc1017af16afbb67ef55567e6fa
Author: herlesupreeth 
Date:   2024-03-06T17:45:09+01:00

ims_usrloc: make matching of username in contact conditional

(cherry picked from commit 17bdbd34b1038de936f14c1a41ce55f571e6402a)

- URL:  
https://github.com/kamailio/kamailio/commit/c06ea12d0fff50569803ea0fef9486726ab428ce
Author: herlesupreeth 
Date:   2024-03-06T17:45:14+01:00

ims_registrar_pcscf: update registered state to pending registration if contact 
exists

(cherry picked from commit 4fb8accc6747ad56fec3dc84d70cb2b8bbd7316e)

- URL:  
https://github.com/kamailio/kamailio/commit/0747c18d5c4db2e7e8408ad2c7efa120ec76523e
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:45:27+01:00

core: rthreads - init return variable

(cherry picked from commit 181c602616e13323786335e8e28f182871aa5e9b)

- URL:  
https://github.com/kamailio/kamailio/commit/219c21fe62638e7191dd1b5ad32ba098273e2009
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:45:35+01:00

influxdbc: copy with buffer size limit

(cherry picked from commit 73c66150c604326c07d454002c12cb221289936a)

- URL:  
https://github.com/kamailio/kamailio/commit/4c78a564c5ad8662014cf686428a37238a6d8476
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:45:44+01:00

core: ppcfg - jump to end when defexp eval does not get a str val

(cherry picked from commit daac0bdb88f6f732bda7c683af45b90f87fdb7c9)

- URL:  
https://github.com/kamailio/kamailio/commit/089bf63178039b13cde0beccfacab1536af76179
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:45:54+01:00

core: select - handle ws and wss inside select_ip_port()

(cherry picked from commit d8e0942c9e83c8cad7c182bf41c156ba35bf24d2)

- URL:  
https://github.com/kamailio/kamailio/commit/4626cb7f0e0b273153ce0004900a92553783a893
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:46:07+01:00

core: parser rr - check for rr value before serializing

(cherry picked from commit 6ee26a3ae3293aaeb4507d5d0b16ad31173cc39a)

- URL:  
https://github.com/kamailio/kamailio/commit/42282a2c78fc24ff2b3856983a6dbb188a2912e3
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:46:15+01:00

acc: cdr - do not free static empty string in case of error

(cherry picked from commit 0fc0cdd791ce5157232dd2139238708403cdde1d)

- URL:  
https://github.com/kamailio/kamailio/commit/d45c78eeeaea6a9fc9dcb927436f834392d9d7c9
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:46:22+01:00

ctl: reset log prefix on reading ctl traffic

- it may be previously set in process by some event route

(cherry picked from commit 5b8b2717ee2f57da932132683b27eb33cea3fd59)

- URL:  
https://github.com/kamailio/kamailio/commit/500e5fabf9da31b5fa2949cac90956da99751223
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:46:33+01:00

core: main - init local variables used for cli param parsing

(cherry picked from commit 8a2894cd6180f904dd37acb4985db4e4935aa434)

- URL:  
https://github.com/kamailio/kamailio/commit/a814df7e828db7be0b34738c2eb78b133c22ddef
Author: Daniel-Constantin Mierla 
Date:   2024-03-06T17:46:45+01:00

presence: docs - remove extra section end tag

(cherry picked from commit ed32512f4594cc0ddc3437e274bcba5acfc16410)



[sr-dev] [kamailio/kamailio] PKG Memory Leak with RTPEngine Module with WebSocket (Issue #3777)

2024-03-06 Thread vijaykumar-exotel via sr-dev
### Description



### Troubleshooting
- as checked further we particulartly tcp reciever process was consuming pkg 
memory , then further we checked from corex pkg_sumary for that process id, and 
found that rtpengine: rtpengine.c: send_rtpp_command was consuming highest 
memory.


 Reproduction
console rtpengine url with ws endpoint.

this is reproducible, we can configure websocket in rtpengine module and then 
we can initate calls. and increase the number of calls over the period of time

 Debugging Data
https://github.com/kamailio/kamailio/assets/115363081/0904892e-6a6e-4dc1-8501-a5bbad00d818;>

kamcmd pkg.stats

entry: 24
pid: 378355
rank: 17
used: 7467640
free: 24348320
real_used: 9206112
total_size: 33554432
total_frags: 66
desc: tcp receiver (generic) child=0

kamcmd corex.pkg_summary pid 378355
Mar  6 16:31:52 coreproxy-4 /usr/local/sbin/kamailio[378355]: ALERT: qm_sums: 
qm_sums():  count=  8075 size=   4638760 bytes from rtpengine: rtpengine.c: 
send_rtpp_command(3040)


### Additional Information

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

```
(paste your output here)
version: kamailio 5.7.0 (x86_64/linux) 
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, 
USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, Q_MALLOC, 
F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, 
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, 
TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, 
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown 
compiled on 01:04:28 Jan 25 2024 with gcc 9.4.0
```

* **Operating System**:




```
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 20.04.6 LTS
Release:20.04
Codename:   focal

Linux coreproxy-4 5.15.0-1045-oracle #51~20.04.1-Ubuntu SMP Fri Sep 22 14:25:26 
UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3777
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] Docs: TLS module known limitations need clarifications (Issue #3717)

2024-03-06 Thread Thierno IB. BARRY via sr-dev
> @barryib Have a look to the referenced PR, it should address your concerns, 
> feedback welcome of course.

Thanks @henningw for the notification. Let's us have a look.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3717#issuecomment-1980507936
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