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

Daniel-Constantin Mierla miconda at gmail.com
Tue Feb 9 10:01:27 CET 2021


- URL:  https://github.com/kamailio/kamailio/commit/9a793eeeb6c39b11b9125ca8455c2d5d2b0d415d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:03:08+01:00

xhttp: clang format code

(cherry picked from commit d620aab9d2bc16e7785d5be0ddecd016329055de)

- URL:  https://github.com/kamailio/kamailio/commit/82ca29e2c51667bbfb8962006c8b4a93ed2160ee
Author: balajeesv <balajee.sv at gmail.com>
Date:   2021-02-09T09:03:53+01:00

evapi: export async_multicast() to kemi

(cherry picked from commit ccaba976cd1c599ba64067df0896fdd4888af00f)

- URL:  https://github.com/kamailio/kamailio/commit/d992a7cf2d42e9c4efcb2153091f4410090e4be6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:04:53+01:00

http_client: docs - section title to get proper entry in toc

- bits of whitespacing fixing

(cherry picked from commit fadc0fc499fb57a763aa71a76b24cff152bbd927)

- URL:  https://github.com/kamailio/kamailio/commit/ff5283b156f6aa934bd5f621537427d9f2b31b1d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:05:10+01:00

core: kemi - KSR.is_method_in() uses E/e to match PRACK

(cherry picked from commit b04111b583b454b12ea0c6a265a14858c195b213)

- URL:  https://github.com/kamailio/kamailio/commit/0b98ddb1ea04603851ce581a69111581a1d30a67
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:05:56+01:00

core: info message made dbg when adding a subst expression

(cherry picked from commit 80b3d5d036da493316a93594c770df1ef8218e5e)

- URL:  https://github.com/kamailio/kamailio/commit/d0af9aa7f46c90461288ef5241dba9c081fd40e4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:06:16+01:00

secsipid: docs - details of the acronyms

(cherry picked from commit c1e06e029b192a4db45841fa78e9bcfee91f125d)

- URL:  https://github.com/kamailio/kamailio/commit/f64d41efc8bf08daa8f4a36cb81d4620bea2b367
Author: Dennis <dennis_y at mail.ru>
Date:   2021-02-09T09:06:59+01:00

rtpengine: fixing wrong parsing the pair of IPv6 addr:port (#2592)

- fixing wrong parsing the pair of IPv6 addr:port in rtpengine module, when loading node information from database.

(cherry picked from commit 13d786e33d6f04a718af40ba345cf0827f752c2f)

- URL:  https://github.com/kamailio/kamailio/commit/252b0dd2d778c15ac6e96c7c415296619df3dc3e
Author: Paul Komkoff <i at stingr.net>
Date:   2021-02-09T09:07:55+01:00

core: work around interface enum buffer overrun

When a system has too many interfaces and too many addresses,
8 kilobytes isn't enough to fit all of the netlink responses.
As the result, kamailio gets stuck in a loop where it tries
to do a 0-length recv.

Increase the buffer to 32K. It's a miniscule amount for modern
times anyway. Also, add diagnostics to make further troubleshooting
easier.

Proper fix would be to switch to libnl here, which would make a
good weekend project.

(cherry picked from commit d2fd204b0ae35512a04702e480bb0d16878e98be)

- URL:  https://github.com/kamailio/kamailio/commit/23000a3ab3d88419d4f0ac797aae201a22f0e1fb
Author: Paul Komkoff <i at stingr.net>
Date:   2021-02-09T09:08:12+01:00

core: fix unused argument in socket_info.c:get_flags

get_flags has an argument - family - which is supposed to be used
in netlink message, otherwise why would we need it?

(cherry picked from commit 42f7702430c312b2c9caea8f617af4e3719ef12f)

- URL:  https://github.com/kamailio/kamailio/commit/df7ca5dce4c41ad6f05064fe2940943685a98f61
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:09:10+01:00

app_jsdt: duktape interpreter upgraded to v2.6.0

(cherry picked from commit 2590165e278efb947edb9cb5a75104f2f760c4c2)

- URL:  https://github.com/kamailio/kamailio/commit/e085bdb9a35f7a5b4624b7afdef96ca2fd3ba6fe
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:09:26+01:00

misc/examples/kemi: use kx functions instead of pv

(cherry picked from commit 6e541feb9184e193f9c486c8f97d73360c69250d)

- URL:  https://github.com/kamailio/kamailio/commit/784ad65fe5abde677f5155e3d7ff0bfbd04286bf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:09:39+01:00

misc/examples/kemi: use local variable instead of many function calls for js

(cherry picked from commit b4f439301c2dffbfc6a389354e840142fc3b965b)

- URL:  https://github.com/kamailio/kamailio/commit/9b5eade1faa8deeb3fcc8f9cb010f803c17ee309
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:10:24+01:00

kamctl: option for rpc command to replace tokens in parameters

- supported now: replace '=CRLF=' with '\r\n'
- fix 'kamctl ping' command by replacing '=CRLF=' with '\r\n'
in multi-headers parameter

(cherry picked from commit 1c66f6a1a5d04c33f1912609a36729b06b6eebd7)

- URL:  https://github.com/kamailio/kamailio/commit/6769d44cfab686824a6b077bc8cbb4a347fd3356
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:10:43+01:00

kamctl: use tm.t_uac_wait for ping command

(cherry picked from commit 20d075a17189961baf63ac000e4417d7f04d8a08)

- URL:  https://github.com/kamailio/kamailio/commit/c3f12eb469995a03166bf801bc4a391095202452
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:04+01:00

core: utils - functions to shm-duplicate str in a block

(cherry picked from commit 6684b57641396ba494716e7f63a0f15afc1d8637)

- URL:  https://github.com/kamailio/kamailio/commit/ff34dc44bba76c6ee2828a03655e03087f5a5db6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:15+01:00

tm: implemented t_uac_wait_block rpc command

- it blocks while waiting for the reply to return the code and reason
text

(cherry picked from commit dc5a548a9e6327674615aa7ddc8708e0ba5252aa)

- URL:  https://github.com/kamailio/kamailio/commit/254790bdb27e081765958a8b099921219c0f6e41
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:25+01:00

tm: docs for rpc t_uac_wait_block

(cherry picked from commit 89eea7edb8832124dc325d8303b23ea5f36c88f4)

- URL:  https://github.com/kamailio/kamailio/commit/4b606ec029703420a74f4246a7bcdb06a9d67635
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:35+01:00

kamctl: use tm.t_uac_wait_block rpc for ping command

(cherry picked from commit 47a98532af5512a4597bbf9ad3834c62dd633256)

- URL:  https://github.com/kamailio/kamailio/commit/b8a7d2bfd1118d556c9e46dcab97fbcb45fa6187
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:46+01:00

kamctl: use param evaluation mode for cisco restart command

(cherry picked from commit 359050f9be40002aec1d3894dc43a2a8762ce8cc)

- URL:  https://github.com/kamailio/kamailio/commit/b6ab0ba329f11e7baabe194994c095b4cb225af4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:11:57+01:00

kamctl: removed condition on CTLENGINETYPE

- done again inside ctl_cmd_run

(cherry picked from commit 4a4f0475716cbf824b2ab9684457e21f6732aa74)

- URL:  https://github.com/kamailio/kamailio/commit/b0e29edea36778be91acfe1907a94a5d1134a5ca
Author: Nicolas C <nchaigne at capgemini.fr>
Date:   2021-02-09T09:12:10+01:00

core: fix to xavp_rm_internal (#2604)

This fixes the following issue:
https://github.com/kamailio/kamailio/issues/2604

Description of the issue:

When called to remove a specific index from a given xavp, function xavp_rm_by_index removes the index (as expected) but also all others before it.

E.g :
If called with idx = 1, it removes indexes 0 and 1.
Likewise if invoked with idx = 2 => the first 3 elements are removed.

This bug is located in function xavp_rm_internal. An assignment was missing when looping over the xavp list.
Same for xavi_rm_internal.

(cherry picked from commit 12414972ad0c28ac50ece3c14f98134c3f06c522)

- URL:  https://github.com/kamailio/kamailio/commit/31f8466f1d493db8baaa215d34d4ed4545d4ff79
Author: Theo <theodor.scherney at kapsch.net>
Date:   2021-02-09T09:12:48+01:00

tm: 200 OK not processed correctly by Proxy after final non-2xx

Description:
   Problem:
      Forwarding of 200 OK while sent 488 waits for ACK, destroys the UAS send buffer
   Scenario:
      During suspension of 200 OK by ims_qos module function Rx_AAR() at terminating PCSCF,
      The PCRF sends an AA Answer with result code DIAMETER_TOO_BUSY (3004), which triggers
      the PCSCF to send a 488 ‘Sorry no QoS available’ to the originating side (ims_dialog
      module function dlg_terminate()).
      Afterwards neither the 200 OK nor the ACK(488) is processed correctly by the PCSCF.
   Solution:
      The UAS send buffer should not be overwritten during processing of 200 OK,
      because non-2xx is needed to associate the ACK message in a correct way.
      200 OK must be forwarded statelessly.
   Side-Effect (potentially breaks existing function):
      Some callbacks cannot be called for the 200 OK, to avoid messing the stored 488.
(cherry picked from commit 18410da04c7f7bbc9628820427fedb92cf893526)

- URL:  https://github.com/kamailio/kamailio/commit/be9081621e71965f90be490cdaa01f31dd02d842
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:12:57+01:00

tm: new parameter reply_relay_mode

- control the behaviour introduced by 18410da0
- if set to 0, the behaviour is like before the commit referenced above,
tm is attemptime to send suspended 200ok after another final response
that was forwarded while 200ok was suspended
- default is 1 (behave as the patch changed the forwarding policy, not
to overwrite the response buffer)

(cherry picked from commit 90dfc421dab438a8ef62cc8f68b2c1f7fb50b0dc)

- URL:  https://github.com/kamailio/kamailio/commit/0ff67c573f3bb59dc7872a48310c28d2d08734e1
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:13:26+01:00

tm: docs for reply_relay_mode parameter

(cherry picked from commit 00b1aba770c26f75c31cf2a28e7ca425f18788dc)

- URL:  https://github.com/kamailio/kamailio/commit/33da663ec8d730fa570018bbdb7239e595b4838d
Author: Marat Gareev <maratkin94 at gmail.com>
Date:   2021-02-09T09:15:20+01:00

dispatcher: Log dest sets after variable update

(cherry picked from commit f4b8bede6a247415eda84a7db9569747905f9fa0)

- URL:  https://github.com/kamailio/kamailio/commit/0ab7142d8f60d04c386674263f35f87ac602bebe
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:15:41+01:00

core: ut.h - add inline to static function to avoid warning from including files

- for shm_str_dup_block()

(cherry picked from commit 34301ea16812eccbb914ea14cafb0140ac9bba61)

- URL:  https://github.com/kamailio/kamailio/commit/989baffd9cbb934c8d0fd42dc9ef08db36c33f11
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:15:54+01:00

tm: prper timer cleanup of responses for rpc tm.t_uac_wait_block

(cherry picked from commit 5a6a679985fecfc168b9b26f0be3c0e64e641e64)

- URL:  https://github.com/kamailio/kamailio/commit/a2e0e4912b5a81a88cccd2fb58652be5662ef4f0
Author: Henning Westerholt <hw at skalatan.de>
Date:   2021-02-09T09:16:56+01:00

xhttp: do not call memset on a null-pointer, related to GH #2619

(cherry picked from commit 2db8884945844e5040dfed2b24fe84de097c0b2b)

- URL:  https://github.com/kamailio/kamailio/commit/3027f8b9daed5ca4f36d0779cd6f79e596bf42e1
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:17:22+01:00

kamctl: added srv debug subcommand

- control server debug level via rpc

(cherry picked from commit 6b5aa70f09e294338a65a0bf2fcae8b92fdc6fae)

- URL:  https://github.com/kamailio/kamailio/commit/ee7838842a175ffb4898dade606377c91cc8ecb8
Author: dvillaume <david.villaume at gmail.com>
Date:   2021-02-09T09:17:34+01:00

rtpengine : add node fallback if node out of port

When rtpengine answers with error-reason 'Ran out of ports' adopt the same behavor that when node answers 'Parallel session limit reached'

(cherry picked from commit 853068a26c34deff86e17b63f49abea2c8f4403c)

- URL:  https://github.com/kamailio/kamailio/commit/73826e75b6699f3bd1bfb27eabf9582cbf09c19f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2021-02-09T09:18:13+01:00

siptrace: docs - fixed small typo

(cherry picked from commit 7d846f928b75a3bc1b8e8c1a70e39bfede939c15)

- URL:  https://github.com/kamailio/kamailio/commit/95e7399481e61ec54bb226c122c5617f03553b5d
Author: Wolfgang Kampichler <dev at kampichler.info>
Date:   2021-02-09T09:18:46+01:00

http_client: http_client_request to include default clientcert, clientkey,...

- the lost module uses http_client API functions and in the course of NG112
  client certificates are used for authentication when querying LIS or ECRF,
  the fix allows these to be read out via http_client module parameters.

(cherry picked from commit 7d5868ab1242eb8166e6af1bb8a21b39001df663)





More information about the sr-dev mailing list