- URL: https://github.com/kamailio/kamailio/commit/be0e0fc4da2a6a901cacda9b3574147639b9f9ea Author: tsearle <[email protected]> Date: 2021-02-12T15:34:53+01:00
modules/siptrace: fix regression preventing variables to be used (#2588) * modules/siptrace: fix regression preventing variables to be used Commit fa7eb2a switched the 2 parameter version of sip_trace from using the builtin fixup_spve_spve to the custom fixup method to using the custom fixup_siptrace. As it is a custom fixup method, the corresponding free method can not be auto-detected causing the config parser to require the parameters to be a constant. This patch adds a free method, allowing variables to be once again passed as the 2nd parameter of this method (as well as fixing a memory leak for the 3rd parameter). * change free for parameter 3 Co-authored-by: Torrey Searle <[email protected]> (cherry picked from commit 7c98d547996637a7bf1c7025c93142f574fe3ac9) - URL: https://github.com/kamailio/kamailio/commit/91ae11588b6d038b97e803f4afaf44dffe561322 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:41:06+01:00 core: added --no-atexit cli parameter - skip atexit callbacks execution from external libraries which may access destroyed shm memory causing crash on shutdown (cherry picked from commit 9f12d314268d1d2cd990cb3c5556f79343869e47) - URL: https://github.com/kamailio/kamailio/commit/eadd50a92bfe7fb0cdfa90276cdb5df0e85a942e Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:41:30+01:00 core: take in consideration --no-atexit for daemonize() (cherry picked from commit 7ab2e85437482b4dba86937a29da025503450014) - URL: https://github.com/kamailio/kamailio/commit/0dbdf13df804e26337a7b88b16f18c31223bd62e Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:41:42+01:00 core: use macro for exit variants based on --no-atexit (cherry picked from commit 06aec5a81cb22d06ad3bf613a05951f91e7e21bc) - URL: https://github.com/kamailio/kamailio/commit/c603f69179872775fcf8f35fd0a0d2c7d9e9d2a7 Author: Victor Seva <[email protected]> Date: 2021-02-12T15:41:54+01:00 doc: update options at manpage * put them in order too (cherry picked from commit 377bb3bdfd20bedabbe0f92e53bdded44be267e9) - URL: https://github.com/kamailio/kamailio/commit/97ba470451ecde8c97531fdce3ddd2ef47955b0e Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:43:41+01:00 core: replaced --no-atexit with --atexit=val - val can be y[es] or 1 to enable execution of atexit callbacks; n[o] or 0 to disable the execution of atexit callbacks - default yes - simplified ksr_exit() macro (cherry picked from commit 9b1472275530ed4cc32a65cd247dc9997e8b964b) - URL: https://github.com/kamailio/kamailio/commit/e4994b28b2052ff864c16aaa2305d7356ad4d812 Author: Victor Seva <[email protected]> Date: 2021-02-12T15:43:58+01:00 doc: update manpage for atexit option (cherry picked from commit 351efd29d332703e79104a106ade08c9d1df6e20) - URL: https://github.com/kamailio/kamailio/commit/2f912a17d09a6e7aad89b5df4629a360330522d3 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:44:36+01:00 keepalive: check if the destinations list is initialized at runtime use - do not initialize, because is no longer seen in all processes, initialization must be done in mod init (cherry picked from commit b2b7ec826055fd67ecf5ffb052afa609e0aa9e5b) - URL: https://github.com/kamailio/kamailio/commit/1c6a04517d924d3f806573529f915a4528afd317 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:53:45+01:00 core: more use of ksr_exit() macro to follow --atexit param (cherry picked from commit 4f6243e8e6e2012af35aae67da7b93af2127f02c) - URL: https://github.com/kamailio/kamailio/commit/1202f7ba0033a83ade2839cab06b2f2d35d63f64 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:54:16+01:00 core: cfg.lex - overwrite yy_fatal_error() to use ksr_exit() macro (cherry picked from commit 9f326234f40f2c02f4833647112c3a4f4912aa17) - URL: https://github.com/kamailio/kamailio/commit/cfd9a30e5cad869c7188a524e24d1b6f53664f9f Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:54:26+01:00 core: cfg.lex - declare auto-generated yy_fatal_error() with unused attribute (cherry picked from commit 346d99d1f98178a71d482e5724135f65257427dd) - URL: https://github.com/kamailio/kamailio/commit/58dfc4cb7e1de233dfb2ceed2fb2a17a8511905c Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:54:36+01:00 core: main - terminate using ksr_exit() instead of return (cherry picked from commit d8643cd2caf38aa1efaeff73783920fab1d9bf0d) - URL: https://github.com/kamailio/kamailio/commit/bf8ab95cffdb1d2ab98c68ca84ad80626c093085 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:54:47+01:00 core: cfg.lex - removed __attribute__((unused)) - not supported on some distros - workaround to avoid unused warning (cherry picked from commit 20fdab545a5f5c3ef1b8d8c4c392acaf4f9e8aae) - URL: https://github.com/kamailio/kamailio/commit/e4fd58083274a774dae528437a01200a86ad7fa8 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:55:03+01:00 cfg.lex: removed yynoreturn attribute for ksr_yy_fatal_error() - it is defined only by newer flex version, resulting in compile failure on older versions (e.g., centos 7) (cherry picked from commit f230035d8275cbad8d7515f73ba242f77a7a16db) - URL: https://github.com/kamailio/kamailio/commit/a36805a26aa84e865ba18260d94587be44688883 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:55:27+01:00 tls: fixed small typo in log message (cherry picked from commit 3c1a454a1ac4fe8e668f709d3e278bbce59c51d3) - URL: https://github.com/kamailio/kamailio/commit/bc65cba661747c960d6d62807e0bedf755f2f668 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:57:14+01:00 core: keep a global flag in shm for shut down phase - set when destroy modules is starting - useful to check from other processes if shut down started (cherry picked from commit 6da946e4a3d6d6949dd6babe9cf3919edc0b4519) - URL: https://github.com/kamailio/kamailio/commit/72b88989f359ddd14e83a7b2f8c108753072ae3f Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T15:57:27+01:00 core: proper test when initializing _ksr_shutdown_phase shm pointer (cherry picked from commit 27b2ddf926240b1dd269eb1d96767d73edf9c6e6) - URL: https://github.com/kamailio/kamailio/commit/23d24f9db87e5b5d384af70e466df9d23f2bd900 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:04:21+01:00 core: test if shm is initialized on early shutdown (cherry picked from commit b7d42f248bef70a06d8ae23f4a7652fd3f0e4e61) - URL: https://github.com/kamailio/kamailio/commit/57c9794350d36fe1965212bca2bd42f147d100db Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:05:05+01:00 ctl: skip handling rpc commands if kamilio is in shutdown phase - related to #2433 (cherry picked from commit 6d928b59a3dbd6eb291da3d3936be6e8f18588af) - URL: https://github.com/kamailio/kamailio/commit/ee6b30c1556d4591ef92f8696e583a94c75e3c93 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:05:17+01:00 ctl: fail when requested to process rpc commands in shutdown phase (cherry picked from commit 2015cfdfd777085dad98a606fc41946af186db1b) - URL: https://github.com/kamailio/kamailio/commit/f1a4f695e530e387e2f14d257263b7c99315b32a Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:06:07+01:00 core: initialize allocated _ksr_shutdown_phase pointer (cherry picked from commit f27c2e06d7467c4c33ff289175862ae7614a3018) - URL: https://github.com/kamailio/kamailio/commit/38dd7fd703f043c51756df936abc56103c891545 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:06:46+01:00 core: cfg.lex - do not destroy action if pre-fixup fails - params might be in inconsistent state, shutdown is triggered which cleans the pkg anyhow - GH #2630 (cherry picked from commit dddd530ed9fa7b6ca8b31ff299105a53c39c1a5e) - URL: https://github.com/kamailio/kamailio/commit/a0e796754a0e51f635d6bf899711294e805bff4c Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:07:10+01:00 rr: use rr params with record_route_preset() - param buffer was checked, but not used (cherry picked from commit 76b886da8ddf11a94a62850c19bad8c83bd113fc) - URL: https://github.com/kamailio/kamailio/commit/2e6a4024ae35b95d3f4b777ec6eb346ba072f80f Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:07:19+01:00 rr: docs - note about format of record_route_preset() parameters (cherry picked from commit f318fab629c308250531046d453a8ac76f80ca42) - URL: https://github.com/kamailio/kamailio/commit/a61d308c4460afcaab19934ade23a7ee8e8b1b5b Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:07:28+01:00 rr: docs - added missing end tag for para introduced in previous commit (cherry picked from commit f8e60bcba548b25657cc295f8a593adf371f9fda) - URL: https://github.com/kamailio/kamailio/commit/73e849cb3e5771402fb1a9249457ae3ce4b60d3b Author: Juha Heinanen <[email protected]> Date: 2021-02-12T16:07:36+01:00 Fixed typo. (cherry picked from commit 2664a51c35a1e8b5adc4c7e6cedde60bc01f0b28) - URL: https://github.com/kamailio/kamailio/commit/0f4eecdca36e9fc3311175a354a2404367b1e2fb Author: Juha Heinanen <[email protected]> Date: 2021-02-12T16:07:48+01:00 Improved README. (cherry picked from commit 857e9deb4c2455ee2ea0c05446da54f97e1f0a63) - URL: https://github.com/kamailio/kamailio/commit/e0461d1c4026dd2953e4352bea0586419980180b Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:08:02+01:00 htable: docs - not about use of event_route[htable:mod-init] (cherry picked from commit e0dcb1617bedf13cc3fc76cf7f3b5cd516806bc8) - URL: https://github.com/kamailio/kamailio/commit/48e84d70e42f17712e4718fc1ae9418dc67b4468 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:08:15+01:00 rr: compare sockname parameter name with the attribute name (cherry picked from commit 86e8bfdee87558fcee3e5b821b506b934c6b6790) - URL: https://github.com/kamailio/kamailio/commit/9f7cb97ded57e6980dcb86752484ed8fda519b80 Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:08:40+01:00 core: define sockname attribute name - used in the sockname r-r parameter (cherry picked from commit 274d32651d7886b7f424239565a2714e2dd0991d) - URL: https://github.com/kamailio/kamailio/commit/0e0d067be489296ccffbc0a44ca37c89f105cece Author: Daniel-Constantin Mierla <[email protected]> Date: 2021-02-12T16:15:11+01:00 rr: docs - more details for sockname_mode param (cherry picked from commit 86a5f81b776eab3e2b9a3a5470094546b94253f7) _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
