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

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 26 13:56:50 CET 2022


- URL:  https://github.com/kamailio/kamailio/commit/5d08f4028ad6f805940d1824e17fb148bd90a045
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:33:14+01:00

core: parser - clang format parser_f.c

(cherry picked from commit 03acf834a19689d6c3efcea93e48985d3e7ffc37)

- URL:  https://github.com/kamailio/kamailio/commit/fb06dbf3e0452f1b4e8772da3fa94d6bd930f238
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:33:33+01:00

core: parser sdp - check if delimiter exceeds body limit

(cherry picked from commit bd5280726a9842b257afabae548853d000ecd249)

- URL:  https://github.com/kamailio/kamailio/commit/5715fc40664438e092d444ea31b99c965c26da7e
Author: Henning Westerholt <hw at skalatan.de>
Date:   2022-01-26T13:33:51+01:00

dlgs: optimize dlgs_init, if/else path are identical

(cherry picked from commit 8e7f2e6a158bb2c59600b03be3c7e6eefc416180)

- URL:  https://github.com/kamailio/kamailio/commit/97bc9751485dfd9aa314e15aaef73b0835e580cf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:34:18+01:00

misc/examples: kemi - update lua sample config

(cherry picked from commit 99a9f27c8d24a06f201b4713f7a2bfeb37092482)

- URL:  https://github.com/kamailio/kamailio/commit/0ba7876e5cc1120d7e64e779ba9327ed33e88a19
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:34:29+01:00

misc/examples: kemi - sanity checks for response in python script

(cherry picked from commit bd42130e3cfb87856b4b0431de50eccdd4324f9f)

- URL:  https://github.com/kamailio/kamailio/commit/42e3c28f2744ee4c799c972bed56e412f792027e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:34:46+01:00

auth_identity: close file in case of errors

- GH #2983

(cherry picked from commit 84cdc33429c61fe7cac91cbedf96bef560267313)

- URL:  https://github.com/kamailio/kamailio/commit/65e50fbd24f9239a4dab25c6b8328670e150fda5
Author: Sebastian Kemper <sebastian_ml at gmx.net>
Date:   2022-01-26T13:35:23+01:00

ldap: rename private function ldap_connect

When compiling against openldap 2.6.0 kamailio's private ldap_connect() clashes
with openldap's own. curl dealt with a similar issue earlier (see [1]).

Simply rename the function to avoid the issue.

In file included from ldap_api_fn.c:37:
ldap_connect.h:34:12: error: conflicting types for 'ldap_connect'; have 'int(char *)'
   34 | extern int ldap_connect(char *_ld_name);
      |            ^~~~~~~~~~~~
In file included from ldap_api_fn.c:33:
/home/sk/tmp/sdk/openwrt-sdk-ath79-generic_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-mips_24kc_musl/usr/include/ldap.h:1555:1: note: previous declaration of 'ldap_connect' with type 'int(LDAP *)' {aka 'int(struct ldap *)'}
 1555 | ldap_connect( LDAP *ld );
      | ^~~~~~~~~~~~
make[5]: *** [../../Makefile.rules:100: ldap_api_fn.o] Error 1
make[4]: *** [Makefile:511: modules] Error 1

[1] https://github.com/curl/curl/commit/8bdde6b14ce3b5fd71c772a578fcbd4b6fa6df19

Signed-off-by: Sebastian Kemper <sebastian_ml at gmx.net>
(cherry picked from commit 362c6de08058948d0a70a1eeb14ec718f922b4e5)

- URL:  https://github.com/kamailio/kamailio/commit/e0084adcda85b10b3b0c0765a292cfde088b2845
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:35:58+01:00

siputils: docs - note about restrictions of ring_insert_callid()

- GH #2989

(cherry picked from commit 090f1f74603de6113f3dd41095ae41b4f03f8171)

- URL:  https://github.com/kamailio/kamailio/commit/0aa4340764f78c74a62054050d8805616f450fdb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:36:17+01:00

core: parser sdp - print hdr name by length on error in get_sdp_hdr_field()

(cherry picked from commit c4e462fa6bda38ac6fd814ce8d98ea030d4049b9)

- URL:  https://github.com/kamailio/kamailio/commit/0ea3ec6b76ecd519d3a9446c79d536130f10460c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:38:15+01:00

core: renamed global is_main to _ksr_is_main

- safer to avoid conflicts with other libs

(cherry picked from commit f3454dd9f2d065e7757e9d9680b815481d08269c)

- URL:  https://github.com/kamailio/kamailio/commit/a1939714a74bac7b3118373e6fedf2b7464dbab6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:38:28+01:00

ctl: rename is_main to _ksr_is_main

(cherry picked from commit e7c14adc0b171fae9ad7c0fed4fb3c785dd282ca)

- URL:  https://github.com/kamailio/kamailio/commit/5e3b2f9dd2465508b10531bf345e892355e68734
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:38:36+01:00

db_text: rename is_main to _ksr_is_main

(cherry picked from commit 52cad0a39b224add8ff7eb6dd253f00122e93704)

- URL:  https://github.com/kamailio/kamailio/commit/32973b52303a5576a821af50d0ba2db58e6f78c8
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:38:46+01:00

http_async_module: check return for event_base_dispatch()

- exit if it fails
- part of GH #2999

(cherry picked from commit 461ec0a79ae365729c11efcbd96fc158c50a2891)

- URL:  https://github.com/kamailio/kamailio/commit/5e105ffbc6ad699ab06fbbf7e50c2b6c49be75f4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:38:55+01:00

usrloc: removed unrelated comment with is_main

- was not even used

(cherry picked from commit 3a00526bbe535d46d234108cb71fd80376f0718d)

- URL:  https://github.com/kamailio/kamailio/commit/7ebe3f4cb5fbe68159ee94bc962585d92e8c7d91
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:39:03+01:00

ims_usrloc_pcscf: removed unrelated comment with is_main

- was not even used

(cherry picked from commit 5978ec116c3efacacf260e9f579d93c9e9bfb780)

- URL:  https://github.com/kamailio/kamailio/commit/d3dffa9b3afb57b041a046d5c6a8d900c8658e65
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:39:12+01:00

p_usrloc: removed unrelated comment with is_main

- was not even used

(cherry picked from commit 9d280b589a035fa04cd4c7235671d1fdb6ae44e9)

- URL:  https://github.com/kamailio/kamailio/commit/183afaf6ecdd3ddde4ea5b9ad61202ee34b7779f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:39:31+01:00

ims_usrloc_scscf: removed unrelated comment with is_main

- was not even used

(cherry picked from commit 819ca1d7afe558d944fa88b2d453bf7ae7fcc819)

- URL:  https://github.com/kamailio/kamailio/commit/e3ed8c0d80dea4da4c522864f1480d02d57e2d4a
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:39:46+01:00

presence: utils - use memcpy instead of strncpy for coherence

(cherry picked from commit 33c40170e73adc71e2ad66d8dbb6c776b771ce5d)

- URL:  https://github.com/kamailio/kamailio/commit/7381ccd61a325e5b6502d05588ac8edf9a244d0f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:39:57+01:00

lcr: init buffers to try to get rid of new warnings

(cherry picked from commit 0247c336e208912324c71aea9843e688d7c5a463)

- URL:  https://github.com/kamailio/kamailio/commit/e855d251d27e5a399cfa3d8a70b4387295c37c6e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:40:06+01:00

dispatcher: safety checks for str fields

(cherry picked from commit 5443db4d632c8502dc622cc28fe2847fb0c147c1)

- URL:  https://github.com/kamailio/kamailio/commit/93cd99f08c61b7355e948dfbf855eb381e84ed1b
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:40:22+01:00

rls: free xml doc in case of error

(cherry picked from commit 55f23d09faee06a892dde13e371d144b98bae68f)

- URL:  https://github.com/kamailio/kamailio/commit/4f002432bf2699d99f7b83a3652fc9e2b6c7447d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:40:39+01:00

avpops: init variable to fix warning

(cherry picked from commit b7815d04ced35d5b5ccbcdaa39d41ef4a2cb2ad0)

- URL:  https://github.com/kamailio/kamailio/commit/c8582892d0cacbd2ed857f87d2fa59ae7ae10148
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:40:47+01:00

db_text: init variable to fix warning

(cherry picked from commit 102b7c62ae9877151ce542b8b5747051fb954acb)

- URL:  https://github.com/kamailio/kamailio/commit/49d5f6eb5f9f0a800dbaaf02c3ef8ef6622a6b73
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:40:55+01:00

dialog: init variable to fix warning

(cherry picked from commit 682f9984fc4942d5f786f0ca9d798630d618f8da)

- URL:  https://github.com/kamailio/kamailio/commit/8c0fcc2a437b194c9a4f5426d1e611c9aad8618c
Author: Morten Tryfoss <morten at tryfoss.no>
Date:   2022-01-26T13:41:16+01:00

dispatcher: Fix handling of inactive destination for alg 13

Alg 13 did try to distribute calls to inactive destinations.
If the highest priority destination is inactive, hash is not updated
and the xavp is not set. This is resulting in failover mechanism
not working at all for the given call.

When the hash variable is not updated, it makes alg 13 behave like
round robin if the scenario above occurs. If you got two destinations
and the highest priority is out of service, 50% of the calls will fail.

Now I tried a more simple approach updating hash with the first
entry of the sorted list.

(cherry picked from commit adba3caa2d12d1f8b89d720fbb9a6a9cdc8b2573)

- URL:  https://github.com/kamailio/kamailio/commit/ef9b353910d10d91fde88193b7a3dd9c27bf18ad
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:41:30+01:00

core: parser - print ascii code and position of invalid char for identity info

(cherry picked from commit 40e59d9c3b8ec531cb9e26093c43647a43108dfd)

- URL:  https://github.com/kamailio/kamailio/commit/c8d579452906aee0c2716ef9ac25fe0d4628089e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:42:03+01:00

dispatcher: removed module name from log message

- updates to debug messages

(cherry picked from commit 29ebde9cfe746c1dd9083a5fc4b26a32c39ca0a4)

- URL:  https://github.com/kamailio/kamailio/commit/633148323c83b9f35d221ff59fbf7b3be8194b1f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:42:17+01:00

tm: update uri when refreshing local uac shortcuts

(cherry picked from commit 0ed1282238da6cdd8a4dbef1b61493b70a850a6b)

- URL:  https://github.com/kamailio/kamailio/commit/3d4ceff9aa77b841fa2df938cfbab9b534f14626
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:42:40+01:00

db_unixodbc: catch queries without result to skip printing error logs

- GH #2810

(cherry picked from commit 795a09077ccc5dd06f9074978dc77dd81389512b)

- URL:  https://github.com/kamailio/kamailio/commit/331e60374e6a0c283b835ab62da84826c8833a48
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:42:55+01:00

stats: detect of mod param items is set after track

- it can lead to crash if items is set to greater value than the default
one (GH #2101)
- round up for better memory alignment in the allocated structures

(cherry picked from commit b29c79c8d83fd23064e50dcee02e5f85ec51328d)

- URL:  https://github.com/kamailio/kamailio/commit/38bdf24485f3e4d2d9489ba695f7b23bbce85cc0
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:43:05+01:00

statsc: note that items param must be set before track

(cherry picked from commit f517f8c655e676f5872eda5f81f5244eac4eed25)

- URL:  https://github.com/kamailio/kamailio/commit/b149906e3c0558fd9cb866d39b36f180efaef656
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:43:51+01:00

core: set exit flag for return 0

(cherry picked from commit 23c39ecbdd29f2fff0af4a693b08032e8afff48b)

- URL:  https://github.com/kamailio/kamailio/commit/3ee8896e87a8a2b0f6e704d806983b544a0a5224
Author: drTr0jan <drtr0jan at yandex.ru>
Date:   2022-01-26T13:44:49+01:00

phonenum: Makefile - support for FreeBSD build

- updated LIBS and DEFS variables, making them consistent with
the rest of modules;
- removed predefined CXX and LD variables.

(cherry picked from commit c4b280bd5b5b0cfb8d34ecef296972f2a043791e)

- URL:  https://github.com/kamailio/kamailio/commit/0ee717c91ca0dc590d6764803c151982a4d12d4a
Author: drTr0jan <drtr0jan at yandex.ru>
Date:   2022-01-26T13:44:59+01:00

websocket: Makefile - support for FreeBSD build

- updated LIBS and DEFS variables, making them consistent with
the rest of modules.

(cherry picked from commit 0a3476384b325514b1da784b74cc821360193409)

- URL:  https://github.com/kamailio/kamailio/commit/d40337449e274f6c6d9ea1754977287841c306c9
Author: drTr0jan <drtr0jan at yandex.ru>
Date:   2022-01-26T13:45:06+01:00

rtp_media_server: Makefile - support for FreeBSD build

- updated LIBS and DEFS variables, making them consistent with
the rest of modules.

(cherry picked from commit cda05478b25ad93b1fb7475cf6b2767d7164bbbb)

- URL:  https://github.com/kamailio/kamailio/commit/254d19b4dd703c24a7a15e5539e585e42b3de101
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:45:17+01:00

websocket: makefile - set library path for localbase

(cherry picked from commit 2e4258f440a07a2cfd20082af22bba4f9a2448ab)

- URL:  https://github.com/kamailio/kamailio/commit/a18374d1f0c5ec58e92981e4ac14320de7de92d9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:45:28+01:00

Makefile.defs: set localbase for macports on macos

(cherry picked from commit 584eabf7de6af9f835678f9c6d6851cce49a3878)

- URL:  https://github.com/kamailio/kamailio/commit/4e6cd4cd5f2eab7d4f6300a9ac1c4884657aa964
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2022-01-26T13:45:55+01:00

dispatcher: check reload delta in functions building new routing structure

(cherry picked from commit 76c273ecaa76f031ce9892acd895b4eacf4de17e)





More information about the sr-dev mailing list