[sr-dev] [kamailio/kamailio] pv_cache gets filled if dynamic names are used (Issue #3440)

2023-05-08 Thread Victor Seva
### Description _**Sipwise** hat on_ We noticed that pkg memory was getting exhausted and we found out that pv_cache_add() was the origin of the allocations. We are using ``$xavp(user_)`` variables that, for sure, are kind of dynamic. There is a pv_cache_drop() that tries to remove ``$sht()``

[sr-dev] Re: [kamailio/kamailio] pv_cache gets filled if dynamic names are used (Issue #3440)

2023-05-08 Thread Daniel-Constantin Mierla
How do you use the `$xavp(...)`? Do you need to work with them using the kamailio-PV-style name? Otherwise it might be better to use the dedicated functions exported to kemi from pv module: - https://www.kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#pvx Then, yes, we c

[sr-dev] Re: [kamailio/kamailio] pv_cache gets filled if dynamic names are used (Issue #3440)

2023-05-08 Thread Victor Seva
I'm going to try first the keeping last_access solution I think would be a more generic solution -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/3440#issuecomment-1538207445 You are receiving this because you are subscribed to this thread. Messa

[sr-dev] [kamailio/kamailio] Typos (PR #3441)

2023-05-08 Thread Дилян Палаузов
You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/3441 -- Commit Summary -- * jansson: typo xavps's → xavp's * lcr: typos * lost: typos * lrkproxy: typos * rtpproxy: typos * tmrec: typos recurrence * tmx: update hyperlink t

[sr-dev] Re: [kamailio/kamailio] pv_cache gets filled if dynamic names are used (Issue #3440)

2023-05-08 Thread Daniel-Constantin Mierla
It might be a bit tricky to really make it generic, because some variables keep pointer to shared memory, definitely is not going to work for `$shv(...)` to be (re-)initialized after forking. So if a shv is used not very often and destroyed, then it becomes unusable for ever, (re-)initialisation

[sr-dev] git:master:b6d03564: siptrace: added sip_trace_msg(dst, corlid, vmsg)

2023-05-08 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: b6d03564570839553bd0eeed28c06102bfa9fc46 URL: https://github.com/kamailio/kamailio/commit/b6d03564570839553bd0eeed28c06102bfa9fc46 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2023-05-08T14:11:08+02:00 siptrace: added sip_tr

[sr-dev] git:master:7532e92b: siptrace; fix parameter inside sip_trace_msg()

2023-05-08 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7532e92bc45f35348a34f9e7bd39fc00db4118dd URL: https://github.com/kamailio/kamailio/commit/7532e92bc45f35348a34f9e7bd39fc00db4118dd Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2023-05-08T14:11:08+02:00 siptrace; fix paramete

[sr-dev] Re: [kamailio/kamailio] siptrace - custom sip message hep replication (PR #3442)

2023-05-08 Thread Daniel-Constantin Mierla
Merged #3442 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3442#event-9189701853 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Developme

[sr-dev] git:master:43e76ead: siptrace: sip_trace_msg() exported with 3 parameters

2023-05-08 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 43e76ead36e9d09d462ebc0ba2fc88d06c4d9ac4 URL: https://github.com/kamailio/kamailio/commit/43e76ead36e9d09d462ebc0ba2fc88d06c4d9ac4 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2023-05-08T14:11:08+02:00 siptrace: sip_trace_ms

[sr-dev] [kamailio/kamailio] siptrace - custom sip message hep replication (PR #3442)

2023-05-08 Thread Daniel-Constantin Mierla
Pre-Submission Checklist