Hello,
I am considering to release Kamailio v5.4.3 sometime next week, likely
on Monday, December 14, 2020. This is the usual heads up notification to
see if anyone is aware of issues not yet reported to bug tracker and if
yes, do it as soon as possible to give them a chance to be fixed.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
- URL: https://github.com/kamailio/kamailio/commit/4851f0318bf049ccef93390f6ac0fdf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:39:20+01:00
tm: proper fill of From/To URI/tag values using parsed structure in t_uac_send()
(cherry picked from commit aa6e9963b2725c1b6b7e5ff995a77c222d95fa3c)
- URL: https://github.com/kamailio/kamailio/commit/66f5cc9d021eca4a9acfbca935e991c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:40:25+01:00
misc/examples: note that sr is exported by app_lua_sr
- hint for lua syntax check
(cherry picked from commit 889431746d24c73eeff73705fab36a0e154116a9)
- URL: https://github.com/kamailio/kamailio/commit/c5793f508aa115146e10c2f32691a29…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:41:11+01:00
misc/examples/kemi: filter on user agent matching friendly, scanner and sipvicious
(cherry picked from commit e15c90d31fd0444f41cb862408f77399123c0191)
- URL: https://github.com/kamailio/kamailio/commit/fba5f6172932c7925dce1ee49fbfeb4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:41:24+01:00
etc/kamailio.cfg: split to filter on both friendly and scanner
- some scanning scripts use a different format for the user agent
(cherry picked from commit 454c4653409a69ef115de5ee748524d36e147246)
- URL: https://github.com/kamailio/kamailio/commit/0744976d1ab80caf09f80b7594d2c76…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:41:59+01:00
misc/examples/kemi: fixed function name to get From-URI
(cherry picked from commit 6035c30aea72d06bf08883677d45f4eb0019f189)
- URL: https://github.com/kamailio/kamailio/commit/d610f27185eafe275e98c567f1c1781…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Date: 2020-12-11T20:42:32+01:00
smsops: fix len calc for a concatenated sms
- fixed the calculation for concatenated SMSs
based on TS 23.040, Sec. 9.2.3.16
(cherry picked from commit d90f29b3b03386add989aebe3865bdc78dff8fbe)
- URL: https://github.com/kamailio/kamailio/commit/5c6ddfea8845cd2d76bd15ec5511d15…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:43:29+01:00
dispatcher: removed unnecessary return
(cherry picked from commit 721d533317c735d7ddbd16ad94684b483468c010)
- URL: https://github.com/kamailio/kamailio/commit/7c7fc27eb10372fda305a65c2dacea6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:44:23+01:00
core: check if the tcp clone rcv buffer is set when applying changes
(cherry picked from commit aa13720e5d78dde5ae5235c13399848cb8f5a0cc)
- URL: https://github.com/kamailio/kamailio/commit/4b5f58be3101c4efe745f37e286bf84…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-12-11T20:45:23+01:00
lost: fixed typo
(cherry picked from commit 87f363f7fa0bf8f1897a3d6de13a09d6ec3812b9)
- URL: https://github.com/kamailio/kamailio/commit/e7f616df3f68bd7c53150ad20a8ec5a…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-12-11T20:45:37+01:00
lost: removed extra `"` symbol in example
(cherry picked from commit 124499c12db185d85805e5c71d5cc4222e608b68)
- URL: https://github.com/kamailio/kamailio/commit/7ef04a11c4b92a49dcf94dade5bb0a8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:46:39+01:00
auth_diameter: init variable and check before freeing
(cherry picked from commit 04dc5d6c66c85d0d411aa23b27bc6be00258eff6)
- URL: https://github.com/kamailio/kamailio/commit/f72f1effb079f66714f4399b12eaba0…
Author: Patrick Wakano <patrick.wakano(a)ipscape.com>
Date: 2020-12-11T20:46:56+01:00
dialog: access dialog table entry by reference for dmq_send_all_dlgs
- avoid race conditions to get and release the lock when entry structure
is copied in local variable
- GH #2570, GH #2547
(cherry picked from commit 4183b860e8af6d65074ab98a996c187211aebc7f)
- URL: https://github.com/kamailio/kamailio/commit/cb6d5b577aa9eb3d60cb71a60133dd4…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-12-11T20:47:18+01:00
lost: trimed spaces before reolving locationURI value
fixes GH2569 (#2569). Allow parse exmaples from RFC7840
(cherry picked from commit f9d424ac426dc0547c7233902dfa44ad1287e077)
- URL: https://github.com/kamailio/kamailio/commit/bded4ca0918a4a48e7d1001bc924b31…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:47:37+01:00
pv: use static buffer for ctime_r() output and check its return
- fixed $TF output, regression introduced when switching to thread safe
time function
(cherry picked from commit 02fc919e4f177cc3ab9c5d53eb9ea2019c572bd9)
- URL: https://github.com/kamailio/kamailio/commit/bec3650b51342a9b093ca92134c3b22…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:48:18+01:00
core: tcp - debug messages merged, print bytes read and flags
(cherry picked from commit efb9c5f83b37c316b848ae7b6dc829e2f8ca6275)
- URL: https://github.com/kamailio/kamailio/commit/834bca2dab19fd1a63386e28955428c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:48:37+01:00
core: tcp - log connection state and flags on debug message
(cherry picked from commit 41040a0420ee48f51901bf32e29526c8948ecea0)
- URL: https://github.com/kamailio/kamailio/commit/24666d2223c8e718ed9abe949a74d43…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-11T20:48:51+01:00
dispacher: docs - more details about weight and rweight attributes
- cross reference sections that have info about weight and rweight
attributes
(cherry picked from commit db55715003cd9af5ef3d32b51b5246643eea10d1)
Module: kamailio
Branch: master
Commit: ba27633ca22bcfc18fd4bb7d62c2f5bb32e56962
URL: https://github.com/kamailio/kamailio/commit/ba27633ca22bcfc18fd4bb7d62c2f5b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-10T17:07:30+01:00
dispatcher: info log message when adding extra weight or rweight percentages
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff: https://github.com/kamailio/kamailio/commit/ba27633ca22bcfc18fd4bb7d62c2f5b…
Patch: https://github.com/kamailio/kamailio/commit/ba27633ca22bcfc18fd4bb7d62c2f5b…
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index c1f4dbfd8f..c0a6d22fc0 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -653,6 +653,10 @@ int dp_init_relative_weights(ds_set_t *dset)
/* if the array was not completely filled (i.e., the sum of rweights is
* less than 100 due to truncated), then use last address to fill the rest */
last_insert = t > 0 ? dset->rwlist[t - 1] : (unsigned int)(dset->nr - 1);
+ if(t < 100) {
+ LM_INFO("extra rweight %d for last active destination in group %d\n",
+ (100-t), dset->id);
+ }
for(j = t; j < 100; j++)
dset->rwlist[j] = last_insert;
@@ -706,6 +710,10 @@ int dp_init_weights(ds_set_t *dset)
}
/* if the array was not completely filled (i.e., the sum of weights is
* less than 100), then use last address to fill the rest */
+ if(t < 100) {
+ LM_INFO("extra weight %d for last destination in group %d\n",
+ (100-t), dset->id);
+ }
for(; t < 100; t++)
dset->wlist[t] = (unsigned int)(dset->nr - 1);
randomize:
Module: kamailio
Branch: master
Commit: 547f06785187a0af5e10ff71c3ed91a1ee300528
URL: https://github.com/kamailio/kamailio/commit/547f06785187a0af5e10ff71c3ed91a…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-12-10T16:46:14+01:00
modules: readme files regenerated - dispatcher ... [skip ci]
---
Modified: src/modules/dispatcher/README
---
Diff: https://github.com/kamailio/kamailio/commit/547f06785187a0af5e10ff71c3ed91a…
Patch: https://github.com/kamailio/kamailio/commit/547f06785187a0af5e10ff71c3ed91a…
---
diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README
index 27d35e78cc..5b029903f4 100644
--- a/src/modules/dispatcher/README
+++ b/src/modules/dispatcher/README
@@ -1719,18 +1719,20 @@ kamctl rpc dispatcher.hash 4 bob server.com
for new calls until an exiting call via that gateway is terminated.
If set to 0, then no active call limit is used.>
* 'weight' - used for weight based load distribution. It must be set
- to a positive integer value beteen 0 and 100. The value represents
- the percent of calls to be sent to that gateways. The sum must not
- exceed 100, otherwise the destinations whose weight added to the
- sum go over 100 are ignored. If the sum is less than 100, then the
- last destination is used to fill the missing percentage. See also
- the description of the corresponding algorithm parameter for
- ds_select_dst().
+ to a positive integer value beteen 1 and 100 (inclusive the
+ limits), otherwise the destination address is ignored (its weight
+ set to 0). The value represents the percent of calls to be sent to
+ that gateways. The sum must not exceed 100, otherwise the
+ destinations whose weight added to the sum go over 100 are ignored.
+ If the sum is less than 100, then the last destination is used to
+ fill the missing percentage. See also the description of the
+ corresponding algorithm parameter for ds_select_dst().
* 'rweight' - used for relative weight based load distribution. It
must be set to a positive integer value between 1 and 100
- (otherwise host will be excluded from relative weight distribution
- type). See also the description of the corresponding algorithm
- parameter for ds_select_dst().
+ (inclusive the limits) otherwise host will be excluded from
+ relative weight distribution type - its rweight is set to 0. See
+ also the description of the corresponding algorithm parameter for
+ ds_select_dst().
* 'socket' - used to set the sending socket for the gateway. It is
used for sending the SIP traffic as well as OPTIONS keepalives.
* 'sockname' - used to set by name the sending socket for the
Module: kamailio
Branch: master
Commit: 15a535c7eae5a4954d51667c8ec8d7900a7d26fe
URL: https://github.com/kamailio/kamailio/commit/15a535c7eae5a4954d51667c8ec8d79…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-10T16:41:18+01:00
dispacher: docs - note that the range for weights include the limits
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/15a535c7eae5a4954d51667c8ec8d79…
Patch: https://github.com/kamailio/kamailio/commit/15a535c7eae5a4954d51667c8ec8d79…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 53eea613ce..45f93a3121 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -2147,20 +2147,21 @@ kamctl rpc dispatcher.hash 4 bob server.com
</listitem>
<listitem>
<para>'weight' - used for weight based load distribution. It must be set
- to a positive integer value beteen 0 and 100. The value represents
- the percent of calls to be sent to that gateways. The sum must not
- exceed 100, otherwise the destinations whose weight added to the
- sum go over 100 are ignored. If the sum is less than 100, then the
- last destination is used to fill the missing percentage. See also
- the description of the corresponding algorithm parameter for
+ to a positive integer value beteen 1 and 100 (inclusive the limits),
+ otherwise the destination address is ignored (its weight set to 0).
+ The value represents the percent of calls to be sent to that gateways.
+ The sum must not exceed 100, otherwise the destinations whose weight
+ added to the sum go over 100 are ignored. If the sum is less than 100,
+ then the last destination is used to fill the missing percentage. See
+ also the description of the corresponding algorithm parameter for
ds_select_dst().</para>
</listitem>
<listitem>
<para>'rweight' - used for relative weight based load distribution. It
- must be set to a positive integer value between 1 and 100 (otherwise
- host will be excluded from relative weight distribution
- type). See also the description of the corresponding algorithm
- parameter for ds_select_dst().</para>
+ must be set to a positive integer value between 1 and 100 (inclusive
+ the limits) otherwise host will be excluded from relative weight
+ distribution type - its rweight is set to 0. See also the description
+ of the corresponding algorithm parameter for ds_select_dst().</para>
</listitem>
<listitem>
<para>'socket' - used to set the sending socket for the gateway. It is