- using LM_INFO cause a lot of log events on a busy server with normal log level
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### 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 you're unsure about any of these, don't 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
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] 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
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Proposal to change log level of the query response time.
If this is of interest, it should probably be monitored in some other metric and not flood the syslog.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3296
-- Commit Summary --
* pdb: change log level for pdb query response time from LM_INFO to LM_DBG
-- File Changes --
M src/modules/pdb/pdb.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3296.patchhttps://github.com/kamailio/kamailio/pull/3296.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3296
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3296(a)github.com>
#### 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 you're unsure about any of these, don't 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
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Needed a way to sync the publ_cache with changes made to the presentity table when using publ_cache modes 1 or 2. This seems pretty simple, and works for me.
Beneficial when adding numerous "message-summary" event entries from an external Voicemail application to the 'presentity' table.
Usage: `kamcmd presence.htable_db_restore`
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3462
-- Commit Summary --
* presence: Add htable_db_restore RPC command.
-- File Changes --
M src/modules/presence/doc/presence_admin.xml (21)
M src/modules/presence/presence.c (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3462.patchhttps://github.com/kamailio/kamailio/pull/3462.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3462
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3462(a)github.com>
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 to TM module
* topos: typos
* tsilo: typos
* uac: extend documentation
* uac_redirect: typos
* uid_domain: typos
* uid_auth_db: typos
* uid_avp_db: typos
* uri_db: typos
* userblocklist: typos
* modules/utils: typo
-- File Changes --
M src/modules/jansson/doc/jansson_admin.xml (2)
M src/modules/lcr/doc/lcr_admin.xml (2)
M src/modules/lcr/lcr_mod.c (6)
M src/modules/lost/doc/lost_admin.xml (10)
M src/modules/lost/functions.c (4)
M src/modules/lost/response.c (4)
M src/modules/lost/response.h (2)
M src/modules/lrkproxy/doc/lrkproxy_admin.xml (6)
M src/modules/lrkproxy/lrkproxy.c (20)
M src/modules/lrkproxy/lrkproxy_funcs.c (4)
M src/modules/lrkproxy/lrkproxy_hash.h (4)
M src/modules/rtpproxy/doc/rtpproxy_admin.xml (4)
M src/modules/rtpproxy/examples/4to6.cfg (2)
M src/modules/rtpproxy/examples/alg.cfg (2)
M src/modules/rtpproxy/rtpproxy.c (4)
M src/modules/rtpproxy/rtpproxy_funcs.c (4)
M src/modules/rtpproxy/rtpproxy_stream.c (2)
M src/modules/rtpproxy/test/kamailio.cfg (8)
M src/modules/tmrec/doc/tmrec_admin.xml (2)
M src/modules/tmrec/tmrec_mod.c (2)
M src/modules/tmx/doc/tmx_admin.xml (4)
M src/modules/tmx/tmx_pretran.c (2)
M src/modules/topos/doc/topos_admin.xml (8)
M src/modules/tsilo/doc/tsilo_admin.xml (4)
M src/modules/tsilo/ts_append.c (4)
M src/modules/tsilo/tsilo.c (4)
M src/modules/uac/auth.c (6)
M src/modules/uac/auth.h (2)
M src/modules/uac/doc/uac_admin.xml (52)
M src/modules/uac/replace.c (2)
M src/modules/uac/uac_reg.c (4)
M src/modules/uac/uac_send.c (2)
M src/modules/uac_redirect/doc/uac_redirect_admin.xml (17)
M src/modules/uac_redirect/rd_funcs.c (2)
M src/modules/uid_auth_db/authorize.c (2)
M src/modules/uid_auth_db/doc/params.xml (2)
M src/modules/uid_auth_db/doc/uid_auth_db.xml (2)
M src/modules/uid_auth_db/uid_auth_db_mod.c (2)
M src/modules/uid_avp_db/avp_db.xml (10)
M src/modules/uid_avp_db/extra_attrs.c (2)
M src/modules/uid_domain/doc/uid_domain.xml (2)
M src/modules/uid_domain/domain.c (2)
M src/modules/uri_db/checks.c (2)
M src/modules/uri_db/checks.h (2)
M src/modules/userblocklist/doc/userblocklist_admin.xml (4)
M src/modules/userblocklist/userblocklist.c (6)
M src/modules/utils/conf.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3441.patchhttps://github.com/kamailio/kamailio/pull/3441.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3441
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3441(a)github.com>
#### 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 you're unsure about any of these, don't 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, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] 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)
- [ ] 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
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
A couple of commit (1 per each module) adding SSL support to db_redis and ndb_redis.
This mainly includes checking if proper parameter is provided (for ndb_redis it is `ssl` option in the DB URL and, for db_redis, a new `opt_ssl` parameter) and create a temporary SSL context that is used to initialise the redis context.
db_redis is also updated with another parameter to provide a DB access password.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3345
-- Commit Summary --
* db_redis: Adding SSL support
* ndb_redis: Adding SSL support
-- File Changes --
M src/modules/db_redis/Makefile (8)
M src/modules/db_redis/db_redis_mod.c (5)
M src/modules/db_redis/redis_connection.c (43)
M src/modules/db_redis/redis_connection.h (2)
M src/modules/ndb_redis/Makefile (6)
M src/modules/ndb_redis/redis_client.c (47)
M src/modules/ndb_redis/redis_client.h (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3345.patchhttps://github.com/kamailio/kamailio/pull/3345.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3345
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3345(a)github.com>
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3471
-- Commit Summary --
* imc: add support to modify member role
* imc: call handle_modify
* imc: db_mode support
* Merge branch 'kamailio:master' into master
* imc: destroy db only if db_mode is not 0
* Merge remote-tracking branch 'joeygo/master'
* imc: propagate content-type header
* Merge branch 'kamailio:master' into master
* Merge remote-tracking branch 'joeygo/master'
* Merge branch 'kamailio:master' into master
* rtpengine: support receiving dtmf events from rtpengine and raise an event
* Initialize uninitialized local variable
* Pass 0 to pvar setf in case of an event raised
-- File Changes --
M src/modules/rtpengine/doc/rtpengine.xml (7)
M src/modules/rtpengine/doc/rtpengine_admin.xml (117)
M src/modules/rtpengine/rtpengine.c (405)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3471.patchhttps://github.com/kamailio/kamailio/pull/3471.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3471
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3471(a)github.com>
Module: kamailio
Branch: master
Commit: a059af04ac47fd31238ca4f22ad868529e035c43
URL: https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-31T09:01:13+02:00
sst: fix condition on sst_min_se for sst_check_min()
---
Modified: src/modules/sst/sst_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
Patch: https://github.com/kamailio/kamailio/commit/a059af04ac47fd31238ca4f22ad8685…
---
diff --git a/src/modules/sst/sst_handlers.c b/src/modules/sst/sst_handlers.c
index 9a159577af..549eeb0756 100644
--- a/src/modules/sst/sst_handlers.c
+++ b/src/modules/sst/sst_handlers.c
@@ -667,7 +667,7 @@ int ki_sst_check_min(struct sip_msg *msg, int flag)
* too small. We will take the smaller of the messages
* Session-expires and min-se if stated.
*/
- if(sst_min_se < MIN(minse, se.interval)) {
+ if(sst_min_se > MIN(minse, se.interval)) {
/*
* Too small. See if we need to send the 422 and are able
* to send it.