[sr-dev] git: new commits in branch 5.3

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 11 15:50:57 CEST 2020


- URL:  https://github.com/kamailio/kamailio/commit/51ba498700c239d1721534d01da65fa90e95d069
Author: Daniel-Constantin Mierla <miconda at 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/7307b51b439f2d1fde1cc959c9eabc786eb1558c
Author: Daniel-Constantin Mierla <miconda at 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/6db082b757ef4552c254ba9974ed29fb8dd1a53c
Author: Daniel-Constantin Mierla <miconda at 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/c4471752e9f5b75b553676e7a0c8e783c2608a6a
Author: Daniel-Constantin Mierla <miconda at 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/ffc82295b14980283b88cac4793a3331788f413b
Author: Daniel-Constantin Mierla <miconda at 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/ea06c83da7a2d592b856c01c6677692d1311e3f9
Author: Daniel-Constantin Mierla <miconda at 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/a6a7e9b57edef5794a96299ce77c27db5667e4b4
Author: Daniel-Constantin Mierla <miconda at 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/f1af2147c506b3c01c80dcc66d294481530fd957
Author: Daniel-Constantin Mierla <miconda at 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/c27cad6e743083b56c38f8eaf87ddc43e68b5068
Author: Daniel-Constantin Mierla <miconda at 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/c90fb35fbd5091e929f8b3b5064d8fe9ef674487
Author: Daniel-Constantin Mierla <miconda at 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/4f9f7160511a5f9301e2fb5764d857f58eb8f95b
Author: Daniel-Constantin Mierla <miconda at 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/129986178fb1e11e1e3132155445c16f7ba8ac78
Author: Daniel-Constantin Mierla <miconda at 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/88935e040472ac0b5633173dfcd97251c09fa5c2
Author: Daniel-Constantin Mierla <miconda at 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/40e3773f28faf392475b142f54f301d7c0ec6f6e
Author: Daniel-Constantin Mierla <miconda at 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/8ca76f01711e59fd1567bfcbd785cb0b7b8b3942
Author: Daniel-Constantin Mierla <miconda at 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/749dcc5b6d03889609685957538dc90bccce5703
Author: Daniel-Constantin Mierla <miconda at 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/34eafd03b97c857682f9177ec4d7d1f983ff5bf2
Author: Daniel-Constantin Mierla <miconda at 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/3a288421dbbffca9952200533668a653d6a4c170
Author: Daniel-Constantin Mierla <miconda at 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/83f20f6b0e8a3e4a6c6b5351526f67b63f10da3e
Author: Daniel-Constantin Mierla <miconda at 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/a27d7da420ca0713201ca5f55ed79749d9ce213c
Author: Daniel-Constantin Mierla <miconda at 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/ac73bd096869a1cb13ba3145ad45a76838d023a9
Author: Daniel-Constantin Mierla <miconda at 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/b50e0041c0d485d82434381f66c1f6d21a2d003a
Author: Daniel-Constantin Mierla <miconda at 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/fed572ae474ca95eb35f712a4173451a8f98d825
Author: Daniel-Constantin Mierla <miconda at 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/915c8a0d45710148ca781b3389e8397d6d7ff098
Author: Daniel-Constantin Mierla <miconda at 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/553438bf0df14ff7b2c450c3e73f909005260f3e
Author: Daniel-Constantin Mierla <miconda at 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/f53ad6d78d77d160682e151b92cba4dc8a0c2fba
Author: Daniel-Constantin Mierla <miconda at 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/be5ded1ec663ba8b364e0bafaac1a07de1e656f5
Author: Daniel-Constantin Mierla <miconda at 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/1f1b0517ddcb11c51e7211a902c2ca7eb338ef49
Author: Daniel-Constantin Mierla <miconda at 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/7b241198698db2ee483be13ab87d4d5bb37c7d85
Author: Daniel-Constantin Mierla <miconda at 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/a886c67b9d2047960aaa78154be1faaa259175d4
Author: Torrey Searle <tsearle at 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/b80ed7c5220dda8ff73a8db48617d92b104b7482
Author: Daniel-Constantin Mierla <miconda at 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/dd59a3ac58253242257a8660310bb68274432ee3
Author: Daniel-Constantin Mierla <miconda at 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/c8f98ff7b7f734d0daa765cdb0332ea1952a97c7
Author: Daniel-Constantin Mierla <miconda at 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/69dca2b460b7802eed50072e3672a20a249b8851
Author: Daniel-Constantin Mierla <miconda at 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/be50e55355f1e33297121e0a7ac4c28fc4235e70
Author: Daniel-Constantin Mierla <miconda at 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/c09e2190a6e308e3446625afaaed5e9841883476
Author: Daniel-Constantin Mierla <miconda at 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/ba3b6235cea86e3119392c5834e26a3fe224e42f
Author: Daniel-Constantin Mierla <miconda at 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/ed1fb65f4e8b63e66c3c80d6382a2d98046265ff
Author: Daniel-Constantin Mierla <miconda at 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/c0097b69c78919262be2c9c4babb462bc9354e15
Author: Daniel-Constantin Mierla <miconda at 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/367a4f69fe179e52a1ef95780be1bf8284d80ede
Author: Daniel-Constantin Mierla <miconda at 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/588b41f114ea1d14c59f6f1ab0cab65a0d01a227
Author: Daniel-Constantin Mierla <miconda at 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/3dbf54f8f1994693a028a41d8d81d4cc7d9748d9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2020-06-11T15:48:26+02:00

kamctl: regenerated the schema

- URL:  https://github.com/kamailio/kamailio/commit/bfa58cdebc84aeca8220eb9d583b597706907a1d
Author: Daniel-Constantin Mierla <miconda at 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





More information about the sr-dev mailing list