<!-- 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
<!-- Describe your changes in detail -->
In keepalive module, logging the new state of the destination only if it changed.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2352
-- Commit Summary --
* keepalive: logging state of dest just if changed
-- File Changes --
M src/modules/keepalive/keepalive_core.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2352.patchhttps://github.com/kamailio/kamailio/pull/2352.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2352
- URL: https://github.com/kamailio/kamailio/commit/51ba498700c239d1721534d01da65fa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:23:59+02:00
pv: use localtime_r() for a safer multi-thread usage
(cherry picked from commit 14645b550cf9500e6a6e4a7d2ed8749e9aa174dc)
- URL: https://github.com/kamailio/kamailio/commit/7307b51b439f2d1fde1cc959c9eabc7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:24:13+02:00
htable: use localtime_r() for a safer multi-thread usage
(cherry picked from commit a6a4046757c2cac79455aa4a2d2ac632faa5e379)
- URL: https://github.com/kamailio/kamailio/commit/6db082b757ef4552c254ba9974ed29f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:25:43+02:00
core: events - increased SREV_CB_LIST_SIZE
- there can be several modules registering for these core callbacks
(cherry picked from commit fc7b0d65a227a176f79459c86844668bcd519148)
- URL: https://github.com/kamailio/kamailio/commit/c4471752e9f5b75b553676e7a0c8e78…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:25:55+02:00
sipdump: safety check for local socket pointer
- use generic address is not set
(cherry picked from commit 3e969a5b4d9a75d082f7d59b0fa1dc6362391675)
- URL: https://github.com/kamailio/kamailio/commit/ffc82295b14980283b88cac4793a333…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:26:13+02:00
core: safer truncation of hostname using memcpy
(cherry picked from commit aac577a4655ebf09d5cbef3e1a49f72d25ea57d7)
- URL: https://github.com/kamailio/kamailio/commit/ea06c83da7a2d592b856c01c6677692…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:26:48+02:00
core: udp server - add sockaddr_storage to ensure enough size for sockaddr_union
- safety check that from addr len is matching expected size for listen
socket
- rename local variables to suggest better their purpose
(cherry picked from commit d13f863e74c6c0275264e588f1dca206cf099587)
- URL: https://github.com/kamailio/kamailio/commit/a6a7e9b57edef5794a96299ce77c27d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:27:33+02:00
regex: leave enough space in buffers for parenthesis and -ending
(cherry picked from commit 9cae069832c8f37ebf9e686b3fbcab5d63652755)
- URL: https://github.com/kamailio/kamailio/commit/f1af2147c506b3c01c80dcc66d29448…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:28:19+02:00
imc: reserve last char in global buffer for ending zero
(cherry picked from commit 702630b484ac6f7c017829c24294ce7552f1682a)
- URL: https://github.com/kamailio/kamailio/commit/c27cad6e743083b56c38f8eaf87ddc4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:28:32+02:00
core: explicit cast to (void*) for %p format printing
- c standard required that for a defined value and in some cases the
code analysers complain, especially when reading the value via
socket/file descriptor
(cherry picked from commit 730f65c06d0b8436e4a9cd0c1a62d2433819dc45)
- URL: https://github.com/kamailio/kamailio/commit/c90fb35fbd5091e929f8b3b5064d8fe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:28:45+02:00
misc: examples/kemi - small typo in lua example
(cherry picked from commit c1d3fdb31871078b666278a933dbab20a0a8dca3)
- URL: https://github.com/kamailio/kamailio/commit/4f9f7160511a5f9301e2fb5764d857f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:29:06+02:00
tm: safety checks for branch request len
(cherry picked from commit c45913497f222c67bcccdbc8724b25bb083c556f)
- URL: https://github.com/kamailio/kamailio/commit/129986178fb1e11e1e3132155445c16…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:29:53+02:00
evapi: cast to void* when printing logs with pointer value
(cherry picked from commit 4ad790f697554332ea590793d3ec56e13437e82f)
- URL: https://github.com/kamailio/kamailio/commit/88935e040472ac0b5633173dfcd9725…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:30:04+02:00
pua_reginfo: free xml doc in case of error
- a few whitespacing fixes
(cherry picked from commit 7ae675bd90b4420ebaa17768c97aa09219f53116)
- URL: https://github.com/kamailio/kamailio/commit/40e3773f28faf392475b142f54f301d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:30:49+02:00
outbound: pass recv info struct by address
- fix performance inefficiency for passing large structs by value
(cherry picked from commit 56ea88ef9a0628d7ca644f31840101ffe573e5c3)
- URL: https://github.com/kamailio/kamailio/commit/8ca76f01711e59fd1567bfcbd785cb0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:30:59+02:00
path: updates for outboud module api
(cherry picked from commit 97c7081df94eaabd8e48b084671ea831b5ec9024)
- URL: https://github.com/kamailio/kamailio/commit/749dcc5b6d03889609685957538dc90…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:31:07+02:00
rr: updates for outboud module api
(cherry picked from commit 6aca846dce4b797a66aaa865fb5a1e81f7806b4c)
- URL: https://github.com/kamailio/kamailio/commit/34eafd03b97c857682f9177ec4d7d1f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:31:18+02:00
core: define macro for signature to be used for server and user-agent
(cherry picked from commit d26ccdea61230bfc7720a2523c7b6dd8d2692d6d)
- URL: https://github.com/kamailio/kamailio/commit/3a288421dbbffca9952200533668a65…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:31:28+02:00
websocket: use signature macro instead of offsetting inside server hdr define
- pass rcv info structure by address
- remove function name from logs
(cherry picked from commit c0e687d820f9bbf2b6b1ef6892e5b34c30f25a63)
- URL: https://github.com/kamailio/kamailio/commit/83f20f6b0e8a3e4a6c6b5351526f67b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:31:37+02:00
acc_diameter: use file specific include guard
(cherry picked from commit 3d73e8cb9f7431383c5a4ce798e2610f37ff92dc)
- URL: https://github.com/kamailio/kamailio/commit/a27d7da420ca0713201ca5f55ed7974…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:31:50+02:00
auth_diameter: use file specific include guard
(cherry picked from commit 9053c70fe7e147b784c53a57014796282701c74d)
- URL: https://github.com/kamailio/kamailio/commit/ac73bd096869a1cb13ba3145ad45a76…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:32:02+02:00
uid_uri_db: use file specific include guard
(cherry picked from commit 7749069cd05b9619ee32237773097441e241bac4)
- URL: https://github.com/kamailio/kamailio/commit/b50e0041c0d485d82434381f66c1f6d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:32:14+02:00
core: kemi - added missing is_MESSAGE()
- GH #2331
(cherry picked from commit 8db5a12f7fab1a1fc7d50c87bbf1aee325b067c2)
- URL: https://github.com/kamailio/kamailio/commit/fed572ae474ca95eb35f712a4173451…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:32:27+02:00
core: kemi - added KSR.is_KDQM()
(cherry picked from commit 17d3040365400d14d251247c9c3319fc003f2cb2)
- URL: https://github.com/kamailio/kamailio/commit/915c8a0d45710148ca781b3389e8397…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:33:42+02:00
core: kemi - functions to test http methods
(cherry picked from commit f2458a66ae46a74b83fe2a3f3886f6015249a960)
- URL: https://github.com/kamailio/kamailio/commit/553438bf0df14ff7b2c450c3e73f909…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:34:51+02:00
lib/srdb1: schema - added id auto-increment column to matrix
- coherence across all tables
(cherry picked from commit 740840ebe9538c1a3e6e3a49d82d437602b9d91a)
- URL: https://github.com/kamailio/kamailio/commit/f53ad6d78d77d160682e151b92cba4d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:35:05+02:00
doc/docbook: added entities for kamctl and kamcli
(cherry picked from commit 80e46395a3a937a5c5691c438db11bc059be6b38)
- URL: https://github.com/kamailio/kamailio/commit/be5ded1ec663ba8b364e0bafaac1a07…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:35:21+02:00
core: async task logging on no callback
(cherry picked from commit 8893e6f2b30577b065f11a406faf5c5935714f78)
- URL: https://github.com/kamailio/kamailio/commit/1f1b0517ddcb11c51e7211a902c2ca7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:35:34+02:00
tls: Makefile - option to link against libssl static libs
(cherry picked from commit 3e7278f28c43b830a197e2f7b212ec6f06e5acbf)
- URL: https://github.com/kamailio/kamailio/commit/7b241198698db2ee483be13ab87d4d5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:35:45+02:00
tls: better log messages when failing to create ssl ctx
(cherry picked from commit d2906da97d2429bfdff089203f933de2d282a86d)
- URL: https://github.com/kamailio/kamailio/commit/a886c67b9d2047960aaa78154be1faa…
Author: Torrey Searle <tsearle(a)voxbone.com>
Date: 2020-06-11T15:36:43+02:00
misc: examples/kemi - fixes to the python script
remove dependency on Router.Logger
remove ;
fix comment ref exit()
(cherry picked from commit df2fa2c5589bd5f651e814e32e2edf00c23ffebc)
- URL: https://github.com/kamailio/kamailio/commit/b80ed7c5220dda8ff73a8db48617d92…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:37:12+02:00
pv: removed commented code for retcode var - exported from core
(cherry picked from commit f658a7a8263efd4b0ed5816959741380a964221d)
- URL: https://github.com/kamailio/kamailio/commit/dd59a3ac58253242257a8660310bb68…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:37:44+02:00
ctl: renamed global io_h to clt_io_h
- tcp core also uses a glibal io_h
(cherry picked from commit 19b3deb88afe5d787ca366885c660e66f17c3409)
- URL: https://github.com/kamailio/kamailio/commit/c8f98ff7b7f734d0daa765cdb0332ea…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:37:56+02:00
erlang: renamed global io_h to clt_io_h
- tcp core also uses a glibal io_h
(cherry picked from commit b6abc7618af7b8b3470e76aae7a0fd5ba0869949)
- URL: https://github.com/kamailio/kamailio/commit/69dca2b460b7802eed50072e3672a20…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:38:11+02:00
core: io_wait.h - typedef fd_map_t, more details in log when is a fd conflict
(cherry picked from commit 50af00c7ef7037b6e55a3d3254a38935532bb0fa)
- URL: https://github.com/kamailio/kamailio/commit/be50e55355f1e33297121e0a7ac4c28…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:38:22+02:00
core: tcp - log details of the exiting tcp connection on insert failure
(cherry picked from commit 4deb51419ab66931459709fe44acd3e7a0acc18d)
- URL: https://github.com/kamailio/kamailio/commit/c09e2190a6e308e3446625afaaed5e9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:39:00+02:00
topos: allow 183 without contact header
- some UAs do not add it, even it can create the session for PRACK,
which requires it
(cherry picked from commit 785326cdfbee849a8436e7c07003ff0539d259cd)
- URL: https://github.com/kamailio/kamailio/commit/ba3b6235cea86e3119392c5834e26a3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:39:50+02:00
app_python3: use safer function PyBytes_AsString() instead of macro
- check if f_code filed in frame is set before using in log message
- GH #2335
(cherry picked from commit e680dd6ed672e63012e960c68c0030e3f188654b)
- URL: https://github.com/kamailio/kamailio/commit/ed1fb65f4e8b63e66c3c80d6382a2d9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:40:07+02:00
app_python: check if f_code field in frame is set before using in log message
(cherry picked from commit b02c247023ea3ea0ef9753efdb04aff7d5d3bbb4)
- URL: https://github.com/kamailio/kamailio/commit/c0097b69c78919262be2c9c4babb462…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:41:09+02:00
siputils: contact ops - removed old defines set on for very long time
- bits of formatting code and comments
(cherry picked from commit 2b8b2904399478984d3983ce447c98832419570a)
- URL: https://github.com/kamailio/kamailio/commit/367a4f69fe179e52a1ef95780be1bf8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:41:21+02:00
siputils: contact ops - clang format code
(cherry picked from commit 5754539602bb6806f829a9ceee73630953fdaa81)
- URL: https://github.com/kamailio/kamailio/commit/588b41f114ea1d14c59f6f1ab0cab65…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:41:31+02:00
siputils: cotact ops - more debug info and coherence in log messages
- use lowercase always at the start, the message is prefixed anyhow
(cherry picked from commit 3f156be2e5e2c06a6716e709a246e57c51661012)
- URL: https://github.com/kamailio/kamailio/commit/3dbf54f8f1994693a028a41d8d81d4c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:48:26+02:00
kamctl: regenerated the schema
- URL: https://github.com/kamailio/kamailio/commit/bfa58cdebc84aeca8220eb9d583b597…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-06-11T15:50:09+02:00
sipdump: make month in the file name from 1 to 12
- tm_mon is from 0-11
- backport of 97593d20875d26c38511f564fd7071bf79baa56b
This is the error I get when I run ./kamailio -f /etc/kamailio/kamailio.cfg -E
-----------------------------------------------------------
loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <dst_avp> of type <1> not found in module <dispatcher>
0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 378, column 61: Can't set module parameter
0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <grp_avp> of type <1> not found in module <dispatcher>
0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 379, column 61: Can't set module parameter
0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <cnt_avp> of type <1> not found in module <dispatcher>
0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 380, column 61: Can't set module parameter
0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <sock_avp> of type <1> not found in module <dispatcher>
0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 381, column 63: Can't set module parameter
ERROR: bad config file (4 errors)
--------------------------------------------------------------
These are the lines 378-381 from the config file
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")
modparam("dispatcher", "sock_avp", "$avp(DISPATCHER_SOCK_AVP)")
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2355