From noreply at github.com  Fri Jan  3 08:06:39 2020
From: noreply at github.com (Nick Altmann)
Date: Fri, 03 Jan 2020 05:06:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f747df: Disable python module
	for fedora >= 31
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/31c940-f747df@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f747df86e8c6fb878cce4a18c5ff64ac9430092f
      https://github.com/OpenSIPS/opensips/commit/f747df86e8c6fb878cce4a18c5ff64ac9430092f
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  Disable python module for fedora >= 31




From noreply at github.com  Fri Jan  3 08:07:08 2020
From: noreply at github.com (Nick Altmann)
Date: Fri, 03 Jan 2020 05:07:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8dc763: RPM packaging: disable
 python module for fedora >= 31
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9cd081-8dc763@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8dc763d5a9eb45acaefa2f0fa059668ac9bea495
      https://github.com/OpenSIPS/opensips/commit/8dc763d5a9eb45acaefa2f0fa059668ac9bea495
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM packaging: disable python module for fedora >= 31




From noreply at github.com  Fri Jan  3 09:45:33 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 03 Jan 2020 06:45:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 929ab4: Delete expired
 subscription only with active tags
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/333ba6-929ab4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 929ab4d43c0ad1878d60d3ef27f2a71f905b80f0
      https://github.com/OpenSIPS/opensips/commit/929ab4d43c0ad1878d60d3ef27f2a71f905b80f0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Delete expired subscription only with active tags

In clustering setup, the DB rutine handling subsscription should delete from DB and run the del handler only if the subscription has an active sharing tag.

Fixes #1848




From noreply at github.com  Sat Jan  4 06:10:56 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 03:10:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 638160: Fix flags for event
 backend to avoid conflicts wit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/929ab4-638160@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 638160496d0863bf506c01c714812f2ea5206767
      https://github.com/OpenSIPS/opensips/commit/638160496d0863bf506c01c714812f2ea5206767
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/event_routing/event_routing.c

  Log Message:
  -----------
  Fix flags for event backend to avoid conflicts with event_flatstore




From noreply at github.com  Sat Jan  4 06:11:31 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 03:11:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b46eea: Fix flags for event
 backend to avoid conflicts wit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/8dc763-b46eea@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b46eea8079ec61bfbfa298e1418da08162604dfe
      https://github.com/OpenSIPS/opensips/commit/b46eea8079ec61bfbfa298e1418da08162604dfe
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/event_routing/event_routing.c

  Log Message:
  -----------
  Fix flags for event backend to avoid conflicts with event_flatstore

(cherry picked from commit 638160496d0863bf506c01c714812f2ea5206767)




From noreply at github.com  Sat Jan  4 06:12:19 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 03:12:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 25ff84: Fix flags for event
 backend to avoid conflicts wit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/f747df-25ff84@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 25ff84b8daca91ddc67840443078d722b44794d2
      https://github.com/OpenSIPS/opensips/commit/25ff84b8daca91ddc67840443078d722b44794d2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/event_routing/event_routing.c

  Log Message:
  -----------
  Fix flags for event backend to avoid conflicts with event_flatstore

(cherry picked from commit 638160496d0863bf506c01c714812f2ea5206767)




From noreply at github.com  Sat Jan  4 06:12:58 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 03:12:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9225eb: Fix flags for event
 backend to avoid conflicts wit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.3/db7caa-9225eb@github.com>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9225eb8691b17925a612d6139164027b866ff160
      https://github.com/OpenSIPS/opensips/commit/9225eb8691b17925a612d6139164027b866ff160
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/event_routing/event_routing.c

  Log Message:
  -----------
  Fix flags for event backend to avoid conflicts with event_flatstore

(cherry picked from commit 638160496d0863bf506c01c714812f2ea5206767)




From bogdan at opensips.org  Sat Jan  4 06:37:22 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Sat, 4 Jan 2020 13:37:22 +0200
Subject: [OpenSIPS-Devel] [OpenSIPS-Users] OpenSIPS repository news
In-Reply-To: <CAJOe1ENfPqOt=pqeDu2KjVPM7qWpXCNkSA895D1LTFkMW0_=Sg@mail.gmail.com>
References: <CAJOe1ENfPqOt=pqeDu2KjVPM7qWpXCNkSA895D1LTFkMW0_=Sg@mail.gmail.com>
Message-ID: <1273aa07-342c-9979-8123-42b3139d71a1@opensips.org>

This is awesome Nick!! You have no idea how many people you made happy 
by being able to install opensips-cli from the repositories :)

Many thanks

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Bootcamp Pre-Registration
   https://opensips.org/training/OpenSIPS_Bootcamp/

On 1/4/20 5:08 AM, Nick Altmann wrote:
> Hi all,
>
> From this moment opensips official repository includes packages for 
> opensips-cli tool which required for opensips >= 3.0.
> For deb-based distributives you'll need to add opensips-cli repository 
> by hand: http://apt.opensips.org/packages.php?v=cli .
> For yum-based distributives opensips-cli repository must be installed 
> automatically with next update of opensips-yum package.
>
> Feel free to report any issues with opensips-cli packaging.
>
> Thank you.
>
> --
> Nick
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20200104/402754d7/attachment.html>

From noreply at github.com  Sat Jan  4 06:59:57 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 03:59:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c28876: Fix missing `my_bool`
 for mysql version higher tha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/638160-c28876@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c28876540fe447063db349932a36b655f5fe00f1
      https://github.com/OpenSIPS/opensips/commit/c28876540fe447063db349932a36b655f5fe00f1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/lua/sipmysql.c

  Log Message:
  -----------
  Fix missing `my_bool` for mysql version higher than 80000




From noreply at github.com  Sat Jan  4 07:00:34 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 04:00:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d253f2: Fix missing `my_bool`
 for mysql version higher tha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/b46eea-d253f2@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d253f2e083d28fb13be1ad422a0f6489f6073cab
      https://github.com/OpenSIPS/opensips/commit/d253f2e083d28fb13be1ad422a0f6489f6073cab
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/lua/sipmysql.c

  Log Message:
  -----------
  Fix missing `my_bool` for mysql version higher than 80000

(cherry picked from commit c28876540fe447063db349932a36b655f5fe00f1)




From noreply at github.com  Sat Jan  4 07:01:04 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 04:01:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d9438: Fix missing `my_bool`
 for mysql version higher tha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/25ff84-6d9438@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d9438c4e64a7233241af8b58d884cbc0fd29531
      https://github.com/OpenSIPS/opensips/commit/6d9438c4e64a7233241af8b58d884cbc0fd29531
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/lua/sipmysql.c

  Log Message:
  -----------
  Fix missing `my_bool` for mysql version higher than 80000

(cherry picked from commit c28876540fe447063db349932a36b655f5fe00f1)




From noreply at github.com  Sat Jan  4 07:03:03 2020
From: noreply at github.com (Nick Altmann)
Date: Sat, 04 Jan 2020 04:03:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 42289c: RPM spec: support for
	rhel8
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/d253f2-42289c@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 42289c4d573f5214b8df008a8a3a94e6944009a7
      https://github.com/OpenSIPS/opensips/commit/42289c4d573f5214b8df008a8a3a94e6944009a7
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for rhel8




From noreply at github.com  Sat Jan  4 07:07:22 2020
From: noreply at github.com (Nick Altmann)
Date: Sat, 04 Jan 2020 04:07:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bef604: RPM spec: support for
	rhel8
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c28876-bef604@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bef604028b0dd66a8e23504183c3e4547f82f741
      https://github.com/OpenSIPS/opensips/commit/bef604028b0dd66a8e23504183c3e4547f82f741
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for rhel8




From noreply at github.com  Sat Jan  4 07:45:04 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 04:45:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 682e96: Improve docs on
 loose_route() and strict versus lo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/bef604-682e96@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 682e96d24949356e60a371c4e5b95b5833703bef
      https://github.com/OpenSIPS/opensips/commit/682e96d24949356e60a371c4e5b95b5833703bef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/rr/doc/rr_admin.xml

  Log Message:
  -----------
  Improve docs on loose_route() and strict versus loose routing




From noreply at github.com  Sat Jan  4 07:45:26 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 04:45:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46350a: Improve docs on
 loose_route() and strict versus lo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/42289c-46350a@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 46350aca2ee72f3d8abac1a54f35a30e566c4692
      https://github.com/OpenSIPS/opensips/commit/46350aca2ee72f3d8abac1a54f35a30e566c4692
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/rr/doc/rr_admin.xml

  Log Message:
  -----------
  Improve docs on loose_route() and strict versus loose routing

(cherry picked from commit 682e96d24949356e60a371c4e5b95b5833703bef)




From noreply at github.com  Sat Jan  4 07:46:03 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 04:46:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 477b6c: Improve docs on
 loose_route() and strict versus lo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/6d9438-477b6c@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 477b6c391e0d25b74a7fbf3c796d95855b4b2afc
      https://github.com/OpenSIPS/opensips/commit/477b6c391e0d25b74a7fbf3c796d95855b4b2afc
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/rr/doc/rr_admin.xml

  Log Message:
  -----------
  Improve docs on loose_route() and strict versus loose routing

(cherry picked from commit 682e96d24949356e60a371c4e5b95b5833703bef)




From noreply at github.com  Sat Jan  4 08:40:08 2020
From: noreply at github.com (Nick Altmann)
Date: Sat, 04 Jan 2020 05:40:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d7ce57: RPM spec: support for
 python module build on rhel8
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/682e96-d7ce57@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d7ce57d9d4bf4a419a596422e8ac6058ce326378
      https://github.com/OpenSIPS/opensips/commit/d7ce57d9d4bf4a419a596422e8ac6058ce326378
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for python module build on rhel8




From noreply at github.com  Sat Jan  4 08:52:13 2020
From: noreply at github.com (Nick Altmann)
Date: Sat, 04 Jan 2020 05:52:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 87a151: RPM spec: support for
	rhel8
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/477b6c-87a151@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 87a151b61d073f30507a57ff7d3b7241031e8eed
      https://github.com/OpenSIPS/opensips/commit/87a151b61d073f30507a57ff7d3b7241031e8eed
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for rhel8




From noreply at github.com  Sat Jan  4 09:19:13 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Sat, 04 Jan 2020 06:19:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bc0578: Fix detection of
 current partition in multi-partit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d7ce57-bc0578@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bc0578ded041a7eeeab7c341110c97836c774393
      https://github.com/OpenSIPS/opensips/commit/bc0578ded041a7eeeab7c341110c97836c774393
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix detection of current partition in multi-partitions scenario

Fixes #1927

(cherry picked from commit 81dbe503720379e2b427f55636cec3c3372baafe)




From noreply at github.com  Sun Jan  5 04:05:05 2020
From: noreply at github.com (Nick Altmann)
Date: Sun, 05 Jan 2020 01:05:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 119a4f: RPM spec: fix rhel8
	condition
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/46350a-119a4f@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 119a4f963390e6343535eceba1d11f03c25c555e
      https://github.com/OpenSIPS/opensips/commit/119a4f963390e6343535eceba1d11f03c25c555e
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: fix rhel8 condition




From noreply at github.com  Sun Jan  5 04:05:46 2020
From: noreply at github.com (Nick Altmann)
Date: Sun, 05 Jan 2020 01:05:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 18d64c: RPM spec: fix rhel8
	condition
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/bc0578-18d64c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 18d64c7b1ace438e408df4c45f134ad83c0e613c
      https://github.com/OpenSIPS/opensips/commit/18d64c7b1ace438e408df4c45f134ad83c0e613c
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: fix rhel8 condition




From noreply at github.com  Sun Jan  5 04:06:22 2020
From: noreply at github.com (Nick Altmann)
Date: Sun, 05 Jan 2020 01:06:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cac700: RPM spec: fix rhel8
	condition
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/87a151-cac700@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cac700f3feeebb14347151338075ee5a0eadf2b9
      https://github.com/OpenSIPS/opensips/commit/cac700f3feeebb14347151338075ee5a0eadf2b9
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: fix rhel8 condition




From noreply at github.com  Sun Jan  5 15:18:48 2020
From: noreply at github.com (opensips-github)
Date: Sun, 05 Jan 2020 12:18:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f3763c: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.3/9225eb-f3763c@github.com>

  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f3763c973697af8a701e492b79e9313faf9070cf
      https://github.com/OpenSIPS/opensips/commit/f3763c973697af8a701e492b79e9313faf9070cf
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan  5 15:30:45 2020
From: noreply at github.com (opensips-github)
Date: Sun, 05 Jan 2020 12:30:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 682fa0: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/cac700-682fa0@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 682fa0b2fdc85217b237668d6321b0345b6a65d9
      https://github.com/OpenSIPS/opensips/commit/682fa0b2fdc85217b237668d6321b0345b6a65d9
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan  5 15:44:00 2020
From: noreply at github.com (opensips-github)
Date: Sun, 05 Jan 2020 12:44:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9a8bf1: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/119a4f-9a8bf1@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a8bf14eecfaf954f104b87b5990eba10eaa02ba
      https://github.com/OpenSIPS/opensips/commit/9a8bf14eecfaf954f104b87b5990eba10eaa02ba
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan  5 15:57:38 2020
From: noreply at github.com (opensips-github)
Date: Sun, 05 Jan 2020 12:57:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e1d892: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/18d64c-e1d892@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e1d89238aa645fccc0e9bee9999dd251a63b4cc2
      https://github.com/OpenSIPS/opensips/commit/e1d89238aa645fccc0e9bee9999dd251a63b4cc2
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Jan  6 05:34:30 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Jan 2020 02:34:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 999d57: python: Explicitly
 mark include as system-wide one
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e1d892-16dd54@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 999d57265e94a5986cb3c82f266a1b322f935e32
      https://github.com/OpenSIPS/opensips/commit/999d57265e94a5986cb3c82f266a1b322f935e32
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M modules/python/python_msgobj.c

  Log Message:
  -----------
  python: Explicitly mark include as system-wide one

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: 16dd54c301c29b028b5e433ec56a12a8c6c67204
      https://github.com/OpenSIPS/opensips/commit/16dd54c301c29b028b5e433ec56a12a8c6c67204
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M modules/python/python_msgobj.c

  Log Message:
  -----------
  Merge pull request #1929 from lemenkov/python3

python: Explicitly mark include as system-wide one (minor, almost cosmetic)


Compare: https://github.com/OpenSIPS/opensips/compare/e1d89238aa64...16dd54c301c2


From bogdan at opensips.org  Mon Jan  6 05:41:08 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 6 Jan 2020 12:41:08 +0200
Subject: [OpenSIPS-Devel] Poll for OpenSIPS 3.1 Features
Message-ID: <138c9ea1-7d49-e2f2-24ed-5a13c3dbddd0@opensips.org>

Hi all,

This is just a quick reminder - you have only one week left to provide 
your feedback and contribution in regards to the feature set of OpenSIPS 
3.1 future release.

https://docs.google.com/forms/d/e/1FAIpQLSde95VK-9v29HrXVY6CyNrtjNZsEuBK1eS7MkBMEm-GF83dNQ/viewform

Do not forget, 13th of Jan (23:59 PM GMT) is the last day, and your 
opinion matters to us !


Best regards,

-- 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/



From noreply at github.com  Tue Jan  7 04:59:52 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 07 Jan 2020 01:59:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5fb571: Document the
 limitations of the FEEDBACK alg
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/16dd54-5fb571@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5fb57167b1b2b7734542205e4019277f1ffe5013
      https://github.com/OpenSIPS/opensips/commit/5fb57167b1b2b7734542205e4019277f1ffe5013
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  Document the limitations of the FEEDBACK alg

Closes #1915.




From noreply at github.com  Tue Jan  7 05:00:16 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 07 Jan 2020 02:00:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b89ced: Document the
 limitations of the FEEDBACK alg
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9a8bf1-b89ced@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b89ced7c5de82f3442302a21988d27bb7dd498ea
      https://github.com/OpenSIPS/opensips/commit/b89ced7c5de82f3442302a21988d27bb7dd498ea
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  Document the limitations of the FEEDBACK alg

Closes #1915.

(cherry picked from commit 5fb57167b1b2b7734542205e4019277f1ffe5013)




From noreply at github.com  Tue Jan  7 05:00:37 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 07 Jan 2020 02:00:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a30324: Document the
 limitations of the FEEDBACK alg
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/682fa0-a30324@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a303241a7adcc1ed772235c6b6dcd607ae71b55c
      https://github.com/OpenSIPS/opensips/commit/a303241a7adcc1ed772235c6b6dcd607ae71b55c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  Document the limitations of the FEEDBACK alg

Closes #1915.

(cherry picked from commit 5fb57167b1b2b7734542205e4019277f1ffe5013)




From noreply at github.com  Tue Jan  7 07:06:49 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 07 Jan 2020 04:06:49 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ac153f: cachedb_redis: Improve
	reconnect logging
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/5fb571-ac153f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ac153f449f6fcc978148ff8b6c8c940ec0776423
      https://github.com/OpenSIPS/opensips/commit/ac153f449f6fcc978148ff8b6c8c940ec0776423
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis:  Improve reconnect logging

    * lower failed query log severity from ERROR -> INFO
    * make sure to log query recovery after a reconnect




From noreply at github.com  Tue Jan  7 08:46:43 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 07 Jan 2020 05:46:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 404090: cachedb_redis: Improve
	reconnect logging
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/b89ced-404090@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 404090eae4dd6eb7643e9f01f600a3f56c658864
      https://github.com/OpenSIPS/opensips/commit/404090eae4dd6eb7643e9f01f600a3f56c658864
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis:  Improve reconnect logging

    * lower failed query log severity from ERROR -> INFO
    * make sure to log query recovery after a reconnect

(cherry picked from commit ac153f449f6fcc978148ff8b6c8c940ec0776423)




From noreply at github.com  Tue Jan  7 08:46:44 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 07 Jan 2020 05:46:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65e83b: cachedb_redis: Improve
	reconnect logging
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/a30324-65e83b@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 65e83b017f43acd49425ad2614d0b8884ab369f2
      https://github.com/OpenSIPS/opensips/commit/65e83b017f43acd49425ad2614d0b8884ab369f2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis:  Improve reconnect logging

    * lower failed query log severity from ERROR -> INFO
    * make sure to log query recovery after a reconnect

(cherry picked from commit ac153f449f6fcc978148ff8b6c8c940ec0776423)




From noreply at github.com  Tue Jan  7 09:49:12 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 07 Jan 2020 06:49:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 689a4d: dialog: fix partition
 recursive call when wildcard...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/404090-689a4d@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 689a4d1c17f8d11c07f34b6fe5614fcff253df11
      https://github.com/OpenSIPS/opensips/commit/689a4d1c17f8d11c07f34b6fe5614fcff253df11
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: fix partition recursive call when wildcard is used




From noreply at github.com  Tue Jan  7 09:51:14 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 07 Jan 2020 06:51:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 848165: Revert "dialog: fix
 partition recursive call when ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/689a4d-822598@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8481655203cd797148e074fc14947b03564e96eb
      https://github.com/OpenSIPS/opensips/commit/8481655203cd797148e074fc14947b03564e96eb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  Revert "dialog: fix partition recursive call when wildcard is used"

This reverts commit 689a4d1c17f8d11c07f34b6fe5614fcff253df11.


  Commit: 8225988aa54cbbbd9a6685443451928a309e6273
      https://github.com/OpenSIPS/opensips/commit/8225988aa54cbbbd9a6685443451928a309e6273
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  fix partition recursive call when wildcard is used


Compare: https://github.com/OpenSIPS/opensips/compare/689a4d1c17f8...8225988aa54c


From noreply at github.com  Tue Jan  7 09:52:04 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 07 Jan 2020 06:52:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 94b034: drouting: fix
 partition recursive call when wildca...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ac153f-94b034@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 94b03427beb6a8ab15f36b734f7d09257d2b229a
      https://github.com/OpenSIPS/opensips/commit/94b03427beb6a8ab15f36b734f7d09257d2b229a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: fix partition recursive call when wildcard is used




From noreply at github.com  Tue Jan  7 11:42:45 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 07 Jan 2020 08:42:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 113723: presence: fix an
 overflow bug introduced in commit...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/94b034-113723@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 11372330955f79b0e463b58980b6362be00e2846
      https://github.com/OpenSIPS/opensips/commit/11372330955f79b0e463b58980b6362be00e2846
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  presence: fix an overflow bug introduced in commit 929ab4d




From noreply at github.com  Wed Jan  8 03:42:49 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:42:49 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed905d: Timer process
 counting: Drop obsolete code
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/113723-ed905d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed905d1a36fd0d7fb5b6461433f00c53e69c87cd
      https://github.com/OpenSIPS/opensips/commit/ed905d1a36fd0d7fb5b6461433f00c53e69c87cd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c
    M daemonize.h
    M main.c

  Log Message:
  -----------
  Timer process counting: Drop obsolete code

The timer counting and timer status code reporting logic was reworked in
caabbe53229bde (from N timer processes to 1+1, later 1+1+1), so the
"init_timer_no" shared integer logic is no longer needed.




From noreply at github.com  Wed Jan  8 03:43:50 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:43:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9434c5: Timer process
 counting: Drop obsolete code
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/822598-9434c5@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9434c5b43d359d722674766de71ce8295f326ff1
      https://github.com/OpenSIPS/opensips/commit/9434c5b43d359d722674766de71ce8295f326ff1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c
    M daemonize.h
    M main.c

  Log Message:
  -----------
  Timer process counting: Drop obsolete code

The timer counting and timer status code reporting logic was reworked in
caabbe53229bde (from N timer processes to 1+1, later 1+1+1), so the
"init_timer_no" shared integer logic is no longer needed.

(cherry picked from commit ed905d1a36fd0d7fb5b6461433f00c53e69c87cd)




From noreply at github.com  Wed Jan  8 03:46:24 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:46:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51e240: Timer process
 counting: Drop obsolete code
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/65e83b-51e240@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 51e240d6eafdde2f4b823e10963b7652961504ee
      https://github.com/OpenSIPS/opensips/commit/51e240d6eafdde2f4b823e10963b7652961504ee
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c
    M daemonize.h

  Log Message:
  -----------
  Timer process counting: Drop obsolete code

The timer counting and timer status code reporting logic was reworked in
caabbe53229bde (from N timer processes to 1+1, later 1+1+1), so the
"init_timer_no" shared integer logic is no longer needed.

(cherry picked from commit ed905d1a36fd0d7fb5b6461433f00c53e69c87cd)




From noreply at github.com  Wed Jan  8 03:47:09 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:47:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 686285: Status pipe reporting:
 Do not log errno on success
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ed905d-686285@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6862850851c0597e70c79926d2266e43eef97dd4
      https://github.com/OpenSIPS/opensips/commit/6862850851c0597e70c79926d2266e43eef97dd4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Status pipe reporting: Do not log errno on success

... as this may cause bogus debug logs, such as "Bad file descriptor" on
100% successful operations.




From noreply at github.com  Wed Jan  8 03:47:33 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:47:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 04f2b0: Status pipe reporting:
 Do not log errno on success
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9434c5-04f2b0@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 04f2b049b9ae1bde2dbddade04cebd62e83994be
      https://github.com/OpenSIPS/opensips/commit/04f2b049b9ae1bde2dbddade04cebd62e83994be
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Status pipe reporting: Do not log errno on success

... as this may cause bogus debug logs, such as "Bad file descriptor" on
100% successful operations.

(cherry picked from commit 6862850851c0597e70c79926d2266e43eef97dd4)




From noreply at github.com  Wed Jan  8 03:47:56 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 00:47:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c8a7d: Status pipe reporting:
 Do not log errno on success
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/51e240-0c8a7d@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0c8a7d730091beb0eb12ac2cd34c5b075b10ba0c
      https://github.com/OpenSIPS/opensips/commit/0c8a7d730091beb0eb12ac2cd34c5b075b10ba0c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Status pipe reporting: Do not log errno on success

... as this may cause bogus debug logs, such as "Bad file descriptor" on
100% successful operations.

(cherry picked from commit 6862850851c0597e70c79926d2266e43eef97dd4)




From noreply at github.com  Wed Jan  8 06:26:25 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 03:26:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a1689c: Add support for
 urn:nena:service URI scheme
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/686285-a1689c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a1689c6e5e7884f1d7c301373fd61ef885983ee6
      https://github.com/OpenSIPS/opensips/commit/a1689c6e5e7884f1d7c301373fd61ef885983ee6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M parser/msg_parser.h
    M parser/parse_uri.c
    M parser/parse_uri.h

  Log Message:
  -----------
  Add support for urn:nena:service URI scheme

Thanks go to Carl Lemieux from Comtechtel for providing the patch for
this




From noreply at github.com  Wed Jan  8 06:52:56 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 03:52:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6f24b2: proto_ws: decline
 Sec-WebSocket-Key keys that are ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a1689c-6f24b2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6f24b26205d11a3500f86113cf74f7f7f4ec95e8
      https://github.com/OpenSIPS/opensips/commit/6f24b26205d11a3500f86113cf74f7f7f4ec95e8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: decline Sec-WebSocket-Key keys that are not 24 bytes

In case the key is not 24 bytes, the some internal buffers might be
overwritten, resulting in malformed/bad Sec-WebSocket-Accept generation.
And since the RFC requires the key to be random 16-bytes-base64
encoding, the length should always be 24 bytes.

Thanks go to @hafkensite for reporting it on GitHub and to @wdoekes for
profiving the fix. Close #1928




From noreply at github.com  Wed Jan  8 06:53:13 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 03:53:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 094a4d: proto_ws: decline
 Sec-WebSocket-Key keys that are ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/04f2b0-094a4d@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 094a4dbe5af021d3dcdbece8106ea5c6ebbfa1c9
      https://github.com/OpenSIPS/opensips/commit/094a4dbe5af021d3dcdbece8106ea5c6ebbfa1c9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: decline Sec-WebSocket-Key keys that are not 24 bytes

In case the key is not 24 bytes, the some internal buffers might be
overwritten, resulting in malformed/bad Sec-WebSocket-Accept generation.
And since the RFC requires the key to be random 16-bytes-base64
encoding, the length should always be 24 bytes.

Thanks go to @hafkensite for reporting it on GitHub and to @wdoekes for
profiving the fix. Close #1928

(cherry picked from commit 6f24b26205d11a3500f86113cf74f7f7f4ec95e8)




From noreply at github.com  Wed Jan  8 06:53:29 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 03:53:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb847b: proto_ws: decline
 Sec-WebSocket-Key keys that are ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/0c8a7d-fb847b@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fb847ba4420c88d608feefa80849f8a985f5ac27
      https://github.com/OpenSIPS/opensips/commit/fb847ba4420c88d608feefa80849f8a985f5ac27
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: decline Sec-WebSocket-Key keys that are not 24 bytes

In case the key is not 24 bytes, the some internal buffers might be
overwritten, resulting in malformed/bad Sec-WebSocket-Accept generation.
And since the RFC requires the key to be random 16-bytes-base64
encoding, the length should always be 24 bytes.

Thanks go to @hafkensite for reporting it on GitHub and to @wdoekes for
profiving the fix. Close #1928

(cherry picked from commit 6f24b26205d11a3500f86113cf74f7f7f4ec95e8)




From noreply at github.com  Wed Jan  8 07:01:43 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 04:01:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 25ed95: cfgutils: Add the
 get_accurate_time() function
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6f24b2-25ed95@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 25ed952145f60ebbce770900463e8a1661f0ed74
      https://github.com/OpenSIPS/opensips/commit/25ed952145f60ebbce770900463e8a1661f0ed74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  cfgutils: Add the get_accurate_time() function

Although $Ts and $Tsm are useful, they cannot be read simultaneously,
potentially leading to bad data.

Sponsored by 46Labs




From noreply at github.com  Wed Jan  8 07:08:54 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 04:08:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] be9352: proto_ws: fix
 generation of random 16 bytes for Se...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/25ed95-be9352@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: be93525d9d8b3672d4ab8185482bdd5e6370e9a3
      https://github.com/OpenSIPS/opensips/commit/be93525d9d8b3672d4ab8185482bdd5e6370e9a3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: fix generation of random 16 bytes for Sec-WebSocket-Key

Credits go to @wdoekes for pointing this out!




From noreply at github.com  Wed Jan  8 08:26:46 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 05:26:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59400f: event_route: init
	child for async process
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/fb847b-59400f@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 59400f778b633d43d6d9e7d33fba4658c9c7f4fd
      https://github.com/OpenSIPS/opensips/commit/59400f778b633d43d6d9e7d33fba4658c9c7f4fd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/event_route/event_route.c

  Log Message:
  -----------
  event_route: init child for async process

In case the route is ran asynchronous, the extra process does not have
DB connections, or rest client handlers. This commit runs the children
initialization functions to make sure the rest client extra process also
has these connectors initialized.
Possible related to #1897




From noreply at github.com  Wed Jan  8 08:31:30 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 05:31:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d508e: tls_mgm: use the new
 threadid interface for ssl 1.x.x
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/be9352-1bc5cd@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3d508e7bcc236dc07bd5651f1ba0a2c6e487f83a
      https://github.com/OpenSIPS/opensips/commit/3d508e7bcc236dc07bd5651f1ba0a2c6e487f83a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: use the new threadid interface for ssl 1.x.x


  Commit: 97c0a271bd93f895a4eae28d43f520b581595837
      https://github.com/OpenSIPS/opensips/commit/97c0a271bd93f895a4eae28d43f520b581595837
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: create tls domain per process


  Commit: b54ccb29cdeda8b8b32d2b2c8c2e227d6fce6d89
      https://github.com/OpenSIPS/opensips/commit/b54ccb29cdeda8b8b32d2b2c8c2e227d6fce6d89
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  net: initialize connection extra data in workers


  Commit: 1bc5cd87dea2ce6cd299a41bc77b2d9d8fe782df
      https://github.com/OpenSIPS/opensips/commit/1bc5cd87dea2ce6cd299a41bc77b2d9d8fe782df
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: protect openssl rand functions with lock


Compare: https://github.com/OpenSIPS/opensips/compare/be93525d9d8b...1bc5cd87dea2


From noreply at github.com  Wed Jan  8 09:28:43 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 08 Jan 2020 06:28:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 62f7a6: rtpengine: add
 start/stop forwarding functions
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1bc5cd-3259dd@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 62f7a6216cc5345028725388b002e752c9815d99
      https://github.com/OpenSIPS/opensips/commit/62f7a6216cc5345028725388b002e752c9815d99
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: add start/stop forwarding functions

Close #1686


  Commit: 675fb8757b62a60a4daedcf755af1b293a1b1914
      https://github.com/OpenSIPS/opensips/commit/675fb8757b62a60a4daedcf755af1b293a1b1914
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: simplify rtpengine_stop_media() implementation


  Commit: 3259dd5294ffa544e5ff6423cf40113a202a8150
      https://github.com/OpenSIPS/opensips/commit/3259dd5294ffa544e5ff6423cf40113a202a8150
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: add play_dtmf command


Compare: https://github.com/OpenSIPS/opensips/compare/1bc5cd87dea2...3259dd5294ff


From noreply at github.com  Wed Jan  8 10:18:09 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Wed, 08 Jan 2020 07:18:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89bbb6: dialog: fix a crash
 when receiving an unknown repl...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3259dd-89bbb6@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 89bbb67e349acb172949beda1f80b07ec1dc9d3b
      https://github.com/OpenSIPS/opensips/commit/89bbb67e349acb172949beda1f80b07ec1dc9d3b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix a crash when receiving an unknown replicated profile

Reported by SamyGo on the mailing list.




From noreply at github.com  Wed Jan  8 10:18:21 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Wed, 08 Jan 2020 07:18:21 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 84d45e: dialog: fix a crash
 when receiving an unknown repl...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/094a4d-84d45e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 84d45ed2a80c0610ecfd2417a73bc66893e0b135
      https://github.com/OpenSIPS/opensips/commit/84d45ed2a80c0610ecfd2417a73bc66893e0b135
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix a crash when receiving an unknown replicated profile

Reported by SamyGo on the mailing list.

(cherry picked from commit 89bbb67e349acb172949beda1f80b07ec1dc9d3b)




From noreply at github.com  Wed Jan  8 10:18:34 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Wed, 08 Jan 2020 07:18:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 445f9a: dialog: fix a crash
 when receiving an unknown repl...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/59400f-445f9a@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 445f9aeb13cabeb54d971fc8d8fd65232630cd72
      https://github.com/OpenSIPS/opensips/commit/445f9aeb13cabeb54d971fc8d8fd65232630cd72
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix a crash when receiving an unknown replicated profile

Reported by SamyGo on the mailing list.

(cherry picked from commit 89bbb67e349acb172949beda1f80b07ec1dc9d3b)




From noreply at github.com  Wed Jan  8 10:37:50 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 07:37:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a4290: mid_registrar: Add
 request retransmission detection
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/89bbb6-2a4290@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2a4290d66b29e82da6ac13eae0da62df58d1a6ce
      https://github.com/OpenSIPS/opensips/commit/2a4290d66b29e82da6ac13eae0da62df58d1a6ce
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Add request retransmission detection

Instead of leaking shared memory on scripts which do not properly call
t_check_trans() beforehand, mid_registrar_save() will now act as a
t_check_trans() call and perform a default processing of the
retransmission.

Fixes #1907




From noreply at github.com  Wed Jan  8 10:39:26 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 07:39:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 86b0c9: mid_registrar: Add
 request retransmission detection
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/84d45e-86b0c9@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 86b0c941b7f1bd44c300b7a6d27e90e7103f99a6
      https://github.com/OpenSIPS/opensips/commit/86b0c941b7f1bd44c300b7a6d27e90e7103f99a6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Add request retransmission detection

Instead of leaking shared memory on scripts which do not properly call
t_check_trans() beforehand, mid_registrar_save() will now act as a
t_check_trans() call and perform a default processing of the
retransmission.

Fixes #1907

(cherry picked from commit 2a4290d66b29e82da6ac13eae0da62df58d1a6ce)




From noreply at github.com  Wed Jan  8 10:39:43 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 07:39:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d5ed44: mid_registrar: Add
 request retransmission detection
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/445f9a-d5ed44@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d5ed44c00f640c4f848af6805d8969735da2020d
      https://github.com/OpenSIPS/opensips/commit/d5ed44c00f640c4f848af6805d8969735da2020d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Add request retransmission detection

Instead of leaking shared memory on scripts which do not properly call
t_check_trans() beforehand, mid_registrar_save() will now act as a
t_check_trans() call and perform a default processing of the
retransmission.

Fixes #1907

(cherry picked from commit 2a4290d66b29e82da6ac13eae0da62df58d1a6ce)




From noreply at github.com  Wed Jan  8 10:50:51 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 07:50:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 19c273: permissions: Fix typo
	in MI "subnet_dump"
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2a4290-19c273@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 19c27394131be722a6519e8d206cc62c015fdd84
      https://github.com/OpenSIPS/opensips/commit/19c27394131be722a6519e8d206cc62c015fdd84
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/permissions/hash.c

  Log Message:
  -----------
  permissions: Fix typo in MI "subnet_dump"

Fixes #1901




From noreply at github.com  Wed Jan  8 10:51:11 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 08 Jan 2020 07:51:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 806c03: permissions: Fix typo
	in MI "subnet_dump"
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/86b0c9-806c03@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 806c0331b3303491bf91ad47fa5e14a27ea3fbf1
      https://github.com/OpenSIPS/opensips/commit/806c0331b3303491bf91ad47fa5e14a27ea3fbf1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/permissions/hash.c

  Log Message:
  -----------
  permissions: Fix typo in MI "subnet_dump"

Fixes #1901

(cherry picked from commit 19c27394131be722a6519e8d206cc62c015fdd84)




From noreply at github.com  Wed Jan  8 12:12:29 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 08 Jan 2020 09:12:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dd2071: Fix overflow when
 using large number of GW per rule
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/d5ed44-dd2071@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dd2071032fc9659bfdde11a14e5533aca4ec06c5
      https://github.com/OpenSIPS/opensips/commit/dd2071032fc9659bfdde11a14e5533aca4ec06c5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix overflow when using large number of GW per rule

Instead of fix-size internal buffer, user self-scaling buffers for handling/sorting the destinations/gateways in rules and carriers.
Fixes #1910

Cherry pick from e5991e1af5ca6eeb92940334da0a1cc31993ea7d




From noreply at github.com  Wed Jan  8 12:14:14 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 08 Jan 2020 09:14:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a9d07b: Fix overflow when
 using large number of GW per rule
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/806c03-a9d07b@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a9d07b55fd048a48ac13e283c2fa9d6f3ceb7809
      https://github.com/OpenSIPS/opensips/commit/a9d07b55fd048a48ac13e283c2fa9d6f3ceb7809
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix overflow when using large number of GW per rule

Instead of fix-size internal buffer, user self-scaling buffers for handling/sorting the destinations/gateways in rules and carriers.
Fixes #1910

(cherry picked from commit e5991e1af5ca6eeb92940334da0a1cc31993ea7d)




From noreply at github.com  Thu Jan  9 03:44:43 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 09 Jan 2020 00:44:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f12ce6: Revert "event_route:
 init child for async process"
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/dd2071-8179e1@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f12ce6860ae52450b6a26d7621ea8eef2eece161
      https://github.com/OpenSIPS/opensips/commit/f12ce6860ae52450b6a26d7621ea8eef2eece161
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/event_route/event_route.c

  Log Message:
  -----------
  Revert "event_route: init child for async process"

This reverts commit 59400f778b633d43d6d9e7d33fba4658c9c7f4fd.


  Commit: 8179e1f8d9d580ca3c4d1644cc225bfd0739bd03
      https://github.com/OpenSIPS/opensips/commit/8179e1f8d9d580ca3c4d1644cc225bfd0739bd03
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/event_route/route_send.c

  Log Message:
  -----------
  event_route: initialize childs only in external process

This commit fixes 59400f778b633d43d6d9e7d33fba4658c9c7f4fd
Close #1932


Compare: https://github.com/OpenSIPS/opensips/compare/dd2071032fc9...8179e1f8d9d5


From noreply at github.com  Thu Jan  9 07:23:07 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 09 Jan 2020 04:23:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cd78b8: Fix "replace" SQL
 syntax to "replace into"
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/19c273-cd78b8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cd78b8360f698882961fde63ce225d77b44ae252
      https://github.com/OpenSIPS/opensips/commit/cd78b8360f698882961fde63ce225d77b44ae252
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M db/db_query.c

  Log Message:
  -----------
  Fix "replace" SQL syntax to "replace into"

Closes #1904




From noreply at github.com  Thu Jan  9 11:39:26 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 09 Jan 2020 08:39:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4deff0: presence: fix several
 issues when using build_noti...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/cd78b8-e6290b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4deff0dbac1865c74da97d886c7aeabb81a1a0be
      https://github.com/OpenSIPS/opensips/commit/4deff0dbac1865c74da97d886c7aeabb81a1a0be
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence/event_list.c
    M modules/presence/event_list.h
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: fix several issues when using build_notify_body_t

* use the custom content type body if provided
* populate the actual pres_ev_t list element with the build_notify_body_t
  function
* use a proper free function for the notify body string in case of error
* improve comment-docs for build_notify_body_t


  Commit: f21c4eced9af5a7fb6249757a0b0a5eccfa3977d
      https://github.com/OpenSIPS/opensips/commit/f21c4eced9af5a7fb6249757a0b0a5eccfa3977d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence/event_list.h
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: allow build_notify_body_t to suppress sending the NOTIFY


  Commit: 2f80c1481922f18acd9bf5bdcbb64a42c399e300
      https://github.com/OpenSIPS/opensips/commit/2f80c1481922f18acd9bf5bdcbb64a42c399e300
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/Makefile
    A modules/presence_dfks/presence_dfks.c
    A modules/presence_dfks/presence_dfks.h
    M packaging/debian/rules
    M packaging/redhat_fedora/opensips.spec
    M parser/parse_event.c
    M parser/parse_event.h

  Log Message:
  -----------
  Add new presence_dfks module


  Commit: 00c7e84d666a91475198ed223a2648ef130e31a6
      https://github.com/OpenSIPS/opensips/commit/00c7e84d666a91475198ed223a2648ef130e31a6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: use proper ending boundary for multipart body


  Commit: 0b72c3dc7b3b434d3a6d39e7a5d943ac03fe228e
      https://github.com/OpenSIPS/opensips/commit/0b72c3dc7b3b434d3a6d39e7a5d943ac03fe228e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c

  Log Message:
  -----------
  presence_dfks: do not require the 'device' XML node in SUBSCRIBE


  Commit: 0a7672228cb5967d3a513a53ade36281cd7002ad
      https://github.com/OpenSIPS/opensips/commit/0a7672228cb5967d3a513a53ade36281cd7002ad
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: support multiple optional feature values

Add 'ringCount' value support for CallForwardingNoAnswer. Other values
may be added in the future if required.


  Commit: e8b2034e67a55127751fa876a1182ab18b7f6137
      https://github.com/OpenSIPS/opensips/commit/e8b2034e67a55127751fa876a1182ab18b7f6137
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: allow suppressing of NOTIFY's from DFKS routes


  Commit: 85ff6edac6de5d22fd68587b0d0e8adda98ff339
      https://github.com/OpenSIPS/opensips/commit/85ff6edac6de5d22fd68587b0d0e8adda98ff339
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/doc/presence_dfks.xml
    A modules/presence_dfks/doc/presence_dfks_admin.xml

  Log Message:
  -----------
  presence_dfks: add module docs


  Commit: e6290b861519a14228f9ff56807271b011c5360b
      https://github.com/OpenSIPS/opensips/commit/e6290b861519a14228f9ff56807271b011c5360b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/doc/contributors.xml

  Log Message:
  -----------
  presence_dfks: add contrib docs


Compare: https://github.com/OpenSIPS/opensips/compare/cd78b8360f69...e6290b861519


From noreply at github.com  Fri Jan 10 04:41:58 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 10 Jan 2020 01:41:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f12a53: Improve/clean logging
 on expire notifications
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e6290b-f12a53@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f12a53907d9829a949a9ca62a5a6d0e63695d2e9
      https://github.com/OpenSIPS/opensips/commit/f12a53907d9829a949a9ca62a5a6d0e63695d2e9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Improve/clean logging on expire notifications

Credits go to @wdoekes / Walter Doekes
Related to #1722




From noreply at github.com  Fri Jan 10 05:06:21 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 02:06:21 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fab8c3: tls: split send and
	handshake timeouts
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f12a53-fab8c3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fab8c357fedce647d1e0d0cc4f68f0e0c417c67f
      https://github.com/OpenSIPS/opensips/commit/fab8c357fedce647d1e0d0cc4f68f0e0c417c67f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/doc/proto_wss_admin.xml
    M modules/proto_wss/proto_wss.c
    M modules/tls_mgm/api.h
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_conn_server.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: split send and handshake timeouts

Move `tls_send_timeout` and `tls_handshake_timeout` from `tls_mgm` to
each module that can use it (`proto_tls` and `proto_wss`), making this
tuning more customizable, per module.




From noreply at github.com  Fri Jan 10 05:20:51 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 10 Jan 2020 02:20:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 666e81: Refactor signaling,
 sl & tm APIs to add gen_totag()
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/a9d07b-8f3e58@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 666e811eb42d367d823e252f329d89eb58fab822
      https://github.com/OpenSIPS/opensips/commit/666e811eb42d367d823e252f329d89eb58fab822
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/lua/sipluafunc.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/signaling/signaling.h
    M modules/sl/sl.c
    M modules/sl/sl_api.h
    M modules/sl/sl_funcs.c
    M modules/sl/sl_funcs.h
    M modules/tm/t_reply.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  Refactor signaling, sl & tm APIs to add gen_totag()

This is a new function to generate the To-tag (which is msg specific and computed in a deterministic way) whitout actually sending a reply.

First stage of a fix for #1722


  Commit: b4facfbec60783ac313c3c099451f4a850f315b4
      https://github.com/OpenSIPS/opensips/commit/b4facfbec60783ac313c3c099451f4a850f315b4
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/hash.c
    M modules/presence/hash.h
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Proper error handling in handle_subscribe

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

This is based on ec1889638a9d43280ba1362f6108a175efd4a854, with the update of the generation of the To-tag before the subscription check/reply

(cherry picked from commit 4918544248c495b1099a54326f97a82df97bbe76)


  Commit: 8f3e58938568d18a375e1eacba608795f7df59dd
      https://github.com/OpenSIPS/opensips/commit/8f3e58938568d18a375e1eacba608795f7df59dd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  Proper handling of subscription session overlapping

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

Similar to 4918544248c495b1099a54326f97a82df97bbe76

(cherry picked from commit 6e36b661823c823e42b15bfad0a26a9667be94cd)


Compare: https://github.com/OpenSIPS/opensips/compare/a9d07b55fd04...8f3e58938568


From noreply at github.com  Fri Jan 10 05:22:30 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 10 Jan 2020 02:22:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0260c9: Improve/clean logging
 on expire notifications
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/8f3e58-0260c9@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0260c9b32b95c83c0c03892cbdb95a8701cca98c
      https://github.com/OpenSIPS/opensips/commit/0260c9b32b95c83c0c03892cbdb95a8701cca98c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Improve/clean logging on expire notifications

Credits go to @wdoekes / Walter Doekes
Related to #1722

(cherry picked from commit f12a53907d9829a949a9ca62a5a6d0e63695d2e9)




From noreply at github.com  Fri Jan 10 05:36:14 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 10 Jan 2020 02:36:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e8b54: Refactor signaling,
 sl & tm APIs to add gen_totag()
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/8179e1-d7849e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3e8b549d7b20c4219c78e0769f4a010168e2d72e
      https://github.com/OpenSIPS/opensips/commit/3e8b549d7b20c4219c78e0769f4a010168e2d72e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/lua/sipluafunc.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/signaling/signaling.h
    M modules/sl/sl.c
    M modules/sl/sl_api.h
    M modules/sl/sl_funcs.c
    M modules/sl/sl_funcs.h
    M modules/tm/t_reply.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  Refactor signaling, sl & tm APIs to add gen_totag()

This is a new function to generate the To-tag (which is msg specific and computed in a deterministic way) whitout actually sending a reply.

First stage of a fix for #1722

(cherry picked from commit 666e811eb42d367d823e252f329d89eb58fab822)


  Commit: ed455e2ea6923ff0420c9c1a40f22a97e9a95202
      https://github.com/OpenSIPS/opensips/commit/ed455e2ea6923ff0420c9c1a40f22a97e9a95202
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/hash.c
    M modules/presence/hash.h
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Proper error handling in handle_subscribe

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

This is based on ec1889638a9d43280ba1362f6108a175efd4a854, with the update of the generation of the To-tag before the subscription check/reply

(cherry picked from commit 4918544248c495b1099a54326f97a82df97bbe76)
(cherry picked from commit b4facfbec60783ac313c3c099451f4a850f315b4)


  Commit: 29f8b303d2219a4bc557c8b67d7ce9f098cda9e2
      https://github.com/OpenSIPS/opensips/commit/29f8b303d2219a4bc557c8b67d7ce9f098cda9e2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  Proper handling of subscription session overlapping

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

Similar to 4918544248c495b1099a54326f97a82df97bbe76

(cherry picked from commit 8f3e58938568d18a375e1eacba608795f7df59dd)


  Commit: d7849e457f78b20696eb0c90c08bbdc90e314aee
      https://github.com/OpenSIPS/opensips/commit/d7849e457f78b20696eb0c90c08bbdc90e314aee
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Improve/clean logging on expire notifications

Credits go to @wdoekes / Walter Doekes
Related to #1722

(cherry picked from commit f12a53907d9829a949a9ca62a5a6d0e63695d2e9)
(cherry picked from commit 0260c9b32b95c83c0c03892cbdb95a8701cca98c)


Compare: https://github.com/OpenSIPS/opensips/compare/8179e1f8d9d5...d7849e457f78


From dan at ag-projects.com  Fri Jan 10 06:59:02 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Fri, 10 Jan 2020 13:59:02 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
Message-ID: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>


I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.

Here are the relevant bits from my configuration to layout the context:

I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:

listen = udp:IP:5060
listen = tcp:IP:5060
listen = tls:IP:5061

auto_scaling_profile = SIP_WORKERS
     scale up to 25 on 80% for 4 cycles within 5
     scale down to 5 on 20% for 10 cycles

tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
udp_workers = 5 use_auto_scaling_profile SIP_WORKERS


DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:

dns                   = yes
rev_dns               = no
dns_use_search_list   = no
disable_dns_blacklist = yes
dns_retr_time         = 5
dns_retr_no           = 1
dns_servers_no        = 1

This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.

I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.

Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.

During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.

The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.

The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.

If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).

Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.

What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?

That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.

--
Dan






From noreply at github.com  Fri Jan 10 09:07:48 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 14:07:48 +0000 (UTC)
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] be8a7e: proto_tls: fix typo in
 doc param specification
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/fab8c3-be8a7e@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: be8a7e7b486896790c511d5fea281bf94c2a586e
      https://github.com/OpenSIPS/opensips/commit/be8a7e7b486896790c511d5fea281bf94c2a586e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/proto_tls/doc/proto_tls_admin.xml

  Log Message:
  -----------
  proto_tls: fix typo in doc param specification




From noreply at github.com  Fri Jan 10 09:54:05 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 06:54:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 014f5d: menuconfig: more
 verbose output in case of error
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/be8a7e-014f5d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 014f5d2773a6b86f027bf7aa893078de8079d155
      https://github.com/OpenSIPS/opensips/commit/014f5d2773a6b86f027bf7aa893078de8079d155
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M menuconfig/commands.c

  Log Message:
  -----------
  menuconfig: more verbose output in case of error

Close #1242




From noreply at github.com  Fri Jan 10 09:54:24 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 06:54:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad36a4: menuconfig: more
 verbose output in case of error
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/0260c9-ad36a4@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad36a4f3fcedbb35ee4aeac1af9840bc20ca02a9
      https://github.com/OpenSIPS/opensips/commit/ad36a4f3fcedbb35ee4aeac1af9840bc20ca02a9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M menuconfig/commands.c

  Log Message:
  -----------
  menuconfig: more verbose output in case of error

Close #1242

(cherry picked from commit 014f5d2773a6b86f027bf7aa893078de8079d155)




From noreply at github.com  Fri Jan 10 09:54:40 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 06:54:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c921ac: menuconfig: more
 verbose output in case of error
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/d7849e-c921ac@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c921ac5a2e8a56bf888b5523cbf5084aa852385c
      https://github.com/OpenSIPS/opensips/commit/c921ac5a2e8a56bf888b5523cbf5084aa852385c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M menuconfig/commands.c

  Log Message:
  -----------
  menuconfig: more verbose output in case of error

Close #1242

(cherry picked from commit 014f5d2773a6b86f027bf7aa893078de8079d155)




From noreply at github.com  Fri Jan 10 11:23:27 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 10 Jan 2020 08:23:27 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] caaa55: tm: remove unused code
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/014f5d-caaa55@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: caaa55d7a2d9a0166d71cbe0cfc491553093f1d7
      https://github.com/OpenSIPS/opensips/commit/caaa55d7a2d9a0166d71cbe0cfc491553093f1d7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/tm/dlg.c
    M modules/tm/dlg.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: remove unused code

Close #1842




From noreply at github.com  Fri Jan 10 12:23:52 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Fri, 10 Jan 2020 09:23:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6453c5: drouting: add
 attributes to output of dr_gw_status...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/caaa55-ecd0bf@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6453c569d7d658c4240e82948d2af7a4bc464810
      https://github.com/OpenSIPS/opensips/commit/6453c569d7d658c4240e82948d2af7a4bc464810
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: add attributes to output of dr_gw_status and dr_carrier_status


  Commit: ecd0bf6803efa91465cbf88efff618993201d63c
      https://github.com/OpenSIPS/opensips/commit/ecd0bf6803efa91465cbf88efff618993201d63c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M db/schema/load_balancer.xml
    M modules/load_balancer/doc/load_balancer_admin.xml
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/lb_db.c
    M modules/load_balancer/lb_db.h
    M modules/load_balancer/load_balancer.c
    M scripts/db_berkeley/opensips/load_balancer
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/load_balancer
    M scripts/dbtext/opensips/version
    M scripts/mysql/load_balancer-create.sql
    M scripts/oracle/load_balancer-create.sql
    M scripts/pi_http/load_balancer-mod
    M scripts/pi_http/load_balancer-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/load_balancer-create.sql
    M scripts/sqlite/load_balancer-create.sql

  Log Message:
  -----------
  load_balancer: add opaque attribute string to destinations

The attributes can be returned by the lb_start(), lb_next(),
lb_start_or_next(), lb_is_destination() script functions and are also
included in the output of the lb_list and lb_status MI commands.


Compare: https://github.com/OpenSIPS/opensips/compare/caaa55d7a2d9...ecd0bf6803ef


From noreply at github.com  Sun Jan 12 15:30:57 2020
From: noreply at github.com (opensips-github)
Date: Sun, 12 Jan 2020 12:30:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1ff4eb: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/c921ac-1ff4eb@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1ff4ebcf14b169cb2fbdd6e27a1e5abb572c7689
      https://github.com/OpenSIPS/opensips/commit/1ff4ebcf14b169cb2fbdd6e27a1e5abb572c7689
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 12 15:44:14 2020
From: noreply at github.com (opensips-github)
Date: Sun, 12 Jan 2020 12:44:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1a3a30: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/ad36a4-1a3a30@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a3a302b34c0e047ea90b571d6e86cee31b3bc77
      https://github.com/OpenSIPS/opensips/commit/1a3a302b34c0e047ea90b571d6e86cee31b3bc77
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 12 15:58:05 2020
From: noreply at github.com (opensips-github)
Date: Sun, 12 Jan 2020 12:58:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 17c125: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ecd0bf-17c125@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 17c125a4ef7070017909d960adb070e8a5f4569b
      https://github.com/OpenSIPS/opensips/commit/17c125a4ef7070017909d960adb070e8a5f4569b
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    A modules/presence_dfks/README
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Jan 13 07:29:57 2020
From: noreply at github.com (Liviu Chircu)
Date: Mon, 13 Jan 2020 04:29:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a2e07: usrloc: Disambiguate
 ul_flush / ul_sync docs
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/17c125-3a2e07@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a2e07380323ac5f84536d57cdcb69cda98f1fc0
      https://github.com/OpenSIPS/opensips/commit/3a2e07380323ac5f84536d57cdcb69cda98f1fc0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc:  Disambiguate ul_flush / ul_sync docs




From noreply at github.com  Mon Jan 13 07:30:31 2020
From: noreply at github.com (Liviu Chircu)
Date: Mon, 13 Jan 2020 04:30:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d669e: usrloc: Disambiguate
 ul_flush / ul_sync docs
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/1a3a30-9d669e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d669e1d97b31684d843ee40bd562a250e6ffc73
      https://github.com/OpenSIPS/opensips/commit/9d669e1d97b31684d843ee40bd562a250e6ffc73
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc:  Disambiguate ul_flush / ul_sync docs

(cherry picked from commit 3a2e07380323ac5f84536d57cdcb69cda98f1fc0)




From noreply at github.com  Mon Jan 13 07:30:50 2020
From: noreply at github.com (Liviu Chircu)
Date: Mon, 13 Jan 2020 04:30:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ea7c0: usrloc: Disambiguate
 ul_flush / ul_sync docs
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/1ff4eb-8ea7c0@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8ea7c00fe5029f08565546a9ae8e1c86450faaba
      https://github.com/OpenSIPS/opensips/commit/8ea7c00fe5029f08565546a9ae8e1c86450faaba
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc:  Disambiguate ul_flush / ul_sync docs

(cherry picked from commit 3a2e07380323ac5f84536d57cdcb69cda98f1fc0)




From noreply at github.com  Mon Jan 13 07:33:47 2020
From: noreply at github.com (Dan Pascu)
Date: Mon, 13 Jan 2020 04:33:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d73ac1: Simplified TLS cleanup
	code
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3a2e07-d73ac1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d73ac1a18afe80c2fd15254118265efa37a28b2b
      https://github.com/OpenSIPS/opensips/commit/d73ac1a18afe80c2fd15254118265efa37a28b2b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  Simplified TLS cleanup code




From noreply at github.com  Mon Jan 13 07:45:54 2020
From: noreply at github.com (Dan Pascu)
Date: Mon, 13 Jan 2020 04:45:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e2e43: Clear SSL errors
 before performing SSL operations
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d73ac1-0e2e43@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0e2e434fdfb78678fd073e1ad518dd74d2a4181b
      https://github.com/OpenSIPS/opensips/commit/0e2e434fdfb78678fd073e1ad518dd74d2a4181b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  Clear SSL errors before performing SSL operations

Calling SSL_get_error() doesn't remove the error from the stack.
As a result SSL errors can remain on the stack and show up erronously in
later SSL operations and even spill out and affect other SSL contexts.




From noreply at github.com  Mon Jan 13 07:49:48 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 13 Jan 2020 04:49:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f67f38: proto_smpp: arrange
 convertion logic in functions
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0e2e43-417ac1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f67f38e2914ff8ba44bbab98cb5d85ef58779d56
      https://github.com/OpenSIPS/opensips/commit/f67f38e2914ff8ba44bbab98cb5d85ef58779d56
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: arrange convertion logic in functions


  Commit: 417ac1185809d80315548ba5a4d5dd75c61ce93a
      https://github.com/OpenSIPS/opensips/commit/417ac1185809d80315548ba5a4d5dd75c61ce93a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: convert GSM7 to UTF-8 for incoming SM

Thanks to @johandeclercqdemocon for reporting this in #1935


Compare: https://github.com/OpenSIPS/opensips/compare/0e2e434fdfb7...417ac1185809


From noreply at github.com  Mon Jan 13 07:50:52 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 13 Jan 2020 04:50:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d81eaf: proto_smpp: fix
	several memory leaks
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/417ac1-d81eaf@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d81eaf9d093e6cf321a9d37f5e22740e85d5df91
      https://github.com/OpenSIPS/opensips/commit/d81eaf9d093e6cf321a9d37f5e22740e85d5df91
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several memory leaks

headers, body and payload was not properly released after sending
a SMPP message




From dan at ag-projects.com  Mon Jan 13 08:14:48 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Mon, 13 Jan 2020 15:14:48 +0200
Subject: [OpenSIPS-Devel] TLS cleanup
Message-ID: <2921362D-A215-4936-A8B0-0072995B1AA0@ag-projects.com>


I noticed that tls_conn_clean() is not called with a lock. All other SSL operations that reads/writes to the connection will lock it with conn->write_lock. tls_conn_clean() ends up calling SSL_shutdown() which will write to the connection as SSL shutdown implies an exchange with the other endpoint.

It also seems that conn->write_lock is destroyed right before calling conn_clean(), so at the moment it can't even be used.

Can someone with a better understanding of the way SSL code interacts with the multi-process nature of opensips take a look and check if we really do not need to call tls_conn_clean() with a lock?

--
Dan






From noreply at github.com  Mon Jan 13 09:16:37 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 13 Jan 2020 06:16:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 19bbf8: dialog: fix double
 decrement issue with cachedb sh...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d81eaf-19bbf8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 19bbf8ca08638d938c32ebf467207357dcb95425
      https://github.com/OpenSIPS/opensips/commit/19bbf8ca08638d938c32ebf467207357dcb95425
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix double decrement issue with cachedb shared profiles

If dialog replication is enabled and a dialog expires, the cachedb counter
will now only be decremented if the sharing tag is active.

Fixes #1937




From noreply at github.com  Mon Jan 13 09:16:45 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 13 Jan 2020 06:16:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 979bfd: dialog: fix double
 decrement issue with cachedb sh...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9d669e-979bfd@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 979bfdd2ae485f22f9ab7fdbabc1a9f1020546d5
      https://github.com/OpenSIPS/opensips/commit/979bfdd2ae485f22f9ab7fdbabc1a9f1020546d5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix double decrement issue with cachedb shared profiles

If dialog replication is enabled and a dialog expires, the cachedb counter
will now only be decremented if the sharing tag is active.

Fixes #1937

(cherry picked from commit 19bbf8ca08638d938c32ebf467207357dcb95425)




From noreply at github.com  Mon Jan 13 09:27:44 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 13 Jan 2020 06:27:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bfe9bd: dialog: fix double
 decrement issue with cachedb sh...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/8ea7c0-bfe9bd@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bfe9bdb69a27c3a640ad116c18d82e0155e583ce
      https://github.com/OpenSIPS/opensips/commit/bfe9bdb69a27c3a640ad116c18d82e0155e583ce
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix double decrement issue with cachedb shared profiles

If dialog replication is enabled and a dialog expires, the cachedb counter
will now only be decremented if the sharing tag is active.

Fixes #1937

(cherry picked from commit 19bbf8ca08638d938c32ebf467207357dcb95425)




From noreply at github.com  Mon Jan 13 10:12:48 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 13 Jan 2020 07:12:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4e5ac0: tls: use
 is_peer_verified for both TLS and WSS
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/19bbf8-4e5ac0@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4e5ac0d3094552ebaa76d183b74c9d0356f30547
      https://github.com/OpenSIPS/opensips/commit/4e5ac0d3094552ebaa76d183b74c9d0356f30547
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_select.c
    M modules/tls_mgm/tls_select.h

  Log Message:
  -----------
  tls: use is_peer_verified for both TLS and WSS

Close #1765




From noreply at github.com  Mon Jan 13 10:16:29 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 13 Jan 2020 07:16:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6246ea: tls: use
 is_peer_verified for both TLS and WSS
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/979bfd-6246ea@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6246ea601754a4c2ccdb6874d08363fa17487146
      https://github.com/OpenSIPS/opensips/commit/6246ea601754a4c2ccdb6874d08363fa17487146
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_select.c
    M modules/tls_mgm/tls_select.h

  Log Message:
  -----------
  tls: use is_peer_verified for both TLS and WSS

Close #1765

(cherry picked from commit 4e5ac0d3094552ebaa76d183b74c9d0356f30547)




From noreply at github.com  Mon Jan 13 10:19:15 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 13 Jan 2020 07:19:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 774b3f: tls: use
 is_peer_verified for both TLS and WSS
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/bfe9bd-774b3f@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 774b3fcbd998d50a0f2ab531678522c13dd7ff04
      https://github.com/OpenSIPS/opensips/commit/774b3fcbd998d50a0f2ab531678522c13dd7ff04
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_select.c
    M modules/tls_mgm/tls_select.h

  Log Message:
  -----------
  tls: use is_peer_verified for both TLS and WSS

Close #1765

(cherry picked from commit 4e5ac0d3094552ebaa76d183b74c9d0356f30547)




From noreply at github.com  Tue Jan 14 03:46:56 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 00:46:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7028a: lua: port interface to
	lua5.2 & lua5.3
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4e5ac0-d22187@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c7028afea319e784ba354a930f1f736c08d19e7a
      https://github.com/OpenSIPS/opensips/commit/c7028afea319e784ba354a930f1f736c08d19e7a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/Makefile
    A modules/lua/compat.h
    M modules/lua/sipapi.c
    M modules/lua/sipdatetime.c
    M modules/lua/sipmemcache.c
    M modules/lua/sipmysql.c
    M modules/lua/sipstate.c
    M modules/lua/sipwatch.c

  Log Message:
  -----------
  lua: port interface to lua5.2 & lua5.3

Close #1066


  Commit: d2218763d94bc394ab7c2a151163a044e9a0b3f5
      https://github.com/OpenSIPS/opensips/commit/d2218763d94bc394ab7c2a151163a044e9a0b3f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/sipapi.c
    M modules/lua/siplua.c
    M modules/lua/sipluafunc.c
    M modules/lua/sipmysql.c
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: add new line for all siplua logs


Compare: https://github.com/OpenSIPS/opensips/compare/4e5ac0d30945...d2218763d94b


From noreply at github.com  Tue Jan 14 05:04:34 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 14 Jan 2020 02:04:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e8496c: lua: fix a Makefile
	typo
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d22187-e8496c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e8496cd109dac7dbfa74a7863fea4dca9d2d1d25
      https://github.com/OpenSIPS/opensips/commit/e8496cd109dac7dbfa74a7863fea4dca9d2d1d25
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/Makefile

  Log Message:
  -----------
  lua: fix a Makefile typo




From razvan at opensips.org  Tue Jan 14 06:54:36 2020
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Tue, 14 Jan 2020 13:54:36 +0200
Subject: [OpenSIPS-Devel] TLS cleanup
In-Reply-To: <2921362D-A215-4936-A8B0-0072995B1AA0@ag-projects.com>
References: <2921362D-A215-4936-A8B0-0072995B1AA0@ag-projects.com>
Message-ID: <6c3721ad-9a29-42df-09d5-fa18c620e01f@opensips.org>

Hi, Dan!

When the code hits the _tcpconn_rm function, the connection is taken out 
of the connections hash, therefore there's no one who can come to fetch 
the connection and do anything with it.
That's why, I'd argue it is safe to run the tls_conn_clean() out of the 
write lock.

Best regards,
Răzvan

On 1/13/20 3:14 PM, Dan Pascu wrote:
> 
> I noticed that tls_conn_clean() is not called with a lock. All other SSL operations that reads/writes to the connection will lock it with conn->write_lock. tls_conn_clean() ends up calling SSL_shutdown() which will write to the connection as SSL shutdown implies an exchange with the other endpoint.
> 
> It also seems that conn->write_lock is destroyed right before calling conn_clean(), so at the moment it can't even be used.
> 
> Can someone with a better understanding of the way SSL code interacts with the multi-process nature of opensips take a look and check if we really do not need to call tls_conn_clean() with a lock?
> 
> --
> Dan
> 
> 
> 
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From noreply at github.com  Tue Jan 14 07:09:09 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 14 Jan 2020 04:09:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49d015: sql_cacher: fix a
 'cache_table' modparam parsing bug
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e8496c-49d015@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 49d01575cf7c05e7b73e751965dc546a3785743f
      https://github.com/OpenSIPS/opensips/commit/49d01575cf7c05e7b73e751965dc546a3785743f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix a 'cache_table' modparam parsing bug

Fixes #1900




From noreply at github.com  Tue Jan 14 07:10:53 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 14 Jan 2020 04:10:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a3354e: sql_cacher: fix a
 'cache_table' modparam parsing bug
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/6246ea-a3354e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a3354e0b71880745f6c27568522d74bc2b3379a4
      https://github.com/OpenSIPS/opensips/commit/a3354e0b71880745f6c27568522d74bc2b3379a4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix a 'cache_table' modparam parsing bug

Fixes #1900

(cherry picked from commit 49d01575cf7c05e7b73e751965dc546a3785743f)




From noreply at github.com  Tue Jan 14 07:11:34 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 14 Jan 2020 04:11:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1a3cff: sql_cacher: fix a
 'cache_table' modparam parsing bug
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/774b3f-1a3cff@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a3cffe9518c13435220885ed2898934d72b2b37
      https://github.com/OpenSIPS/opensips/commit/1a3cffe9518c13435220885ed2898934d72b2b37
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix a 'cache_table' modparam parsing bug

Fixes #1900

(cherry picked from commit 49d01575cf7c05e7b73e751965dc546a3785743f)




From noreply at github.com  Tue Jan 14 07:35:32 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 04:35:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4d8d9c: Fix inheriting branch
 specific attributes while fo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/49d015-4d8d9c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e
      https://github.com/OpenSIPS/opensips/commit/4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Fix inheriting branch specific attributes while forking via failure route.

The path vector and Q value are per-branch values and they must not be inherited while creating new branches from failure route.
Closes #1887




From noreply at github.com  Tue Jan 14 07:36:33 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 04:36:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ca197: Fix inheriting branch
 specific attributes while fo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/a3354e-5ca197@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ca1979c466075d09af38ebb6d04ed9f64f13bec
      https://github.com/OpenSIPS/opensips/commit/5ca1979c466075d09af38ebb6d04ed9f64f13bec
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Fix inheriting branch specific attributes while forking via failure route.

The path vector and Q value are per-branch values and they must not be inherited while creating new branches from failure route.
Closes #1887

(cherry picked from commit 4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e)




From noreply at github.com  Tue Jan 14 07:37:29 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 04:37:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cdaf4e: Fix inheriting branch
 specific attributes while fo...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/1a3cff-cdaf4e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cdaf4e3547151f6992f5c99b0eec5e65bc5ca3a0
      https://github.com/OpenSIPS/opensips/commit/cdaf4e3547151f6992f5c99b0eec5e65bc5ca3a0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Fix inheriting branch specific attributes while forking via failure route.

The path vector and Q value are per-branch values and they must not be inherited while creating new branches from failure route.
Closes #1887

(cherry picked from commit 4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e)




From noreply at github.com  Tue Jan 14 08:50:12 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 05:50:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5006ab: proto_smpp: fix
	several memory leaks
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/5ca197-2e2143@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5006ab270ec1caa89c27f985a6c07c65aeffdb2a
      https://github.com/OpenSIPS/opensips/commit/5006ab270ec1caa89c27f985a6c07c65aeffdb2a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several memory leaks

headers, body and payload was not properly released after sending
a SMPP message

(cherry picked from commit d81eaf9d093e6cf321a9d37f5e22740e85d5df91)


  Commit: 2e2143f0003eb64cbf68db984a4538948d086fcb
      https://github.com/OpenSIPS/opensips/commit/2e2143f0003eb64cbf68db984a4538948d086fcb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h

  Log Message:
  -----------
  proto_smpp: convert GSM7 to UTF-8 for incoming SM

Thanks to @johandeclercqdemocon for reporting this in #1935

(cherry picked from commit 417ac1185809d80315548ba5a4d5dd75c61ce93a)


Compare: https://github.com/OpenSIPS/opensips/compare/5ca1979c4660...2e2143f0003e


From noreply at github.com  Tue Jan 14 08:58:35 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 05:58:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c73235: proto_smpp: don't move
 to next char if escape is n...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4d8d9c-c73235@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c73235f3638b632269b7d4c7e5d8fe014928c2d1
      https://github.com/OpenSIPS/opensips/commit/c73235f3638b632269b7d4c7e5d8fe014928c2d1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: don't move to next char if escape is not recognized




From noreply at github.com  Tue Jan 14 09:02:19 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 06:02:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ce4da0: proto_smpp: don't move
 to next char if escape is n...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/2e2143-ce4da0@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ce4da0292b9bf3c179a9b95e4de8040a0418f5e2
      https://github.com/OpenSIPS/opensips/commit/ce4da0292b9bf3c179a9b95e4de8040a0418f5e2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: don't move to next char if escape is not recognized




From noreply at github.com  Tue Jan 14 09:56:43 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 06:56:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b3abf: siprec: add
 associations to the resulted XML
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c73235-7b3abf@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7b3abf8096d7b69ec451928e36e09de06d90b57f
      https://github.com/OpenSIPS/opensips/commit/7b3abf8096d7b69ec451928e36e09de06d90b57f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/siprec_body.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h

  Log Message:
  -----------
  siprec: add associations to the resulted XML

Close #1264




From noreply at github.com  Tue Jan 14 10:14:46 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 07:14:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 75ec1d: event_rabbitmq: add
 suppress_event_name parameter
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7b3abf-75ec1d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 75ec1d5dbbafdffd9c86a4253e0d7c29bded1c28
      https://github.com/OpenSIPS/opensips/commit/75ec1d5dbbafdffd9c86a4253e0d7c29bded1c28
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
    M modules/event_rabbitmq/event_rabbitmq.c

  Log Message:
  -----------
  event_rabbitmq: add suppress_event_name parameter

Close #940




From noreply at github.com  Tue Jan 14 10:24:42 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:24:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 09473b: Proper inheriting of
 branch attributes during DNS-...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/75ec1d-09473b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 09473b34d94014f3279a3ff53e593bc7d9ba0a41
      https://github.com/OpenSIPS/opensips/commit/09473b34d94014f3279a3ff53e593bc7d9ba0a41
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of branch attributes during DNS-based failover.

When creating a fake request based on an existing UAC entity, use the DST_URI and PATH_VEC specific to that UAC entity and not the per-message values.
This will correctly preserve the DST_URI and PATH_VEC during a DNS based failover, where the new branch must be a perfect copy of the original failed branch.




From noreply at github.com  Tue Jan 14 10:25:14 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:25:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd15c1: Proper inheriting of
 branch attributes during DNS-...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/ce4da0-fd15c1@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd15c1c7bcb59fbae32212902baabd73c24262ae
      https://github.com/OpenSIPS/opensips/commit/fd15c1c7bcb59fbae32212902baabd73c24262ae
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of branch attributes during DNS-based failover.

When creating a fake request based on an existing UAC entity, use the DST_URI and PATH_VEC specific to that UAC entity and not the per-message values.
This will correctly preserve the DST_URI and PATH_VEC during a DNS based failover, where the new branch must be a perfect copy of the original failed branch.

(cherry picked from commit 09473b34d94014f3279a3ff53e593bc7d9ba0a41)




From noreply at github.com  Tue Jan 14 10:25:41 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:25:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc62f7: Proper inheriting of
 branch attributes during DNS-...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/cdaf4e-cc62f7@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cc62f7df728467b8144095767183fedfdf74be8d
      https://github.com/OpenSIPS/opensips/commit/cc62f7df728467b8144095767183fedfdf74be8d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of branch attributes during DNS-based failover.

When creating a fake request based on an existing UAC entity, use the DST_URI and PATH_VEC specific to that UAC entity and not the per-message values.
This will correctly preserve the DST_URI and PATH_VEC during a DNS based failover, where the new branch must be a perfect copy of the original failed branch.

(cherry picked from commit 09473b34d94014f3279a3ff53e593bc7d9ba0a41)




From noreply at github.com  Tue Jan 14 10:53:23 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:53:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0390ec: Proper inheriting of
 advertised address/port durin...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/09473b-0390ec@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0390ec9dce7eab7da6bb6b952ef4766698a1a967
      https://github.com/OpenSIPS/opensips/commit/0390ec9dce7eab7da6bb6b952ef4766698a1a967
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of advertised address/port during dns based failover.

As the DNS based failover has to create a new branch as a perfect copy of the failed branch (as branch attributes), use the per-UAC advertised address and ports rather than the the per-MSG values.




From noreply at github.com  Tue Jan 14 10:54:23 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:54:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f6e75: Proper inheriting of
 advertised address/port durin...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/fd15c1-9f6e75@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f6e75bd3fee0c02ef3aba2b259435c3ab31616a
      https://github.com/OpenSIPS/opensips/commit/9f6e75bd3fee0c02ef3aba2b259435c3ab31616a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of advertised address/port during dns based failover.

As the DNS based failover has to create a new branch as a perfect copy of the failed branch (as branch attributes), use the per-UAC advertised address and ports rather than the the per-MSG values.

(cherry picked from commit 0390ec9dce7eab7da6bb6b952ef4766698a1a967)




From noreply at github.com  Tue Jan 14 10:54:55 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 07:54:55 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f2120f: Proper inheriting of
 advertised address/port durin...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/cc62f7-f2120f@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f2120f439741aae321672b57deb3c9ba21ad0c82
      https://github.com/OpenSIPS/opensips/commit/f2120f439741aae321672b57deb3c9ba21ad0c82
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of advertised address/port during dns based failover.

As the DNS based failover has to create a new branch as a perfect copy of the failed branch (as branch attributes), use the per-UAC advertised address and ports rather than the the per-MSG values.

(cherry picked from commit 0390ec9dce7eab7da6bb6b952ef4766698a1a967)




From noreply at github.com  Tue Jan 14 11:03:37 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Jan 2020 08:03:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f73abf: Do not inherit nothing
 (from prev branches) in fai...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0390ec-f73abf@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f73abff95333af1d7832aaf58510afaf4a0becc1
      https://github.com/OpenSIPS/opensips/commit/f73abff95333af1d7832aaf58510afaf4a0becc1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_fwd.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Do not inherit nothing (from prev branches) in failure route.

Reset all per-branch values before entering failure route - provide a fresh start for creating the new branches.




From noreply at github.com  Tue Jan 14 11:47:54 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 14 Jan 2020 08:47:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2bc094: cfgutils: fix parsing
	error printing
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/f2120f-2bc094@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2bc0946f72444f4498649e09d7fa8a6a419476c5
      https://github.com/OpenSIPS/opensips/commit/2bc0946f72444f4498649e09d7fa8a6a419476c5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  cfgutils: fix parsing error printing

Close #1777




From noreply at github.com  Tue Jan 14 12:31:06 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Jan 2020 09:31:06 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 368e36: HP_MALLOC: Fix the
	memory warming feature
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f73abf-368e36@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 368e3699e60365c09902ceb26ba0251be9864a85
      https://github.com/OpenSIPS/opensips/commit/368e3699e60365c09902ceb26ba0251be9864a85
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Fix the memory warming feature

As some initial SHM allocations are done, the large chunk of memory
tends to move towards the end of the list, so we must properly locate it
before we are able to chop it up.

Fixes #1638




From noreply at github.com  Tue Jan 14 12:32:56 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Jan 2020 09:32:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0617b3: HP_MALLOC memory
 warming: Also work with HP_MALLOC...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/368e36-0617b3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0617b35e9377dbfe590504d44b66b7fd24c487f0
      https://github.com/OpenSIPS/opensips/commit/0617b35e9377dbfe590504d44b66b7fd24c487f0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC memory warming: Also work with HP_MALLOC_DBG




From noreply at github.com  Tue Jan 14 12:36:40 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Jan 2020 09:36:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b5a533: MI mem_rpm_dump: Do
 not crash if RPM mem is disabled
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0617b3-b5a533@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b5a533f4e34fe36fddea5de98fcef0010c49704e
      https://github.com/OpenSIPS/opensips/commit/b5a533f4e34fe36fddea5de98fcef0010c49704e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  MI mem_rpm_dump:  Do not crash if RPM mem is disabled




From noreply at github.com  Tue Jan 14 12:39:03 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Jan 2020 09:39:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9bd6b9: HP_MALLOC: Fix the
	memory warming feature
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9f6e75-135236@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9bd6b979ccb983cc78f9ee8a7f0ddb4d40c6dc24
      https://github.com/OpenSIPS/opensips/commit/9bd6b979ccb983cc78f9ee8a7f0ddb4d40c6dc24
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Fix the memory warming feature

As some initial SHM allocations are done, the large chunk of memory
tends to move towards the end of the list, so we must properly locate it
before we are able to chop it up.

Fixes #1638

(cherry picked from commit 368e3699e60365c09902ceb26ba0251be9864a85)


  Commit: ef46f6e9f5c3f9b798aaeba1617b3ae3a7b5373a
      https://github.com/OpenSIPS/opensips/commit/ef46f6e9f5c3f9b798aaeba1617b3ae3a7b5373a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC memory warming: Also work with HP_MALLOC_DBG

(cherry picked from commit 0617b35e9377dbfe590504d44b66b7fd24c487f0)


  Commit: 13523638d2d1e067a9b0a49385737a99e93286fa
      https://github.com/OpenSIPS/opensips/commit/13523638d2d1e067a9b0a49385737a99e93286fa
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  MI mem_rpm_dump:  Do not crash if RPM mem is disabled

(cherry picked from commit b5a533f4e34fe36fddea5de98fcef0010c49704e)


Compare: https://github.com/OpenSIPS/opensips/compare/9f6e75bd3fee...13523638d2d1


From noreply at github.com  Tue Jan 14 12:39:47 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Jan 2020 09:39:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 057468: HP_MALLOC: Fix the
	memory warming feature
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/2bc094-057468@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 057468a5e23c8428859bbc7dc7028f424fe064db
      https://github.com/OpenSIPS/opensips/commit/057468a5e23c8428859bbc7dc7028f424fe064db
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Fix the memory warming feature

As some initial SHM allocations are done, the large chunk of memory
tends to move towards the end of the list, so we must properly locate it
before we are able to chop it up.

Fixes #1638

(cherry picked from commit 368e3699e60365c09902ceb26ba0251be9864a85)




From noreply at github.com  Wed Jan 15 03:24:42 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 15 Jan 2020 00:24:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7de09f: cfgutils: fix
 check_time_rec() leak and mem access
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/057468-7de09f@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7de09fb15e821064e944ff2d1cd6d98b2472873c
      https://github.com/OpenSIPS/opensips/commit/7de09fb15e821064e944ff2d1cd6d98b2472873c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  cfgutils: fix check_time_rec() leak and mem access

1. The timerec parsing modifies the buffer, therefore it is a good idea
   to always duplicate the timerec buffer pkg
2. The timerec parsing relies on the fact that the string is null
   terminated - however the module interface does not guarantee the
   string will be null terminated if it comes from a pseudo-variable
3. The timerec should be allocated in pkg memory, there's no reason why
   it should be shared
4. After checking the timerec, the function needs to release the memory




From noreply at github.com  Wed Jan 15 03:42:34 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 15 Jan 2020 00:42:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c72855: cfgutils: fix
	check_time_rec() leak
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b5a533-c72855@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c728552927134caa2391496a2ed649e3f6e60627
      https://github.com/OpenSIPS/opensips/commit/c728552927134caa2391496a2ed649e3f6e60627
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  cfgutils: fix check_time_rec() leak

1. The timerec should be allocated in pkg memory, there's no reason why
   it should be shared
2. After checking the timerec, the function needs to release the memory




From noreply at github.com  Wed Jan 15 03:43:18 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 15 Jan 2020 00:43:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38db49: cfgutils: fix
	check_time_rec() leak
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/135236-38db49@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 38db49b135007f1bff20a89d0d018eabd10ffd65
      https://github.com/OpenSIPS/opensips/commit/38db49b135007f1bff20a89d0d018eabd10ffd65
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  cfgutils: fix check_time_rec() leak

1. The timerec should be allocated in pkg memory, there's no reason why
   it should be shared
2. After checking the timerec, the function needs to release the memory




From razvan at opensips.org  Wed Jan 15 04:04:08 2020
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Wed, 15 Jan 2020 11:04:08 +0200
Subject: [OpenSIPS-Devel] Poll for OpenSIPS 3.1 Features
In-Reply-To: <138c9ea1-7d49-e2f2-24ed-5a13c3dbddd0@opensips.org>
References: <138c9ea1-7d49-e2f2-24ed-5a13c3dbddd0@opensips.org>
Message-ID: <8eaa749c-f68d-2db9-9ca5-28ac4f4f5b45@opensips.org>

Hi, everyone!

Now that the poll is closed, we have published its results on the 
Planning page[1].

The following steps are for us to proceed with the development of the 
features in the poll result[1], prioritizing them based on the 
community's contributions. Thank you all for you valuable input!

In order for you to keep track of the development process, we will 
update the poll real-time with the status of each feature. So make sure 
you keep an eye on the poll results page for more information about the 
progress!

[1] https://www.opensips.org/Development/Opensips-3-1-Planning#poll-results

Best regards,
Răzvan

On 1/6/20 12:41 PM, Bogdan-Andrei Iancu wrote:
> Hi all,
> 
> This is just a quick reminder - you have only one week left to provide 
> your feedback and contribution in regards to the feature set of OpenSIPS 
> 3.1 future release.
> 
> https://docs.google.com/forms/d/e/1FAIpQLSde95VK-9v29HrXVY6CyNrtjNZsEuBK1eS7MkBMEm-GF83dNQ/viewform 
> 
> 
> Do not forget, 13th of Jan (23:59 PM GMT) is the last day, and your 
> opinion matters to us !
> 
> 
> Best regards,
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From bogdan at opensips.org  Wed Jan 15 05:07:35 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 15 Jan 2020 12:07:35 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
Message-ID: <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>

Hi Dan,

I'm not so familiar with how the RLS works, so bear with me while trying 
to understand the scenario.

In your case, the initial subscribe (to RLS), from the end point, will 
be received by opensips via one of the TCP workers (the alg for 
distributing the new TCP conns to a TCP worker is rather simple, filling 
in the workers from first to last, so yes, the first conn will land all 
the time into the first worker).

Now, while handling this initial SUBSCRIBE (in RLS module), the module 
will fire the 30 new SUBSCRIBE requests (to the real entities) - these 
SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as 
presence server - it this correct? if so, is there any DNS lookup 
involved while these SUBSCRIBEs are looping (I would say no, as RLS uses 
the `presence_server` param (but it can be FQDN I guess :-/ ) ? Aslo, 
this looping is done via TCP (between opensips RLS and opensips Presence 
Server) ?

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

On 1/10/20 1:59 PM, Dan Pascu wrote:
> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>
> Here are the relevant bits from my configuration to layout the context:
>
> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>
> listen = udp:IP:5060
> listen = tcp:IP:5060
> listen = tls:IP:5061
>
> auto_scaling_profile = SIP_WORKERS
>       scale up to 25 on 80% for 4 cycles within 5
>       scale down to 5 on 20% for 10 cycles
>
> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>
>
> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>
> dns                   = yes
> rev_dns               = no
> dns_use_search_list   = no
> disable_dns_blacklist = yes
> dns_retr_time         = 5
> dns_retr_no           = 1
> dns_servers_no        = 1
>
> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>
> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>
> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>
> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>
> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>
> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>
> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>
> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>
> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>
> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>
> --
> Dan
>
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



From dan at ag-projects.com  Wed Jan 15 06:13:30 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Wed, 15 Jan 2020 13:13:30 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
Message-ID: <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>


On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:

> Hi Dan,
> 
> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
> 
> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
> 
> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?

No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.

> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?

Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.

> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?

Yes. TLS actually.

In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.

My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.

> 
> Best regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>  https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
>  https://www.opensips.org/events/Summit-2020Amsterdam/
> OpenSIPS Bootcamp, Miami, March 2020
>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
> 
> On 1/10/20 1:59 PM, Dan Pascu wrote:
>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>> 
>> Here are the relevant bits from my configuration to layout the context:
>> 
>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>> 
>> listen = udp:IP:5060
>> listen = tcp:IP:5060
>> listen = tls:IP:5061
>> 
>> auto_scaling_profile = SIP_WORKERS
>>      scale up to 25 on 80% for 4 cycles within 5
>>      scale down to 5 on 20% for 10 cycles
>> 
>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>> 
>> 
>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>> 
>> dns                   = yes
>> rev_dns               = no
>> dns_use_search_list   = no
>> disable_dns_blacklist = yes
>> dns_retr_time         = 5
>> dns_retr_no           = 1
>> dns_servers_no        = 1
>> 
>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>> 
>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>> 
>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>> 
>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>> 
>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>> 
>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>> 
>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>> 
>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>> 
>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>> 
>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>> 
>> --
>> Dan
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 


--
Dan






From bogdan at opensips.org  Wed Jan 15 08:52:42 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 15 Jan 2020 15:52:42 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
Message-ID: <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>

Hi Dan,

OK, so the Presence Server is on a different instance than the RLS 
server and the routing between is DNS based  - thanks for clarifying 
this for me. Again, as a fist step, I'm trying to understand the 
scenario you have (including how RLS works) so I can understand what is 
going on inside of OpenSIPS.

So we have the 30 SUBSCRIBE requests being sent out from one TCP worker 
process. And due the DNS failure, this takes 7.5 minutes. And you claim 
that during these 7.5 minutes OpenSIPS was not able to handle any other 
traffic ? If so, same questions:
     - the remaining traffic was coming via the same TCP conn as the 
original received SUBSCRIBE ?
     - if NO on above, the remaining traffic was also RLS related ?
     - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?

Just as a fact, there is no kind of dependency/sync between the TCP 
workers, in a way to block all the other procs while one of them is busy.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

On 1/15/20 1:13 PM, Dan Pascu wrote:
> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>
>> Hi Dan,
>>
>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>
>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>
>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>
>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>
>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
> Yes. TLS actually.
>
> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>
> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>
>> Best regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit, Amsterdam, May 2020
>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>> OpenSIPS Bootcamp, Miami, March 2020
>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>
>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>
>>> Here are the relevant bits from my configuration to layout the context:
>>>
>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>
>>> listen = udp:IP:5060
>>> listen = tcp:IP:5060
>>> listen = tls:IP:5061
>>>
>>> auto_scaling_profile = SIP_WORKERS
>>>       scale up to 25 on 80% for 4 cycles within 5
>>>       scale down to 5 on 20% for 10 cycles
>>>
>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>
>>>
>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>
>>> dns                   = yes
>>> rev_dns               = no
>>> dns_use_search_list   = no
>>> disable_dns_blacklist = yes
>>> dns_retr_time         = 5
>>> dns_retr_no           = 1
>>> dns_servers_no        = 1
>>>
>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>
>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>
>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>
>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>
>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>
>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>
>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>
>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>
>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>
>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>
>>> --
>>> Dan
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
> --
> Dan
>
>
>
>



From noreply at github.com  Wed Jan 15 12:03:24 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 15 Jan 2020 09:03:24 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 50992b: cachedb_mongodb SQL
 adapter: Dup all string columns
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/7de09f-50992b@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 50992ba690d2eca0f0751676f510097e68175034
      https://github.com/OpenSIPS/opensips/commit/50992ba690d2eca0f0751676f510097e68175034
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M ut.h

  Log Message:
  -----------
  cachedb_mongodb SQL adapter: Dup all string columns

The strings provided by bson_iter_utf8() and bson_iter_binary() are
ephemeral.  We must duplicate them as soon as possible, to prevent
invalid memory pointers within the result set as multiple rows get
processed.

Fixes #1903




From noreply at github.com  Wed Jan 15 12:05:30 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 15 Jan 2020 09:05:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4207ab: cachedb_mongodb SQL
 adapter: Dup all string columns
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/38db49-4207ab@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4207abc5841b5c9fc50f233eb5a09d5007dc4031
      https://github.com/OpenSIPS/opensips/commit/4207abc5841b5c9fc50f233eb5a09d5007dc4031
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb SQL adapter: Dup all string columns

The strings provided by bson_iter_utf8() and bson_iter_binary() are
ephemeral.  We must duplicate them as soon as possible, to prevent
invalid memory pointers within the result set as multiple rows get
processed.

Fixes #1903

(cherry picked from commit 50992ba690d2eca0f0751676f510097e68175034)




From noreply at github.com  Wed Jan 15 12:06:27 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 15 Jan 2020 09:06:27 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d2461: cachedb_mongodb SQL
 adapter: Dup all string columns
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c72855-3d2461@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3d2461220d20c41ef88155cc431a0e0645941e48
      https://github.com/OpenSIPS/opensips/commit/3d2461220d20c41ef88155cc431a0e0645941e48
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb SQL adapter: Dup all string columns

The strings provided by bson_iter_utf8() and bson_iter_binary() are
ephemeral.  We must duplicate them as soon as possible, to prevent
invalid memory pointers within the result set as multiple rows get
processed.

Fixes #1903

(cherry picked from commit 50992ba690d2eca0f0751676f510097e68175034)
(cherry picked from commit 4207abc5841b5c9fc50f233eb5a09d5007dc4031)




From noreply at github.com  Thu Jan 16 03:17:35 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 00:17:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b73cf8: tls_mgm: use the new
 threadid interface for ssl 1.x.x
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/4207ab-bfec12@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b73cf852db95a90fba37d609b33d604aefd6a7ae
      https://github.com/OpenSIPS/opensips/commit/b73cf852db95a90fba37d609b33d604aefd6a7ae
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: use the new threadid interface for ssl 1.x.x


  Commit: 53d35eb74e43744a897c82fcef1ab0c6270de511
      https://github.com/OpenSIPS/opensips/commit/53d35eb74e43744a897c82fcef1ab0c6270de511
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: create tls domain per process


  Commit: 435062c3bfee4e55e8252a9428cef1c84e87f37f
      https://github.com/OpenSIPS/opensips/commit/435062c3bfee4e55e8252a9428cef1c84e87f37f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  net: initialize connection extra data in workers


  Commit: bfec122182757d606a8eb986c98c709668457050
      https://github.com/OpenSIPS/opensips/commit/bfec122182757d606a8eb986c98c709668457050
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: protect openssl rand functions with lock


Compare: https://github.com/OpenSIPS/opensips/compare/4207abc5841b...bfec12218275


From noreply at github.com  Thu Jan 16 04:24:34 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 01:24:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7de3b8: tls_mgm: use the new
 threadid interface for ssl 1.x.x
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/50992b-9e3200@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7de3b8a44793f0cde2cde7a88039950fc205db33
      https://github.com/OpenSIPS/opensips/commit/7de3b8a44793f0cde2cde7a88039950fc205db33
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: use the new threadid interface for ssl 1.x.x


  Commit: 0d43214d081f020ed6125605b4ed15639330875e
      https://github.com/OpenSIPS/opensips/commit/0d43214d081f020ed6125605b4ed15639330875e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/sngtc/sngtc.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  pt: add process count function


  Commit: c283e2aae25651a9a1f56aa699280296a0f820d7
      https://github.com/OpenSIPS/opensips/commit/c283e2aae25651a9a1f56aa699280296a0f820d7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: create tls domain per process


  Commit: c8e6ff620406854daaa08b7b2f4b9a79c024655d
      https://github.com/OpenSIPS/opensips/commit/c8e6ff620406854daaa08b7b2f4b9a79c024655d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  net: initialize connection extra data in workers


  Commit: 9e32008eab71c030e3e472816c332a1367b3caa7
      https://github.com/OpenSIPS/opensips/commit/9e32008eab71c030e3e472816c332a1367b3caa7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: protect openssl rand functions with lock


Compare: https://github.com/OpenSIPS/opensips/compare/50992ba690d2...9e32008eab71


From noreply at github.com  Thu Jan 16 08:19:36 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 05:19:36 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c37bad: exec: fix assinging
 int val to environment values
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3d2461-c37bad@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c37badde03bd0467c0194d16626d7b98f1fb6a06
      https://github.com/OpenSIPS/opensips/commit/c37badde03bd0467c0194d16626d7b98f1fb6a06
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: fix assinging int val to  environment values




From noreply at github.com  Thu Jan 16 08:20:01 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 05:20:01 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ec2fe: exec: fix assinging
 int val to environment values
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/bfec12-5ec2fe@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ec2fec116c9991e55bb63fd54e42ca6bb5b2f74
      https://github.com/OpenSIPS/opensips/commit/5ec2fec116c9991e55bb63fd54e42ca6bb5b2f74
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: fix assinging int val to  environment values

(cherry picked from commit c37badde03bd0467c0194d16626d7b98f1fb6a06)




From noreply at github.com  Thu Jan 16 08:25:41 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 05:25:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a83750: exec: fix assinging
 int val to environment values
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/9e3200-a83750@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a83750d3c2cb09e2c91493119c65997256cdfdad
      https://github.com/OpenSIPS/opensips/commit/a83750d3c2cb09e2c91493119c65997256cdfdad
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: fix assinging int val to  environment values

(cherry picked from commit c37badde03bd0467c0194d16626d7b98f1fb6a06)




From dan at ag-projects.com  Thu Jan 16 10:23:40 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Thu, 16 Jan 2020 17:23:40 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
Message-ID: <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>


On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:

> Hi Dan,
> 
> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.

No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.

> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
> 
> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>     - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?

Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).

>     - if NO on above, the remaining traffic was also RLS related ?

No. It was INVITE/REGISTER

>     - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?

TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.

> 
> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
> 
> Regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>  https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
>  https://www.opensips.org/events/Summit-2020Amsterdam/
> OpenSIPS Bootcamp, Miami, March 2020
>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
> 
> On 1/15/20 1:13 PM, Dan Pascu wrote:
>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>> 
>>> Hi Dan,
>>> 
>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>> 
>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>> 
>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>> 
>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>> 
>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>> Yes. TLS actually.
>> 
>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>> 
>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>> 
>>> Best regards,
>>> 
>>> Bogdan-Andrei Iancu
>>> 
>>> OpenSIPS Founder and Developer
>>>  https://www.opensips-solutions.com
>>> OpenSIPS Summit, Amsterdam, May 2020
>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>> OpenSIPS Bootcamp, Miami, March 2020
>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>> 
>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>> 
>>>> Here are the relevant bits from my configuration to layout the context:
>>>> 
>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>> 
>>>> listen = udp:IP:5060
>>>> listen = tcp:IP:5060
>>>> listen = tls:IP:5061
>>>> 
>>>> auto_scaling_profile = SIP_WORKERS
>>>>      scale up to 25 on 80% for 4 cycles within 5
>>>>      scale down to 5 on 20% for 10 cycles
>>>> 
>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>> 
>>>> 
>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>> 
>>>> dns                   = yes
>>>> rev_dns               = no
>>>> dns_use_search_list   = no
>>>> disable_dns_blacklist = yes
>>>> dns_retr_time         = 5
>>>> dns_retr_no           = 1
>>>> dns_servers_no        = 1
>>>> 
>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>> 
>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>> 
>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>> 
>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>> 
>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>> 
>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>> 
>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>> 
>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>> 
>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>> 
>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>> 
>>>> --
>>>> Dan
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>> 
>> --
>> Dan
>> 
>> 
>> 
>> 
> 


--
Dan






From noreply at github.com  Thu Jan 16 10:24:04 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 07:24:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7261f1: tls_mgm: remove SSLv2
 and SSLv3 from documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c37bad-7261f1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7261f1271af843577969910123025fc18449532d
      https://github.com/OpenSIPS/opensips/commit/7261f1271af843577969910123025fc18449532d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: remove SSLv2 and SSLv3 from documentation




From noreply at github.com  Thu Jan 16 10:24:23 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 07:24:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 615500: tls_mgm: remove SSLv2
 and SSLv3 from documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/5ec2fe-615500@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 615500f58c276d082a5fc918e8d199993b521dc0
      https://github.com/OpenSIPS/opensips/commit/615500f58c276d082a5fc918e8d199993b521dc0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: remove SSLv2 and SSLv3 from documentation

(cherry picked from commit 7261f1271af843577969910123025fc18449532d)




From noreply at github.com  Thu Jan 16 10:24:32 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 07:24:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c681a: tls_mgm: remove SSLv2
 and SSLv3 from documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/a83750-2c681a@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2c681aa47ce75e122280ee923277b0a54fc89628
      https://github.com/OpenSIPS/opensips/commit/2c681aa47ce75e122280ee923277b0a54fc89628
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: remove SSLv2 and SSLv3 from documentation

(cherry picked from commit 7261f1271af843577969910123025fc18449532d)




From noreply at github.com  Thu Jan 16 10:54:19 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 07:54:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 281b22: tls_mgm: make TLSv1.2
	default method
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7261f1-281b22@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 281b22dbfd0384f6eaa02793640d30dcf6d36eda
      https://github.com/OpenSIPS/opensips/commit/281b22dbfd0384f6eaa02793640d30dcf6d36eda
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c

  Log Message:
  -----------
  tls_mgm: make TLSv1.2 default method




From noreply at github.com  Thu Jan 16 11:00:48 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Jan 2020 08:00:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2b5f7: tls_mgm: add support
	for TLSv1.3
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/281b22-b2b5f7@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b2b5f7b4bcb863ef199816bfd4397d03e50f6992
      https://github.com/OpenSIPS/opensips/commit/b2b5f7b4bcb863ef199816bfd4397d03e50f6992
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c

  Log Message:
  -----------
  tls_mgm: add support for TLSv1.3




From noreply at github.com  Fri Jan 17 03:55:13 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 17 Jan 2020 00:55:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b69405: Revert "tls_mgm: make
 TLSv1.2 default method"
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b2b5f7-b69405@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b694057d7d2f7372e9c01c02c8da28aaa1c57832
      https://github.com/OpenSIPS/opensips/commit/b694057d7d2f7372e9c01c02c8da28aaa1c57832
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c

  Log Message:
  -----------
  Revert "tls_mgm: make TLSv1.2 default method"

This reverts commit 281b22dbfd0384f6eaa02793640d30dcf6d36eda.




From razvan at opensips.org  Fri Jan 17 05:04:38 2020
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Fri, 17 Jan 2020 12:04:38 +0200
Subject: [OpenSIPS-Devel] The OpenSIPS and OpenSSL journey
Message-ID: <6757cc5c-db19-1843-5410-65c2cf780a32@opensips.org>

Hi all!

Have you experienced issues with OpenSIPS and latest versions of OpenSSL 
lately? This article[1] describes the issues that were happening and how 
we sorted them out.

Check out the journey of OpenSIPS and OpenSSL in the latest blog post on
[1] https://blog.opensips.org/2020/01/16/the-opensips-and-openssl-journey/

Happy reading!
-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From bogdan at opensips.org  Fri Jan 17 05:19:49 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 17 Jan 2020 12:19:49 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
 <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
Message-ID: <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>

Hi Dan,

So, 29 of the SUBSCRIBE requests are forwarded via TCP to another 
servers, let's call it S1.

Now, looking again at the blocking stage:  if the UAC tries to send new 
traffic via the same TCP conn, it is clear it will block, as the conn, 
on the OpenSIPS side, is blocked by the DNS queries. Still, opening a 
new TCP conn should do it - the conn will be assigned to the next TCP 
worker process. I think it is very unlikely (still not impossible) to 
have this new conn assigned also to the same proc as the first one (the 
blocked one). Have you tried checking the internal load of the TCP 
processes ("get_statistics load:") ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

On 1/16/20 5:23 PM, Dan Pascu wrote:
> On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:
>
>> Hi Dan,
>>
>> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.
> No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.
>
>> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
>>
>> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>>      - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?
> Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).
>
>>      - if NO on above, the remaining traffic was also RLS related ?
> No. It was INVITE/REGISTER
>
>>      - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?
> TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.
>
>> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit, Amsterdam, May 2020
>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>> OpenSIPS Bootcamp, Miami, March 2020
>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>
>> On 1/15/20 1:13 PM, Dan Pascu wrote:
>>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>>>
>>>> Hi Dan,
>>>>
>>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>>>
>>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>>>
>>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>>>
>>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>>>
>>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>>> Yes. TLS actually.
>>>
>>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>>>
>>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>>>
>>>> Best regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>> OpenSIPS Founder and Developer
>>>>   https://www.opensips-solutions.com
>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>
>>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>>>
>>>>> Here are the relevant bits from my configuration to layout the context:
>>>>>
>>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>>>
>>>>> listen = udp:IP:5060
>>>>> listen = tcp:IP:5060
>>>>> listen = tls:IP:5061
>>>>>
>>>>> auto_scaling_profile = SIP_WORKERS
>>>>>       scale up to 25 on 80% for 4 cycles within 5
>>>>>       scale down to 5 on 20% for 10 cycles
>>>>>
>>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>
>>>>>
>>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>>>
>>>>> dns                   = yes
>>>>> rev_dns               = no
>>>>> dns_use_search_list   = no
>>>>> disable_dns_blacklist = yes
>>>>> dns_retr_time         = 5
>>>>> dns_retr_no           = 1
>>>>> dns_servers_no        = 1
>>>>>
>>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>>>
>>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>>>
>>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>>>
>>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>>>
>>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>>>
>>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>>>
>>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>>>
>>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>>>
>>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>>>
>>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>>>
>>>>> --
>>>>> Dan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Devel mailing list
>>>>> Devel at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>> --
>>> Dan
>>>
>>>
>>>
>>>
>
> --
> Dan
>
>
>
>



From noreply at github.com  Fri Jan 17 05:37:45 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 17 Jan 2020 02:37:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0838b2: proto_smpp: fix utf8
 for [0x7f, 0xff] chars
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b69405-0838b2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0838b2de27c50ee7eb7824b239119526c0ecbffe
      https://github.com/OpenSIPS/opensips/commit/0838b2de27c50ee7eb7824b239119526c0ecbffe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix utf8 for [0x7f,0xff] chars

Thanks go to @johandeclercqdemocon for reporting this in ticket #1935




From noreply at github.com  Fri Jan 17 05:38:00 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 17 Jan 2020 02:38:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 88624b: proto_smpp: fix utf8
 for [0x7f, 0xff] chars
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/615500-88624b@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 88624ba2afe8c7b3320c9144d28f74e51cb78533
      https://github.com/OpenSIPS/opensips/commit/88624ba2afe8c7b3320c9144d28f74e51cb78533
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix utf8 for [0x7f,0xff] chars

Thanks go to @johandeclercqdemocon for reporting this in ticket #1935

(cherry picked from commit 0838b2de27c50ee7eb7824b239119526c0ecbffe)




From noreply at github.com  Fri Jan 17 05:42:52 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 17 Jan 2020 02:42:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8e7cc: stats: rename
 STAT_NO_ALLOC with more intuitive ST...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0838b2-f8e7cc@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f8e7ccc696dbcaa4e67f8e95e19ed346b466a571
      https://github.com/OpenSIPS/opensips/commit/f8e7ccc696dbcaa4e67f8e95e19ed346b466a571
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/shm_mem.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  stats: rename STAT_NO_ALLOC with more intuitive STAT_NOT_ALLOCATED




From noreply at github.com  Fri Jan 17 08:06:18 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 17 Jan 2020 05:06:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 58cbc7: Add timeout support
 for reading fd'd in reactor.
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f8e7cc-58cbc7@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 58cbc725d3bff05d990df1e7491d68b4ee71607f
      https://github.com/OpenSIPS/opensips/commit/58cbc725d3bff05d990df1e7491d68b4ee71607f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h
    M reactor_defs.h

  Log Message:
  -----------
  Add timeout support for reading fd'd in reactor.

Exposes news reactor_add_reader_with_timeout() function.
Provides the needs for #1838




From dan at ag-projects.com  Fri Jan 17 08:27:54 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Fri, 17 Jan 2020 15:27:54 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
 <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
 <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>
Message-ID: <2EB1967B-4CE4-4015-8135-F2CFF109D989@ag-projects.com>


On 17 Jan 2020, at 12:19, Bogdan-Andrei Iancu wrote:

> Hi Dan,
> 
> So, 29 of the SUBSCRIBE requests are forwarded via TCP to another servers, let's call it S1.
> 
> Now, looking again at the blocking stage:  if the UAC tries to send new traffic via the same TCP conn, it is clear it will block, as the conn, on the OpenSIPS side, is blocked by the DNS queries.

Figured that much.

> Still, opening a new TCP conn should do it - the conn will be assigned to the next TCP worker process.

That's what I thought, but not what I observed. During the busy window nothing worked except the RLS trying to send using 1 worker, while 4 other workers were idle and no other incoming traffic was processed.

> I think it is very unlikely (still not impossible) to have this new conn assigned also to the same proc as the first one (the blocked one). Have you tried checking the internal load of the TCP processes ("get_statistics load:") ?

It's in my original post. The load was 100%/100%/77% during the busy window.

My question is why is it still possible (even if unlikely) to allocate some job to this TCP worker that is already busy. When a request comes in and a worker is selected to process it, isn't that worker marked as busy, so it's not used by anything else until it finishes processing the current request, when it should be released back to the pool and only then be able to be used for something else?

> 
> Regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>  https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
>  https://www.opensips.org/events/Summit-2020Amsterdam/
> OpenSIPS Bootcamp, Miami, March 2020
>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
> 
> On 1/16/20 5:23 PM, Dan Pascu wrote:
>> On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:
>> 
>>> Hi Dan,
>>> 
>>> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.
>> No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.
>> 
>>> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
>>> 
>>> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>>>     - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?
>> Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).
>> 
>>>     - if NO on above, the remaining traffic was also RLS related ?
>> No. It was INVITE/REGISTER
>> 
>>>     - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?
>> TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.
>> 
>>> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
>>> 
>>> Regards,
>>> 
>>> Bogdan-Andrei Iancu
>>> 
>>> OpenSIPS Founder and Developer
>>>  https://www.opensips-solutions.com
>>> OpenSIPS Summit, Amsterdam, May 2020
>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>> OpenSIPS Bootcamp, Miami, March 2020
>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>> 
>>> On 1/15/20 1:13 PM, Dan Pascu wrote:
>>>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>>>> 
>>>>> Hi Dan,
>>>>> 
>>>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>>>> 
>>>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>>>> 
>>>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>>>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>>>> 
>>>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>>>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>>>> 
>>>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>>>> Yes. TLS actually.
>>>> 
>>>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>>>> 
>>>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>>>> 
>>>>> Best regards,
>>>>> 
>>>>> Bogdan-Andrei Iancu
>>>>> 
>>>>> OpenSIPS Founder and Developer
>>>>>  https://www.opensips-solutions.com
>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>> 
>>>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>>>> 
>>>>>> Here are the relevant bits from my configuration to layout the context:
>>>>>> 
>>>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>>>> 
>>>>>> listen = udp:IP:5060
>>>>>> listen = tcp:IP:5060
>>>>>> listen = tls:IP:5061
>>>>>> 
>>>>>> auto_scaling_profile = SIP_WORKERS
>>>>>>      scale up to 25 on 80% for 4 cycles within 5
>>>>>>      scale down to 5 on 20% for 10 cycles
>>>>>> 
>>>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>> 
>>>>>> 
>>>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>>>> 
>>>>>> dns                   = yes
>>>>>> rev_dns               = no
>>>>>> dns_use_search_list   = no
>>>>>> disable_dns_blacklist = yes
>>>>>> dns_retr_time         = 5
>>>>>> dns_retr_no           = 1
>>>>>> dns_servers_no        = 1
>>>>>> 
>>>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>>>> 
>>>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>>>> 
>>>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>>>> 
>>>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>>>> 
>>>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>>>> 
>>>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>>>> 
>>>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>>>> 
>>>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>>>> 
>>>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>>>> 
>>>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>>>> 
>>>>>> --
>>>>>> Dan
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Devel mailing list
>>>>>> Devel at lists.opensips.org
>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>> --
>>>> Dan
>>>> 
>>>> 
>>>> 
>>>> 
>> 
>> --
>> Dan
>> 
>> 
>> 
>> 
> 


--
Dan






From noreply at github.com  Fri Jan 17 10:11:10 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:11:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b0aa68: ratelimit MI rl_list:
 Improve handling for non-exi...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/58cbc7-b0aa68@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0aa68e8468a35d5cfbf9820c7e7cf566ac19c49
      https://github.com/OpenSIPS/opensips/commit/b0aa68e8468a35d5cfbf9820c7e7cf566ac19c49
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit MI rl_list: Improve handling for non-existing pipes

Fixes #1863




From noreply at github.com  Fri Jan 17 10:11:54 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:11:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4e3d09: ratelimit MI rl_list:
 Improve handling for non-exi...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/88624b-4e3d09@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4e3d09bd089d87da2b1f6123a4ca1266d28df5fc
      https://github.com/OpenSIPS/opensips/commit/4e3d09bd089d87da2b1f6123a4ca1266d28df5fc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit MI rl_list: Improve handling for non-existing pipes

Fixes #1863

(cherry picked from commit b0aa68e8468a35d5cfbf9820c7e7cf566ac19c49)




From noreply at github.com  Fri Jan 17 10:31:26 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:31:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7abd82: Fix improperly
	initialized str modparams
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b0aa68-7abd82@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7abd824a33b198d9adc844e62e475918e366db8c
      https://github.com/OpenSIPS/opensips/commit/7abd824a33b198d9adc844e62e475918e366db8c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/cpl_c/cpl.c
    M modules/emergency/emergency_methods.c
    M modules/presence/presence.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/registrar/reg_mod.c
    M modules/uac_registrant/registrant.c

  Log Message:
  -----------
  Fix improperly initialized str modparams

Fixes #1427




From noreply at github.com  Fri Jan 17 10:32:48 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:32:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 028183: Fix improperly
	initialized str modparams
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/4e3d09-028183@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 028183b8f275a0d60e820cc8c0fe967f7cda51b0
      https://github.com/OpenSIPS/opensips/commit/028183b8f275a0d60e820cc8c0fe967f7cda51b0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/cpl_c/cpl.c
    M modules/emergency/emergency_methods.c
    M modules/presence/presence.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/registrar/reg_mod.c
    M modules/uac_registrant/registrant.c

  Log Message:
  -----------
  Fix improperly initialized str modparams

Fixes #1427

(cherry picked from commit 7abd824a33b198d9adc844e62e475918e366db8c)




From noreply at github.com  Fri Jan 17 10:33:16 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:33:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f71e5b: Fix improperly
	initialized str modparams
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/2c681a-f71e5b@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f71e5bb219d16cdde14c5cbc526978fb3e11e47b
      https://github.com/OpenSIPS/opensips/commit/f71e5bb219d16cdde14c5cbc526978fb3e11e47b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/cpl_c/cpl.c
    M modules/emergency/emergency_methods.c
    M modules/presence/presence.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/registrar/reg_mod.c
    M modules/uac_registrant/registrant.c

  Log Message:
  -----------
  Fix improperly initialized str modparams

Fixes #1427

(cherry picked from commit 7abd824a33b198d9adc844e62e475918e366db8c)
(cherry picked from commit 028183b8f275a0d60e820cc8c0fe967f7cda51b0)




From noreply at github.com  Fri Jan 17 10:55:33 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:55:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d7db1: Fix compiler warning
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7abd82-8d7db1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8d7db1522ae1eb979fcbb88699be9cbcf37238ec
      https://github.com/OpenSIPS/opensips/commit/8d7db1522ae1eb979fcbb88699be9cbcf37238ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  Fix compiler warning

mem/rpm_mem.h: In function 'rpm_status':
mem/rpm_mem.h:308:6: warning: the address of 'qm_status' will always
	evaluate as 'true' [-Waddress]
  if (!RPM_STATUS || !rpm_block)

Credits to Bogdan for the catch!




From noreply at github.com  Fri Jan 17 10:56:07 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:56:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] be564b: Fix compiler warning
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/028183-be564b@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: be564b5b66e487231a2f8a4f8b4a6d2a762b9a10
      https://github.com/OpenSIPS/opensips/commit/be564b5b66e487231a2f8a4f8b4a6d2a762b9a10
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  Fix compiler warning

mem/rpm_mem.h: In function 'rpm_status':
mem/rpm_mem.h:308:6: warning: the address of 'qm_status' will always
	evaluate as 'true' [-Waddress]
  if (!RPM_STATUS || !rpm_block)

Credits to Bogdan for the catch!

(cherry picked from commit 8d7db1522ae1eb979fcbb88699be9cbcf37238ec)




From noreply at github.com  Fri Jan 17 10:58:29 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:58:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 96f2ad: RPM mem: Fix bad ifdef
	blocks
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/8d7db1-96f2ad@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 96f2ad150ec2f0e3e44824e71868988326ac40ed
      https://github.com/OpenSIPS/opensips/commit/96f2ad150ec2f0e3e44824e71868988326ac40ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.c

  Log Message:
  -----------
  RPM mem: Fix bad ifdef blocks

Fixes compilation with:
    #-DF_MALLOC
    -DQ_MALLOC
    -DHP_MALLOC




From noreply at github.com  Fri Jan 17 10:58:44 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 07:58:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eab86f: RPM mem: Fix bad ifdef
	blocks
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/be564b-eab86f@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: eab86f1d6a9fbb8122cbd7d08120a450e46645ec
      https://github.com/OpenSIPS/opensips/commit/eab86f1d6a9fbb8122cbd7d08120a450e46645ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.c

  Log Message:
  -----------
  RPM mem: Fix bad ifdef blocks

Fixes compilation with:
    #-DF_MALLOC
    -DQ_MALLOC
    -DHP_MALLOC

(cherry picked from commit 96f2ad150ec2f0e3e44824e71868988326ac40ed)




From noreply at github.com  Fri Jan 17 11:37:52 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 17 Jan 2020 08:37:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ee19a4: Added timeout support
 for async() statement
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/96f2ad-ee19a4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
      https://github.com/OpenSIPS/opensips/commit/ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M action.c
    M async.h
    M cfg.y
    M modules/event_routing/ebr_data.c
    M modules/tm/async.c
    M modules/tm/async.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Added timeout support for async() statement

While this is a generic support for timeout (passing values and triggering the right callbacks), each async function must handle the timeout event according to its logic.
If the async cfg function does not implement the timeout support, the timeout value from the async() statement will be discarded -> this change is backward compatible with the existing implementation of the async functions.




From noreply at github.com  Fri Jan 17 12:14:45 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 09:14:45 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3117b8: menuconfig: Fix syntax
	issues
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/eab86f-3117b8@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3117b855b72a048f8524bbbc4c50ddfe5c673068
      https://github.com/OpenSIPS/opensips/commit/3117b855b72a048f8524bbbc4c50ddfe5c673068
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  menuconfig: Fix syntax issues

Fixes #1940




From noreply at github.com  Fri Jan 17 12:24:25 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 17 Jan 2020 09:24:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6a85c: menuconfig templates:
 Migrate to 3.1 syntax
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ee19a4-a6a85c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a6a85cde868111c3e9940b9241267472ab0088f9
      https://github.com/OpenSIPS/opensips/commit/a6a85cde868111c3e9940b9241267472ab0088f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  menuconfig templates: Migrate to 3.1 syntax

Fixes #1940

(cherry picked from commit 3117b855b72a048f8524bbbc4c50ddfe5c673068)




From noreply at github.com  Fri Jan 17 13:11:35 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Fri, 17 Jan 2020 10:11:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 373f9b: load_balancer: add
 cluster syncing at startup and ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a6a85c-5a64b3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 373f9b3950946d9ca3f2edd2f84e627f83d158cc
      https://github.com/OpenSIPS/opensips/commit/373f9b3950946d9ca3f2edd2f84e627f83d158cc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/load_balancer/lb_clustering.c
    M modules/load_balancer/lb_clustering.h
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  load_balancer: add cluster syncing at startup and after DB reload


  Commit: d193c981fd1722e9cd27bcf5c43baf917dc3917d
      https://github.com/OpenSIPS/opensips/commit/d193c981fd1722e9cd27bcf5c43baf917dc3917d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/drouting/dr_clustering.c
    M modules/drouting/dr_clustering.h
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: add cluster syncing at startup and after DB reload


  Commit: 5a64b31eaba81f5e7de4dd3c4de780be07d70cdf
      https://github.com/OpenSIPS/opensips/commit/5a64b31eaba81f5e7de4dd3c4de780be07d70cdf
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/ds_clustering.c
    M modules/dispatcher/ds_clustering.h

  Log Message:
  -----------
  dispatcher: add cluster syncing at startup and after DB reload


Compare: https://github.com/OpenSIPS/opensips/compare/a6a85cde8681...5a64b31eaba8


From noreply at github.com  Sun Jan 19 15:30:54 2020
From: noreply at github.com (opensips-github)
Date: Sun, 19 Jan 2020 12:30:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 95ae82: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/f71e5b-95ae82@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 95ae82fdfd9ec72e19f38577c89cf1f366d8e64b
      https://github.com/OpenSIPS/opensips/commit/95ae82fdfd9ec72e19f38577c89cf1f366d8e64b
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 19 15:44:11 2020
From: noreply at github.com (opensips-github)
Date: Sun, 19 Jan 2020 12:44:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7560ac: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/3117b8-7560ac@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7560ac179b7d1c8291fad48bc5b83514f492f036
      https://github.com/OpenSIPS/opensips/commit/7560ac179b7d1c8291fad48bc5b83514f492f036
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 19 15:58:05 2020
From: noreply at github.com (opensips-github)
Date: Sun, 19 Jan 2020 12:58:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 41e03b: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/5a64b3-41e03b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 41e03b7f2921d4976172205e3024c3be4b5506be
      https://github.com/OpenSIPS/opensips/commit/41e03b7f2921d4976172205e3024c3be4b5506be
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From bogdan at opensips.org  Mon Jan 20 03:12:00 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 20 Jan 2020 10:12:00 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <2EB1967B-4CE4-4015-8135-F2CFF109D989@ag-projects.com>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
 <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
 <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>
 <2EB1967B-4CE4-4015-8135-F2CFF109D989@ag-projects.com>
Message-ID: <a97c2f5e-af95-03da-ed79-4f836b2fff87@opensips.org>

Hi Dan,

If you are able to reproduce the issue, while having OpenSIPS "blocked" 
do "trap" and "mi get_statistics load:" in cli. Let's see exactly what 
is going on. Eventually run these commands at 1 min intervals 
(considering that you mentioned the 7.5 mins blocking time).

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

On 1/17/20 3:27 PM, Dan Pascu wrote:
> On 17 Jan 2020, at 12:19, Bogdan-Andrei Iancu wrote:
>
>> Hi Dan,
>>
>> So, 29 of the SUBSCRIBE requests are forwarded via TCP to another servers, let's call it S1.
>>
>> Now, looking again at the blocking stage:  if the UAC tries to send new traffic via the same TCP conn, it is clear it will block, as the conn, on the OpenSIPS side, is blocked by the DNS queries.
> Figured that much.
>
>> Still, opening a new TCP conn should do it - the conn will be assigned to the next TCP worker process.
> That's what I thought, but not what I observed. During the busy window nothing worked except the RLS trying to send using 1 worker, while 4 other workers were idle and no other incoming traffic was processed.
>
>> I think it is very unlikely (still not impossible) to have this new conn assigned also to the same proc as the first one (the blocked one). Have you tried checking the internal load of the TCP processes ("get_statistics load:") ?
> It's in my original post. The load was 100%/100%/77% during the busy window.
>
> My question is why is it still possible (even if unlikely) to allocate some job to this TCP worker that is already busy. When a request comes in and a worker is selected to process it, isn't that worker marked as busy, so it's not used by anything else until it finishes processing the current request, when it should be released back to the pool and only then be able to be used for something else?
>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit, Amsterdam, May 2020
>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>> OpenSIPS Bootcamp, Miami, March 2020
>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>
>> On 1/16/20 5:23 PM, Dan Pascu wrote:
>>> On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:
>>>
>>>> Hi Dan,
>>>>
>>>> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.
>>> No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.
>>>
>>>> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
>>>>
>>>> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>>>>      - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?
>>> Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).
>>>
>>>>      - if NO on above, the remaining traffic was also RLS related ?
>>> No. It was INVITE/REGISTER
>>>
>>>>      - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?
>>> TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.
>>>
>>>> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
>>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>> OpenSIPS Founder and Developer
>>>>   https://www.opensips-solutions.com
>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>
>>>> On 1/15/20 1:13 PM, Dan Pascu wrote:
>>>>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>>>>>
>>>>>> Hi Dan,
>>>>>>
>>>>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>>>>>
>>>>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>>>>>
>>>>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>>>>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>>>>>
>>>>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>>>>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>>>>>
>>>>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>>>>> Yes. TLS actually.
>>>>>
>>>>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>>>>>
>>>>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Bogdan-Andrei Iancu
>>>>>>
>>>>>> OpenSIPS Founder and Developer
>>>>>>   https://www.opensips-solutions.com
>>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>>>
>>>>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>>>>>
>>>>>>> Here are the relevant bits from my configuration to layout the context:
>>>>>>>
>>>>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>>>>>
>>>>>>> listen = udp:IP:5060
>>>>>>> listen = tcp:IP:5060
>>>>>>> listen = tls:IP:5061
>>>>>>>
>>>>>>> auto_scaling_profile = SIP_WORKERS
>>>>>>>       scale up to 25 on 80% for 4 cycles within 5
>>>>>>>       scale down to 5 on 20% for 10 cycles
>>>>>>>
>>>>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>>
>>>>>>>
>>>>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>>>>>
>>>>>>> dns                   = yes
>>>>>>> rev_dns               = no
>>>>>>> dns_use_search_list   = no
>>>>>>> disable_dns_blacklist = yes
>>>>>>> dns_retr_time         = 5
>>>>>>> dns_retr_no           = 1
>>>>>>> dns_servers_no        = 1
>>>>>>>
>>>>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>>>>>
>>>>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>>>>>
>>>>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>>>>>
>>>>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>>>>>
>>>>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>>>>>
>>>>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>>>>>
>>>>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>>>>>
>>>>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>>>>>
>>>>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>>>>>
>>>>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>>>>>
>>>>>>> --
>>>>>>> Dan
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Devel mailing list
>>>>>>> Devel at lists.opensips.org
>>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>>> --
>>>>> Dan
>>>>>
>>>>>
>>>>>
>>>>>
>>> --
>>> Dan
>>>
>>>
>>>
>>>
>
> --
> Dan
>
>
>
>



From noreply at github.com  Mon Jan 20 09:29:12 2020
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Jan 2020 06:29:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c4fa5: {ip.matches}
 transformation: Fix pkg memory leak
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/7560ac-1c4fa5@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c4fa53f2fab6877c779799b01d21fce257cb7ad
      https://github.com/OpenSIPS/opensips/commit/1c4fa53f2fab6877c779799b01d21fce257cb7ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  {ip.matches} transformation: Fix pkg memory leak

Many thanks to Callum Guy for providing helpful data on this bug!




From noreply at github.com  Mon Jan 20 09:29:35 2020
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Jan 2020 06:29:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b9239: {ip.matches}
 transformation: Fix pkg memory leak
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/41e03b-7b9239@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7b9239d63f412a1194e10c97611489d5facfdf74
      https://github.com/OpenSIPS/opensips/commit/7b9239d63f412a1194e10c97611489d5facfdf74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  {ip.matches} transformation: Fix pkg memory leak

Many thanks to Callum Guy for providing helpful data on this bug!

(cherry picked from commit 1c4fa53f2fab6877c779799b01d21fce257cb7ad)




From dan at ag-projects.com  Mon Jan 20 09:50:16 2020
From: dan at ag-projects.com (Dan Pascu)
Date: Mon, 20 Jan 2020 16:50:16 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <a97c2f5e-af95-03da-ed79-4f836b2fff87@opensips.org>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
 <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
 <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>
 <2EB1967B-4CE4-4015-8135-F2CFF109D989@ag-projects.com>
 <a97c2f5e-af95-03da-ed79-4f836b2fff87@opensips.org>
Message-ID: <894E5200-49EF-479E-8F26-4A1F164702CB@ag-projects.com>


On 20 Jan 2020, at 10:12, Bogdan-Andrei Iancu wrote:

> Hi Dan,
> 
> If you are able to reproduce the issue, while having OpenSIPS "blocked" do "trap" and "mi get_statistics load:" in cli. Let's see exactly what is going on. Eventually run these commands at 1 min intervals (considering that you mentioned the 7.5 mins blocking time).

I observed this behavior when my main DNS server accidentally died. In order to reproduce it, I'd have to voluntarily kill it, which I don't want to do as this is the main DNS server for all the domains we use, not just some test server. The only other alternative would be o setup a whole parallel platform with separate domains and name servers and proxies just to test this which is something I do not have the time for, just to make this test.

I posted this hoping that someone could take a look at the TCP worker allocation and spot if there is something wrong with it.

> 
> Regards,
> 
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>  https://www.opensips-solutions.com
> OpenSIPS Summit, Amsterdam, May 2020
>  https://www.opensips.org/events/Summit-2020Amsterdam/
> OpenSIPS Bootcamp, Miami, March 2020
>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
> 
> On 1/17/20 3:27 PM, Dan Pascu wrote:
>> On 17 Jan 2020, at 12:19, Bogdan-Andrei Iancu wrote:
>> 
>>> Hi Dan,
>>> 
>>> So, 29 of the SUBSCRIBE requests are forwarded via TCP to another servers, let's call it S1.
>>> 
>>> Now, looking again at the blocking stage:  if the UAC tries to send new traffic via the same TCP conn, it is clear it will block, as the conn, on the OpenSIPS side, is blocked by the DNS queries.
>> Figured that much.
>> 
>>> Still, opening a new TCP conn should do it - the conn will be assigned to the next TCP worker process.
>> That's what I thought, but not what I observed. During the busy window nothing worked except the RLS trying to send using 1 worker, while 4 other workers were idle and no other incoming traffic was processed.
>> 
>>> I think it is very unlikely (still not impossible) to have this new conn assigned also to the same proc as the first one (the blocked one). Have you tried checking the internal load of the TCP processes ("get_statistics load:") ?
>> It's in my original post. The load was 100%/100%/77% during the busy window.
>> 
>> My question is why is it still possible (even if unlikely) to allocate some job to this TCP worker that is already busy. When a request comes in and a worker is selected to process it, isn't that worker marked as busy, so it's not used by anything else until it finishes processing the current request, when it should be released back to the pool and only then be able to be used for something else?
>> 
>>> Regards,
>>> 
>>> Bogdan-Andrei Iancu
>>> 
>>> OpenSIPS Founder and Developer
>>>  https://www.opensips-solutions.com
>>> OpenSIPS Summit, Amsterdam, May 2020
>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>> OpenSIPS Bootcamp, Miami, March 2020
>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>> 
>>> On 1/16/20 5:23 PM, Dan Pascu wrote:
>>>> On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:
>>>> 
>>>>> Hi Dan,
>>>>> 
>>>>> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.
>>>> No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.
>>>> 
>>>>> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
>>>>> 
>>>>> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>>>>>     - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?
>>>> Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).
>>>> 
>>>>>     - if NO on above, the remaining traffic was also RLS related ?
>>>> No. It was INVITE/REGISTER
>>>> 
>>>>>     - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?
>>>> TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.
>>>> 
>>>>> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Bogdan-Andrei Iancu
>>>>> 
>>>>> OpenSIPS Founder and Developer
>>>>>  https://www.opensips-solutions.com
>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>> 
>>>>> On 1/15/20 1:13 PM, Dan Pascu wrote:
>>>>>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>>>>>> 
>>>>>>> Hi Dan,
>>>>>>> 
>>>>>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>>>>>> 
>>>>>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>>>>>> 
>>>>>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>>>>>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>>>>>> 
>>>>>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>>>>>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>>>>>> 
>>>>>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>>>>>> Yes. TLS actually.
>>>>>> 
>>>>>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>>>>>> 
>>>>>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>>>>>> 
>>>>>>> Best regards,
>>>>>>> 
>>>>>>> Bogdan-Andrei Iancu
>>>>>>> 
>>>>>>> OpenSIPS Founder and Developer
>>>>>>>  https://www.opensips-solutions.com
>>>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>>>  https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>>>  https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>>>> 
>>>>>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>>>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>>>>>> 
>>>>>>>> Here are the relevant bits from my configuration to layout the context:
>>>>>>>> 
>>>>>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>>>>>> 
>>>>>>>> listen = udp:IP:5060
>>>>>>>> listen = tcp:IP:5060
>>>>>>>> listen = tls:IP:5061
>>>>>>>> 
>>>>>>>> auto_scaling_profile = SIP_WORKERS
>>>>>>>>      scale up to 25 on 80% for 4 cycles within 5
>>>>>>>>      scale down to 5 on 20% for 10 cycles
>>>>>>>> 
>>>>>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>>> 
>>>>>>>> 
>>>>>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>>>>>> 
>>>>>>>> dns                   = yes
>>>>>>>> rev_dns               = no
>>>>>>>> dns_use_search_list   = no
>>>>>>>> disable_dns_blacklist = yes
>>>>>>>> dns_retr_time         = 5
>>>>>>>> dns_retr_no           = 1
>>>>>>>> dns_servers_no        = 1
>>>>>>>> 
>>>>>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>>>>>> 
>>>>>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>>>>>> 
>>>>>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>>>>>> 
>>>>>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>>>>>> 
>>>>>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>>>>>> 
>>>>>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>>>>>> 
>>>>>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>>>>>> 
>>>>>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>>>>>> 
>>>>>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>>>>>> 
>>>>>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Dan
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Devel mailing list
>>>>>>>> Devel at lists.opensips.org
>>>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>>>> --
>>>>>> Dan
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>> --
>>>> Dan
>>>> 
>>>> 
>>>> 
>>>> 
>> 
>> --
>> Dan
>> 
>> 
>> 
>> 
> 


--
Dan






From bogdan at opensips.org  Mon Jan 20 10:47:53 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Mon, 20 Jan 2020 17:47:53 +0200
Subject: [OpenSIPS-Devel] Allocating TCP workers to process requests
In-Reply-To: <894E5200-49EF-479E-8F26-4A1F164702CB@ag-projects.com>
References: <C5EB0467-9737-4EAD-B07E-7CED68A9B458@ag-projects.com>
 <5ccddef1-ed62-435d-66df-a19365f5c9a1@opensips.org>
 <83078883-0AE4-4D5D-A94B-67BE73315B56@ag-projects.com>
 <d538dd14-6d31-dcbb-6857-ae061afb1a42@opensips.org>
 <B2B15EC8-5AA9-4CE7-9CB9-A2EFBC0ECA73@ag-projects.com>
 <c9cac5bd-f8a7-cffd-4147-607e39f23f9d@opensips.org>
 <2EB1967B-4CE4-4015-8135-F2CFF109D989@ag-projects.com>
 <a97c2f5e-af95-03da-ed79-4f836b2fff87@opensips.org>
 <894E5200-49EF-479E-8F26-4A1F164702CB@ag-projects.com>
Message-ID: <2956c2db-0708-5607-3f8f-94bb8be1c3ce@opensips.org>

Dan,

Based on what you have so far it is hard to spot the problem.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

On 1/20/20 4:50 PM, Dan Pascu wrote:
> On 20 Jan 2020, at 10:12, Bogdan-Andrei Iancu wrote:
>
>> Hi Dan,
>>
>> If you are able to reproduce the issue, while having OpenSIPS "blocked" do "trap" and "mi get_statistics load:" in cli. Let's see exactly what is going on. Eventually run these commands at 1 min intervals (considering that you mentioned the 7.5 mins blocking time).
> I observed this behavior when my main DNS server accidentally died. In order to reproduce it, I'd have to voluntarily kill it, which I don't want to do as this is the main DNS server for all the domains we use, not just some test server. The only other alternative would be o setup a whole parallel platform with separate domains and name servers and proxies just to test this which is something I do not have the time for, just to make this test.
>
> I posted this hoping that someone could take a look at the TCP worker allocation and spot if there is something wrong with it.
>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>> OpenSIPS Summit, Amsterdam, May 2020
>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>> OpenSIPS Bootcamp, Miami, March 2020
>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>
>> On 1/17/20 3:27 PM, Dan Pascu wrote:
>>> On 17 Jan 2020, at 12:19, Bogdan-Andrei Iancu wrote:
>>>
>>>> Hi Dan,
>>>>
>>>> So, 29 of the SUBSCRIBE requests are forwarded via TCP to another servers, let's call it S1.
>>>>
>>>> Now, looking again at the blocking stage:  if the UAC tries to send new traffic via the same TCP conn, it is clear it will block, as the conn, on the OpenSIPS side, is blocked by the DNS queries.
>>> Figured that much.
>>>
>>>> Still, opening a new TCP conn should do it - the conn will be assigned to the next TCP worker process.
>>> That's what I thought, but not what I observed. During the busy window nothing worked except the RLS trying to send using 1 worker, while 4 other workers were idle and no other incoming traffic was processed.
>>>
>>>> I think it is very unlikely (still not impossible) to have this new conn assigned also to the same proc as the first one (the blocked one). Have you tried checking the internal load of the TCP processes ("get_statistics load:") ?
>>> It's in my original post. The load was 100%/100%/77% during the busy window.
>>>
>>> My question is why is it still possible (even if unlikely) to allocate some job to this TCP worker that is already busy. When a request comes in and a worker is selected to process it, isn't that worker marked as busy, so it's not used by anything else until it finishes processing the current request, when it should be released back to the pool and only then be able to be used for something else?
>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>> OpenSIPS Founder and Developer
>>>>   https://www.opensips-solutions.com
>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>
>>>> On 1/16/20 5:23 PM, Dan Pascu wrote:
>>>>> On 15 Jan 2020, at 15:52, Bogdan-Andrei Iancu wrote:
>>>>>
>>>>>> Hi Dan,
>>>>>>
>>>>>> OK, so the Presence Server is on a different instance than the RLS server and the routing between is DNS based  - thanks for clarifying this for me.
>>>>> No. The server handles both RLS and presence, but the contacts for the account are not on this server they are handled by remote servers. So when the RLS subscribe comes in, it finds the 30 contacts out of which only 1 is local. The other 29 are on some other server. But overall it doesn't matter. Because dns=yes in config, even for the local contact it will still to DNS lookups before forwarding it to itself.
>>>>>
>>>>>> Again, as a fist step, I'm trying to understand the scenario you have (including how RLS works) so I can understand what is going on inside of OpenSIPS.
>>>>>>
>>>>>> So we have the 30 SUBSCRIBE requests being sent out from one TCP worker process. And due the DNS failure, this takes 7.5 minutes. And you claim that during these 7.5 minutes OpenSIPS was not able to handle any other traffic ? If so, same questions:
>>>>>>      - the remaining traffic was coming via the same TCP conn as the original received SUBSCRIBE ?
>>>>> Yes and no. Initially was yes, because it was just a client connected over TLS and sending all requests over that. So when I attempted to send an INVITE it was sent over the same TLS connection. But when that failed, I tried to change my outbound proxy to TCP and also tried to dial the address as sip:user at domain;transport=tcp which should have forced a separate TCP connection. But neither worked, the only thing that worked was to use UDP (either through the outbound proxy or explicitly in the URI).
>>>>>
>>>>>>      - if NO on above, the remaining traffic was also RLS related ?
>>>>> No. It was INVITE/REGISTER
>>>>>
>>>>>>      - if NO on above, the remaining traffic also TCP/TLS or was also UDP ?
>>>>> TCP/TLS didn't work in any way during the 7.5 minute busy window, UDP worked.
>>>>>
>>>>>> Just as a fact, there is no kind of dependency/sync between the TCP workers, in a way to block all the other procs while one of them is busy.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Bogdan-Andrei Iancu
>>>>>>
>>>>>> OpenSIPS Founder and Developer
>>>>>>   https://www.opensips-solutions.com
>>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>>>
>>>>>> On 1/15/20 1:13 PM, Dan Pascu wrote:
>>>>>>> On 15 Jan 2020, at 12:07, Bogdan-Andrei Iancu wrote:
>>>>>>>
>>>>>>>> Hi Dan,
>>>>>>>>
>>>>>>>> I'm not so familiar with how the RLS works, so bear with me while trying to understand the scenario.
>>>>>>>>
>>>>>>>> In your case, the initial subscribe (to RLS), from the end point, will be received by opensips via one of the TCP workers (the alg for distributing the new TCP conns to a TCP worker is rather simple, filling in the workers from first to last, so yes, the first conn will land all the time into the first worker).
>>>>>>>>
>>>>>>>> Now, while handling this initial SUBSCRIBE (in RLS module), the module will fire the 30 new SUBSCRIBE requests (to the real entities) - these SUBSCRIBEs (I assume) will go via loopback to OpenSIPS again, as presence server - it this correct?
>>>>>>> No. All (except maybe one) will go to a different server (this is a test server and all contacts are in different domains). But even for the one that is local it still does the DNS lookup because I have dns = yes in settings that forces DNS lookups even for local domains.
>>>>>>>
>>>>>>>> if so, is there any DNS lookup involved while these SUBSCRIBEs are looping (I would say no, as RLS uses the `presence_server` param (but it can be FQDN I guess :-/ ) ?
>>>>>>> Yes. See above. There is a DNS lookup (3 actually NAPTR/SRV/A) involved for every destination. That's why it's blocked for 7.5 minutes out of every 10 minutes.
>>>>>>>
>>>>>>>> Aslo, this looping is done via TCP (between opensips RLS and opensips Presence Server) ?
>>>>>>> Yes. TLS actually.
>>>>>>>
>>>>>>> In case I didn't convey my message well, I want to reiterate that I do not see this as an RLS issue (except maybe that RLS could be optimized to use different workers for the different SUBSCRIBEs it sends out, instead of sending all of them from just one worker). The problem I see is that while this 1st worker is occupied for 7.5 minutes out of 10 with RLS, no incoming request is processed, as if it is allocated to the same worker that is already busy with RLS. RLS in this case is just a useful trigger that highlights the problem because it keeps 1 worker busy 75% of the time.
>>>>>>>
>>>>>>> My question is about why are no other incoming requests processed during the 7.5 minutes while RLS keeps the 1st TCP worker busy (because of DNS failures), but I see incoming requests processed when I'm in the 2.5 minute window when RLS is idle and not using TCP worker 1. For me it looks like some allocation problem with TCP workers as there are 4 idle workers, yet the incoming messages are not allocated to any of them.
>>>>>>>
>>>>>>>> Best regards,
>>>>>>>>
>>>>>>>> Bogdan-Andrei Iancu
>>>>>>>>
>>>>>>>> OpenSIPS Founder and Developer
>>>>>>>>   https://www.opensips-solutions.com
>>>>>>>> OpenSIPS Summit, Amsterdam, May 2020
>>>>>>>>   https://www.opensips.org/events/Summit-2020Amsterdam/
>>>>>>>> OpenSIPS Bootcamp, Miami, March 2020
>>>>>>>>   https://opensips.org/training/OpenSIPS_Bootcamp_2020/
>>>>>>>>
>>>>>>>> On 1/10/20 1:59 PM, Dan Pascu wrote:
>>>>>>>>> I noticed some unexpected behavior related to how TCP workers are allocated to process requests. This was highlighted during dome DNS outage due to how opensips was configured.
>>>>>>>>>
>>>>>>>>> Here are the relevant bits from my configuration to layout the context:
>>>>>>>>>
>>>>>>>>> I listen on UDP, TCP and TLS and I start 5 UDP and 5 TCP worker processes, but allow them to grow up to 25 based on load:
>>>>>>>>>
>>>>>>>>> listen = udp:IP:5060
>>>>>>>>> listen = tcp:IP:5060
>>>>>>>>> listen = tls:IP:5061
>>>>>>>>>
>>>>>>>>> auto_scaling_profile = SIP_WORKERS
>>>>>>>>>       scale up to 25 on 80% for 4 cycles within 5
>>>>>>>>>       scale down to 5 on 20% for 10 cycles
>>>>>>>>>
>>>>>>>>> tcp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>>>> udp_workers = 5 use_auto_scaling_profile SIP_WORKERS
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> DNS is configured to use only 1 server and only 1 attempt with a timeout of 5 seconds per request:
>>>>>>>>>
>>>>>>>>> dns                   = yes
>>>>>>>>> rev_dns               = no
>>>>>>>>> dns_use_search_list   = no
>>>>>>>>> disable_dns_blacklist = yes
>>>>>>>>> dns_retr_time         = 5
>>>>>>>>> dns_retr_no           = 1
>>>>>>>>> dns_servers_no        = 1
>>>>>>>>>
>>>>>>>>> This means that every time a domain is looked up but the DNS server is down, it will do 3 requests (NAPTR, SRV and A) and each will take 5 seconds to timeout. In other words a DNS lookup for a domain will timeout after 15 seconds.
>>>>>>>>>
>>>>>>>>> I have 1 device that connects over TLS and registers an account that uses RLS and has 30 contacts stored.
>>>>>>>>>
>>>>>>>>> Now the event was that the main DNS server was down, and because of my configuration I didn't fallback to the secondary one from resolv.conf so all DNS requests failed.
>>>>>>>>>
>>>>>>>>> During this time I noticed that whenever RLS kicked in it would attempt to send SUBSCRIBEs to the 30 contacts and fail for each of them, and the whole thing would take approximately 7.5 minutes, during which time it would always use the 1st TCP worker which would increase it's load and 1 minute load to 100% and the 10 minutes load would stay at 77%. This was in line with the fact that RLS was triggered every 10 minutes and spend 7.5 minutes stuck in DNS timeouts, so it was busy approximately 75% of the time.
>>>>>>>>>
>>>>>>>>> The fact that RLS always used TCP worker 1 is not unexpected as the SIP device I mentioned was the only one connected to the proxy and the only one sending requests, so the proxy was mostly idle doing RLS every 10 minutes, besides the occasional REGISTER/SUBSCRIBE from the device.
>>>>>>>>>
>>>>>>>>> The unexpected behavior is that during the 7.5 minutes when RLS tried to send SUBSCRIBEs to the contacts, any REGISTER or INVITE received by the proxy would not be processed. They seem to be scheduled on the same 1st TCP worker that is already loaded 100% from the RLS processing that is going on. I never see any log message from my script about processing the REGISTER or INVITE and they just timeout on the client. If I send the REGISTER or INVITE during the 2.5 minutes when RLS is not trying to send SUBSCRIBEs to the contacts, then I see the REGISTER and INVITE being processed and logging from the script, but the INVITE also fails due to DNS failure.
>>>>>>>>>
>>>>>>>>> If I change my outbound proxy to prefer UDP, then I see the REGISTER and INVITE being processed, but if I use TCP or TLS I do not see them being processed unless I'm in the 2.5 minute window when the proxy is not doing RLS (actually I never checked but it's possible that the requests that arrived in the 7.5 minute window were actually processed and logged when the RLS processing window ended, but I never waited that long and they always timeout out on the client in 30 seconds).
>>>>>>>>>
>>>>>>>>> Now I can understand that RLS does all in a single worker (it does a database lookup for the contacts and then loops all of them trying to send a SUBSCRIBE for each), even though it could be argued that it could be optimized to delegate each sending out to a different worker.
>>>>>>>>>
>>>>>>>>> What puzzles me is why is opensips allocating the incoming requests it receives to a TCP worker that is already busy and shows a 100% load in opensips-cli, while it has 4 other TCP workers that are completely idle. Or if my conclusion is wrong, what exactly happens that during the 7.5 minutes where RLS uses TCP worker 1 trying to send out the SUBSCRIBEs and failing, that no incoming request is processed by the other 4 idle TCP workers and it just times out?
>>>>>>>>>
>>>>>>>>> That is not to say that I do not see the other TCP worker's pid in syslog at all, but they only appear very rarely and the idle workers do not seem to ever be used during the 7.5 minute busy window when the 1st worker is 100% loaded. So some worker allocation seems to happen when processing multiple incoming requests that arrive in parallel, but while RLS is sending out the SUBSCRIBEs it never seems to try to use the idle workers for incoming requests.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Dan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Devel mailing list
>>>>>>>>> Devel at lists.opensips.org
>>>>>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>>>>> --
>>>>>>> Dan
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>> --
>>>>> Dan
>>>>>
>>>>>
>>>>>
>>>>>
>>> --
>>> Dan
>>>
>>>
>>>
>>>
>
> --
> Dan
>
>
>
>



From noreply at github.com  Mon Jan 20 11:10:07 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 20 Jan 2020 08:10:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a2f4f8: event_flatstore:
 improve handling of multiple subs...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7b9239-a2f4f8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a2f4f80fdf34ec18eb1b6499d512609085115e72
      https://github.com/OpenSIPS/opensips/commit/a2f4f80fdf34ec18eb1b6499d512609085115e72
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c
    M modules/event_flatstore/event_flatstore.h

  Log Message:
  -----------
  event_flatstore: improve handling of multiple subscriptions for the same file

Use the same internal shm struct corresponding to a file for each evi
subscription for that file. This fixes an issue with the 'evi_flat_rotate' MI
command not properly "rotating" multiple subscriptions to the new file. Besides,
a file is now opened only once regardless of how many subscribtions there are
for the same file.
Also, do not reuse an old 'evi_reply_sock' structure for a new subscription for
the same file (if the file corresponding to an old subscription was not yet
closed by all processes). This led to incorrect expire times for new
subscriptions.

Fixes #1933




From noreply at github.com  Mon Jan 20 11:20:02 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 20 Jan 2020 08:20:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38052e: event_flatstore:
 improve handling of multiple subs...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/1c4fa5-38052e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 38052e0fc4e72f7e74a68aa1686a1441b0e7db0f
      https://github.com/OpenSIPS/opensips/commit/38052e0fc4e72f7e74a68aa1686a1441b0e7db0f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c
    M modules/event_flatstore/event_flatstore.h

  Log Message:
  -----------
  event_flatstore: improve handling of multiple subscriptions for the same file

Use the same internal shm struct corresponding to a file for each evi
subscription for that file. This fixes an issue with the 'evi_flat_rotate' MI
command not properly "rotating" multiple subscriptions to the new file. Besides,
a file is now opened only once regardless of how many subscribtions there are
for the same file.
Also, do not reuse an old 'evi_reply_sock' structure for a new subscription for
the same file (if the file corresponding to an old subscription was not yet
closed by all processes). This led to incorrect expire times for new
subscriptions.

Fixes #1933

(cherry picked from commit a2f4f80fdf34ec18eb1b6499d512609085115e72)




From noreply at github.com  Mon Jan 20 11:22:59 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 20 Jan 2020 08:22:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59417a: event_flatstore:
 improve handling of multiple subs...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/95ae82-59417a@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 59417a9350493efc99b6e3e496ac05b861a8cb5e
      https://github.com/OpenSIPS/opensips/commit/59417a9350493efc99b6e3e496ac05b861a8cb5e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c
    M modules/event_flatstore/event_flatstore.h

  Log Message:
  -----------
  event_flatstore: improve handling of multiple subscriptions for the same file

Use the same internal shm struct corresponding to a file for each evi
subscription for that file. This fixes an issue with the 'evi_flat_rotate' MI
command not properly "rotating" multiple subscriptions to the new file. Besides,
a file is now opened only once regardless of how many subscribtions there are
for the same file.
Also, do not reuse an old 'evi_reply_sock' structure for a new subscription for
the same file (if the file corresponding to an old subscription was not yet
closed by all processes). This led to incorrect expire times for new
subscriptions.

Fixes #1933

(cherry picked from commit a2f4f80fdf34ec18eb1b6499d512609085115e72)




From noreply at github.com  Tue Jan 21 06:41:41 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 21 Jan 2020 03:41:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 75f07b: proto_smpp: convert
	UTF-8 to gsm7
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a2f4f8-75f07b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 75f07b7072402d390e12b04f5c5bc58bb0f3058f
      https://github.com/OpenSIPS/opensips/commit/75f07b7072402d390e12b04f5c5bc58bb0f3058f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: convert UTF-8 to gsm7

Reported by @johandeclercqdemocon in @1935




From noreply at github.com  Tue Jan 21 08:11:43 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Jan 2020 05:11:43 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d61882: sipmsgops: Fix docs
	for sipmsg_validate()
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/75f07b-d61882@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d618825234078bc25917cfb74e53bbbeb33b2fc8
      https://github.com/OpenSIPS/opensips/commit/d618825234078bc25917cfb74e53bbbeb33b2fc8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/sipmsgops/doc/sipmsgops_admin.xml

  Log Message:
  -----------
  sipmsgops: Fix docs for sipmsg_validate()




From noreply at github.com  Tue Jan 21 08:13:01 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Jan 2020 05:13:01 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 070f8b: sipmsgops: Fix docs
	for sipmsg_validate()
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/38052e-070f8b@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 070f8b7c523b6f8fbe110c3c29c4d9e16b31cb47
      https://github.com/OpenSIPS/opensips/commit/070f8b7c523b6f8fbe110c3c29c4d9e16b31cb47
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/sipmsgops/doc/sipmsgops_admin.xml

  Log Message:
  -----------
  sipmsgops: Fix docs for sipmsg_validate()

(cherry picked from commit d618825234078bc25917cfb74e53bbbeb33b2fc8)




From noreply at github.com  Tue Jan 21 08:13:28 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Jan 2020 05:13:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d27f7c: sipmsgops: Fix docs
	for sipmsg_validate()
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/59417a-d27f7c@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d27f7cc2900058d99dd9af1b34be70ae98ce65f7
      https://github.com/OpenSIPS/opensips/commit/d27f7cc2900058d99dd9af1b34be70ae98ce65f7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/sipmsgops/doc/sipmsgops_admin.xml

  Log Message:
  -----------
  sipmsgops: Fix docs for sipmsg_validate()

(cherry picked from commit d618825234078bc25917cfb74e53bbbeb33b2fc8)
(cherry picked from commit 070f8b7c523b6f8fbe110c3c29c4d9e16b31cb47)




From noreply at github.com  Tue Jan 21 09:24:07 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 21 Jan 2020 06:24:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a4e94d: event_flatstore:
 handle oom errors on pkg allocations
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d61882-a4e94d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a4e94de60252d70635707ede5b7d6795430380d8
      https://github.com/OpenSIPS/opensips/commit/a4e94de60252d70635707ede5b7d6795430380d8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: handle oom errors on pkg allocations




From noreply at github.com  Tue Jan 21 09:24:41 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 21 Jan 2020 06:24:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ecd5e: event_flatstore:
 handle oom errors on pkg allocations
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/070f8b-9ecd5e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9ecd5e42acc425f3b21a18bdc02d6cb2a08a5519
      https://github.com/OpenSIPS/opensips/commit/9ecd5e42acc425f3b21a18bdc02d6cb2a08a5519
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: handle oom errors on pkg allocations

(cherry picked from commit a4e94de60252d70635707ede5b7d6795430380d8)




From noreply at github.com  Tue Jan 21 09:26:51 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 21 Jan 2020 06:26:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4cdc99: event_flatstore:
 handle oom errors on pkg allocations
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/d27f7c-4cdc99@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4cdc993c6483227841a93ef90ccc1c0713f8371f
      https://github.com/OpenSIPS/opensips/commit/4cdc993c6483227841a93ef90ccc1c0713f8371f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: handle oom errors on pkg allocations

(cherry picked from commit a4e94de60252d70635707ede5b7d6795430380d8)




From noreply at github.com  Tue Jan 21 10:05:13 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 21 Jan 2020 07:05:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa01da: proto_smpp: specify to,
 from and body from script
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a4e94d-aa01da@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: aa01dacdf7abb1689d2e6c316d3c94eaf89483ca
      https://github.com/OpenSIPS/opensips/commit/aa01dacdf7abb1689d2e6c316d3c94eaf89483ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/proto_smpp/doc/proto_smpp_admin.xml
    M modules/proto_smpp/proto_smpp.c

  Log Message:
  -----------
  proto_smpp: specify to, from and body from script

Allow script writer to specify the source and destination numbers, as
well as body and body encryption from the script.
Close #1778

Also can be used to sort out ticket #1943




From noreply at github.com  Tue Jan 21 11:42:11 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 21 Jan 2020 08:42:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d16b5: tls_mgm: tls_method
 accept range of versions
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/aa01da-6d16b5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d16b5a4955f335b07fec3ef834405efeaec98b7
      https://github.com/OpenSIPS/opensips/commit/6d16b5a4955f335b07fec3ef834405efeaec98b7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h

  Log Message:
  -----------
  tls_mgm: tls_method accept range of versions




From noreply at github.com  Wed Jan 22 05:19:17 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 02:19:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2191b: uac: Force URI
 enclosing for sequential requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6d16b5-b2191b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b2191bb695859a10188757662dc77708a41ada73
      https://github.com/OpenSIPS/opensips/commit/b2191bb695859a10188757662dc77708a41ada73
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Force URI enclosing for sequential requests

This is a continuation of commit a75b2369b15972c, where we do the same
thing for sequential requests as well, avoiding any ambiguous resulting
headers, such as:

    ACK
    To: "Alice" sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes;tag=abcde

... which we now disambiguate as follows:

    ACK
    To: "Alice" <sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes>;tag=abcde

Sponsored by 46Labs




From noreply at github.com  Wed Jan 22 05:20:10 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 02:20:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fa6316: uac: Force URI
 enclosing for sequential requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/9ecd5e-fa6316@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fa631623ad4a0b86af401931cc8d6f249aed880d
      https://github.com/OpenSIPS/opensips/commit/fa631623ad4a0b86af401931cc8d6f249aed880d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Force URI enclosing for sequential requests

This is a continuation of commit a75b2369b15972c, where we do the same
thing for sequential requests as well, avoiding any ambiguous resulting
headers, such as:

    ACK
    To: "Alice" sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes;tag=abcde

... which we now disambiguate as follows:

    ACK
    To: "Alice" <sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes>;tag=abcde

Sponsored by 46Labs

(cherry picked from commit b2191bb695859a10188757662dc77708a41ada73)




From noreply at github.com  Wed Jan 22 05:20:32 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 02:20:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] de7606: uac: Force URI
 enclosing for sequential requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/4cdc99-de7606@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: de7606dfb2deeb0ebb07e329511164b784970e6c
      https://github.com/OpenSIPS/opensips/commit/de7606dfb2deeb0ebb07e329511164b784970e6c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Force URI enclosing for sequential requests

This is a continuation of commit a75b2369b15972c, where we do the same
thing for sequential requests as well, avoiding any ambiguous resulting
headers, such as:

    ACK
    To: "Alice" sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes;tag=abcde

... which we now disambiguate as follows:

    ACK
    To: "Alice" <sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes>;tag=abcde

Sponsored by 46Labs

(cherry picked from commit b2191bb695859a10188757662dc77708a41ada73)




From noreply at github.com  Wed Jan 22 06:04:03 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 03:04:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4afb6f: HP_MALLOC: Do not
 attempt mem warming with non-HP ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b2191b-4afb6f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4afb6fa4aae94b11354890ef9891bc62d6c22439
      https://github.com/OpenSIPS/opensips/commit/4afb6fa4aae94b11354890ef9891bc62d6c22439
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC: Do not attempt mem warming with non-HP allocator




From noreply at github.com  Wed Jan 22 06:04:20 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 03:04:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8c1ce8: HP_MALLOC: Do not
 attempt mem warming with non-HP ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/fa6316-8c1ce8@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8c1ce88a1eb3558575d5bdb83060b5f640141f53
      https://github.com/OpenSIPS/opensips/commit/8c1ce88a1eb3558575d5bdb83060b5f640141f53
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC: Do not attempt mem warming with non-HP allocator

(cherry picked from commit 4afb6fa4aae94b11354890ef9891bc62d6c22439)




From bogdan at opensips.org  Wed Jan 22 06:07:10 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 22 Jan 2020 13:07:10 +0200
Subject: [OpenSIPS-Devel] [Reminder] OpenSIPS Bootcamp EarlyBirds closure
Message-ID: <c63f4943-4881-4c99-4442-4418ac6e903b@opensips.org>

Hi all,

A quick reminder, the 10% Early Birds discount for the OpenSIPS Bootcamp 
in Miami expires on 1st of February. There are cool things you can do 
with $300 in Miami, so do not miss the opportunity here ;).

https://opensips.org/training/OpenSIPS_Bootcamp_2020/

Best regards,

-- 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/



From noreply at github.com  Wed Jan 22 08:12:28 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 22 Jan 2020 05:12:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c58dd: cfg: make variable the
 name of the route called
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4afb6f-2c58dd@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2c58dd3415885aa9134b0190852e10d91b25e51b
      https://github.com/OpenSIPS/opensips/commit/2c58dd3415885aa9134b0190852e10d91b25e51b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M action.c
    M cfg.y
    M route.c
    M route.h
    M route_struct.c

  Log Message:
  -----------
  cfg: make variable the name of the route called

Close #1934




From noreply at github.com  Wed Jan 22 09:52:02 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 06:52:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] abbb72: cJSON library: Improve
 precision for myfloor()
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2c58dd-abbb72@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: abbb728f6b52bb3dd633ab3644709badf80986fe
      https://github.com/OpenSIPS/opensips/commit/abbb728f6b52bb3dd633ab3644709badf80986fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M lib/cJSON.c

  Log Message:
  -----------
  cJSON library: Improve precision for myfloor()

Fixes a bug where large MI tree integers would get printed as:
    {
      "shmem:total_size": 2.147484e+09,
      ...
    }

... due to lack of precision.




From noreply at github.com  Wed Jan 22 09:52:22 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 06:52:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2b5e18: cJSON library: Improve
 precision for myfloor()
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/8c1ce8-2b5e18@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b5e187ebf3eab376a1e46c0afc28fa91ab6eb3d
      https://github.com/OpenSIPS/opensips/commit/2b5e187ebf3eab376a1e46c0afc28fa91ab6eb3d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M lib/cJSON.c

  Log Message:
  -----------
  cJSON library: Improve precision for myfloor()

Fixes a bug where large MI tree integers would get printed as:
    {
      "shmem:total_size": 2.147484e+09,
      ...
    }

... due to lack of precision.

(cherry picked from commit abbb728f6b52bb3dd633ab3644709badf80986fe)




From noreply at github.com  Wed Jan 22 09:52:41 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 06:52:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e7d1f: cJSON library: Improve
 precision for myfloor()
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/de7606-9e7d1f@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9e7d1f143e1c8575639c66449f8d9d2a3c3beacc
      https://github.com/OpenSIPS/opensips/commit/9e7d1f143e1c8575639c66449f8d9d2a3c3beacc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M lib/cJSON.c

  Log Message:
  -----------
  cJSON library: Improve precision for myfloor()

Fixes a bug where large MI tree integers would get printed as:
    {
      "shmem:total_size": 2.147484e+09,
      ...
    }

... due to lack of precision.

(cherry picked from commit abbb728f6b52bb3dd633ab3644709badf80986fe)




From noreply at github.com  Wed Jan 22 10:14:30 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 07:14:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0278b0: Fix error on startup
	during fixup phase
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/abbb72-0278b0@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0278b070ac76549284b007c695028c66ab2174b5
      https://github.com/OpenSIPS/opensips/commit/0278b070ac76549284b007c695028c66ab2174b5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Fix error on startup during fixup phase

Related to 2c58dd341588




From noreply at github.com  Wed Jan 22 10:33:35 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Wed, 22 Jan 2020 07:33:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c88f8: presence/clustering:
 Keep presence state on all no...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/0278b0-d680f1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c88f8fa074b0f773f83a27bffde570db86fba0f
      https://github.com/OpenSIPS/opensips/commit/1c88f8fa074b0f773f83a27bffde570db86fba0f
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence/clustering: Keep presence state on all nodes without shared DB

Add the option to set cluster_federation_mode = 2, which does the
following:

- All PUBLISH/presence state is recorded on the presence node, even when
  no one is subscribed. PUBLISH is now accepted on any node for updated
  state.

This means that you can round-robin your PUBLISH instead of having to
choose a single presence endpoint. And it also means you can switch to
other nodes and get up-to-date state from there, when a node dies.

This is achieved without using a shared DB (which has its own
limitations obviously).


  Commit: d680f158e4af6872bce3fd0d22c1882206377c04
      https://github.com/OpenSIPS/opensips/commit/d680f158e4af6872bce3fd0d22c1882206377c04
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  Merge pull request #1892 from wdoekes/feature/clustering-publish-to-any

presence/clustering: Keep presence state on all nodes without shared DB


Compare: https://github.com/OpenSIPS/opensips/compare/0278b070ac76...d680f158e4af


From noreply at github.com  Wed Jan 22 11:41:12 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 08:41:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ac7de6: HP_MALLOC statistics:
 Fix an int vs. long casting bug
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d680f1-ac7de6@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ac7de673a8c8ac3b0aaf2c9eb5d5a49657502328
      https://github.com/OpenSIPS/opensips/commit/ac7de673a8c8ac3b0aaf2c9eb5d5a49657502328
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/hp_malloc_stats.h

  Log Message:
  -----------
  HP_MALLOC statistics: Fix an int vs. long casting bug




From noreply at github.com  Wed Jan 22 11:43:37 2020
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Jan 2020 08:43:37 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d8d5d: HP_MALLOC statistics:
 Fix an int vs. long casting bug
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/2b5e18-1d8d5d@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1d8d5d4fbc2c6fefd77133d7af30c613c5c33851
      https://github.com/OpenSIPS/opensips/commit/1d8d5d4fbc2c6fefd77133d7af30c613c5c33851
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/hp_malloc_stats.h

  Log Message:
  -----------
  HP_MALLOC statistics: Fix an int vs. long casting bug

(cherry picked from commit ac7de673a8c8ac3b0aaf2c9eb5d5a49657502328)




From razvan at opensips.org  Thu Jan 23 04:57:21 2020
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Thu, 23 Jan 2020 11:57:21 +0200
Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 2.4.7 and 3.0.2 minor releases
Message-ID: <eef0f39b-ab3c-c153-0888-03443b83000b@opensips.org>

Hello to you all!

I am pleased to announce you that we will make two more stable minor 
releases next week. I'm talking about OpenSIPS 2.4.7 and 3.0.2.

These new releases will contain several bug fixes (more than 150 
commits), the headline being the notorious OpenSSL fix for the TLS 
connections.

The new releases are scheduled for Tuesday, 28.01.2020.

Please let us know on GitHub of any pending issues or tickets that are 
affecting the current versions so that we can get them fixed until the 
next release.

Thank you all for your contributions to the OpenSIPS community!

Best wishes,
-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From bogdan at opensips.org  Thu Jan 23 07:34:04 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 23 Jan 2020 14:34:04 +0200
Subject: [OpenSIPS-Devel] [BLOG] Shaken,
	not stirred - the STIR/SHAKEN support in OpenSIPS
Message-ID: <dbb2ff08-ef44-8072-c04e-fbc4e0bd2272@opensips.org>


There is no doubt about the danger and security threats presented by the 
robocalls or identity thieves. Also there is no doubt that STIR/SHAKEN 
is the solution that addresses the threats.

And starting with 3.1 OpenSIPS provides a very flexible implementation 
for STIR/SHAKEN, for any operator to us.

https://blog.opensips.org/2020/01/23/shaken-not-stirred/

Enjoy the reading,

-- 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/



From noreply at github.com  Thu Jan 23 08:59:57 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 23 Jan 2020 05:59:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7ada14: topology_hiding: More
 verbose in case of error
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ac7de6-f78284@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ada147dd074b6bd058e5e0e67fac6ad55613f27
      https://github.com/OpenSIPS/opensips/commit/7ada147dd074b6bd058e5e0e67fac6ad55613f27
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topology_hiding: More verbose in case of error

Be more verbose in case of error so you'll get the idea what's going on.
Instead of a message that something went wrong you'll get more
insightful one:

Jan 22 15:38:32 li443-44 /usr/local/sbin/opensips[1278]: ERROR:topology_hiding:topo_callid_post_raw: could not parse resulted sip message: HEP3#001À

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: f7828411a612f6a9db04db8404b6dca8b401cef6
      https://github.com/OpenSIPS/opensips/commit/f7828411a612f6a9db04db8404b6dca8b401cef6
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Merge pull request #1944 from lemenkov/topology_hiding_verbose_error

topology_hiding: More verbose in case of error


Compare: https://github.com/OpenSIPS/opensips/compare/ac7de673a8c8...f7828411a612


From noreply at github.com  Thu Jan 23 10:50:11 2020
From: noreply at github.com (Liviu Chircu)
Date: Thu, 23 Jan 2020 07:50:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 532962: uac: Fix possible
 crash in display name fixup
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/1d8d5d-532962@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 53296244b33d20abbf0fca79f6ea5d27bdadaaa9
      https://github.com/OpenSIPS/opensips/commit/53296244b33d20abbf0fca79f6ea5d27bdadaaa9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/uac.c

  Log Message:
  -----------
  uac: Fix possible crash in display name fixup

Some variables, such as $dlg_val, return {NULL, 0} strings instead of
{"", 0} (e.g. $var), causing the dereference op to crash.




From noreply at github.com  Thu Jan 23 10:50:40 2020
From: noreply at github.com (Liviu Chircu)
Date: Thu, 23 Jan 2020 07:50:40 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cb424c: uac: Fix possible
 crash in display name fixup
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f78284-cb424c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cb424c7d869bd8ee366d1831dc678b199b131a36
      https://github.com/OpenSIPS/opensips/commit/cb424c7d869bd8ee366d1831dc678b199b131a36
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/uac.c

  Log Message:
  -----------
  uac: Fix possible crash in display name fixup

Some variables, such as $dlg_val, return {NULL, 0} strings instead of
{"", 0} (e.g. $var), causing the dereference op to crash.

(cherry picked from commit 53296244b33d20abbf0fca79f6ea5d27bdadaaa9)




From noreply at github.com  Thu Jan 23 12:36:12 2020
From: noreply at github.com (Liviu Chircu)
Date: Thu, 23 Jan 2020 09:36:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c2e060: uac: Fix regression in
	de7606dfb2
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/9e7d1f-c2e060@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c2e0603331a5b1c977c727d8806cda51a0ddf666
      https://github.com/OpenSIPS/opensips/commit/c2e0603331a5b1c977c727d8806cda51a0ddf666
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Fix regression in de7606dfb2

In restore_mode == auto, the To/From URI restoration for upstream
sequential requests was affected, as < and > were now always removed
when restoring the header back to the upstream side.

Credits to Vitalii Aleksandrov for the report & debugging data




From noreply at github.com  Thu Jan 23 12:36:34 2020
From: noreply at github.com (Liviu Chircu)
Date: Thu, 23 Jan 2020 09:36:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6de87b: uac: Fix regression in
	de7606dfb2
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/532962-6de87b@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6de87ba5ccb40da3ec543923b1e452c903f5d52f
      https://github.com/OpenSIPS/opensips/commit/6de87ba5ccb40da3ec543923b1e452c903f5d52f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Fix regression in de7606dfb2

In restore_mode == auto, the To/From URI restoration for upstream
sequential requests was affected, as < and > were now always removed
when restoring the header back to the upstream side.

Credits to Vitalii Aleksandrov for the report & debugging data

(cherry picked from commit c2e0603331a5b1c977c727d8806cda51a0ddf666)




From noreply at github.com  Thu Jan 23 12:36:48 2020
From: noreply at github.com (Liviu Chircu)
Date: Thu, 23 Jan 2020 09:36:48 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 29f91a: uac: Fix regression in
	de7606dfb2
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/cb424c-29f91a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 29f91adc8117885cc55272b4e0b9eac715bc7357
      https://github.com/OpenSIPS/opensips/commit/29f91adc8117885cc55272b4e0b9eac715bc7357
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Fix regression in de7606dfb2

In restore_mode == auto, the To/From URI restoration for upstream
sequential requests was affected, as < and > were now always removed
when restoring the header back to the upstream side.

Credits to Vitalii Aleksandrov for the report & debugging data

(cherry picked from commit c2e0603331a5b1c977c727d8806cda51a0ddf666)




From noreply at github.com  Sun Jan 26 15:30:55 2020
From: noreply at github.com (opensips-github)
Date: Sun, 26 Jan 2020 12:30:55 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 632619: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/c2e060-632619@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 632619ada737e56bbdf0ddcbbf534e2cbb57af5a
      https://github.com/OpenSIPS/opensips/commit/632619ada737e56bbdf0ddcbbf534e2cbb57af5a
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 26 15:44:18 2020
From: noreply at github.com (opensips-github)
Date: Sun, 26 Jan 2020 12:44:18 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e265f0: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/6de87b-e265f0@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e265f02b2cd2ba98d5c9efce043a73d2964dacc8
      https://github.com/OpenSIPS/opensips/commit/e265f02b2cd2ba98d5c9efce043a73d2964dacc8
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Sun Jan 26 15:58:13 2020
From: noreply at github.com (opensips-github)
Date: Sun, 26 Jan 2020 12:58:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 224fc8: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/29f91a-224fc8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 224fc80e25182213faecac4531f9ea69debf089a
      https://github.com/OpenSIPS/opensips/commit/224fc80e25182213faecac4531f9ea69debf089a
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation




From noreply at github.com  Mon Jan 27 04:09:54 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 27 Jan 2020 01:09:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6934e: route: initialize full
 "union" for route variable ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/224fc8-f6934e@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6934e905bf72deedadbcee35ba400e430626898
      https://github.com/OpenSIPS/opensips/commit/f6934e905bf72deedadbcee35ba400e430626898
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  route: initialize full "union" for route variable names




From noreply at github.com  Mon Jan 27 04:24:21 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 27 Jan 2020 01:24:21 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b05524: Add missing newline
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f6934e-7e1607@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b05524ce711feae92e9cb129acf7c71842a60a9c
      https://github.com/OpenSIPS/opensips/commit/b05524ce711feae92e9cb129acf7c71842a60a9c
  Author: Fabian Gast <fgast+git at only640k.net>
  Date:   2020-01-25 (Sat, 25 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Add missing newline


  Commit: 7e16079fc94700327162a86ff0367731975d484f
      https://github.com/OpenSIPS/opensips/commit/7e16079fc94700327162a86ff0367731975d484f
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Merge pull request #1949 from fgast/perl_newline

Add missing newline


Compare: https://github.com/OpenSIPS/opensips/compare/f6934e905bf7...7e16079fc947


From noreply at github.com  Mon Jan 27 04:25:49 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 27 Jan 2020 01:25:49 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a55e44: Merge pull request
 #1949 from fgast/perl_newline
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/e265f0-a55e44@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a55e444b3523f3679fb4557c30e30cd20e98df0c
      https://github.com/OpenSIPS/opensips/commit/a55e444b3523f3679fb4557c30e30cd20e98df0c
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Merge pull request #1949 from fgast/perl_newline

Add missing newline
(cherry picked from commit 7e16079fc94700327162a86ff0367731975d484f)




From noreply at github.com  Mon Jan 27 04:26:36 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 27 Jan 2020 01:26:36 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae90fc: Merge pull request
 #1949 from fgast/perl_newline
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/632619-ae90fc@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ae90fca968e80e535fbdacb0fccf82b54a23a74a
      https://github.com/OpenSIPS/opensips/commit/ae90fca968e80e535fbdacb0fccf82b54a23a74a
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Merge pull request #1949 from fgast/perl_newline

Add missing newline
(cherry picked from commit 7e16079fc94700327162a86ff0367731975d484f)




From noreply at github.com  Mon Jan 27 05:16:54 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 27 Jan 2020 02:16:54 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b4fce7: Fix db backend init
	for trace_id's
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7e1607-b4fce7@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b4fce7b66d8478c6b3dc5684f2533140b88dc078
      https://github.com/OpenSIPS/opensips/commit/b4fce7b66d8478c6b3dc5684f2533140b88dc078
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/tracer/tracer.c

  Log Message:
  -----------
  Fix db backend init for trace_id's

Do not perform DB queries during cfg parsing, but only at mod_init stage, as some DB backends (like db_text) may not be initialized before mod_init.

Closes #1947




From noreply at github.com  Mon Jan 27 10:40:23 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 27 Jan 2020 07:40:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4e82e: presence: don't query
 the cluster in the 'full sha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/b4fce7-f589f1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4e82ea2beb24666201fe731b46f350708192c81
      https://github.com/OpenSIPS/opensips/commit/d4e82ea2beb24666201fe731b46f350708192c81
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml
    M modules/presence/notify.c
    M modules/presence/presence.c

  Log Message:
  -----------
  presence: don't query the cluster in the 'full sharing' federation mode

Also, switch to more user-friendly, string values for the
'cluster_federation_mode' modparam.


  Commit: f589f18f09e80b8b052339e53dc2069a061a0a19
      https://github.com/OpenSIPS/opensips/commit/f589f18f09e80b8b052339e53dc2069a061a0a19
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/clustering.c

  Log Message:
  -----------
  presence: add cluster syncing at startup for 'full-sharing' federation mode


Compare: https://github.com/OpenSIPS/opensips/compare/b4fce7b66d84...f589f18f09e8


From noreply at github.com  Mon Jan 27 12:28:22 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Mon, 27 Jan 2020 09:28:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6f962: presence docs: mention
 seed node requirement for '...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f589f1-c7c44a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6f9626036926d6374eee36476100b21a129f95f
      https://github.com/OpenSIPS/opensips/commit/f6f9626036926d6374eee36476100b21a129f95f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence docs: mention seed node requirement for 'full-sharing' mode


  Commit: c7c44a566dfa33ef00edf0462a9ce249faa25111
      https://github.com/OpenSIPS/opensips/commit/c7c44a566dfa33ef00edf0462a9ce249faa25111
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence docs: list all possible events that can be handled


Compare: https://github.com/OpenSIPS/opensips/compare/f589f18f09e8...c7c44a566dfa


From noreply at github.com  Mon Jan 27 18:46:15 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 27 Jan 2020 15:46:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dfaa65: Fix db backend init
	for trace_id's
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/a55e44-dfaa65@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dfaa654ac0cd7c76839c6fb8c1d1dddd2b95de8b
      https://github.com/OpenSIPS/opensips/commit/dfaa654ac0cd7c76839c6fb8c1d1dddd2b95de8b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/tracer/tracer.c

  Log Message:
  -----------
  Fix db backend init for trace_id's

Do not perform DB queries during cfg parsing, but only at mod_init stage, as some DB backends (like db_text) may not be initialized before mod_init.

Closes #1947

(cherry picked from commit b4fce7b66d8478c6b3dc5684f2533140b88dc078)




From noreply at github.com  Tue Jan 28 03:10:29 2020
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 28 Jan 2020 00:10:29 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 291d3e: Fix db backend init
	for trace_id's
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/ae90fc-291d3e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 291d3e5e9bb32ea406a997f03a8ed2f85522c3fe
      https://github.com/OpenSIPS/opensips/commit/291d3e5e9bb32ea406a997f03a8ed2f85522c3fe
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/siptrace/siptrace.c

  Log Message:
  -----------
  Fix db backend init for trace_id's

Do not perform DB queries during cfg parsing, but only at mod_init stage, as some DB backends (like db_text) may not be initialized before mod_init.

Closes #1947

(cherry picked from commit b4fce7b66d8478c6b3dc5684f2533140b88dc078)




From noreply at github.com  Tue Jan 28 04:25:34 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 01:25:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2e237b: proto_smpp: proper
 detection of application type
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c7c44a-4b65de@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2e237b12e6cc0ac721b99cf5d972f38e9d526a6f
      https://github.com/OpenSIPS/opensips/commit/2e237b12e6cc0ac721b99cf5d972f38e9d526a6f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/proto_smpp/proto_smpp.c

  Log Message:
  -----------
  proto_smpp: proper detection of application type


  Commit: 4b65de9238d5851703ee18a84da1b4fd34eb968c
      https://github.com/OpenSIPS/opensips/commit/4b65de9238d5851703ee18a84da1b4fd34eb968c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several encodings

Thanks go to @johandeclercqdemocon for reporting them in ticket #1935


Compare: https://github.com/OpenSIPS/opensips/compare/c7c44a566dfa...4b65de9238d5


From noreply at github.com  Tue Jan 28 05:23:51 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 02:23:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c0e566: lua: replace manual
 global table loading with luaL...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4b65de-ab964d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c0e56659881861c3550a9c0fedb8caf6690de3b9
      https://github.com/OpenSIPS/opensips/commit/c0e56659881861c3550a9c0fedb8caf6690de3b9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: replace manual global table loading with luaL_openlibs()


  Commit: ab964d92e9f2d790dbd57975591c4efb90e205e3
      https://github.com/OpenSIPS/opensips/commit/ab964d92e9f2d790dbd57975591c4efb90e205e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: set functions under opensips name

This solves issues with lua libs > 5.2
Reported by @volga629-1 in #1946


Compare: https://github.com/OpenSIPS/opensips/compare/4b65de9238d5...ab964d92e9f2


From noreply at github.com  Tue Jan 28 05:48:12 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 28 Jan 2020 02:48:12 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 579527: auth_aaa: Fix missing
 static struct termination line
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ab964d-579527@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 57952748603c8a90cb97fd29e973a0f4c63ba09c
      https://github.com/OpenSIPS/opensips/commit/57952748603c8a90cb97fd29e973a0f4c63ba09c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/auth_aaa/authaaa_mod.c

  Log Message:
  -----------
  auth_aaa: Fix missing static struct termination line

Fixes #1922




From noreply at github.com  Tue Jan 28 05:48:52 2020
From: noreply at github.com (Liviu Chircu)
Date: Tue, 28 Jan 2020 02:48:52 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ecec7c: auth_aaa: Fix missing
 static struct termination line
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/dfaa65-ecec7c@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ecec7ce25ca5a7bae3ff2fb786c4e611ac738a90
      https://github.com/OpenSIPS/opensips/commit/ecec7ce25ca5a7bae3ff2fb786c4e611ac738a90
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/auth_aaa/authaaa_mod.c

  Log Message:
  -----------
  auth_aaa: Fix missing static struct termination line

Fixes #1922

(cherry picked from commit 57952748603c8a90cb97fd29e973a0f4c63ba09c)




From noreply at github.com  Tue Jan 28 09:32:01 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 06:32:01 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 040e21: dialog: fix updating
 contact after fix_nated_conta...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/291d3e-040e21@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 040e2130406d787da5bdc4b2dec3574cabb1d9c3
      https://github.com/OpenSIPS/opensips/commit/040e2130406d787da5bdc4b2dec3574cabb1d9c3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: fix updating contact after fix_nated_contact on seq




From noreply at github.com  Tue Jan 28 09:38:06 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 28 Jan 2020 06:38:06 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c4652e: perl: fix script
 halting caused by perl_exec_simple()
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/579527-c4652e@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c4652e179adc5177e56a28655c95e7d79c4335a0
      https://github.com/OpenSIPS/opensips/commit/c4652e179adc5177e56a28655c95e7d79c4335a0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  perl: fix script halting caused by perl_exec_simple()

Fixes #1951




From noreply at github.com  Tue Jan 28 09:39:16 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 28 Jan 2020 06:39:16 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 058454: perl: fix script
 halting caused by perl_exec_simple()
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/ecec7c-058454@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 05845465be68b2cd0355cc7adb910e85f1c61479
      https://github.com/OpenSIPS/opensips/commit/05845465be68b2cd0355cc7adb910e85f1c61479
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  perl: fix script halting caused by perl_exec_simple()

Fixes #1951

(cherry picked from commit c4652e179adc5177e56a28655c95e7d79c4335a0)




From noreply at github.com  Tue Jan 28 09:45:02 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 06:45:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f4638: dialog: update contact
 only on 200OK replies
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/040e21-dda911@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9f463855be3c4bc39bd19431b7637c5acb058bbe
      https://github.com/OpenSIPS/opensips/commit/9f463855be3c4bc39bd19431b7637c5acb058bbe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact only on 200OK replies


  Commit: dda911950355360515f9e6b02cc38ed17d5366ac
      https://github.com/OpenSIPS/opensips/commit/dda911950355360515f9e6b02cc38ed17d5366ac
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: remove unused update_contact() function


Compare: https://github.com/OpenSIPS/opensips/compare/040e2130406d...dda911950355


From noreply at github.com  Tue Jan 28 09:58:09 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 06:58:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b7a9f: dialog: update contact
 only after routes have been...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c4652e-7b7a9f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7b7a9fc2bfd739b80b893c1b5ee829b1c3cef251
      https://github.com/OpenSIPS/opensips/commit/7b7a9fc2bfd739b80b893c1b5ee829b1c3cef251
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact only after routes have been run




From noreply at github.com  Tue Jan 28 09:59:10 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 06:59:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2189cf: dialog: update contact
 only after routes have been...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/058454-2189cf@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2189cf819dea7eb1253211a59b306121390f70e8
      https://github.com/OpenSIPS/opensips/commit/2189cf819dea7eb1253211a59b306121390f70e8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact only after routes have been run

(cherry picked from commit 7b7a9fc2bfd739b80b893c1b5ee829b1c3cef251)




From noreply at github.com  Tue Jan 28 10:15:39 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 28 Jan 2020 07:15:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 286ab2: perl: improve docs
 regarding the return value of p...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7b7a9f-286ab2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 286ab285de555d631a45846a14f7daa1001ac84b
      https://github.com/OpenSIPS/opensips/commit/286ab285de555d631a45846a14f7daa1001ac84b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/doc/perl_admin.xml

  Log Message:
  -----------
  perl: improve docs regarding the return value of perl_exec()




From noreply at github.com  Tue Jan 28 10:17:47 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 28 Jan 2020 07:17:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 97abae: perl: improve docs
 regarding the return value of p...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/2189cf-97abae@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 97abae61755b95d36f179fc83f5d48541f63b49f
      https://github.com/OpenSIPS/opensips/commit/97abae61755b95d36f179fc83f5d48541f63b49f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/doc/perl_admin.xml

  Log Message:
  -----------
  perl: improve docs regarding the return value of perl_exec()

(cherry picked from commit 286ab285de555d631a45846a14f7daa1001ac84b)




From noreply at github.com  Tue Jan 28 10:19:19 2020
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 28 Jan 2020 07:19:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 94a9b7: perl: improve docs
 regarding the return value of p...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/dda911-94a9b7@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 94a9b7da7c56cf896c8d56a77e0556c155270817
      https://github.com/OpenSIPS/opensips/commit/94a9b7da7c56cf896c8d56a77e0556c155270817
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/doc/perl_admin.xml

  Log Message:
  -----------
  perl: improve docs regarding the return value of perl_exec()

(cherry picked from commit 286ab285de555d631a45846a14f7daa1001ac84b)




From noreply at github.com  Tue Jan 28 10:34:30 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 07:34:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3dbe88: Bump version to 2.4.7
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/94a9b7-9e1fcc@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3dbe88ecae9ae680fef7999a52bd528393d100fa
      https://github.com/OpenSIPS/opensips/commit/3dbe88ecae9ae680fef7999a52bd528393d100fa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M Makefile.defs
    M packaging/debian/changelog
    M packaging/freebsd/Makefile
    R packaging/gentoo/opensips-2.4.6.ebuild
    A packaging/gentoo/opensips-2.4.7.ebuild
    M packaging/netbsd/Makefile
    M packaging/openbsd/Makefile
    M packaging/redhat_fedora/opensips.spec
    M packaging/solaris/base-pkginfo
    M packaging/solaris/berkeley-pkginfo
    M packaging/solaris/carrierroute-pkginfo
    M packaging/solaris/identity-pkginfo
    M packaging/solaris/ldap-pkginfo
    M packaging/solaris/mmgeoip-pkginfo
    M packaging/solaris/mysql-pkginfo
    M packaging/solaris/perl-pkginfo
    M packaging/solaris/pgsql-pkginfo
    M packaging/solaris/regex-pkginfo
    M packaging/solaris/snmp-pkginfo
    M packaging/solaris/tls-pkginfo
    M packaging/solaris/xmlrpc-pkginfo

  Log Message:
  -----------
  Bump version to 2.4.7


  Commit: 9e1fcc9154f4f0535b8a512957a1afb224d9e843
      https://github.com/OpenSIPS/opensips/commit/9e1fcc9154f4f0535b8a512957a1afb224d9e843
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  Bump version for 2.4.7


Compare: https://github.com/OpenSIPS/opensips/compare/94a9b7da7c56...9e1fcc9154f4


From noreply at github.com  Tue Jan 28 10:34:31 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 07:34:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dc1dc5: Bump version to 3.0.2
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/97abae-7e8167@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dc1dc52c2bb4589e9a4bc8444159ada674324eff
      https://github.com/OpenSIPS/opensips/commit/dc1dc52c2bb4589e9a4bc8444159ada674324eff
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M Makefile.defs
    M packaging/debian/changelog
    M packaging/freebsd/Makefile
    R packaging/gentoo/opensips-3.0.1.ebuild
    A packaging/gentoo/opensips-3.0.2.ebuild
    M packaging/netbsd/Makefile
    M packaging/openbsd/Makefile
    M packaging/redhat_fedora/opensips.spec
    M packaging/solaris/base-pkginfo
    M packaging/solaris/berkeley-pkginfo
    M packaging/solaris/carrierroute-pkginfo
    M packaging/solaris/identity-pkginfo
    M packaging/solaris/ldap-pkginfo
    M packaging/solaris/mmgeoip-pkginfo
    M packaging/solaris/mysql-pkginfo
    M packaging/solaris/perl-pkginfo
    M packaging/solaris/pgsql-pkginfo
    M packaging/solaris/regex-pkginfo
    M packaging/solaris/snmp-pkginfo
    M packaging/solaris/tls-pkginfo
    M packaging/solaris/xmlrpc-pkginfo

  Log Message:
  -----------
  Bump version to 3.0.2


  Commit: 7e8167853dab04ec0ab8e2799d41a55789ede725
      https://github.com/OpenSIPS/opensips/commit/7e8167853dab04ec0ab8e2799d41a55789ede725
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  Bump version to 3.0.2


Compare: https://github.com/OpenSIPS/opensips/compare/97abae61755b...7e8167853dab


From noreply at github.com  Tue Jan 28 10:34:56 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 07:34:56 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/tags/3.0.2/000000-7e8167@github.com>

  Branch: refs/tags/3.0.2
  Home:   https://github.com/OpenSIPS/opensips


From noreply at github.com  Tue Jan 28 10:35:10 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 28 Jan 2020 07:35:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips]
Message-ID: <OpenSIPS/opensips/push/refs/tags/2.4.7/000000-9e1fcc@github.com>

  Branch: refs/tags/2.4.7
  Home:   https://github.com/OpenSIPS/opensips


From razvan at opensips.org  Tue Jan 28 10:48:50 2020
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Tue, 28 Jan 2020 17:48:50 +0200
Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 2.4.7 and 3.0.2 minor releases
In-Reply-To: <eef0f39b-ab3c-c153-0888-03443b83000b@opensips.org>
References: <eef0f39b-ab3c-c153-0888-03443b83000b@opensips.org>
Message-ID: <c3e407ca-af91-386c-bb28-679c4d77ba40@opensips.org>

Hi, everyone!

The new OpenSIPS minor releases are now out: feel free to give them a spin:

* 2.4.7: https://opensips.org/pub/opensips/2.4.7/
* 3.0.2: https://opensips.org/pub/opensips/3.0.2/

Cheers,
Răzvan

On 1/23/20 11:57 AM, Răzvan Crainea wrote:
> Hello to you all!
> 
> I am pleased to announce you that we will make two more stable minor 
> releases next week. I'm talking about OpenSIPS 2.4.7 and 3.0.2.
> 
> These new releases will contain several bug fixes (more than 150 
> commits), the headline being the notorious OpenSSL fix for the TLS 
> connections.
> 
> The new releases are scheduled for Tuesday, 28.01.2020.
> 
> Please let us know on GitHub of any pending issues or tickets that are 
> affecting the current versions so that we can get them fixed until the 
> next release.
> 
> Thank you all for your contributions to the OpenSIPS community!
> 
> Best wishes,

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com


From noreply at github.com  Wed Jan 29 03:06:14 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 00:06:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b07a82: sql_cacher: nr_columns
 limitation is 64, not 8
Message-ID: <OpenSIPS/opensips/push/refs/heads/coverity_scan/44f52d-7a03a8@github.com>

  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b07a82d62e500c3b28016842100f0c0210fb1a96
      https://github.com/OpenSIPS/opensips/commit/b07a82d62e500c3b28016842100f0c0210fb1a96
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: nr_columns limitation is 64, not 8

Fix limitation when the number of columns was wrongfuly limited to 8,
instead of 64, preventing loading more than 8 columns

Thanks go to Bogdan Iancu for spotting this and suggesting the fix


  Commit: 21f3bdb6ec7f491f41f14b18dd4aedd1036ecd64
      https://github.com/OpenSIPS/opensips/commit/21f3bdb6ec7f491f41f14b18dd4aedd1036ecd64
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  redhat_fedora: specify cfg_target when installing

When installing osipsconsole, we need to know the `cfg_target` to be
able to retrieve it later, otherwise it will default to
`/usr/etc/opensips.cfg`, which is broken.

This addresses #1676


  Commit: 056e43020315a5beaf8df2002c6b4b7af97baa54
      https://github.com/OpenSIPS/opensips/commit/056e43020315a5beaf8df2002c6b4b7af97baa54
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  debian: encourage using MaxMindDB, rather than geoip

This way whoever builds the package can choose which lib to install, and
the appropriate version of the mmgeoip module will be built.

Addresses issue #1618


  Commit: 83e2ed6e700e08cf3b590b4b299e542adf743753
      https://github.com/OpenSIPS/opensips/commit/83e2ed6e700e08cf3b590b4b299e542adf743753
  Author: Nick Altmann <nikbyte at users.noreply.github.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  Merge pull request #1751 from razvancrainea/master

redhat_fedora: specify cfg_target when installing

Thanks Razvan Crainea for patch


  Commit: 1f8f12c4152d278018abc26669097931b3d0550b
      https://github.com/OpenSIPS/opensips/commit/1f8f12c4152d278018abc26669097931b3d0550b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  Fixed comment


  Commit: fa135cf493c88341848f98d71a36d07187db16d8
      https://github.com/OpenSIPS/opensips/commit/fa135cf493c88341848f98d71a36d07187db16d8
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  Compacted declaration


  Commit: 720cf839b4e6277e73b82a3ad5f324b3722b3876
      https://github.com/OpenSIPS/opensips/commit/720cf839b4e6277e73b82a3ad5f324b3722b3876
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  Fixed test for socket str length


  Commit: d894c547144b3f5859f9f5c62b57eb581444715b
      https://github.com/OpenSIPS/opensips/commit/d894c547144b3f5859f9f5c62b57eb581444715b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/b2b_logic/logic.c
    M modules/b2b_logic/records.c
    M modules/osp/cnam.c
    M modules/presence/subscribe.c
    M modules/presence/utils_func.h

  Log Message:
  -----------
  Refactored get_local_contact to accept an optional username argument


  Commit: 2074d7cebe74b2a62693362c7e6d5ac222606a30
      https://github.com/OpenSIPS/opensips/commit/2074d7cebe74b2a62693362c7e6d5ac222606a30
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/cgrates/cgrates.c

  Log Message:
  -----------
  cgrates: allow setting NULL variables

Close #1750
Thanks go to Vasilios Tzanoudakis for reporting this!

(cherry picked from commit 44afc4a159517568007bda25418c80a82e501363)


  Commit: 40b742256aa5ea390efbe3949343abf57e555fd3
      https://github.com/OpenSIPS/opensips/commit/40b742256aa5ea390efbe3949343abf57e555fd3
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/sync.c
    M modules/clusterer/sync.h

  Log Message:
  -----------
  clusterer: improve performance of replication packets processing

Dispatch through IPC the actual processing of the received replication packets.
This prevents bottelnecks in a single TCP process that receives all the BIN
packets in high traffic scenarios.


  Commit: 23abe46bc9eb59eaeb4319f68556e360f527d828
      https://github.com/OpenSIPS/opensips/commit/23abe46bc9eb59eaeb4319f68556e360f527d828
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/presence/presence.c
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h

  Log Message:
  -----------
  presence: Normalized spacing in a few places


  Commit: d4a33111e286aa0edb509800ae6a69739cf058ae
      https://github.com/OpenSIPS/opensips/commit/d4a33111e286aa0edb509800ae6a69739cf058ae
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  presence: Removed unnecessary goto


  Commit: 39afa59111605119e2a625e1f694337ad6d36c51
      https://github.com/OpenSIPS/opensips/commit/39afa59111605119e2a625e1f694337ad6d36c51
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/rls/rls.c

  Log Message:
  -----------
  rls: Normalized some spacing (use TABs to indent)


  Commit: 8076cdbdfb18f07d8fbbabbc6eda506345c806dd
      https://github.com/OpenSIPS/opensips/commit/8076cdbdfb18f07d8fbbabbc6eda506345c806dd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/pua_dialoginfo/pua_dialoginfo.c

  Log Message:
  -----------
  [pua_dialoginfo] Fixed nopublish_flag modparam

It seems the parameter (a msg flag) was not migrated to string format.
Also the actual test of the flag got lost somewhere during the rework


  Commit: 18c7aad4accbc4801fdea443747227274eb11bc3
      https://github.com/OpenSIPS/opensips/commit/18c7aad4accbc4801fdea443747227274eb11bc3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Fixed missing error reporting.


  Commit: 668fcbd8c085cac0afa714353d61f825b74afd31
      https://github.com/OpenSIPS/opensips/commit/668fcbd8c085cac0afa714353d61f825b74afd31
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M bin_interface.c

  Log Message:
  -----------
  bin interface: lower level of irrelevant log message to DBG


  Commit: a105be21ba27d9e796e6a158b30278777c656ca8
      https://github.com/OpenSIPS/opensips/commit/a105be21ba27d9e796e6a158b30278777c656ca8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: store ctx in dialog when starting accounting


  Commit: c29a0d09eefc6aec34b838028a7ae5d328ff18b3
      https://github.com/OpenSIPS/opensips/commit/c29a0d09eefc6aec34b838028a7ae5d328ff18b3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: fix broken error check in load_dlg_db


  Commit: d949a7a7be402ae9505483322cde27a54f25d163
      https://github.com/OpenSIPS/opensips/commit/d949a7a7be402ae9505483322cde27a54f25d163
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml

  Log Message:
  -----------
  [pua_dialoginfo] fix docs for nopublish_flag


  Commit: aa2f534e18dc0830a160bb90d4cc3a116386953d
      https://github.com/OpenSIPS/opensips/commit/aa2f534e18dc0830a160bb90d4cc3a116386953d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-04 (Thu, 04 Jul 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix broken stats after a restart+reload

    * the "active_dialogs" and "early_dialogs" stats were broken along
      with the data reloading move to child_init()

    * the global helper counters, "active_dlgs_cnt" and "early_dlgs_cnt"
      are no longer needed


  Commit: 477d0f67861a6f494902846a574507d9087e87b4
      https://github.com/OpenSIPS/opensips/commit/477d0f67861a6f494902846a574507d9087e87b4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M lib/csv.c
    M lib/csv.h
    M lib/url.c
    M modules/freeswitch_scripting/fss_db.c
    M modules/mmgeoip/geoip2.c
    M modules/nathelper/nathelper.c
    M modules/presence/clustering.c
    M modules/rabbitmq_consumer/rmq_connection.c
    M modules/tls_mgm/tls_domain.c
    M str.h
    M test/unit_tests.c

  Log Message:
  -----------
  lib/csv.h: Add an RFC 4180 CSV parser

    * also invert the CSV_SIMPLE flag into CSV_RFC_4180
    * adjust all calling code to use the new set of parsing flags


  Commit: 769ddedf3990028f8650d436798f9a52e1d8883b
      https://github.com/OpenSIPS/opensips/commit/769ddedf3990028f8650d436798f9a52e1d8883b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M Makefile.test
    A lib/test/test_csv.c
    A lib/test/test_csv.h

  Log Message:
  -----------
  lib/csv.h: Full unit test coverage


  Commit: 394f57a8da54de0161eafee643e7def4db2d74ed
      https://github.com/OpenSIPS/opensips/commit/394f57a8da54de0161eafee643e7def4db2d74ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  {csv.} transformation: Use the lib/csv.h parser

Fixes #1220
Closes #1416


  Commit: ca81c501f7fcaca32fae6235b2489933f2efefd3
      https://github.com/OpenSIPS/opensips/commit/ca81c501f7fcaca32fae6235b2489933f2efefd3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_local/doc/cachedb_local_admin.xml

  Log Message:
  -----------
  cachedb_local: Improve 'cache_collections' parser

The 'cache_collections' modparam parser is now fully tolerant to any
kind of whitespace present in the string.

Fixes #1424


  Commit: ab063d32e10c2c0a81319ace5bb724a085bb3f85
      https://github.com/OpenSIPS/opensips/commit/ab063d32e10c2c0a81319ace5bb724a085bb3f85
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: add unbind handler

Thanks go to Slava Bendersky for reporting this in ticket #1728


  Commit: 31b2c83533d7631506a80ffdfb6b09226c83e8d3
      https://github.com/OpenSIPS/opensips/commit/31b2c83533d7631506a80ffdfb6b09226c83e8d3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smsc: rebind connection when lost

Thanks go to Slava Bendersky for reporting this in ticket #1728


  Commit: eec488d82116963d7b326f372f2d99f8b37d8ff8
      https://github.com/OpenSIPS/opensips/commit/eec488d82116963d7b326f372f2d99f8b37d8ff8
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M modules/rls/notify.c
    M modules/rls/resource_notify.c
    M modules/rls/rls.c
    M modules/rls/subscribe.c

  Log Message:
  -----------
  Fixed indentation


  Commit: 18f8714f2ca9d8d4e4192279de2464e6245481aa
      https://github.com/OpenSIPS/opensips/commit/18f8714f2ca9d8d4e4192279de2464e6245481aa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: make sure to properly reconnect session

Addresses ticket #1728


  Commit: 0a7b4fc3ed5b8db8a593e0a4bf5c8730623419a1
      https://github.com/OpenSIPS/opensips/commit/0a7b4fc3ed5b8db8a593e0a4bf5c8730623419a1
  Author: Ovidiu Sas <osas at voipembedded.com>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M Makefile.defs

  Log Message:
  -----------
  Makefile.defs: increase version to 3.1.0-dev


  Commit: 5692501f8ce3eda41872e4d5996d701bc804408e
      https://github.com/OpenSIPS/opensips/commit/5692501f8ce3eda41872e4d5996d701bc804408e
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-06 (Sat, 06 Jul 2019)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  rls: Fixed memory leak in rls_handle_subscribe


  Commit: a72132832f0835d815fdc9488d80df684eb2dbde
      https://github.com/OpenSIPS/opensips/commit/a72132832f0835d815fdc9488d80df684eb2dbde
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-06 (Sat, 06 Jul 2019)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  rls: Report the actual code that was used in reply


  Commit: be0d3b7bb3b2e956b783623df417f48582aadc5a
      https://github.com/OpenSIPS/opensips/commit/be0d3b7bb3b2e956b783623df417f48582aadc5a
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-06 (Sat, 06 Jul 2019)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  rls: Cleanup spacing


  Commit: 52949f490d2dbf67dcf5ef1b37f537e2e0d16d27
      https://github.com/OpenSIPS/opensips/commit/52949f490d2dbf67dcf5ef1b37f537e2e0d16d27
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-07-07 (Sun, 07 Jul 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/mmgeoip/README
    M modules/mmgeoip/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/osp/README
    M modules/osp/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/contributors.xml
    M modules/rabbitmq_consumer/README
    M modules/rabbitmq_consumer/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 61debb3891462e15bd62223cc5bdb776c172b207
      https://github.com/OpenSIPS/opensips/commit/61debb3891462e15bd62223cc5bdb776c172b207
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Fixed variable name in function call


  Commit: 36b4be98794bfac120c345f70db3ad8a94a8ffef
      https://github.com/OpenSIPS/opensips/commit/36b4be98794bfac120c345f70db3ad8a94a8ffef
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Properly set the SI_IS_LO flag on interfaces specified using IPs/hostnames


  Commit: 0cdaff16717aacd543de1b46e62b690d03832945
      https://github.com/OpenSIPS/opensips/commit/0cdaff16717aacd543de1b46e62b690d03832945
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  Renamed refreshWatchers to refresh_watchers in documentation


  Commit: 1ca0501eb2d8c4d9566b56a4baf7ffb6b0687361
      https://github.com/OpenSIPS/opensips/commit/1ca0501eb2d8c4d9566b56a4baf7ffb6b0687361
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M modules/presence/doc/presence_admin.xml
    M modules/presence/presence.c
    M modules/presence/presence.h
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h
    M modules/rls/doc/rls_admin.xml
    M modules/rls/notify.c
    M modules/rls/rls.c
    M modules/rls/rls.h
    M modules/rls/subscribe.c

  Log Message:
  -----------
  Refactored presence/rls configuration for specifying the Contact URI

Removed the server_address modparam and replaced it with contact_user.
The server_address was used to specify the URI for the Contact header
and it was optional for presence but mandatory for rls.

The idea of manually locking the Contact URI to a fixed value that is
specified in the configuration is non-functional in any setup that
involves the proxy listening on more than 1 IP/port/transport combo.

In the new model, the only configurable part of the Contact URI is the
username part, that can be specified through the contact_user modparam,
while the rest of the elements of the URI are automatically determined
from the interface where the request was recevied or sent from.


  Commit: 66969bfcd214388c53005928505124367a9255d4
      https://github.com/OpenSIPS/opensips/commit/66969bfcd214388c53005928505124367a9255d4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/node_info.c
    M modules/clusterer/sync.c
    M modules/clusterer/sync.h
    M modules/dialog/dialog.c
    M modules/dialog/dlg_replication.c
    M modules/usrloc/ul_cluster.c
    M modules/usrloc/ul_mi.c

  Log Message:
  -----------
  clusterer: improve the seed node mechanism

The "seed" node will now revert to a "synced" state after a configurable
interval instead of directly form startup.

Closes #1591


  Commit: b6914e27b37e8cf200cf6bafccdc49aebc4e5f03
      https://github.com/OpenSIPS/opensips/commit/b6914e27b37e8cf200cf6bafccdc49aebc4e5f03
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-08 (Mon, 08 Jul 2019)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c

  Log Message:
  -----------
  cachedb_local: fix call to request_sync() from clusterer api


  Commit: f418c2a15483de6908a273817b7b3cae33e71301
      https://github.com/OpenSIPS/opensips/commit/f418c2a15483de6908a273817b7b3cae33e71301
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-09 (Tue, 09 Jul 2019)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c

  Log Message:
  -----------
  cachedb_local: Fix missing array terminator

Fixes #1757


  Commit: d15c80e49c71a62a3df995cd2d5a747b7c75fc02
      https://github.com/OpenSIPS/opensips/commit/d15c80e49c71a62a3df995cd2d5a747b7c75fc02
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-09 (Tue, 09 Jul 2019)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: improve docs for the verify_cert and require_cert modparams


  Commit: ccf3c20da7ae4e8874f6b700fcb2185e522417ae
      https://github.com/OpenSIPS/opensips/commit/ccf3c20da7ae4e8874f6b700fcb2185e522417ae
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-09 (Tue, 09 Jul 2019)

  Changed paths:
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: fix doc example for cluster_send_rpl()


  Commit: ef30e4f44a0e02b320b7241ddd8b24f42ba1d845
      https://github.com/OpenSIPS/opensips/commit/ef30e4f44a0e02b320b7241ddd8b24f42ba1d845
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M modules/path/path_mod.c

  Log Message:
  -----------
  Fix wrong internal mapping for "add_path_received"

The mix probably happened durring the upgrade of the module interface.
Fixes #1739

(cherry picked from commit 861b4911298b103a6f879922b456a18eeba8fbc7)


  Commit: 88452327e470d77204825a50e18765f0cdae57de
      https://github.com/OpenSIPS/opensips/commit/88452327e470d77204825a50e18765f0cdae57de
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M parser/parse_rr.c

  Log Message:
  -----------
  Fix leak due bad free of temporary parsed RR hdr

Free the list (of RR body) starting from the original RR body, not from the iterator value (which will be NULL all the time)

(cherry picked from commit 2c7449091ef1920ae4d9030061c0992c27dfdb2b)


  Commit: 04a56fbd7d51b7aee5ff8a838b1e2a83094c1c92
      https://github.com/OpenSIPS/opensips/commit/04a56fbd7d51b7aee5ff8a838b1e2a83094c1c92
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  rest_client: Make async(rest_put()) do a PUT, not a POST


  Commit: 3b2586d64828e89525ae050897c8bd62a9c9ce92
      https://github.com/OpenSIPS/opensips/commit/3b2586d64828e89525ae050897c8bd62a9c9ce92
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/rest_client/rest_client.c

  Log Message:
  -----------
  rest_client:  Let libcurl use the system malloc functions

The fact that libcurl spawns a thread in order to perform each transfer
is well known.  Also known was the fact that by instructing libcurl to
use the pkg_*alloc() functions, an OpenSIPS worker must synchronize with
the libcurl thread before they can both manipulate the PKG pool.  Commit
900f6c996c697b was an attempt to solve this, however the fix DOES NOT
hold, as it was implemented in that commit (the curl thread is aware of
the thread lock while the original process ignores it...).

The only way we can make libcurl use the opensips pkg mem allocation
functions is by changing pkg_malloc() itself to also grab a thread
lock.  And this is already too much, as it would unnecessarily slow down
the pkg allocator, while the benefits are minimal anyway: what do we
stand to gain if libcurl uses our mem pool?  Close to nothing.

We just let libcurl use the system memory manager (along with as much
memory as it wants) and we're done with this issue for good.

Fixes #1546


  Commit: 9ca66c8dfa2f5befb117b9c236529d78f53a409f
      https://github.com/OpenSIPS/opensips/commit/9ca66c8dfa2f5befb117b9c236529d78f53a409f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  Fix wrong test

(cherry picked from commit c203ddec1e9ffcea5e141fbd03709921ded14c37)


  Commit: dea97be92d71514da6705e53a5265564902fc21f
      https://github.com/OpenSIPS/opensips/commit/dea97be92d71514da6705e53a5265564902fc21f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix several possible deadlocks in case of errors

Reported by Ben Newlin in #1760


  Commit: aa38fb1fba6b51c6e27e4d8f87ae10c032700282
      https://github.com/OpenSIPS/opensips/commit/aa38fb1fba6b51c6e27e4d8f87ae10c032700282
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix a memory leak in case of a failed SQL query

Reported by Ben Newlin in #1760


  Commit: f6232b068e0e4d423747299be2f69ee011004733
      https://github.com/OpenSIPS/opensips/commit/f6232b068e0e4d423747299be2f69ee011004733
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: properly increment relod version on timer reloads

Reported by Ben Newlin in #1760


  Commit: 6638b06f3ffa1fbc8d19f0532879e2c6c77a76d0
      https://github.com/OpenSIPS/opensips/commit/6638b06f3ffa1fbc8d19f0532879e2c6c77a76d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: run loaded callback for dialogs loaded from db

Fixes a bug introduced in commit 8c8f27f that was relying on the fact
that dialogs were loaded from db *before* registering the loaded
callback, due to the dependencies mechanism. Thus the loaded callback
was ran on the spot, when the it was registered.

However, this is not entirely correct, since there are modules (such as
acc module) that do not have dialog dependencies, but still register
LOADED dialogs - in these cases, if dialog was loaded (in script) after
the module itself, the callback was never run. This behavior was
amplified by commit 3ddae43, which was basically never loading the
dialogs before registering the callback, thus the loaded callbacks were
never ran.

The purpose of this commit is to fix this issue, reported in #1754

Thanks go to Liviu Chircu for reporting the issue and providing the fix


  Commit: dc6ac9e47b5825718204b08de8b90a60384598d2
      https://github.com/OpenSIPS/opensips/commit/dc6ac9e47b5825718204b08de8b90a60384598d2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  [rtpproxy] Fixed wrong test when building MI output


  Commit: 303ff59c91f26affa070ccadc503c52fca527368
      https://github.com/OpenSIPS/opensips/commit/303ff59c91f26affa070ccadc503c52fca527368
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  [rtpengine] Fixed wrong test when building MI output


  Commit: 72f06a574427cd5627cf8b16780f4d622d7e0c3d
      https://github.com/OpenSIPS/opensips/commit/72f06a574427cd5627cf8b16780f4d622d7e0c3d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  [load-balancer] Link Resource under each Destination node

Fixes how the output of the "lb_list" MI command is structured.


  Commit: ecea9b07445d6125607cd086efc34b1dc9938669
      https://github.com/OpenSIPS/opensips/commit/ecea9b07445d6125607cd086efc34b1dc9938669
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  'include_file' statement: Re-introduce relative file paths

During the preprocessor migration, it seems the support for relative
file paths was lost.  This commit re-introduces all the lost features:

    * allow relative-path imports, e.g. include_file "cgrates.cfg".
      These file paths are considered to be relative to the .cfg file
      that is importing them

    * prioritize any relative-path imports found in the startup
      directory
      (Note: this is different from the "-w" working directory!)

    * detect infinite "include_file" loops

Many thanks to Jonathan Hulme for discovering and reporting this issue!


  Commit: 642271cf43ae005e81125bc98fcabc6700e46aca
      https://github.com/OpenSIPS/opensips/commit/642271cf43ae005e81125bc98fcabc6700e46aca
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: don't query the SQL DB under lock when reloading

Previously, retrieving any key from the cache during a reload would
blocked until the SQL DB query completed.

Suggested by Ben Newlin in #1760


  Commit: cdb90bca77fe741b2c35233493d1f0279cb9aaf2
      https://github.com/OpenSIPS/opensips/commit/cdb90bca77fe741b2c35233493d1f0279cb9aaf2
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-07-14 (Sun, 14 Jul 2019)

  Changed paths:
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/path/README
    M modules/path/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/rest_client/README
    M modules/rest_client/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 91be787f16414c208f64cd71d43d7e4fcb4bb987
      https://github.com/OpenSIPS/opensips/commit/91be787f16414c208f64cd71d43d7e4fcb4bb987
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-17 (Wed, 17 Jul 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  smpp: make sure we re-fetch the connection after rebinding

Reported by volga629 in ticket #1728


  Commit: 2f5be7bb2ea733069c6f5cb6722cd972b17b31c5
      https://github.com/OpenSIPS/opensips/commit/2f5be7bb2ea733069c6f5cb6722cd972b17b31c5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-17 (Wed, 17 Jul 2019)

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: allow add_isup_part() in request and failure routes

Reported by Sagar Malam on the mailing list.


  Commit: 6e39385233543ee9583469c55d3d3d1738917fb7
      https://github.com/OpenSIPS/opensips/commit/6e39385233543ee9583469c55d3d3d1738917fb7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-18 (Thu, 18 Jul 2019)

  Changed paths:
    M modules/tm/t_cancel.c
    M modules/tm/t_fwd.c

  Log Message:
  -----------
  tm: check branches that should be cancelled under lock

This fix avoids race condition between a CANCEL message and replies that
are coming in the same time.

Thanks go to Tommy Brecher for reprting this and offering extensive logs
to debug the issue in ticket #1759.
Credits for the fix are shared with Bogdan Iancu for the brainstoring.


  Commit: f21e0bb66822fbb03a27005eb5f3451b789e263c
      https://github.com/OpenSIPS/opensips/commit/f21e0bb66822fbb03a27005eb5f3451b789e263c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-18 (Thu, 18 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: set a termination reason for CANCELled dlgs

Close #1481


  Commit: f5c4df538b31feefc592c3a0343a7cd6a4baf4a6
      https://github.com/OpenSIPS/opensips/commit/f5c4df538b31feefc592c3a0343a7cd6a4baf4a6
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  Replaced TABs with spaces in the debian control file


  Commit: 8bd9c604f4a331a0c5f3224a156144ddf62a0fd0
      https://github.com/OpenSIPS/opensips/commit/8bd9c604f4a331a0c5f3224a156144ddf62a0fd0
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  Fixed Engrish


  Commit: 0e6e1be7efabebce8d1158548dbea520445a0554
      https://github.com/OpenSIPS/opensips/commit/0e6e1be7efabebce8d1158548dbea520445a0554
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M packaging/debian/control

  Log Message:
  -----------
  Updated debian package description


  Commit: 8511c22c4331b1daa61cb85c33757d1d8765d5e7
      https://github.com/OpenSIPS/opensips/commit/8511c22c4331b1daa61cb85c33757d1d8765d5e7
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: fix package description (following apt spec)


  Commit: cd3bc09c716b1469b0b06d50794c7d1d9c42baf7
      https://github.com/OpenSIPS/opensips/commit/cd3bc09c716b1469b0b06d50794c7d1d9c42baf7
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-07-21 (Sun, 21 Jul 2019)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/sip_i/README
    M modules/sip_i/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: a5a9c1c28ec876ae219ab34c1ef1bf61b40ceb5e
      https://github.com/OpenSIPS/opensips/commit/a5a9c1c28ec876ae219ab34c1ef1bf61b40ceb5e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M modules/auth/api.c
    M modules/auth/api.h
    M modules/auth/auth_mod.c
    M modules/auth/challenge.c
    M modules/auth/challenge.h
    M modules/auth/doc/auth_admin.xml
    M modules/auth/rfc2617.c
    M modules/auth/rfc2617.h
    M modules/auth_db/authorize.c

  Log Message:
  -----------
  auth, auth_db: add support for "auth-int" qop


  Commit: 5dbded6e97003f1389d3d5c36b24cffeab0dc51c
      https://github.com/OpenSIPS/opensips/commit/5dbded6e97003f1389d3d5c36b24cffeab0dc51c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M modules/uac/auth.c
    M modules/uac_auth/auth.c
    M modules/uac_auth/doc/uac_auth_admin.xml
    M modules/uac_auth/uac_auth.h
    M modules/uac_registrant/registrant.c
    M parser/parse_authenticate.c
    M parser/parse_authenticate.h
    A parser/test/test_parse_qop.c
    A parser/test/test_parse_qop.h
    M test/unit_tests.c

  Log Message:
  -----------
  uac_auth: add support for "auth-int" qop


  Commit: aafbb85ce6ce6d46c2cc25770e52cc012c4d4ac1
      https://github.com/OpenSIPS/opensips/commit/aafbb85ce6ce6d46c2cc25770e52cc012c4d4ac1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_json.c

  Log Message:
  -----------
  cachedb_mongodb: Add support for TIMESTAMP and BINARY types


  Commit: 1ebb8ac3dcf5dc65c1038b7398029062bfd79aa7
      https://github.com/OpenSIPS/opensips/commit/1ebb8ac3dcf5dc65c1038b7398029062bfd79aa7
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M modules/auth/challenge.c

  Log Message:
  -----------
  auth: fix a compile warning


  Commit: 5f52ae39108cb171fae1338a4fad6126506df279
      https://github.com/OpenSIPS/opensips/commit/5f52ae39108cb171fae1338a4fad6126506df279
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix call to _do_uac_auth() from auth API


  Commit: 2a175eba2cfb93008ecda99896bb0735e0a4f12c
      https://github.com/OpenSIPS/opensips/commit/2a175eba2cfb93008ecda99896bb0735e0a4f12c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  socket: properly check glibc version


  Commit: e6d8c1f431034813daf313a104d695c2e0285ac8
      https://github.com/OpenSIPS/opensips/commit/e6d8c1f431034813daf313a104d695c2e0285ac8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M resolve.h

  Log Message:
  -----------
  resolve: define MAXHOSTNAMELEN if not defined


  Commit: 8c4332ead923f27cfa89fa0f07f3add04cd1bbbe
      https://github.com/OpenSIPS/opensips/commit/8c4332ead923f27cfa89fa0f07f3add04cd1bbbe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: fix glibc version check


  Commit: 7d01f00a0494435d0fdb2a54e810f2ae5628c19f
      https://github.com/OpenSIPS/opensips/commit/7d01f00a0494435d0fdb2a54e810f2ae5628c19f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M modules/mathops/math_funcs.c

  Log Message:
  -----------
  mathops: make GNU_SOURCE set for math.h


  Commit: 73cc6ec8da931ce919d89a351de8a556d5952789
      https://github.com/OpenSIPS/opensips/commit/73cc6ec8da931ce919d89a351de8a556d5952789
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  evi: fix subscribers list mi cmd


  Commit: 139bb4c0c65e8ec5a7c870c3fc9f35fcf2c24b87
      https://github.com/OpenSIPS/opensips/commit/139bb4c0c65e8ec5a7c870c3fc9f35fcf2c24b87
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/sngtc/sngtc.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  pt: expose number of processes at mod_init

Add a function that exposes the number of processes at mod_init(). Even
if this is not entirely accurate (some processes might remove their
external processes during mod_init), it's the best chance we can get to
count the number of pipes we need to create for modules that use
synchronous communication.

This fix solves event_* sync processing.

Thanks go to Rizwan Syed for reporting this, close #1768


  Commit: d176c6286620adb173d292d89cf86503bd1b57de
      https://github.com/OpenSIPS/opensips/commit/d176c6286620adb173d292d89cf86503bd1b57de
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M ipc.c
    M ipc.h
    M pt.c
    M pt.h

  Log Message:
  -----------
  ipc: add new set of synchronous pipes

These new pipe set for each process can be used to synchronously send a
command from one process to the other. When using these pipes, make sure
that there's no other job that can overlap, otherwise the receiver will
not be albe to handle it


  Commit: 935d7690733040c48599cbc6039ff9aa913e7d80
      https://github.com/OpenSIPS/opensips/commit/935d7690733040c48599cbc6039ff9aa913e7d80
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_jsonrpc/jsonrpc_send.h
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_rabbitmq/rabbitmq_send.h
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/event_xmlrpc/xmlrpc_send.h

  Log Message:
  -----------
  event_*: use the new sync pipes mechanism

Use the new pipe sync mechanism to notify the status of commands sent by
the following modules:
* event_xmlrpc
* event_jsonrpc
* event_rabbitmq


  Commit: bc62c9bb6b45c56a412bf36ebce9e1a215406cee
      https://github.com/OpenSIPS/opensips/commit/bc62c9bb6b45c56a412bf36ebce9e1a215406cee
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c

  Log Message:
  -----------
  fix previous commit rebase issue


  Commit: 94bbbebbcf99843baa5b6d60e699a466c9adc3d2
      https://github.com/OpenSIPS/opensips/commit/94bbbebbcf99843baa5b6d60e699a466c9adc3d2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc shutdown: Destroy the CDB conn _after_ cleanup

This fixes a possible crash on shutdown whenever a contact expires
during the shutdown and needs to be flushed.

Credits to @bogdan-iancu for the accurate report


  Commit: 9db3a562a72d1b49b6a62cc42603748aad200f38
      https://github.com/OpenSIPS/opensips/commit/9db3a562a72d1b49b6a62cc42603748aad200f38
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: fix memory leak in unset_dlg_profile()

(cherry picked from commit ca0ea3f7fb5849f208d6a685739fdbae567caed3)


  Commit: 346b9528d1b6292bc4da1c2e976a2ff1b3d2a88e
      https://github.com/OpenSIPS/opensips/commit/346b9528d1b6292bc4da1c2e976a2ff1b3d2a88e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-26 (Fri, 26 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: Improve accuracy for active/early dialog stats

Avoid lingering increments whenever a dialog is loaded from DB which
eventually ends up getting discarded.


  Commit: bf968d01679a48b9ff79f4edb9abf2743d3586b1
      https://github.com/OpenSIPS/opensips/commit/bf968d01679a48b9ff79f4edb9abf2743d3586b1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-27 (Sat, 27 Jul 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  cfg preprocessor: Fix a dirty buffer management bug

One of those pesky bugs, caused by not knowing your snprintf's well...
This strange, seemingly inexplicable bug only manifested whenever a
series of config file lines + preprocessor tokens formed a multiple
of 4096 bytes, the amount by which the preprocessor buffer gets extended
with each reallocation.

With such config files, the snprintf() would truncate the last byte of
the config file line adding up to N*4096 bytes (usually a '\n'), and put
a '\0' instead, after which the preprocessing continued normally.

However, it seems Yacc isn't too happy when you feed it with a buffer
which includes '\0' characters, as this will cause it to barf some
binary data to stdout, somewhat ruining the logfile.


  Commit: a970602b72a8fc0293a7aa2ea78070eaeb1406c5
      https://github.com/OpenSIPS/opensips/commit/a970602b72a8fc0293a7aa2ea78070eaeb1406c5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-27 (Sat, 27 Jul 2019)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  cfg script: Remove max line length limitation to 4096 bytes


  Commit: ae3fcda3b6971a8925d6ef96d641b0569e9a607e
      https://github.com/OpenSIPS/opensips/commit/ae3fcda3b6971a8925d6ef96d641b0569e9a607e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-27 (Sat, 27 Jul 2019)

  Changed paths:
    M action.c
    M action.h
    M cfg.lex
    M cfg.y
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  cfg syntax: Fully implement the 'break' statement

The opensips.cfg now supports:

    * 'break' under an 'if', within a 'switch' statement (any part)
    * 'break' within a 'while' statement
    * 'break' under an 'if', within a 'while' statement
    * 'break' within a 'for-each' statement
    * 'break' under an 'if', within a 'for-each' statement
    * 'break' from nested 'switch' / 'while' / 'for-each' statements


  Commit: 1c385981b0f1395b9d00a57e6a2d024760868a96
      https://github.com/OpenSIPS/opensips/commit/1c385981b0f1395b9d00a57e6a2d024760868a96
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-07-28 (Sun, 28 Jul 2019)

  Changed paths:
    M modules/auth/README
    M modules/auth/doc/contributors.xml
    M modules/auth_db/README
    M modules/auth_db/doc/contributors.xml
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/event_jsonrpc/README
    M modules/event_jsonrpc/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_xmlrpc/README
    M modules/event_xmlrpc/doc/contributors.xml
    M modules/mathops/README
    M modules/mathops/doc/contributors.xml
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml
    M modules/uac_auth/README
    M modules/uac_auth/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: ff245d48e9ac1c90a805eaa9f7517646ddef9e0f
      https://github.com/OpenSIPS/opensips/commit/ff245d48e9ac1c90a805eaa9f7517646ddef9e0f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/siprec/doc/siprec_admin.xml
    M modules/siprec/siprec.c
    M modules/siprec/siprec_logic.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h

  Log Message:
  -----------
  siprec: provide means to add headers to initial req


  Commit: 1f7ea9613cb855f51b5d9877752494a15f2afbbf
      https://github.com/OpenSIPS/opensips/commit/1f7ea9613cb855f51b5d9877752494a15f2afbbf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/sync.c

  Log Message:
  -----------
  clusterer: Make the data sync interface more robust

This patch improves the data sync interface so that during a sync,
modules are no longer forced to micro-manage the data packets they are
receiving from the interface.  They can now freely abort the processing
of a sync chunk at any time, without disrupting the processing of the
entire sync packet (composed of many more of such data chunks).

Additionally, since the sync packet format has changed (an extra integer
is needed for each chunk in order to allow the "skip" mechanism), the
sync packet version is now bumped from 1 -> 2, in order to prevent any
compatibility issues with OpenSIPS nodes without this patch.

(cherry picked from commit 0b3ad435be73d7ef49c511d2b70039c39a883135)

Conflicts:
    modules/clusterer/sync.c


  Commit: be7265f11da51717c064fa168f489d7e712f6bb0
      https://github.com/OpenSIPS/opensips/commit/be7265f11da51717c064fa168f489d7e712f6bb0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M bin_interface.c
    M bin_interface.h
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.h
    M modules/clusterer/sync.c
    M modules/clusterer/sync.h
    M modules/dialog/dlg_replication.c
    M modules/usrloc/ul_cluster.c

  Log Message:
  -----------
  clusterer: Enhance the versioning of sync packets

This commit adds an additional "version" field for the sync packets,
which are more complex than the other ones.  Since they contain
serialization logic from two different layers (clusterer + data module),
they should also contain two version fields, to allow each module to
discard data coming from an OpenSIPS donor node running on a differing
binary version.

(cherry picked from commit a20a0acb5d9e8ef75d4cf2bb081ed1d5d259a3dd)
(cherry picked from commit 60bac3c3abc3fb2ba6a51f6659a9ac22a1eafddc)


  Commit: d18089d89fbbeb3a2330feb89dff453999cd0886
      https://github.com/OpenSIPS/opensips/commit/d18089d89fbbeb3a2330feb89dff453999cd0886
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/cachedb_local/cachedb_local_replication.c

  Log Message:
  -----------
  cachedb_local: Fix compile error

(cherry picked from commit 9072fe1513506c548e6720bc80b7d7db66ab1ed2)


  Commit: f2956e9f4d17366e733e6c57871890d873843112
      https://github.com/OpenSIPS/opensips/commit/f2956e9f4d17366e733e6c57871890d873843112
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h

  Log Message:
  -----------
  dialog replication: Prevent crashes due to differing packet versions

Commits 58dc435cb563 and 852e629e4700 changed the format of the dialog
binary data packets.  This would cause an immediate crash during a
rolling upgrade, since upon upgrading and restarting the backup node, it
would sync from or receive packets from a primary node running the older
version, with the previous data format.

This patch makes it so dialog packets which do not meet the expected
version are simply discarded, rather than being left to cause a crash.

(cherry picked from commit 57bbad55c13e3156dcebf95bcd8adf8e52e97ecd)


  Commit: 616c989e44a3665b34aaf2547d495e30f20dd6fa
      https://github.com/OpenSIPS/opensips/commit/616c989e44a3665b34aaf2547d495e30f20dd6fa
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog replication: Revert the sync packet alignment code

... since now it is unnecessary, thanks to the sync layer enhancements.

(cherry picked from commit e33565342065298eeb542a73503f84402cc1076d)
(cherry picked from commit 82b87044e7d641ab307c8ceed65fc6c5fa0f710e)


  Commit: 4c749d6e79a21a51f9e16e17419424980e5c43d5
      https://github.com/OpenSIPS/opensips/commit/4c749d6e79a21a51f9e16e17419424980e5c43d5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog sync: Do not include early or ended dialogs

(cherry picked from commit b8bde2f014e5b427c8517493a7ada16923d0928c)
(cherry picked from commit 765c521e4ba041236f234cc186cc978247783dc7)


  Commit: b26d59e30c2c8df7b2f274a18e9ed3fb2b5a16fb
      https://github.com/OpenSIPS/opensips/commit/b26d59e30c2c8df7b2f274a18e9ed3fb2b5a16fb
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix data reload race conditions on startup

Since loading the data on child_init(), the load_dialog_info_from_db()
routines and rcv_cluster_event() routines could run in parallel, without
any synchronization on the dialog table, which could lead to duplicate
dialogs in the hash.

(cherry picked from commit aa93d0fbf369078f1c0e85fc10314fe7799aeca0)
(cherry picked from commit a6345cc2d1ff801d51510001df04278b1ae12810)

 Conflicts:
	modules/dialog/dlg_db_handler.c


  Commit: 809746f160292240fd7a101492c5a434cd35e00b
      https://github.com/OpenSIPS/opensips/commit/809746f160292240fd7a101492c5a434cd35e00b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.h

  Log Message:
  -----------
  dialog: Decrement dialog stats during post-sync cleanup

After a sync completes, it proceeds to clean up all dialogs loaded from
DB which did not match the data received via sync.  However, make sure
to also decrement the 'active' / 'early' dialog stats on each delete!

(cherry picked from commit f88c41064c9d895e52c6a8dac62867246da3b253)
(cherry picked from commit a468005019539d32613617e9bc549c1765e00764)


  Commit: d37170707cceba961cf92aa5af10c1ff8e377b97
      https://github.com/OpenSIPS/opensips/commit/d37170707cceba961cf92aa5af10c1ff8e377b97
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog sync: Fix ref miscount during post-sync cleanup

The hash reference must only be decremented a single time during the
lifetime of a dialog.  Given that multiple pieces of code may attempt
to delete a dialog concurrently (e.g. a BIN "delete" packet and the
post-sync cleanup routine), the only way to guarantee a single decrement
of the hash ref is by using the dialog state machine transition.

Iff we're the ones to transition from ACK -> DELETED, we can (and MUST)
also decrement the hash reference.

(cherry picked from commit 51b5ec3bac182104781a5e12287a217053170432)
(cherry picked from commit ddcdab724f0da3ef1430353acceb8da686c8add1)


  Commit: aaedaace9032bb7b4c0d9286a59c2ca5702d91e5
      https://github.com/OpenSIPS/opensips/commit/aaedaace9032bb7b4c0d9286a59c2ca5702d91e5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix broken re-INVITE pinging after failover

The mandatory re-INVITE pinging data (SDP1, SDP2, ct1, ct2) was not
included in the BIN replication packets, so the pinging would stop
working once we'd failover to the backup box, in an active/backup
HA scenario.

(cherry picked from commit 65a9f51f1ee43e500d6fbe34c3a0e07722bd75b2)
(cherry picked from commit ba7516e92f4ba5ecf34234872d49ee2d07750888)


  Commit: ece8e08afcf6e7367b5e759f9441b22303b93d93
      https://github.com/OpenSIPS/opensips/commit/ece8e08afcf6e7367b5e759f9441b22303b93d93
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    A utils/wireshark/wsgd-dissector/README.md
    A utils/wireshark/wsgd-dissector/opensips.fdesc
    A utils/wireshark/wsgd-dissector/opensips.wsgd

  Log Message:
  -----------
  utils: Add a Wireshark BIN dissector for 2.4+ packets

Not all packets are supported in this initial release.  So, far we have:

    * dialog replication packets (2.4+)
    * dialog profiles broadcast packets (2.4+)
    * dialog sync packets (2.4+)
    * ratelimit pipes broadcast packets (2.4+)
    * usrloc contact update packets (2.4+)

Still plenty of work to be done, but this is a solid stepping stone!
See the README for installation tips.


  Commit: 3119f66b0881b8e7a73c5a5c8b26da87276a2917
      https://github.com/OpenSIPS/opensips/commit/3119f66b0881b8e7a73c5a5c8b26da87276a2917
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M utils/wireshark/wsgd-dissector/README.md

  Log Message:
  -----------
  opensips.wsgd: Update README.md


  Commit: 525b30a2a08e4c960e2448d746d5926cca33cbe1
      https://github.com/OpenSIPS/opensips/commit/525b30a2a08e4c960e2448d746d5926cca33cbe1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M action.c
    M action.h
    M cfg.lex
    M cfg.y
    A cmds.c
    A cmds.h
    A core_cmds.c
    M modules/avpops/avpops_impl.c
    M modules/carrierroute/route_func.c
    M modules/dispatcher/dispatch.c
    M modules/drouting/drouting.c
    M modules/lua/sipapi.c
    M modules/perl/opensipsxs.xs
    M modules/python/python_msgobj.c
    M modules/textops/textops.c
    M msg_translator.c
    M parser/msg_parser.c
    M parser/msg_parser.h
    M pvar.c
    M route.c
    M route_struct.c
    M route_struct.h
    M sr_module.c
    M sr_module.h
    M ut.h

  Log Message:
  -----------
  port core script functions to the same interface as module functions


  Commit: db2fc72ddcdfe6050a0f2b516754741d34bf7c68
      https://github.com/OpenSIPS/opensips/commit/db2fc72ddcdfe6050a0f2b516754741d34bf7c68
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-31 (Wed, 31 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog sync: Fix some subtle backup box restart bugs

In an HA setup, following a restart of the backup box, there would be:

    * an extra ref for dialogs loaded from DB but not confirmed through
      sync, leading to a few hanging state 5 dialogs (added in 51b5ec3b)
    * too little 'active_dlgs' stat decrements during the above
      corner-cases, since update_dlg_stats() ignores state 5 dialogs

(cherry picked from commit 509e18113be5f217e6f421c97d2545239d996729)


  Commit: 57cf12dfa75a27a25f6c1dd50daa0cbb662e2ef0
      https://github.com/OpenSIPS/opensips/commit/57cf12dfa75a27a25f6c1dd50daa0cbb662e2ef0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-07-31 (Wed, 31 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog profiles: Fix deadlock during startup

This updates commit b26d59e30c2c, which introduced a deadlock while
loading dialogs from DB which also contain profiles.


  Commit: f4015c8543e67540166f802f34c6ebf8c7d14c14
      https://github.com/OpenSIPS/opensips/commit/f4015c8543e67540166f802f34c6ebf8c7d14c14
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M modules/compression/compression.c
    M modules/compression/doc/compression_admin.xml

  Log Message:
  -----------
  compression: Do not strip "a=rtpmap" lines with types 96-97

According to the IANA RTP payload types register, the dynamic payload
types (custom-defined, for which the "a=rtpmap" lines are mandatory and
cannot be stripped) begin at 96, not at 98.

Reported by JP Hindin


  Commit: 68bedfee4fbf3f99b92249b8d8887921d8d80c2f
      https://github.com/OpenSIPS/opensips/commit/68bedfee4fbf3f99b92249b8d8887921d8d80c2f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M modules/tm/t_funcs.c
    M modules/tm/t_stats.h
    M modules/tm/timer.c
    M modules/tm/timer.h

  Log Message:
  -----------
  Fixed the stats for counting transaction based on the final reply code

The fix consist of counting only ONCE each transaction (for the xxx_transaction statistics), disregarding its retransmissions, multiple 200OK replies or final code override (like 200 after a negative reply).

Closes  #1636
Many thanks to @bcnewlin for his testing and validation of the fix.


  Commit: 9198eccbd2dc1d147d7c1ccf8696dbb80b5935ee
      https://github.com/OpenSIPS/opensips/commit/9198eccbd2dc1d147d7c1ccf8696dbb80b5935ee
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  [sql_cacher] Proper handling of empty tables

if there are no records in the table (after a reload on a fully cached table), do not consider it an error and (even more important) take care and do the version change on the keys (to remove the old values).

Closes #1784
Credits go to @clifjones for the patch


  Commit: 8e391c2f80d9c76dc9369ed20701469a5b2c5740
      https://github.com/OpenSIPS/opensips/commit/8e391c2f80d9c76dc9369ed20701469a5b2c5740
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M modules/clusterer/sync.c

  Log Message:
  -----------
  clusterer: Log all major sync stages at INFO level

Motivation: these logs are not spammy at all, yet very useful/reassuring
to see in production after issuing data sync commands.


  Commit: 6452be40cc3c2c168eef261710885e06f5741371
      https://github.com/OpenSIPS/opensips/commit/6452be40cc3c2c168eef261710885e06f5741371
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2019-08-01 (Thu, 01 Aug 2019)

  Changed paths:
    M cfg.y
    M cfg_pp.c

  Log Message:
  -----------
  Avoid compilation warnings.


  Commit: 1fee2abe1f8467f31bea3dc3f08b3cac15a82e2d
      https://github.com/OpenSIPS/opensips/commit/1fee2abe1f8467f31bea3dc3f08b3cac15a82e2d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-02 (Fri, 02 Aug 2019)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  [sipmsgops] wrap up long lines


  Commit: 269ad7a3f02b67f0bfbfa5172205f19a021a2a5b
      https://github.com/OpenSIPS/opensips/commit/269ad7a3f02b67f0bfbfa5172205f19a021a2a5b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-02 (Fri, 02 Aug 2019)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  [sipmsgops] Added strict char validation for URI username

Do char validation as per RFC3261 for URI username in RURI and TO / FROM hdrs :
  user =  1*( unreserved / escaped / user-unreserved )
  user-unreserved  =  "&" / "=" / "+" / "$" / "," / ";" / "?" / "/"
  escaped     =  "%" HEXDIG HEXDIG
  unreserved  =  alphanum / mark
  mark        =  "-" / "_" / "." / "!" / "~" / "*" / "'"

Closes #1408


  Commit: df88ac3a4d79dd2431463951b6b1fbd4cfb7e0cf
      https://github.com/OpenSIPS/opensips/commit/df88ac3a4d79dd2431463951b6b1fbd4cfb7e0cf
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2019-08-02 (Fri, 02 Aug 2019)

  Changed paths:
    M modules/sipmsgops/sipmsgops.c

  Log Message:
  -----------
  Merge branch 'master' of github.com:OpenSIPS/opensips into master_warnfix


  Commit: bf158332df679ec7f539bc6b879ce8d2ce7b6aab
      https://github.com/OpenSIPS/opensips/commit/bf158332df679ec7f539bc6b879ce8d2ce7b6aab
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-08-04 (Sun, 04 Aug 2019)

  Changed paths:
    M modules/avpops/README
    M modules/avpops/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/carrierroute/README
    M modules/carrierroute/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/compression/README
    M modules/compression/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/textops/README
    M modules/textops/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: f1a6d0d8e46c4aff9f203f2eb7e85a2b1e40cf92
      https://github.com/OpenSIPS/opensips/commit/f1a6d0d8e46c4aff9f203f2eb7e85a2b1e40cf92
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M modules/tm/t_cancel.c
    M modules/tm/timer.c

  Log Message:
  -----------
  [tm] fixed regression on cancelling empty branches upon timeout

While adding support for Content-Disposition: no-cancel (see 4747da559f4df161441be8373488dee9fd16c282), a regression was made, allowing TM to send out cancel (upon internal 408 timeout) to branches with no incoming replies.
Only this cancelling scenaio was affected (internal 408 timeout). The cancelling upon 200OK or incoming cancel were not affected.

Thanks to Richard Revels for spotting and reporting this.


  Commit: 6884b3d17bdcf0d1021850b54497f65fad11f1c9
      https://github.com/OpenSIPS/opensips/commit/6884b3d17bdcf0d1021850b54497f65fad11f1c9
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  Warn about usage of deprecated function names

Commit 525b30a2a08e4c960e2448d746d5926cca33cbe1 removed the
alternative names for the core functions that rewrite the R-URI.


  Commit: a08cf0fd98860493636d137a758edac011788fec
      https://github.com/OpenSIPS/opensips/commit/a08cf0fd98860493636d137a758edac011788fec
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  Fix missing optional param flag for cache_add/sub() functions


  Commit: 165b8791267aa7eb930472ea5030780bc2b3c3fb
      https://github.com/OpenSIPS/opensips/commit/165b8791267aa7eb930472ea5030780bc2b3c3fb
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  Fix missing param in construct_uri() function export


  Commit: cfbd704945481c97a241892da50efcb3dd84eead
      https://github.com/OpenSIPS/opensips/commit/cfbd704945481c97a241892da50efcb3dd84eead
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M lib/csv.c
    M lib/test/test_csv.c

  Log Message:
  -----------
  CSV parser: Relax the RFC 4180 implementation

Do not implement RFC 4180 down to the letter (e.g. double-quotes are
ONLY allowed within a field if they are escaped using another
double-quote).  Rather, only follow this rule if a field _begins_ with a
quote.  This helps maintain backwards-compatibility with the previous
OpenSIPS CSV parser, and is also desirable in many situations (e.g.
parsing a WWW-Authenticate header).

Fixes #1794

(cherry picked from commit 4072d9e54e631b20e71d3abc181d1f329084c95b)


  Commit: f1c9f606a189b6ae7eef9e61ae672709a3d795a9
      https://github.com/OpenSIPS/opensips/commit/f1c9f606a189b6ae7eef9e61ae672709a3d795a9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  [urloc] fix reading int val in modparam function

Fixes #1790


  Commit: c26bea063ec7e86c6552857180eba06861d6ad50
      https://github.com/OpenSIPS/opensips/commit/c26bea063ec7e86c6552857180eba06861d6ad50
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  clusterer: fix bad parsing of node specification modparams

Multiple string properties in 'my_node_info' and 'neighbor_node_info'
modparams would not be parsed correctly.

Fixes #1775


  Commit: 173e33d76cd69850d47964a1cffcc37374f9eac8
      https://github.com/OpenSIPS/opensips/commit/173e33d76cd69850d47964a1cffcc37374f9eac8
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-08-11 (Sun, 11 Aug 2019)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 6dbbf12460fb3381e95e0eff4ce638813dfbb828
      https://github.com/OpenSIPS/opensips/commit/6dbbf12460fb3381e95e0eff4ce638813dfbb828
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix two referencing issues

    * an unsafe referencing bug, introduced in 65a9f51f1ee.  As long as
      the dialog is not locked, we _must not_ call ref_dlg_unsafe().
      This unsafe increment operation could lead to occasionally missing
      references, possibly even a crash.

    * a long-standing bug, where read_dialog_profiles() is invoked on
      replicated create/update events with a dialog that has no extra
      reference, so it could very well be a lingering/freed pointer.
      Under the right conditions, this too could lead to a crash.

(cherry picked from commit 0e85dd69f9d9ead1363e2afe8f6b4f0d3293f4db)
(cherry picked from commit 5bbebf682657ce0e162645ae593b503b6995bb27)


  Commit: c98f9b5965bb263adaff271106a2051a010b4fca
      https://github.com/OpenSIPS/opensips/commit/c98f9b5965bb263adaff271106a2051a010b4fca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-12 (Mon, 12 Aug 2019)

  Changed paths:
    M main.c
    M mem/f_malloc_dyn.h
    M mem/hp_malloc_dyn.h
    M mem/q_malloc_dyn.h

  Log Message:
  -----------
  pkg memory: Dump memory status on SIGSEGV

Also improve robustness of the memory block iteration: minimize the
chance of a crash while walking through the fragments in order to
produce the status.  For example, if f->size holds a large value due to
a programming error, the FRAG_NEXT(f) macro would overflow the f holder.


  Commit: 7b80bdc7d7e12133d8d418604c50ed339c7ffda2
      https://github.com/OpenSIPS/opensips/commit/7b80bdc7d7e12133d8d418604c50ed339c7ffda2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  Fixed bogus condition in fixup_check_avp

Closes #1800


  Commit: db7eca79a181ceb3406463aad7ab56162247104d
      https://github.com/OpenSIPS/opensips/commit/db7eca79a181ceb3406463aad7ab56162247104d
  Author: Alessio Garzi <agarzi at clouditalia.com>
  Date:   2019-08-13 (Tue, 13 Aug 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  matching_mode honored in cachedbs

Function cdb_add_ct_update ignores matching modes set on opensips.cfg, this result in an unexpected behaviour if the user sets matching_mode=0 since multiple records with same contact (but different callid) are stored in the cache database.
This fix checks, before getting the base64 hash, if matching mode is contact only, if yes, the callid string is not included in the resulted base64 hash.
If matching mode is CONTACT_CALLID, this function behaves like before, and the hash is calcuated using contact:callid.


  Commit: 217613cc79d14935da43a180ab791e8d93b2adb1
      https://github.com/OpenSIPS/opensips/commit/217613cc79d14935da43a180ab791e8d93b2adb1
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  Added new MI function to list all active dialog IDs


  Commit: 6b0da180ab8ee33ac0eb784127e7738b90b4517e
      https://github.com/OpenSIPS/opensips/commit/6b0da180ab8ee33ac0eb784127e7738b90b4517e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix double lock get on replication update

When a replicated packet was received due to a timeout update, the
dialog was refferenced with the lock already acquired, resulting in a
deadlock. This fix refferences the dialog in an "unsafe" way, without
trying to acquire the lock, since it is already acquired.


  Commit: 4ccc0dd3985b4a3a6260ad687751b35edb3a11c2
      https://github.com/OpenSIPS/opensips/commit/4ccc0dd3985b4a3a6260ad687751b35edb3a11c2
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: fix crash when loading null string columns from DB

The bug was introduced in commit: 66ae3ac

(cherry picked from commit e8255c83a655e8e6e8fb8136344599155da01e65)


  Commit: 5d1678a37618d697c7c9a6346c0846d01404a142
      https://github.com/OpenSIPS/opensips/commit/5d1678a37618d697c7c9a6346c0846d01404a142
  Author: Alessio Garzi <gun101 at email.it>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Better indentation on switch case inside urecord

Just indentation fixes


  Commit: 61efba2e5a18481e4b92acd860aa7ae88db04164
      https://github.com/OpenSIPS/opensips/commit/61efba2e5a18481e4b92acd860aa7ae88db04164
  Author: Alessio Garzi <gun101 at email.it>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Indentation fix 2 on urecord

One line was missing tab indentation


  Commit: 07e80bc29ca0a014ef483849d9d010a301dad60f
      https://github.com/OpenSIPS/opensips/commit/07e80bc29ca0a014ef483849d9d010a301dad60f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Merge pull request #1802 from Ozzyboshi/master

matching_mode honored in cachedbs


  Commit: f561eed7b0955d143395958304aaadedccff4e67
      https://github.com/OpenSIPS/opensips/commit/f561eed7b0955d143395958304aaadedccff4e67
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-14 (Wed, 14 Aug 2019)

  Changed paths:
    M modules/proto_hep/hep.c

  Log Message:
  -----------
  [proto_hep] Fix mem leaks upon errors.

If resolving the destination fails, do not forget to free the so far allocated memory.
Closes #1782

(cherry picked from commit 11d7dcc28d9a4ae9351e12c5a5d1f9a2da2d7279)


  Commit: 8070dac142fc6506429314371f04372b5ce4a5b6
      https://github.com/OpenSIPS/opensips/commit/8070dac142fc6506429314371f04372b5ce4a5b6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-15 (Thu, 15 Aug 2019)

  Changed paths:
    M lib/path.c
    M lump_struct.h
    M msg_translator.c

  Log Message:
  -----------
  path: Do not omit ";received=" when merging Path headers

If "enable_double_path" is on and the inbound and outbound sockets
match, the second Path header would not be added anymore (good!),
thus skipping the ";received=" parameter completely (bad!).

The above behavior is actually a regression, introduced in 71c7d75f66c

Many thanks to Pete Kelly and Bogdan Iancu for spotting the problem!


  Commit: 98636d41de9ee631e838df348c9ea2a0735cd1c2
      https://github.com/OpenSIPS/opensips/commit/98636d41de9ee631e838df348c9ea2a0735cd1c2
  Author: Aron Podrigal <aronp at guaranteedplus.com>
  Date:   2019-08-16 (Fri, 16 Aug 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Fix #1804 - mid_registrar_save() should save new contact from register following an unregister.

When using `sql_mode` is set to `SQL_WRITE_BACK` and  `rr_persist` is `RRP_LOAD_FROM_SQL` contacts are not
immediately deleted from memory, contacts are marked `expires = UL_EXPIRED_TIME`. So when a `REGISTER` request
is received following an UNREGISTER, do not return the previous contact marked for deletion.

Returning the previous contact record, could have potentially lead to a crash, if opensips would free the contact
record while mid_registrar would retreive that using `get_ucontact()`.


  Commit: 6916a898b6a5106f0c029d82ca1ec337e01dd2a9
      https://github.com/OpenSIPS/opensips/commit/6916a898b6a5106f0c029d82ca1ec337e01dd2a9
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-16 (Fri, 16 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  Revert "Added new MI function to list all active dialog IDs"

This reverts commit 217613cc79d14935da43a180ab791e8d93b2adb1.


  Commit: 45dd0e5600506c140cc7bbc1485f6c567c43e27e
      https://github.com/OpenSIPS/opensips/commit/45dd0e5600506c140cc7bbc1485f6c567c43e27e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-16 (Fri, 16 Aug 2019)

  Changed paths:
    M lib/reg/path.c

  Log Message:
  -----------
  registrar: Fix a ";received=" Path parsing bug with save("v")

Commit 71c7d75 introduced a parsing bug causing the ";received=" info to
not get stored into usrloc, as well as the NAT flag.

If we're saving these contacts with save("v") instead of save("p1v"), we
cannot route to them anymore (the latter version fully stores the Path,
so the front-end LB is still able to route back to the devices).

Credits to John Burke for the accurate report

Fixes #1809


  Commit: 17558c5bdac952899aee705a654725c786c6348f
      https://github.com/OpenSIPS/opensips/commit/17558c5bdac952899aee705a654725c786c6348f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-17 (Sat, 17 Aug 2019)

  Changed paths:
    M proxy.c

  Log Message:
  -----------
  mk_proxy(): Improve robustness

A lot of code which calls mk_proxy() for DNS resolution assumes that
the "proxy->host->h_addr_list" array contains at least one value, e.g.:

modules/drouting/routing.c +611:
    hostent2ip_addr(&pgw->ips[0], &proxy->host, proxy->addr_idx);

modules/dispatcher/dispatch.c +281:
    hostent2ip_addr( &dp->ips[0], &proxy->host, proxy->addr_idx);

This would cause a segfault immediately if h_addr_list contains 0
results (i.e. first value is a NULL pointer).  As the overall intention
is to resolve the hostname into at least 1 IP address, this patch
changes mk_proxy() to return NULL on a successful query with 0 results.

Credits to Jonathan Hulme for the report


  Commit: 6cc80506cdf0fd5ed4417808bfcf1d6456201119
      https://github.com/OpenSIPS/opensips/commit/6cc80506cdf0fd5ed4417808bfcf1d6456201119
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-08-18 (Sun, 18 Aug 2019)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/proto_hep/README
    M modules/proto_hep/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 5386bb7a48cc62b7930788471b82756a6e2aea3d
      https://github.com/OpenSIPS/opensips/commit/5386bb7a48cc62b7930788471b82756a6e2aea3d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c
    M modules/clusterer/sync.c

  Log Message:
  -----------
  clusterer: fix possible crash when sending a bin packet

This commit fixes a crash caused by a race condition when computing
the next hop for a destination before sending a bin packet.
The actual 'next_hop' field from the 'node_info_t' struct may be changed by
another process after getting the return code from the 'get_next_hop_2()'
function.


  Commit: 2b30c032fc83761b38cea9d8e15642a313f3bf85
      https://github.com/OpenSIPS/opensips/commit/2b30c032fc83761b38cea9d8e15642a313f3bf85
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/registrar/doc/registrar_admin.xml

  Log Message:
  -----------
  [registrar] Fix wrong doc on is_contact_registered()

(cherry picked from commit a3d422e4e9812696279f39a5df62fc76dc81fea5)
(cherry picked from commit 7ce84c42a32b64cbf888423eebdd71343f724737)


  Commit: 527f718cc22ce9a6f0d227a8afb0552c33bed2c1
      https://github.com/OpenSIPS/opensips/commit/527f718cc22ce9a6f0d227a8afb0552c33bed2c1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/registrar/doc/registrar_admin.xml

  Log Message:
  -----------
  [registrar] fixed type s/stirng/string/g

(cherry picked from commit c45ee49e35e836dddd6ed490b337bc23cf0dbea7)


  Commit: cf48b8f3a342289047138736d2db55e23442fae4
      https://github.com/OpenSIPS/opensips/commit/cf48b8f3a342289047138736d2db55e23442fae4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h

  Log Message:
  -----------
  Revert "dialog: load dialogs on child init"

This reverts commit 3ddae43445cd6f3e3f6d4e9480f1e8c35801d008.


  Commit: 21c013edd500fc9eb8794355c9e8336e4ca77ed1
      https://github.com/OpenSIPS/opensips/commit/21c013edd500fc9eb8794355c9e8336e4ca77ed1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  Revert "dialog: Fix broken stats after a restart+reload"

This reverts commit aa2f534e18dc0830a160bb90d4cc3a116386953d.


  Commit: 795395fd93248a3993a51c44825f2aea4ac794b6
      https://github.com/OpenSIPS/opensips/commit/795395fd93248a3993a51c44825f2aea4ac794b6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: use static holders for statistics loaded at startup

This prevents OpenSIPS from crashing because the statistics were not yet
initialized. This fix is needed due to the revert of the previous two
commits, related to the start of OpenSIPS on child init.


  Commit: b29931e4fb1ae528fd896d68038cf5ad4395c4cf
      https://github.com/OpenSIPS/opensips/commit/b29931e4fb1ae528fd896d68038cf5ad4395c4cf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M main.c
    M modules/aaa_radius/aaa_radius.c
    M modules/acc/acc_mod.c
    M modules/alias_db/alias_db.c
    M modules/auth/auth_mod.c
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_db/authdb_mod.c
    M modules/avpops/avpops.c
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_sca/b2b_sca.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/call_center.c
    M modules/call_control/call_control.c
    M modules/carrierroute/carrierroute.c
    M modules/cfgutils/cfgutils.c
    M modules/cgrates/cgrates.c
    M modules/clusterer/clusterer_mod.c
    M modules/compression/compression.c
    M modules/cpl_c/cpl.c
    M modules/db_berkeley/db_berkeley.c
    M modules/db_cachedb/db_cachedb.c
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_http/db_http.c
    M modules/db_mysql/db_mysql.c
    M modules/db_oracle/db_oracle.c
    M modules/db_perlvdb/perlvdb.c
    M modules/db_postgres/db_postgres.c
    M modules/db_sqlite/db_sqlite.c
    M modules/db_text/dbtext.c
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_virtual/db_virtual.c
    M modules/dialog/dialog.c
    M modules/dialplan/dialplan.c
    M modules/dispatcher/dispatcher.c
    M modules/diversion/diversion.c
    M modules/dns_cache/dns_cache.c
    M modules/domain/domain_mod.c
    M modules/domainpolicy/domainpolicy_mod.c
    M modules/drouting/drouting.c
    M modules/emergency/emergency_methods.c
    M modules/enum/enum_mod.c
    M modules/event_datagram/event_datagram.c
    M modules/event_flatstore/event_flatstore.c
    M modules/event_jsonrpc/event_jsonrpc.c
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_route/event_route.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/event_virtual.c
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/exec/exec_mod.c
    M modules/fraud_detection/fraud_detection.c
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch_scripting/fss_mod.c
    M modules/gflags/gflags.c
    M modules/group/group_mod.c
    M modules/h350/h350_mod.c
    M modules/httpd/httpd.c
    M modules/identity/identity.c
    M modules/imc/imc.c
    M modules/jabber/jabber.c
    M modules/json/json.c
    M modules/jsonrpc/jsonrpc.c
    M modules/ldap/ldap_mod.c
    M modules/load_balancer/load_balancer.c
    M modules/lua/siplua.c
    M modules/mangler/mangler.c
    M modules/mathops/mathops.c
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_html/mi_html.c
    M modules/mi_http/mi_http.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/msilo.c
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c
    M modules/options/mod_options.c
    M modules/osp/osp_mod.c
    M modules/path/path_mod.c
    M modules/peering/peering.c
    M modules/perl/perl.c
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/pike.c
    M modules/presence/presence.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/presence_mwi.c
    M modules/presence_xcapdiff/presence_xcapdiff.c
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua/pua.c
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/qos/qos.c
    M modules/rabbitmq/rabbitmq.c
    M modules/rabbitmq_consumer/rabbitmq_consumer.c
    M modules/ratelimit/ratelimit.c
    M modules/regex/regex_mod.c
    M modules/registrar/reg_mod.c
    M modules/rest_client/rest_client.c
    M modules/rls/rls.c
    M modules/rr/rr_mod.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/sip_i/sip_i.c
    M modules/sipcapture/sipcapture.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siprec/siprec.c
    M modules/sl/sl.c
    M modules/sngtc/sngtc.c
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/sst.c
    M modules/statistics/statistics.c
    M modules/stun/stun.c
    M modules/textops/textops.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tm/tm.c
    M modules/topology_hiding/topology_hiding.c
    M modules/tracer/tracer.c
    M modules/uac/uac.c
    M modules/uac_auth/uac_auth.c
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/registrant.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/ul_mod.c
    M modules/uuid/uuid.c
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/xcap_client.c
    M modules/xml/xml.c
    M modules/xmpp/xmpp.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  add dependencies function in module_exports

Add a new function in module_exports that is run to determine what kind
of dependencies (of other modules) a module has. This function is ran
before running the initialization phase of the module.


  Commit: 35ab1f24cc8df076a873ee705b22013e46aa1f34
      https://github.com/OpenSIPS/opensips/commit/35ab1f24cc8df076a873ee705b22013e46aa1f34
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  fix returned code for strip and prefix functions

Instead of returning 0, which halts the script, return 1 or -1 in case
of error.


  Commit: c0697b9ad7269d84dbac63162879a903cc6b1ac4
      https://github.com/OpenSIPS/opensips/commit/c0697b9ad7269d84dbac63162879a903cc6b1ac4
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-22 (Thu, 22 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: discard a replicated update for a deleted dialog

A race between the processing of a dialog update and delete replication packets
can lead to an incorrect dialog state and bogus unrefs.


  Commit: 3aa5596c5584141f0256959f18b606c256a48092
      https://github.com/OpenSIPS/opensips/commit/3aa5596c5584141f0256959f18b606c256a48092
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-08-23 (Fri, 23 Aug 2019)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  acc: use the dependencies function to register dlg ctx

This is a temporary fix, until we figure out a way of registering the
dlg ctx index only if cdr is used.


  Commit: 945297b555c7a7353100d9a5acbee57e656ede01
      https://github.com/OpenSIPS/opensips/commit/945297b555c7a7353100d9a5acbee57e656ede01
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-23 (Fri, 23 Aug 2019)

  Changed paths:
    M modules/call_control/call_control.c
    M modules/mediaproxy/mediaproxy.c
    M modules/nat_traversal/nat_traversal.c

  Log Message:
  -----------
  Fixed consistency


  Commit: 21348b39c4bd93163c347f810fb99396783c821c
      https://github.com/OpenSIPS/opensips/commit/21348b39c4bd93163c347f810fb99396783c821c
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-23 (Fri, 23 Aug 2019)

  Changed paths:
    M socket_info.c

  Log Message:
  -----------
  Fixed potential illegal memory access to freed structure


  Commit: 525ac2a44a5490b6bb75687322574ac8f0e0b0dd
      https://github.com/OpenSIPS/opensips/commit/525ac2a44a5490b6bb75687322574ac8f0e0b0dd
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-08-25 (Sun, 25 Aug 2019)

  Changed paths:
    M modules/aaa_radius/README
    M modules/aaa_radius/doc/contributors.xml
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/alias_db/README
    M modules/alias_db/doc/contributors.xml
    M modules/auth/README
    M modules/auth/doc/contributors.xml
    M modules/auth_aaa/README
    M modules/auth_aaa/doc/contributors.xml
    M modules/auth_db/README
    M modules/auth_db/doc/contributors.xml
    M modules/avpops/README
    M modules/avpops/doc/contributors.xml
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/doc/contributors.xml
    M modules/b2b_sca/README
    M modules/b2b_sca/doc/contributors.xml
    M modules/benchmark/README
    M modules/benchmark/doc/contributors.xml
    M modules/cachedb_cassandra/README
    M modules/cachedb_cassandra/doc/contributors.xml
    M modules/cachedb_couchbase/README
    M modules/cachedb_couchbase/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/cachedb_memcached/README
    M modules/cachedb_memcached/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/cachedb_sql/README
    M modules/cachedb_sql/doc/contributors.xml
    M modules/call_center/README
    M modules/call_center/doc/contributors.xml
    M modules/call_control/README
    M modules/call_control/doc/contributors.xml
    M modules/carrierroute/README
    M modules/carrierroute/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/compression/README
    M modules/compression/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/db_berkeley/README
    M modules/db_berkeley/doc/contributors.xml
    M modules/db_cachedb/README
    M modules/db_cachedb/doc/contributors.xml
    M modules/db_flatstore/README
    M modules/db_flatstore/doc/contributors.xml
    M modules/db_http/README
    M modules/db_http/doc/contributors.xml
    M modules/db_mysql/README
    M modules/db_mysql/doc/contributors.xml
    M modules/db_oracle/README
    M modules/db_oracle/doc/contributors.xml
    M modules/db_perlvdb/README
    M modules/db_perlvdb/doc/contributors.xml
    M modules/db_postgres/README
    M modules/db_postgres/doc/contributors.xml
    M modules/db_sqlite/README
    M modules/db_sqlite/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/db_unixodbc/README
    M modules/db_unixodbc/doc/contributors.xml
    M modules/db_virtual/README
    M modules/db_virtual/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/diversion/README
    M modules/diversion/doc/contributors.xml
    M modules/dns_cache/README
    M modules/dns_cache/doc/contributors.xml
    M modules/domain/README
    M modules/domain/doc/contributors.xml
    M modules/domainpolicy/README
    M modules/domainpolicy/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/enum/README
    M modules/enum/doc/contributors.xml
    M modules/event_datagram/README
    M modules/event_datagram/doc/contributors.xml
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/event_jsonrpc/README
    M modules/event_jsonrpc/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/event_virtual/README
    M modules/event_virtual/doc/contributors.xml
    M modules/event_xmlrpc/README
    M modules/event_xmlrpc/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/freeswitch/README
    M modules/freeswitch/doc/contributors.xml
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/gflags/README
    M modules/gflags/doc/contributors.xml
    M modules/group/README
    M modules/group/doc/contributors.xml
    M modules/h350/README
    M modules/h350/doc/contributors.xml
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/identity/README
    M modules/identity/doc/contributors.xml
    M modules/imc/README
    M modules/imc/doc/contributors.xml
    M modules/jabber/README
    M modules/jabber/doc/contributors.xml
    M modules/json/README
    M modules/json/doc/contributors.xml
    M modules/jsonrpc/README
    M modules/jsonrpc/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mangler/README
    M modules/mangler/doc/contributors.xml
    M modules/mathops/README
    M modules/mathops/doc/contributors.xml
    M modules/maxfwd/README
    M modules/maxfwd/doc/contributors.xml
    M modules/mediaproxy/README
    M modules/mediaproxy/doc/contributors.xml
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/mi_fifo/README
    M modules/mi_fifo/doc/contributors.xml
    M modules/mi_html/README
    M modules/mi_html/doc/contributors.xml
    M modules/mi_http/README
    M modules/mi_http/doc/contributors.xml
    M modules/mi_xmlrpc_ng/README
    M modules/mi_xmlrpc_ng/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/mmgeoip/README
    M modules/mmgeoip/doc/contributors.xml
    M modules/msilo/README
    M modules/msilo/doc/contributors.xml
    M modules/nat_traversal/README
    M modules/nat_traversal/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/options/README
    M modules/options/doc/contributors.xml
    M modules/osp/README
    M modules/osp/doc/contributors.xml
    M modules/path/README
    M modules/path/doc/contributors.xml
    M modules/peering/README
    M modules/peering/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/pi_http/README
    M modules/pi_http/doc/contributors.xml
    M modules/pike/README
    M modules/pike/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/presence_callinfo/README
    M modules/presence_callinfo/doc/contributors.xml
    M modules/presence_dialoginfo/README
    M modules/presence_dialoginfo/doc/contributors.xml
    M modules/presence_mwi/README
    M modules/presence_mwi/doc/contributors.xml
    M modules/presence_xcapdiff/README
    M modules/presence_xcapdiff/doc/contributors.xml
    M modules/presence_xml/README
    M modules/presence_xml/doc/contributors.xml
    M modules/proto_bin/README
    M modules/proto_bin/doc/contributors.xml
    M modules/proto_hep/README
    M modules/proto_hep/doc/contributors.xml
    M modules/proto_sctp/README
    M modules/proto_sctp/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua/README
    M modules/pua/doc/contributors.xml
    M modules/pua_bla/README
    M modules/pua_bla/doc/contributors.xml
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/contributors.xml
    M modules/pua_mi/README
    M modules/pua_mi/doc/contributors.xml
    M modules/pua_usrloc/README
    M modules/pua_usrloc/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/qos/README
    M modules/qos/doc/contributors.xml
    M modules/rabbitmq/README
    M modules/rabbitmq/doc/contributors.xml
    M modules/rabbitmq_consumer/README
    M modules/rabbitmq_consumer/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/regex/README
    M modules/regex/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/rest_client/README
    M modules/rest_client/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/sip_i/README
    M modules/sip_i/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml
    M modules/snmpstats/README
    M modules/snmpstats/doc/contributors.xml
    M modules/speeddial/README
    M modules/speeddial/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/sst/README
    M modules/sst/doc/contributors.xml
    M modules/statistics/README
    M modules/statistics/doc/contributors.xml
    M modules/stun/README
    M modules/stun/doc/contributors.xml
    M modules/textops/README
    M modules/textops/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/tracer/README
    M modules/tracer/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml
    M modules/uac_auth/README
    M modules/uac_auth/doc/contributors.xml
    M modules/uac_redirect/README
    M modules/uac_redirect/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/userblacklist/README
    M modules/userblacklist/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml
    M modules/uuid/README
    M modules/uuid/doc/contributors.xml
    M modules/xcap/README
    M modules/xcap/doc/contributors.xml
    M modules/xcap_client/README
    M modules/xcap_client/doc/contributors.xml
    M modules/xml/README
    M modules/xml/doc/contributors.xml
    M modules/xmpp/README
    M modules/xmpp/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: a769a6cfe2bf395e33fd2912d3b8bd279afe42ea
      https://github.com/OpenSIPS/opensips/commit/a769a6cfe2bf395e33fd2912d3b8bd279afe42ea
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M modules/tm/tm.c

  Log Message:
  -----------
  Fixed segmentation fault caused by illegal memory access


  Commit: 92d7188b2a6ad805df10c63bf716c02f90c444ab
      https://github.com/OpenSIPS/opensips/commit/92d7188b2a6ad805df10c63bf716c02f90c444ab
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M Makefile.defs
    M Makefile.rules
    M main.c
    M modules/tls_mgm/Makefile
    M modules/tls_mgm/tls_mgm.c
    A ssl_tweaks.h

  Log Message:
  -----------
  Fixed overwriting pthread locking functions


  Commit: 3febdf5ded03992be39b38b4c3bb97bc2bb47c27
      https://github.com/OpenSIPS/opensips/commit/3febdf5ded03992be39b38b4c3bb97bc2bb47c27
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  Removed leftover code after pthread overwrite fix


  Commit: af1e442551b9d1c949ce879cc72f870a95f011ab
      https://github.com/OpenSIPS/opensips/commit/af1e442551b9d1c949ce879cc72f870a95f011ab
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  acc: Fix segmentation fault on startup

Reported by Dan Pascu


  Commit: deb03fe86a8d0134526c86e62183cb80887b09c9
      https://github.com/OpenSIPS/opensips/commit/deb03fe86a8d0134526c86e62183cb80887b09c9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h
    M net/net_tcp.c

  Log Message:
  -----------
  struct hist debugging: Enhance the API

    * add the possibility to disable auto-logging.  Previously, each
      debugged entity would periodically dump logs to disk as it
      accumulated logs.   Disabling auto logging is especially useful
      when troubleshooting code in high-throughput environments.

    * sh_log() is now a macro, which will additionally print the
      FILE / FUNC / LINE of the calling code, offering more
      troubleshooting insights and reducing the amount of code written

    * simplify sh_unref(), the 2nd parameter was unnecessary


  Commit: 21e33d0ae1afdd409c9c707132e263c74fe4ee95
      https://github.com/OpenSIPS/opensips/commit/21e33d0ae1afdd409c9c707132e263c74fe4ee95
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M lib/dbg/struct_hist.h
    M modules/dialog/Makefile
    M modules/dialog/dialog.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_load.h
    M modules/siprec/siprec.c
    M modules/siprec/siprec_logic.c
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  dialog: Add optional ref troubleshooting support


  Commit: f0df71a3cc99f5784f8fb20a8e7b89f25f14abea
      https://github.com/OpenSIPS/opensips/commit/f0df71a3cc99f5784f8fb20a8e7b89f25f14abea
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-08-28 (Wed, 28 Aug 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: do not replicate 0 profile counter under lock

(cherry picked from commit 4129583965e171160137a077cf37ca08df7d1e5d)


  Commit: d26b998000022e9417c0894535edf7b0ba6772f0
      https://github.com/OpenSIPS/opensips/commit/d26b998000022e9417c0894535edf7b0ba6772f0
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-08-29 (Thu, 29 Aug 2019)

  Changed paths:
    M modules/stun/stun.c

  Log Message:
  -----------
  RFC 5389 :

"Defined a generic padding mechanism that changes the
      interpretation of the length attribute.  This would, in theory,
      break backwards compatibility"

Skip the new padding, also skip non-mandatory attributes


  Commit: 48bc3ac05b03beb3ab7e4d23d3b4f8f16b79ee20
      https://github.com/OpenSIPS/opensips/commit/48bc3ac05b03beb3ab7e4d23d3b4f8f16b79ee20
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-09-01 (Sun, 01 Sep 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/stun/README
    M modules/stun/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: c052afe59a7a2a9647cc1ef12c5635d1a366e3e3
      https://github.com/OpenSIPS/opensips/commit/c052afe59a7a2a9647cc1ef12c5635d1a366e3e3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-03 (Tue, 03 Sep 2019)

  Changed paths:
    M modules/textops/doc/textops_admin.xml

  Log Message:
  -----------
  textops: Fix bad subst_body() example

(cherry picked from commit 25f9070ab7509a8ab186b69a1a7ee2d5aeb896bc)
(cherry picked from commit 86d83c2b545dc88e1aaae47f5e02e021caf81f7d)


  Commit: 1ca9b8b2c938da7216f043493e853ba2812b0a4b
      https://github.com/OpenSIPS/opensips/commit/1ca9b8b2c938da7216f043493e853ba2812b0a4b
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-09-08 (Sun, 08 Sep 2019)

  Changed paths:
    M modules/textops/README
    M modules/textops/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 2db8c1715f209f9ec3d55405a8bfaf7cbda6a7ea
      https://github.com/OpenSIPS/opensips/commit/2db8c1715f209f9ec3d55405a8bfaf7cbda6a7ea
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  sipcapture: Run child_init() during startup

This allows, among others, sending HTTP requests from the script, as the
rest_client module needs to initialize its state before it can be used.

Reported by @hydrosine
Fixes #1818


  Commit: c0f8407d320ba20c9dc472818a1c40b26236a8d3
      https://github.com/OpenSIPS/opensips/commit/c0f8407d320ba20c9dc472818a1c40b26236a8d3
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M cfg.y
    M cfg_pp.c

  Log Message:
  -----------
  Merge pull request #1787 from sippy/master_warnfix

Fix 2 compilation warnings.


  Commit: d8beff877b8094798581589cd374466e7b26a6c1
      https://github.com/OpenSIPS/opensips/commit/d8beff877b8094798581589cd374466e7b26a6c1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: replace libradiusclient-ng-dev libradcli-dev


  Commit: 91210a9feee19f19d1c2f5ef5cae44e40283885d
      https://github.com/OpenSIPS/opensips/commit/91210a9feee19f19d1c2f5ef5cae44e40283885d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M modules/perl/opensipsxs.xs

  Log Message:
  -----------
  perl: silence uninitialized RETVAL warning


  Commit: 74e847af7469752802d6d4729bde6210512ea0c3
      https://github.com/OpenSIPS/opensips/commit/74e847af7469752802d6d4729bde6210512ea0c3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Merge pull request #1805 from ar45/fix_1804_mis_registrar_save

Fix #1804 - mid_registrar_save() should save new contact from registe…


  Commit: 66f99833fbddd7c4ca12b7616356a59647e8b592
      https://github.com/OpenSIPS/opensips/commit/66f99833fbddd7c4ca12b7616356a59647e8b592
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix unsafe aor->contacts access

In modes 0 and 1, the aor->contacts list was accessed in an unsafe
manner, as the AoR lock would be relinquished too early.  This could
lead to a crash in rare cases.


  Commit: d724cec9c25a7ad19cdd805d7d92ce63c12b2b87
      https://github.com/OpenSIPS/opensips/commit/d724cec9c25a7ad19cdd805d7d92ce63c12b2b87
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/proto_smpp_admin.xml
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_smpp/proto_smpp.h
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h

  Log Message:
  -----------
  Added support for UCS2 type of SMS messages ( in & out)
Added support for requesting delivery receipts for outbound SMS


  Commit: 2fc86f7d8ec7e4213cc3685fe78d16c9425b55e4
      https://github.com/OpenSIPS/opensips/commit/2fc86f7d8ec7e4213cc3685fe78d16c9425b55e4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-10 (Tue, 10 Sep 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Improve throttling performance (modes 0 and 1)

This patch fixes a bug with UACs that send expiration values which are
_beyond_ the configured "outgoing_expires" value.  In this case, the
throttling logic would only keep absorbing REGISTERs up to
"outgoing_expires" seconds, and would disregard the actual value
returned by the main registrar.

(cherry picked from commit ad9ff9a27eab2b56d7ce617d03f03024ad55b3fe)


  Commit: bb8ac38adefb7611b199648795c15b1d4cdf78fa
      https://github.com/OpenSIPS/opensips/commit/bb8ac38adefb7611b199648795c15b1d4cdf78fa
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M modules/proto_smpp/proto_smpp.h
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h

  Log Message:
  -----------
  Implement UDH, allowing to send SMPP messages exceeding the 140 characters limit

Closes #1821


  Commit: 2760e6998286ac07020ad48523d4d77479979fff
      https://github.com/OpenSIPS/opensips/commit/2760e6998286ac07020ad48523d4d77479979fff
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  Fix length detection when we need to split UCS2 messages into chunks


  Commit: a48aeca2d29f0ae04f3393ddb32bcf70b2be2795
      https://github.com/OpenSIPS/opensips/commit/a48aeca2d29f0ae04f3393ddb32bcf70b2be2795
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M modules/tm/t_msgbuilder.h
    M parser/msg_parser.c
    M parser/msg_parser.h

  Log Message:
  -----------
  tm: dup in pkg the faked msg headers

before this commit, the faked reqests were having the headers fields
stored in shm_mem and shared with the tm request uas. Thus, during
concurrent accesses to one of the headers' `parsed` field, the first
process would have parsed the field in pkg memory, and the second
process would have found that header already parsed. However, it
couldn't read the other's process memory, resulting in an invalid
access.
Moving the headers in a private area for the faked request solves this
issue, as each process will have its own `parsed` field in pkg memory.

Credits go to Rizwan Syed and Jonathan Hulme from Connex CS for
reporting and supporting the testing and fixing of this issue.

This issue has also been reported in ticket #1808


  Commit: fc73c9fb26ff5f6af316cd47f00e670900acff1b
      https://github.com/OpenSIPS/opensips/commit/fc73c9fb26ff5f6af316cd47f00e670900acff1b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M obsolete_modules/seas/encode_contact.c

  Log Message:
  -----------
  obsolete/seas: revert bug introduced in commit fa0bcd201a

Many thanks to Walter Doekes (wdoekes on GitHub) for reporting this in
ticket #1828


  Commit: da1dac8f41b199dae0028546bd1e547e8ddef922
      https://github.com/OpenSIPS/opensips/commit/da1dac8f41b199dae0028546bd1e547e8ddef922
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M bin_interface.h
    M modules/dialog/dlg_replication.h
    M modules/usrloc/dlist.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_cluster.c
    M modules/usrloc/ul_cluster.h

  Log Message:
  -----------
  usrloc: Fix a replicated AoR label matching bug

This patch makes it so the AoR label gets included in the "AoR created"
replication packets and mirrored in the receiver instance.  This
prevents a series of bugs where the usrloc API fails to match a contact
by its contact ID, e.g.:

    * nathelper being unable to delete dead TCP/TLS contacts after a
      restart + usrloc cluster sync

    * mid-registrar (mode 1) being unable to look up a contact by
      contact ID after a restart + usrloc cluster sync

Reported by @vasilevalex

Fixes #1492


  Commit: c21c0944d899968835df0cffb88dc7c6636070d3
      https://github.com/OpenSIPS/opensips/commit/c21c0944d899968835df0cffb88dc7c6636070d3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc: Undo removed condition in da1dac8f

Credits to Vlad Pătrașcu for the catch!


  Commit: 8862524164a30acd1a3840059474e85800f0efe3
      https://github.com/OpenSIPS/opensips/commit/8862524164a30acd1a3840059474e85800f0efe3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M cachedb/cachedb.h
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.h
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  federated usrloc + Cassandra: Fix metadata deletion

Due to the fact that the key/value cachedb API often uses hardcoded key
names in each backend implementation (e.g. "opensipskey"), usrloc AoR
metadata delete operations were not working with Cassandra, as usrloc
asks the API to delete the "id" key.


  Commit: 295f4ba92daad93aefb09b01067e903ff7a77562
      https://github.com/OpenSIPS/opensips/commit/295f4ba92daad93aefb09b01067e903ff7a77562
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialog/dlg_timer.c

  Log Message:
  -----------
  dialog: Fix broken Re-INVITE pinging timeouts

Commit 0d026b9 introduced a regression where the Re-INVITE pinging
timeouts would not work anymore.

Fixes #1797


  Commit: 9b44b3d1492a3ca4653d7efc8dfb55d131ac31e0
      https://github.com/OpenSIPS/opensips/commit/9b44b3d1492a3ca4653d7efc8dfb55d131ac31e0
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-09-15 (Sun, 15 Sep 2019)

  Changed paths:
    M modules/cachedb_cassandra/README
    M modules/cachedb_cassandra/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 72982c2ca6dfb9d14eefe4c1ca1cd34b35ce7dfd
      https://github.com/OpenSIPS/opensips/commit/72982c2ca6dfb9d14eefe4c1ca1cd34b35ce7dfd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  smpp: fix payload when sending SM/DM response

Error reported by Johan De Clercq over GitHub/mail. Related to #1807


  Commit: e5dad693a3c6ba74c8de1b69e479a449dfe0669e
      https://github.com/OpenSIPS/opensips/commit/e5dad693a3c6ba74c8de1b69e479a449dfe0669e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-18 (Wed, 18 Sep 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc: Be more strict with bad modparams

Do not attempt to auto-fix invalid modparam values and throw a warning,
because some users may skip reading the logs on a "succesful" startup!


  Commit: f54e3fd767a6906df260f810baf62cdd04b2e42a
      https://github.com/OpenSIPS/opensips/commit/f54e3fd767a6906df260f810baf62cdd04b2e42a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/acc/acc_logic.c
    M modules/acc/acc_mod.c
    M modules/acc/acc_mod.h

  Log Message:
  -----------
  acc: always try to load dialog module

In case the `cdr` flag is used as variable, we can not figure out during
startup parsing whether the dialog module should be loaded or not.
Therefore we always try to load the dialog module, and in case we can't
and the `cdr` flag is used, we trigger a warning.


  Commit: 68a764c06785c5fdf7904920cbc7ae0aedcf817b
      https://github.com/OpenSIPS/opensips/commit/68a764c06785c5fdf7904920cbc7ae0aedcf817b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  acc: register DLGCB_LOADED callback in mod init

Move the registration from the dependencies function, because at that
point the dialog module does not have anything loaded.


  Commit: 7bb74dbead96f8bc9ca44441967256f0f35bed05
      https://github.com/OpenSIPS/opensips/commit/7bb74dbead96f8bc9ca44441967256f0f35bed05
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/logic.c
    M modules/b2b_logic/records.c

  Log Message:
  -----------
  [b2b_logic] Do not try to re-evaluate the script params.

The script parameters (provided from script level) are already evaluated (from the variable perspective), so there is no need to do it again.

Closes #1819

(cherry picked from commit f9bc3ce41d0cfc25c252215f35f8e04af7035f9b)


  Commit: fabcfa1ded10a5281659f71a3bfbec0dc9dd69ca
      https://github.com/OpenSIPS/opensips/commit/fabcfa1ded10a5281659f71a3bfbec0dc9dd69ca
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: Fix misaligned sync packets (related to be7265f1)

Commit be7265f11d broke the sync on `master`, since it did not take into
account commit 40b742256a, where the BIN packet receival mechanism was
optimized.

Reported by Răzvan Crainea
Credits to Vlad Pătrașcu for helping speed up the fix


  Commit: 3812dea3eb7b3e460128a3c08dcc4d1640aa43d3
      https://github.com/OpenSIPS/opensips/commit/3812dea3eb7b3e460128a3c08dcc4d1640aa43d3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/drouting/dr_load.c
    M modules/drouting/drouting.c
    M modules/drouting/prefix_tree.h
    M modules/drouting/routing.c
    M modules/drouting/routing.h

  Log Message:
  -----------
  [drouting] fix solving the script route upon load

Do not lookup the name of the route at DB load (as we do not have the proper structure), but do it at runtime.
Closes #1824


  Commit: bd61ef3bf1479b41d579e29152f87e997d9d0886
      https://github.com/OpenSIPS/opensips/commit/bd61ef3bf1479b41d579e29152f87e997d9d0886
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/drouting/doc/drouting_admin.xml
    M modules/drouting/dr_api_internal.c
    M modules/drouting/drouting.c
    M modules/drouting/prefix_tree.c
    M modules/drouting/prefix_tree.h

  Log Message:
  -----------
  [drouting] Allow non-digit chars in the prefix

New modparam `extra_prefix_chars` may define a list of non-digit chars to be accepted in the DR prefixes.


  Commit: fed5bade4ee435a0431efbb224ba21291c708467
      https://github.com/OpenSIPS/opensips/commit/fed5bade4ee435a0431efbb224ba21291c708467
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M main.c
    M modules/aaa_radius/aaa_radius.c
    M modules/acc/acc_mod.c
    M modules/alias_db/alias_db.c
    M modules/auth/auth_mod.c
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_db/authdb_mod.c
    M modules/avpops/avpops.c
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_sca/b2b_sca.c
    M modules/benchmark/benchmark.c
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_sql/cachedb_sql.c
    M modules/call_center/call_center.c
    M modules/call_control/call_control.c
    M modules/carrierroute/carrierroute.c
    M modules/cfgutils/cfgutils.c
    M modules/cgrates/cgrates.c
    M modules/clusterer/clusterer_mod.c
    M modules/compression/compression.c
    M modules/cpl_c/cpl.c
    M modules/db_berkeley/db_berkeley.c
    M modules/db_cachedb/db_cachedb.c
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_http/db_http.c
    M modules/db_mysql/db_mysql.c
    M modules/db_oracle/db_oracle.c
    M modules/db_perlvdb/perlvdb.c
    M modules/db_postgres/db_postgres.c
    M modules/db_sqlite/db_sqlite.c
    M modules/db_text/dbtext.c
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_virtual/db_virtual.c
    M modules/dialog/dialog.c
    M modules/dialplan/dialplan.c
    M modules/dispatcher/dispatcher.c
    M modules/diversion/diversion.c
    M modules/dns_cache/dns_cache.c
    M modules/domain/domain_mod.c
    M modules/domainpolicy/domainpolicy_mod.c
    M modules/drouting/drouting.c
    M modules/emergency/emergency_methods.c
    M modules/enum/enum_mod.c
    M modules/event_datagram/event_datagram.c
    M modules/event_flatstore/event_flatstore.c
    M modules/event_jsonrpc/event_jsonrpc.c
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_route/event_route.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/event_virtual.c
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/exec/exec_mod.c
    M modules/fraud_detection/fraud_detection.c
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch_scripting/fss_mod.c
    M modules/gflags/gflags.c
    M modules/group/group_mod.c
    M modules/h350/h350_mod.c
    M modules/httpd/httpd.c
    M modules/identity/identity.c
    M modules/imc/imc.c
    M modules/jabber/jabber.c
    M modules/json/json.c
    M modules/jsonrpc/jsonrpc.c
    M modules/ldap/ldap_mod.c
    M modules/load_balancer/load_balancer.c
    M modules/lua/siplua.c
    M modules/mangler/mangler.c
    M modules/mathops/mathops.c
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_html/mi_html.c
    M modules/mi_http/mi_http.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/mid_registrar.c
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/msilo.c
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c
    M modules/options/mod_options.c
    M modules/osp/osp_mod.c
    M modules/path/path_mod.c
    M modules/peering/peering.c
    M modules/perl/perl.c
    M modules/permissions/permissions.c
    M modules/pi_http/pi_http.c
    M modules/pike/pike.c
    M modules/presence/presence.c
    M modules/presence_callinfo/presence_callinfo.c
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/presence_mwi.c
    M modules/presence_xcapdiff/presence_xcapdiff.c
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua/pua.c
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/qos/qos.c
    M modules/rabbitmq/rabbitmq.c
    M modules/rabbitmq_consumer/rabbitmq_consumer.c
    M modules/ratelimit/ratelimit.c
    M modules/regex/regex_mod.c
    M modules/registrar/reg_mod.c
    M modules/rest_client/rest_client.c
    M modules/rls/rls.c
    M modules/rr/rr_mod.c
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/rtpproxy.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/sip_i/sip_i.c
    M modules/sipcapture/sipcapture.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siprec/siprec.c
    M modules/sl/sl.c
    M modules/sngtc/sngtc.c
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/sql_cacher.c
    M modules/sst/sst.c
    M modules/statistics/statistics.c
    M modules/stun/stun.c
    M modules/textops/textops.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tm/tm.c
    M modules/topology_hiding/topology_hiding.c
    M modules/tracer/tracer.c
    M modules/uac/uac.c
    M modules/uac_auth/uac_auth.c
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/registrant.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/ul_mod.c
    M modules/uuid/uuid.c
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/xcap_client.c
    M modules/xml/xml.c
    M modules/xmpp/xmpp.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  Rename the mod_exports dependencies function to preinit

Commit b29931e4f added a new function in `mod_exports`, sadly named
`dependency` function. This created a confusion with the existing
dependency mechanism.
This commit changes renames the newly added function to `preinit`.

Kudos to Liviu Chircu and Vlad Patrascu for arguing about this.


  Commit: 3c74e41f7b9ea6c541b3baafef357ce901132885
      https://github.com/OpenSIPS/opensips/commit/3c74e41f7b9ea6c541b3baafef357ce901132885
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/topology_hiding/topology_hiding.c

  Log Message:
  -----------
  Use word64encoding for $TH_callee_callid like in PR #1448


  Commit: 0c31818cdfc25fee29d207eb52313c7a4e7189cb
      https://github.com/OpenSIPS/opensips/commit/0c31818cdfc25fee29d207eb52313c7a4e7189cb
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2019-09-19 (Thu, 19 Sep 2019)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Small cleanup of never executable code


  Commit: 4001b468184a2182745c09beb475667ba8ce8890
      https://github.com/OpenSIPS/opensips/commit/4001b468184a2182745c09beb475667ba8ce8890
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-20 (Fri, 20 Sep 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix missing alias ports in TCP conn description

The alias ports of a TCP connections are essential information when debugging issues related to the TCP conn re-usages.


  Commit: 20f14c03697026bab5835dfdd1b1b70bbebf30c8
      https://github.com/OpenSIPS/opensips/commit/20f14c03697026bab5835dfdd1b1b70bbebf30c8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-20 (Fri, 20 Sep 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  Fixed calling receive_msg() from non-worker process

As starting 3.0 only the worker processes have access to the config script, the packages recevied via the raw sockets (in a module process) needs to be handled in the proper worker-processes via an RPC call.

Closes #1813


  Commit: abf3e32f944976e5f16e712cc0d10e01e73816ff
      https://github.com/OpenSIPS/opensips/commit/abf3e32f944976e5f16e712cc0d10e01e73816ff
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-20 (Fri, 20 Sep 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: Fix a series of memcmp() bugs

This patch fixes a series of string comparison bugs, which would have
lead to either false positives or invalid memory access.

Credits to Răzvan Crainea for the report


  Commit: 68447a1b0624b9ed92fe48494dad6e0a5b3d0892
      https://github.com/OpenSIPS/opensips/commit/68447a1b0624b9ed92fe48494dad6e0a5b3d0892
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2019-09-21 (Sat, 21 Sep 2019)

  Changed paths:
    M modules/rtpengine/README
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: Use standart ALL_ROUTES macro

ALL_ROUTES macro was introduced in commit
85413735093b55f64390c0284ec4c2f63fad3526. Let's use it instead of
hand-made non-standart ANY_ROUTE.

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: e4cd76742c2bb2fa4c58b71903ab773a39c4d191
      https://github.com/OpenSIPS/opensips/commit/e4cd76742c2bb2fa4c58b71903ab773a39c4d191
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-09-22 (Sun, 22 Sep 2019)

  Changed paths:
    M modules/aaa_radius/README
    M modules/aaa_radius/doc/contributors.xml
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/alias_db/README
    M modules/alias_db/doc/contributors.xml
    M modules/auth/README
    M modules/auth/doc/contributors.xml
    M modules/auth_aaa/README
    M modules/auth_aaa/doc/contributors.xml
    M modules/auth_db/README
    M modules/auth_db/doc/contributors.xml
    M modules/avpops/README
    M modules/avpops/doc/contributors.xml
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/doc/contributors.xml
    M modules/b2b_sca/README
    M modules/b2b_sca/doc/contributors.xml
    M modules/benchmark/README
    M modules/benchmark/doc/contributors.xml
    M modules/cachedb_cassandra/README
    M modules/cachedb_cassandra/doc/contributors.xml
    M modules/cachedb_couchbase/README
    M modules/cachedb_couchbase/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/cachedb_memcached/README
    M modules/cachedb_memcached/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/cachedb_sql/README
    M modules/cachedb_sql/doc/contributors.xml
    M modules/call_center/README
    M modules/call_center/doc/contributors.xml
    M modules/call_control/README
    M modules/call_control/doc/contributors.xml
    M modules/carrierroute/README
    M modules/carrierroute/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/compression/README
    M modules/compression/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/db_berkeley/README
    M modules/db_berkeley/doc/contributors.xml
    M modules/db_cachedb/README
    M modules/db_cachedb/doc/contributors.xml
    M modules/db_flatstore/README
    M modules/db_flatstore/doc/contributors.xml
    M modules/db_http/README
    M modules/db_http/doc/contributors.xml
    M modules/db_mysql/README
    M modules/db_mysql/doc/contributors.xml
    M modules/db_oracle/README
    M modules/db_oracle/doc/contributors.xml
    M modules/db_perlvdb/README
    M modules/db_perlvdb/doc/contributors.xml
    M modules/db_postgres/README
    M modules/db_postgres/doc/contributors.xml
    M modules/db_sqlite/README
    M modules/db_sqlite/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/db_unixodbc/README
    M modules/db_unixodbc/doc/contributors.xml
    M modules/db_virtual/README
    M modules/db_virtual/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/diversion/README
    M modules/diversion/doc/contributors.xml
    M modules/dns_cache/README
    M modules/dns_cache/doc/contributors.xml
    M modules/domain/README
    M modules/domain/doc/contributors.xml
    M modules/domainpolicy/README
    M modules/domainpolicy/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/enum/README
    M modules/enum/doc/contributors.xml
    M modules/event_datagram/README
    M modules/event_datagram/doc/contributors.xml
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/event_jsonrpc/README
    M modules/event_jsonrpc/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/event_virtual/README
    M modules/event_virtual/doc/contributors.xml
    M modules/event_xmlrpc/README
    M modules/event_xmlrpc/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/freeswitch/README
    M modules/freeswitch/doc/contributors.xml
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/gflags/README
    M modules/gflags/doc/contributors.xml
    M modules/group/README
    M modules/group/doc/contributors.xml
    M modules/h350/README
    M modules/h350/doc/contributors.xml
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/identity/README
    M modules/identity/doc/contributors.xml
    M modules/imc/README
    M modules/imc/doc/contributors.xml
    M modules/jabber/README
    M modules/jabber/doc/contributors.xml
    M modules/json/README
    M modules/json/doc/contributors.xml
    M modules/jsonrpc/README
    M modules/jsonrpc/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mangler/README
    M modules/mangler/doc/contributors.xml
    M modules/mathops/README
    M modules/mathops/doc/contributors.xml
    M modules/maxfwd/README
    M modules/maxfwd/doc/contributors.xml
    M modules/mediaproxy/README
    M modules/mediaproxy/doc/contributors.xml
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/mi_fifo/README
    M modules/mi_fifo/doc/contributors.xml
    M modules/mi_html/README
    M modules/mi_html/doc/contributors.xml
    M modules/mi_http/README
    M modules/mi_http/doc/contributors.xml
    M modules/mi_xmlrpc_ng/README
    M modules/mi_xmlrpc_ng/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/mmgeoip/README
    M modules/mmgeoip/doc/contributors.xml
    M modules/msilo/README
    M modules/msilo/doc/contributors.xml
    M modules/nat_traversal/README
    M modules/nat_traversal/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/options/README
    M modules/options/doc/contributors.xml
    M modules/osp/README
    M modules/osp/doc/contributors.xml
    M modules/path/README
    M modules/path/doc/contributors.xml
    M modules/peering/README
    M modules/peering/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/pi_http/README
    M modules/pi_http/doc/contributors.xml
    M modules/pike/README
    M modules/pike/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/presence_callinfo/README
    M modules/presence_callinfo/doc/contributors.xml
    M modules/presence_dialoginfo/README
    M modules/presence_dialoginfo/doc/contributors.xml
    M modules/presence_mwi/README
    M modules/presence_mwi/doc/contributors.xml
    M modules/presence_xcapdiff/README
    M modules/presence_xcapdiff/doc/contributors.xml
    M modules/presence_xml/README
    M modules/presence_xml/doc/contributors.xml
    M modules/proto_bin/README
    M modules/proto_bin/doc/contributors.xml
    M modules/proto_hep/README
    M modules/proto_hep/doc/contributors.xml
    M modules/proto_sctp/README
    M modules/proto_sctp/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua/README
    M modules/pua/doc/contributors.xml
    M modules/pua_bla/README
    M modules/pua_bla/doc/contributors.xml
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/contributors.xml
    M modules/pua_mi/README
    M modules/pua_mi/doc/contributors.xml
    M modules/pua_usrloc/README
    M modules/pua_usrloc/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/qos/README
    M modules/qos/doc/contributors.xml
    M modules/rabbitmq/README
    M modules/rabbitmq/doc/contributors.xml
    M modules/rabbitmq_consumer/README
    M modules/rabbitmq_consumer/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/regex/README
    M modules/regex/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/rest_client/README
    M modules/rest_client/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/sip_i/README
    M modules/sip_i/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml
    M modules/snmpstats/README
    M modules/snmpstats/doc/contributors.xml
    M modules/speeddial/README
    M modules/speeddial/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/sst/README
    M modules/sst/doc/contributors.xml
    M modules/statistics/README
    M modules/statistics/doc/contributors.xml
    M modules/stun/README
    M modules/stun/doc/contributors.xml
    M modules/textops/README
    M modules/textops/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/tracer/README
    M modules/tracer/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml
    M modules/uac_auth/README
    M modules/uac_auth/doc/contributors.xml
    M modules/uac_redirect/README
    M modules/uac_redirect/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/userblacklist/README
    M modules/userblacklist/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml
    M modules/uuid/README
    M modules/uuid/doc/contributors.xml
    M modules/xcap/README
    M modules/xcap/doc/contributors.xml
    M modules/xcap_client/README
    M modules/xcap_client/doc/contributors.xml
    M modules/xml/README
    M modules/xml/doc/contributors.xml
    M modules/xmpp/README
    M modules/xmpp/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 7ade34c578e9219e66472e213f8ae70ec915dfbb
      https://github.com/OpenSIPS/opensips/commit/7ade34c578e9219e66472e213f8ae70ec915dfbb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  [acc] added loose dependency to dialog module

We need to be sure that dialog module is init before acc (if dialog is loaded), to prevent any crashes when acc registers the DLGCB_LOADED callback in dialog (the registraion of the callback will try to run the callback on any pre-existing dialogs, so the hash table for the dialogs must be created/init).
It is a loose dependency as it does not require the dialog module to be loaded. But if loaded, it must be init before ACC module.

Fixes #1833

(cherry picked from commit 3c18dbfc198d7bece144e708762ea35299bdc8b5)


  Commit: 7832736de9d34f4fa295da30ef23537d4435ea66
      https://github.com/OpenSIPS/opensips/commit/7832736de9d34f4fa295da30ef23537d4435ea66
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/rtpengine/README
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  Merge pull request #1834 from lemenkov/any_route_removal

rtpengine: Use standart ALL_ROUTES macro


  Commit: e7fa2d18584883178a03773031d3432d632e6bd8
      https://github.com/OpenSIPS/opensips/commit/e7fa2d18584883178a03773031d3432d632e6bd8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/fraud_detection/frd_hashmap.c
    M modules/fraud_detection/frd_hashmap.h
    M modules/fraud_detection/frd_stats.c

  Log Message:
  -----------
  Revert "fraud_detection: Fix hash-level locking issues"

This reverts commit 32ec7a291db3a9ac8865a439b04874a9e1798e8e.


  Commit: ccdc8d2d1bd3adba3a91c669443c22c4bfa82894
      https://github.com/OpenSIPS/opensips/commit/ccdc8d2d1bd3adba3a91c669443c22c4bfa82894
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/fraud_detection/frd_hashmap.c
    M modules/fraud_detection/frd_hashmap.h
    M modules/fraud_detection/frd_stats.c

  Log Message:
  -----------
  fraud_detection: Fix incomplete locking logic

The get_item() function results were insufficiently guarded, such
that the SIP workers may concurrently perform insert operations on the
same map object, possibly leading to shm corruption.

Fixes #1389


  Commit: 04704dc05e48e1773252d0e038db89e2183ccb64
      https://github.com/OpenSIPS/opensips/commit/04704dc05e48e1773252d0e038db89e2183ccb64
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_events.c
    M modules/fraud_detection/frd_events.h
    M modules/fraud_detection/frd_load.c

  Log Message:
  -----------
  fraud_detection: Fix a dangling SHM access bug

This patch fixes a race condition where a fraud_detection reload could
free the global SHM "threshold" objects which are still being referenced
N times (once for each ongoing dialog -- callback is invoked on
termination).

The solution is to simply store the integer values of the thresholds
into the callback data, and avoid storing any SHM pointers which have no
lifetime guarantees.


  Commit: 749fbef8875051d58e998ea0338bcbba12e28b1d
      https://github.com/OpenSIPS/opensips/commit/749fbef8875051d58e998ea0338bcbba12e28b1d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_stats.c
    M modules/fraud_detection/frd_stats.h

  Log Message:
  -----------
  fraud_detection: Fix a seq calls computation bug

The sequential calls of a user should be counted using the dialed
numbers, NOT the matched fraud rule prefixes (which are almost always
shorter).

Reported by Benjamin Pasquet from OpenIP


  Commit: 4a0558b2710b45e93c1ea2b1e60c794b0969a708
      https://github.com/OpenSIPS/opensips/commit/4a0558b2710b45e93c1ea2b1e60c794b0969a708
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_hashmap.c
    M modules/fraud_detection/frd_stats.h

  Log Message:
  -----------
  fraud_detection: Various small improvements

    * refactor unreadable/unmaintainable code
    * fix bad hash sizes, leading to unused buckets
    * improve some key errors reported to the users


  Commit: fda854eeedeb52c63121d2e99573d8f47525b844
      https://github.com/OpenSIPS/opensips/commit/fda854eeedeb52c63121d2e99573d8f47525b844
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M db/schema/fraud_detection.xml
    M scripts/db_berkeley/opensips/fraud_detection
    M scripts/mysql/fraud_detection-create.sql
    M scripts/oracle/fraud_detection-create.sql
    M scripts/postgres/fraud_detection-create.sql
    M scripts/sqlite/fraud_detection-create.sql

  Log Message:
  -----------
  fraud_detection DB schema: Fix missing default values


  Commit: ca75c705a4d74a06aec8ffe6d6e5d5c5e6fb97d6
      https://github.com/OpenSIPS/opensips/commit/ca75c705a4d74a06aec8ffe6d6e5d5c5e6fb97d6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-23 (Mon, 23 Sep 2019)

  Changed paths:
    M hash_func.h

  Log Message:
  -----------
  core_hash(): Clarify parameter requirement


  Commit: 3d30217a8d86696e69c0e6ca2005a723401d1e90
      https://github.com/OpenSIPS/opensips/commit/3d30217a8d86696e69c0e6ca2005a723401d1e90
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-25 (Wed, 25 Sep 2019)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: don't run atexit callbacks at shutdown

prevent OpenSIPS from crashing during shutdown due to bogus atexit()
`OPENSSL_cleanup()` routine, that is ran after the SHM memory is
destroyed, thus crashing during shm memory release.


  Commit: 23fb41e08f48eb89f1f08bf12e25f42bfcfe5287
      https://github.com/OpenSIPS/opensips/commit/23fb41e08f48eb89f1f08bf12e25f42bfcfe5287
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-09-25 (Wed, 25 Sep 2019)

  Changed paths:
    M modules/drouting/prefix_tree.c

  Log Message:
  -----------
  drouting: fix clang warnings related to char signed checks


  Commit: d19bc1b135d684fc2977a5674db052cfef83015c
      https://github.com/OpenSIPS/opensips/commit/d19bc1b135d684fc2977a5674db052cfef83015c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-25 (Wed, 25 Sep 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc: Fix some incorrect startup checks

On some misconfigured scripts (e.g. DB usrloc + db_url modparam, but
without any SQL DB module loaded), the module would report some strange
errors, instead of the more intuitive:

WARNING:core:solve_module_dependencies: module usrloc depends on an
 sqldb module due to modparam working_mode_preset, but none was loaded!
ERROR:core:main: failed to solve module dependencies

Thanks to Vlad Pătrașcu for the catch!

(cherry picked from commit 0b55ca32e74ec5d9b488de3226ba7ffe1d387764)


  Commit: f829eedda26ab87fc2cf31b52a0e87b7b920e96f
      https://github.com/OpenSIPS/opensips/commit/f829eedda26ab87fc2cf31b52a0e87b7b920e96f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-09-26 (Thu, 26 Sep 2019)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c
    M modules/acc/acc_logic.h

  Log Message:
  -----------
  acc: fix bad event parameter values for evi accounting

All dialog specific accounting fields were incorectly pushed as event
parameters for E_ACC_EVENT and E_ACC_MISSED_EVENT. This would result in
bogus values, possibly set by previous triggerings of E_ACC_CDR_EVENT.
This commit also fixes a type conversion bug causing the 'setuptime' and
'created' parameters of E_ACC_MISSED_EVENT to be improperly set.

Closes #1786

(cherry picked from commit b0760cd10122ef879eec325a2b4ce564e73ec03e)


  Commit: 8af37b7bc38bff60a9647b0cc81fa46d0f83a5b2
      https://github.com/OpenSIPS/opensips/commit/8af37b7bc38bff60a9647b0cc81fa46d0f83a5b2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-26 (Thu, 26 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: Fix unsafe profile linker handling

Once a profile linker is attached to dlg->profile_links, it _must not_
be touched anymore, as it can be freed at any moment (e.g. within a
simultaneous processing of dialog CREATE + DELETE bin packets).

Many thanks to 46Labs for uncovering this bug and for supporting the fix

(cherry picked from commit ddbff50033fb8701ec3a0bdc189be75a44558639)
(cherry picked from commit 7d75d6fea4aaa587d6853ebaa234aa3bf0aae264)


  Commit: 28294ad071d242b55752ee504847cbed1188c71a
      https://github.com/OpenSIPS/opensips/commit/28294ad071d242b55752ee504847cbed1188c71a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-26 (Thu, 26 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: Fix a very rare race condition

A dlg->h_id with value 0 is perfectly possible, see link_dlg_unsafe():

    dlg->h_id = d_entry->next_id++;

It should not be treated as some special case.

(cherry picked from commit d4be27178f7cb5bc09eb45b331e4cc4a61261444)
(cherry picked from commit abf4ac9b009ce467707c698360235113f4f2f239)


  Commit: 20a962a23879d66007bd5fdcbf1e314c5181d1cc
      https://github.com/OpenSIPS/opensips/commit/20a962a23879d66007bd5fdcbf1e314c5181d1cc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_repl_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: Various small code/performance improvements

    * remove redundant "is_replicated" function parameter
    * speed up profile hash computation
        (size is always 2^N, see new_dlg_profile() -> we can do bit AND)
    * shorten cookie-cutter code with add_last() and str_cpy()
    * fix over-complicated if condition
    * do not leak PKG memory on some error case
    * remove useless comment


  Commit: 329ba6031792cea0fd92cfd0ef28804c447266c6
      https://github.com/OpenSIPS/opensips/commit/329ba6031792cea0fd92cfd0ef28804c447266c6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_profile.c

  Log Message:
  -----------
  dialog: Optimize link_dlg_profile()

Reduce the number of pointer de-reference operations performed, be it
under lock or not (from 8-9 de-references down to just 1).


  Commit: e5e249b4d646ea838060f3835190042cde85db90
      https://github.com/OpenSIPS/opensips/commit/e5e249b4d646ea838060f3835190042cde85db90
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/clusterer/clusterer.c
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  clusterer: select the proper send socket for multiple bin listeners

Fixes #1671


  Commit: 8f16c3ee805e8227edb048f8783e9771b326800a
      https://github.com/OpenSIPS/opensips/commit/8f16c3ee805e8227edb048f8783e9771b326800a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Loop and wait for multiple terminted processes.

If you have a bunch of exec() calls (translated into a bunch of additional processes created), upon their termiantion OpenSIPS will get a cascade of SIGCHLD signals - as the kernel does not guarantee the delivery of the signals (like mergining similar multiple signal triggers), we will not have a 1-to-1 between terminated processes and received signals.
So, let's do our best and upon a single SIGCHLD we will try to "catch" as many terminated processes as possible/available.

Closes #1773

(cherry picked from commit 57f3619ffb848a9dce51668cd22ed964b5bcc8f2)


  Commit: a75b2369b15972c24d2c0887605d4749a960ce3e
      https://github.com/OpenSIPS/opensips/commit/a75b2369b15972c24d2c0887605d4749a960ce3e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  [uac] force enclosing of the newly added URI

As the new URI may contain URI params, to be sure we are not mixing them with hdr params, we enclose the new URI (if not already).

Closes #1741

(cherry picked from commit 146bcee04f4c66bf78254dd985bf651f888396c1)


  Commit: 02bb96f9d29ec9b1130aea8cc8226000d056baa9
      https://github.com/OpenSIPS/opensips/commit/02bb96f9d29ec9b1130aea8cc8226000d056baa9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  [droutoing] fix typo in comment

(cherry picked from commit d5be677e7db08f5c5fd86bb251b8975ec5fb11ab)


  Commit: b96abf0bea1fdaa2117932db2f848b3a026b8b5c
      https://github.com/OpenSIPS/opensips/commit/b96abf0bea1fdaa2117932db2f848b3a026b8b5c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-09-27 (Fri, 27 Sep 2019)

  Changed paths:
    M modules/drouting/drouting.c
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/ul_mod.c
    M sr_module.c
    M sr_module.h

  Log Message:
  -----------
  Remove old, unused reference to PROC_BIN

(cherry picked from commit 838349d5827d05c8c5430d53ca125f49600967a8)


  Commit: c7013403fe9dd58c5883b328bcbbbb4e21731481
      https://github.com/OpenSIPS/opensips/commit/c7013403fe9dd58c5883b328bcbbbb4e21731481
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-28 (Sat, 28 Sep 2019)

  Changed paths:
    M modules/pi_http/pi_http.c

  Log Message:
  -----------
  pi_http: Fix undefined 'PROC_BIN' reference


  Commit: b045af53a660113a43b6c6761c7872aa719ad52f
      https://github.com/OpenSIPS/opensips/commit/b045af53a660113a43b6c6761c7872aa719ad52f
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-09-29 (Sun, 29 Sep 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/pi_http/README
    M modules/pi_http/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml
    M modules/userblacklist/README
    M modules/userblacklist/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 1aac6c20ad6368dcda3cb1ab2ff2e52904627f14
      https://github.com/OpenSIPS/opensips/commit/1aac6c20ad6368dcda3cb1ab2ff2e52904627f14
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-30 (Mon, 30 Sep 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  cfg language: Fix binary string comparisons

When dealing with binary strings (e.g. the ones produced by {ip.pton}),
some of the string comparison operators were broken, such as: !=, >=, >,
<= and <.

Completes dee8a6a375


  Commit: 25c7c5994b382d376ffbdb62b5a4b7474870de7f
      https://github.com/OpenSIPS/opensips/commit/25c7c5994b382d376ffbdb62b5a4b7474870de7f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-30 (Mon, 30 Sep 2019)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  Transformations: Fix a series of buffer overrun bugs

This patch adds several buffers, on two layers, such that the following
operations are no longer broken (i.e. leading to buffer overruns and
incorrect results):

    * putting together any kind of transformation chain without the risk
      of reading and writing into the same transformation buffer

    * passing multiple transformation-enabled variables with arbitrary
      chaining lengths to a script function without the risk of any two
      of them making use of the same buffer

Many thanks to Răzvan Crainea for some timely tips!

Fixes #1572


  Commit: 7ba3c19dee56886aaff87b80766398b8f78acd5d
      https://github.com/OpenSIPS/opensips/commit/7ba3c19dee56886aaff87b80766398b8f78acd5d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-30 (Mon, 30 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix possible deadlocks with pinging + HA

The OPTIONS pinging + replicated dialog creation routines were
sufferring from a possible AB/BA deadlock, as they were
both attempting to grab the dialog and the ping timer list locks, but in
differring order.

Many thanks to 46Labs for supporting this fix

(cherry picked from commit e75ebb8b80af41e9829368618618afe558f88ca0)


  Commit: 688473a60e617ff3147dae4bc6cec641ca62cab9
      https://github.com/OpenSIPS/opensips/commit/688473a60e617ff3147dae4bc6cec641ca62cab9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-30 (Mon, 30 Sep 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c

  Log Message:
  -----------
  dialog: Fix unsafe profile list iteration

The dialog->profile_links list _must always_ be walked after first
grabbing the dialog's lock, regardless of the current ref count.
Failing to do so may lead to invalid memory access, as the list
elements may get freed from other processes.

Many thanks to 46Labs for supporting this fix

(cherry picked from commit 5613922793b2b332354da30ab54b4e56f276bbda)
(cherry picked from commit 0877fac687faa4b1e6dc36edab2ee61f669ce556)


  Commit: 5d177ba9fd9a3234e21188e3964fc1083cc81f3f
      https://github.com/OpenSIPS/opensips/commit/5d177ba9fd9a3234e21188e3964fc1083cc81f3f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/rtpengine/doc/rtpengine_admin.xml

  Log Message:
  -----------
  rtpengine: enhance symmetric documentation

Close #1841


  Commit: d2e6874f3e8c7919cf5efb68c7a2eb80ebec636f
      https://github.com/OpenSIPS/opensips/commit/d2e6874f3e8c7919cf5efb68c7a2eb80ebec636f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: don't run ATEXIT openssl callbacks for 1.1.1b

The NO_ATEXIT flag was added in openssl 1.1.1b, not 1.1.1

Credits go to Nick Altmann for reporting this


  Commit: fec5b51a0b4980b519904308b6297cd17d3b0ba6
      https://github.com/OpenSIPS/opensips/commit/fec5b51a0b4980b519904308b6297cd17d3b0ba6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_rabbitmq/event_rabbitmq.h
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_rabbitmq/rabbitmq_send.h

  Log Message:
  -----------
  event_rabbitmq: don't block indefinitely on connect

The connection timeout is configurable via a new module parameter.

Related to #1836


  Commit: 4dde71c13aaf5860472273c81bed7fec44e48723
      https://github.com/OpenSIPS/opensips/commit/4dde71c13aaf5860472273c81bed7fec44e48723
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-01 (Tue, 01 Oct 2019)

  Changed paths:
    M modules/event_virtual/doc/event_virtual_admin.xml
    M modules/event_virtual/event_virtual.c
    M modules/event_virtual/event_virtual.h

  Log Message:
  -----------
  event_virtual: improve the behaviour of the FAILOVER policy

A previously failed subscriber is now skipped for further notifications
for a configurable interval (via the new "failover_timeout" modparam).
This is useful when the actual event backend blocks for a considerable
amount of time when rasing the event. This commit greatly decreases the
overall amount of time OpeSIPS processes remain stuck when a subscriber
is unresponsive.

Related to #1836


  Commit: 0d981b8f8b3466368cae2849f7912f3148ab7e4c
      https://github.com/OpenSIPS/opensips/commit/0d981b8f8b3466368cae2849f7912f3148ab7e4c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-02 (Wed, 02 Oct 2019)

  Changed paths:
    M lib/json/Makefile.json

  Log Message:
  -----------
  Makefile.json: change json library based on include

if we are going to include json-c header, than we shall use the json-c
library, instead of json


  Commit: d270f134c78d7d4230808b34770ba5ee6b69cd8f
      https://github.com/OpenSIPS/opensips/commit/d270f134c78d7d4230808b34770ba5ee6b69cd8f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  [cfgutiles] Allow check_time_rec() to check a different time

A second optional parameter allows you to pass an UNIX timestamp to be checked against the time recurance (instead of checking the current time)


  Commit: f068fc1b6290cf456c415f717dee5b075b5bf4c5
      https://github.com/OpenSIPS/opensips/commit/f068fc1b6290cf456c415f717dee5b075b5bf4c5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M sr_module_deps.c

  Log Message:
  -----------
  Module deps: Fix a corner-case leading to a crash

When setting a dependency-inducing modparam multiple times (e.g. avpops
db_url) while having loaded no further dependency-inducing modules,
OpenSIPS would crash on startup.

Thanks to Xiao Huang for the report and fix
Fixes #1843

(cherry picked from commit 9c49b09c1888c29208475e5d7d5827eea3a964cf)


  Commit: cc3a4d453ace7fde465ca7e51ffee273940e0e46
      https://github.com/OpenSIPS/opensips/commit/cc3a4d453ace7fde465ca7e51ffee273940e0e46
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M evi/evi_params.c
    M evi/evi_params.h

  Log Message:
  -----------
  evi: add function to duplicate evi params


  Commit: 630c64522e26f4dfbd22f640e9aadb3efa934c6a
      https://github.com/OpenSIPS/opensips/commit/630c64522e26f4dfbd22f640e9aadb3efa934c6a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M evi/event_interface.c
    M evi/event_interface.h
    M mi/mi_core.c

  Log Message:
  -----------
  evi: add raise_event MI command

Close #1526


  Commit: b660a21e1dfc2af4ae44fa752fb18c598d8e5cf8
      https://github.com/OpenSIPS/opensips/commit/b660a21e1dfc2af4ae44fa752fb18c598d8e5cf8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M modules/siprec/siprec_body.c

  Log Message:
  -----------
  siprec: decrease level of unknown SDP media error


  Commit: 9ed7a8cac8681e528d0b785c0a523a676bd48027
      https://github.com/OpenSIPS/opensips/commit/9ed7a8cac8681e528d0b785c0a523a676bd48027
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-10-06 (Sun, 06 Oct 2019)

  Changed paths:
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_virtual/README
    M modules/event_virtual/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 409346a33a6a2fcf822eee897d63165106da68f4
      https://github.com/OpenSIPS/opensips/commit/409346a33a6a2fcf822eee897d63165106da68f4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-07 (Mon, 07 Oct 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: fix dlg_send_sequential mode parsing & doc

Reported by Giovanni Maruzzelli, close #1844


  Commit: d9435208b5dd41990bb51efe5254cc83504e7899
      https://github.com/OpenSIPS/opensips/commit/d9435208b5dd41990bb51efe5254cc83504e7899
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-07 (Mon, 07 Oct 2019)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: remove DEBIAN_VERSION

Thanks go to Ken Rice for pointing this out!


  Commit: 304314ff9ee9ff5ea0f4cfae263e45ed851b79b1
      https://github.com/OpenSIPS/opensips/commit/304314ff9ee9ff5ea0f4cfae263e45ed851b79b1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-10-07 (Mon, 07 Oct 2019)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  [cfgutils] Downgrade polluting INFO log to DBG


  Commit: 9f8bc3dd88acd5d44a20da804f68ea86b2ef11a4
      https://github.com/OpenSIPS/opensips/commit/9f8bc3dd88acd5d44a20da804f68ea86b2ef11a4
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: fix typo in comments

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: a9dbb6e9475aaf266cb23fc5a47c93b31fc200fa
      https://github.com/OpenSIPS/opensips/commit/a9dbb6e9475aaf266cb23fc5a47c93b31fc200fa
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  Merge pull request #1849 from lemenkov/rtpengine_comment_typo

rtpengine: fix typo in comments


  Commit: 59ce4d28443316ccea882181ff4f009c6870c6ec
      https://github.com/OpenSIPS/opensips/commit/59ce4d28443316ccea882181ff4f009c6870c6ec
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M modules/siprec/siprec_sess.c

  Log Message:
  -----------
  siprec: fix deserialization of siprec session


  Commit: e4c629c80c56e42eae82cff6e5c87f57f02661c2
      https://github.com/OpenSIPS/opensips/commit/e4c629c80c56e42eae82cff6e5c87f57f02661c2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-09 (Wed, 09 Oct 2019)

  Changed paths:
    M modules/mathops/mathops.c

  Log Message:
  -----------
  mathops: allow math operations from any route

Reported by Nick Altmann, close #1850


  Commit: a37642ab6db917c9ed8317cbccbbff1dc6433b3b
      https://github.com/OpenSIPS/opensips/commit/a37642ab6db917c9ed8317cbccbbff1dc6433b3b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-09 (Wed, 09 Oct 2019)

  Changed paths:
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: don't add json object if map is empty

An object map was added for each hash entry, even though there were no
pipes in that hash, resulting in a huge list of empty hashes [{},{} ...]
This fix does not add an object in the resulted array if the map is
empty.


  Commit: 2ae51207a95fcfcbbde11886b40b0e30f2209a54
      https://github.com/OpenSIPS/opensips/commit/2ae51207a95fcfcbbde11886b40b0e30f2209a54
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-09 (Wed, 09 Oct 2019)

  Changed paths:
    M modules/b2b_entities/dlg.c
    M modules/event_route/event_route.c
    M modules/tm/t_reply.c
    M receive.c
    M route.c
    M timer.c

  Log Message:
  -----------
  properly populate route_type for certain routes

Reported by Ben Newlin in ticket #1846


  Commit: 27afe4b9512dda0cefc48bc0bd66aa4707992173
      https://github.com/OpenSIPS/opensips/commit/27afe4b9512dda0cefc48bc0bd66aa4707992173
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-10-10 (Thu, 10 Oct 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  Merge pull request #1852 from maxika-a/patch-1

[BUG] SipCapture Module #1851

(cherry picked from commit e721124af8092a855b55821058654f48d21cc1e8)


  Commit: 80a82624e5c08e940f23146f912f3135fa41aa51
      https://github.com/OpenSIPS/opensips/commit/80a82624e5c08e940f23146f912f3135fa41aa51
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-10-13 (Sun, 13 Oct 2019)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/mathops/README
    M modules/mathops/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 0e5d5094d970c7f16eaabe0abb83737a36945150
      https://github.com/OpenSIPS/opensips/commit/0e5d5094d970c7f16eaabe0abb83737a36945150
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-10-14 (Mon, 14 Oct 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  Build $DLG_json and $DLG_ctx_json under dlg lock


  Commit: 1ae680e1156a99af1fdb233ac4d5ba6437f4fb76
      https://github.com/OpenSIPS/opensips/commit/1ae680e1156a99af1fdb233ac4d5ba6437f4fb76
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-10-14 (Mon, 14 Oct 2019)

  Changed paths:
    M modules/dialog/dialog.c
    M modules/dialog/dlg_profile.h

  Log Message:
  -----------
  Add the profiles to the $DLG_ctx_json pvar

take special care to not build broken json for dlg in same profile but with different values


  Commit: b63e7f6cad642b046c047f818518defe3c219e11
      https://github.com/OpenSIPS/opensips/commit/b63e7f6cad642b046c047f818518defe3c219e11
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  dispatcher: remove useless debug


  Commit: 34fa4b7398369d71b11154dd10f1f06f10f666c4
      https://github.com/OpenSIPS/opensips/commit/34fa4b7398369d71b11154dd10f1f06f10f666c4
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M modules/dispatcher/dispatcher.c

  Log Message:
  -----------
  dispatcher: fix do_routing() max_res bug

Commit b5557bdcb introduced a bug that was limiting the failover set to
0. This commit reverts the maximum results limit to 1000, as it was
before the commit.

Reported by Jonathan Hulme on Slack


  Commit: 755defe07c743407be61326c5e3a568e26ffce86
      https://github.com/OpenSIPS/opensips/commit/755defe07c743407be61326c5e3a568e26ffce86
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc docs: Fix misleading info on timer behavior


  Commit: 51d6fa736700d7365d5316a3b5f8a4933916d72f
      https://github.com/OpenSIPS/opensips/commit/51d6fa736700d7365d5316a3b5f8a4933916d72f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-16 (Wed, 16 Oct 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  assert() statement: Fix crash on startup

The asserted expression must be ran through the fixup logic before it
can be fully usable.  For example, this fixes:

    assert($var(x) =~ "X", "test-op-match-1");

(cherry picked from commit cf117186ae389672a5d4e48538e81ed2b7de4fd6)
(cherry picked from commit 7345e9ee8281577efe8a214f27dc08388dc91ef4)


  Commit: d9b0102e5f91e95365aa6282c948e82130e48649
      https://github.com/OpenSIPS/opensips/commit/d9b0102e5f91e95365aa6282c948e82130e48649
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h
    M net/net_tcp.c

  Log Message:
  -----------
  struct hist API:  Fix possible crashes; Improve API

Commit a74fff149a introduced a race condition on this logic:

    lock_get(&sh->shlist->wlock);
    sh_unref_unsafe(sh);
    lock_release(&sh->shlist->wlock);

, where "sh" must no longer be read following the unref operation.
This commit fixes this issue, along with:

    * fix crash with -DSTRUCT_HIST but no -DDBG_TCPCON
    * speed optimizations: eliminate memset() operations (not needed)
    * make sh_push() more flexible (extra ref counts from outside)
    * code: hide structs, so importing struct_hist.h doesn't conflict
       with mysql.h's own "struct list_head"

(cherry picked from commit 0db946724e9eaa364f54425f8664d96529e848a1)


  Commit: d8e221b72a23227ee91e2730c2d08aefbe33e66c
      https://github.com/OpenSIPS/opensips/commit/d8e221b72a23227ee91e2730c2d08aefbe33e66c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  Return proper MI response for reset_statistics on success


  Commit: 4da69d5e1e38122c316743939a437f07dfc37f18
      https://github.com/OpenSIPS/opensips/commit/4da69d5e1e38122c316743939a437f07dfc37f18
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-10-20 (Sun, 20 Oct 2019)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: b0696734bc4c3a00df7e70973538197490ad8bbc
      https://github.com/OpenSIPS/opensips/commit/b0696734bc4c3a00df7e70973538197490ad8bbc
  Author: Roman Sevko <apple at rom.by>
  Date:   2019-10-26 (Sat, 26 Oct 2019)

  Changed paths:
    M modules/dispatcher/doc/dispatcher_admin.xml

  Log Message:
  -----------
  Update dispatcher_admin.xml

Fix unsupported in version 3.0 flag "s" in the example for ds_select_dst (opensips 3.0 is not working with it).

(cherry picked from commit c7c4e8862ba5f2d8ae3d5bee61040011be20a791)


  Commit: a36d64ff1da153cb25b80851398c51ea179acccb
      https://github.com/OpenSIPS/opensips/commit/a36d64ff1da153cb25b80851398c51ea179acccb
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-10-27 (Sun, 27 Oct 2019)

  Changed paths:
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: cefc071606b52aefffa2967adf8b5846878c3296
      https://github.com/OpenSIPS/opensips/commit/cefc071606b52aefffa2967adf8b5846878c3296
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c
    M modules/sql_cacher/sql_cacher.h

  Log Message:
  -----------
  sql_cacher: fix concurrent use of $sql_cached_value

For example, this fixes issues when calling a script function with multiple
$sql_cached_value params as PV specs. The function would get the same static
buffer that would be progressively extended and overwritten.


  Commit: 0706a105200be6e83fbb6fde07ab58edcbc29592
      https://github.com/OpenSIPS/opensips/commit/0706a105200be6e83fbb6fde07ab58edcbc29592
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M modules/python/Makefile
    A modules/python/python_compat.h
    M modules/python/python_exec.c
    M modules/python/python_iface.c
    M modules/python/python_mod.c
    M modules/python/python_msgobj.c
    M modules/python/python_support.c

  Log Message:
  -----------
  python: port interface to python 3

Credits go to Peter Lemenkov for reporting the issue. Close #1827


  Commit: 4ffbeee5d6addde9548bb1bc102fe327cb546754
      https://github.com/OpenSIPS/opensips/commit/4ffbeee5d6addde9548bb1bc102fe327cb546754
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net: handle CONN_ERROR2 on main


  Commit: 8f26f5aa501dfad69e50c2bedcd4325afe7b1508
      https://github.com/OpenSIPS/opensips/commit/8f26f5aa501dfad69e50c2bedcd4325afe7b1508
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-01 (Fri, 01 Nov 2019)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: make rl_feedback_limit extern

Make sure `rl_feedback_limit` is properly alocated for the entire
module, not only for the current object.

Fixes the crash reported by Ben Newlin. Close #1882


  Commit: b14bc2bc936646a84953e8b5458a91bc5a1c923a
      https://github.com/OpenSIPS/opensips/commit/b14bc2bc936646a84953e8b5458a91bc5a1c923a
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-11-03 (Sun, 03 Nov 2019)

  Changed paths:
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 4bc134fe3bd17cea845a59a1fcf1005044067eed
      https://github.com/OpenSIPS/opensips/commit/4bc134fe3bd17cea845a59a1fcf1005044067eed
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-05 (Tue, 05 Nov 2019)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc: include all fields in the DB queries for failed accounting

This is useful for writing all the acc fields(even if they have empty
or default values) when using a DB backend with no schema, such as
db_flatstore.

Closes #1780


  Commit: 6d90a700a0cd56c4dc765f6f7369bb795f1d00c1
      https://github.com/OpenSIPS/opensips/commit/6d90a700a0cd56c4dc765f6f7369bb795f1d00c1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-05 (Tue, 05 Nov 2019)

  Changed paths:
    M mi/mi_core.c

  Log Message:
  -----------
  Fix MI response structure for 'uptime' command

Fixes #1884


  Commit: 40923a75ad239f93c4f3c2e15bddff9f2ea29882
      https://github.com/OpenSIPS/opensips/commit/40923a75ad239f93c4f3c2e15bddff9f2ea29882
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M modules/acc/doc/acc_admin.xml

  Log Message:
  -----------
  acc docs: add 'ms_duration' param for E_ACC_CDR event


  Commit: 9d76d4ea92e40e774cddfe4307d0437005090697
      https://github.com/OpenSIPS/opensips/commit/9d76d4ea92e40e774cddfe4307d0437005090697
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm docs: add missing CRL related modparams

Also improve the description of the 'ca_dir' modparam.


  Commit: 1ed25cc505fda8c07e7dccf1642770b43f183a46
      https://github.com/OpenSIPS/opensips/commit/1ed25cc505fda8c07e7dccf1642770b43f183a46
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M modules/acc/acc.c

  Log Message:
  -----------
  Proper unlock on RADIUS AVP failure

DO not forget to release the ACC data lock if the operation of adding new RADIUS AVP fails.
Reported by Richard Revels
Closes #1864


  Commit: f8e4072b9c59c88d8cd63da6e3dfda491de4e49a
      https://github.com/OpenSIPS/opensips/commit/f8e4072b9c59c88d8cd63da6e3dfda491de4e49a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  Check for RAW_QUERY support if DB_ONLY

Fix for initial problem on #1877


  Commit: 9bb0fcccd3a89a32ee0b680ab799de8071e2543d
      https://github.com/OpenSIPS/opensips/commit/9bb0fcccd3a89a32ee0b680ab799de8071e2543d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M modules/event_route/event_route.c
    M modules/event_route/route_send.c
    M modules/event_route/route_send.h

  Log Message:
  -----------
  Access the route's array after the IPC dispatch.

The array with the script routes is not available in all procs, so, if the event is triggered from a non-scripting proc (like MI), the array will be empty.
As a fix, use the array (get the action list based on route ID) only via IPC dispatching, when we know for sure that we are in a process with the valid array of routes.
Fixes #1877

(cherry picked from commit 436dd69da5fcdb6fbb42a57e758c9696b662d0ef)


  Commit: b000bef83d11939cb523bfb20451d93fd9134637
      https://github.com/OpenSIPS/opensips/commit/b000bef83d11939cb523bfb20451d93fd9134637
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/presence/presence.c

  Log Message:
  -----------
  Expose sharing_tag while listing subscriptions

Helper for #1848

(cherry picked from commit d91454a3ad414b58ddcf1aed4df0f64cc28087c5)


  Commit: f17e4f4c34aa10685cb67e9c04a547794894ecef
      https://github.com/OpenSIPS/opensips/commit/f17e4f4c34aa10685cb67e9c04a547794894ecef
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  dialog: make 2nd parameter of get_dialogs_by_profile() optional


  Commit: 52eaaa0e9b2255ce804cec7e45844f0a31048a50
      https://github.com/OpenSIPS/opensips/commit/52eaaa0e9b2255ce804cec7e45844f0a31048a50
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Implement the "max contacts" logic

This patch adds support for placing a ceiling on the number of
registered endpoints for an AoR at any given time, either through the
global "max_contacts" modparam, or through the fine-grained "cNN" and
optional "f" flags.


  Commit: 7ff8b476fd19e25bb98b52c30c303a8bd6ba44b8
      https://github.com/OpenSIPS/opensips/commit/7ff8b476fd19e25bb98b52c30c303a8bd6ba44b8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/registrar/save.c

  Log Message:
  -----------
  registrar: Fix a rare "max_contacts" bug

When registering 2+ contacts in a single REGISTER, on an AoR with at
least 1 registered contact, the "max_contacts" feature would not work
properly anymore.


  Commit: a5a4bbaa0f8f3e996a97ddc30d413bbc273a931d
      https://github.com/OpenSIPS/opensips/commit/a5a4bbaa0f8f3e996a97ddc30d413bbc273a931d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M lib/reg/config.h
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/save.h

  Log Message:
  -----------
  mid_registrar: Add the "o" save() flag

The "o" flag will cause 200 OK replies to REGISTER requests to "Only
include request contacts".  Technically speaking, this is against RFC
3261, § 10.3, (8), which says:

      8. The registrar returns a 200 (OK) response.  The response MUST
         contain Contact header field values enumerating all current
         bindings.  Each Contact value MUST feature an "expires"
         parameter indicating its expiration interval chosen by the
         registrar.  The response SHOULD include a Date header field.


  Commit: 19c46d6ffd755f49d7c0d3e2bcc8061bf1c0fa59
      https://github.com/OpenSIPS/opensips/commit/19c46d6ffd755f49d7c0d3e2bcc8061bf1c0fa59
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/registrar/doc/registrar_admin.xml
    M modules/registrar/save.c

  Log Message:
  -----------
  registrar: Add the "o" save() flag

Similar feature to a5a4bbaa0f


  Commit: b0ac52b2fe0bf331556fa278fd535720b40fb0c1
      https://github.com/OpenSIPS/opensips/commit/b0ac52b2fe0bf331556fa278fd535720b40fb0c1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc: Avoid locking issues on shutdown

At mod_destroy, there is no need to lock the hash anymore.
(same reason as the one behind 160b42410)


  Commit: 6695b31df1258a3c9143d1f491c9d4e4293999d7
      https://github.com/OpenSIPS/opensips/commit/6695b31df1258a3c9143d1f491c9d4e4293999d7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M lib/reg/ci.c
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Implement the "attributes AVP" logic


  Commit: a97ca66a21df52967b799239a63acf9ba041332b
      https://github.com/OpenSIPS/opensips/commit/a97ca66a21df52967b799239a63acf9ba041332b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Remove Path when forwarding REGISTERs

Regardless of its working mode, the mid-registrar always rewrites the
Contact header to point to itself, so it stays in the path of future
calls.  Consequently, when relaying REGISTERs, it MUST no longer include
the Path header(s) built by the upstream elements, as this will break
call routing.


  Commit: 3dec49a11d9f8ce87bebabc0ac0095703751e33b
      https://github.com/OpenSIPS/opensips/commit/3dec49a11d9f8ce87bebabc0ac0095703751e33b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/save.c
    M parser/msg_parser.c
    M parser/msg_parser.h

  Log Message:
  -----------
  mid_registrar: Add RFC 3327 (Path header) support

Identical behavior to registrar's "p0" / "p1" / "p2" flags.


  Commit: 72d33eb5ff548ed2cb7331972e20d689e788e304
      https://github.com/OpenSIPS/opensips/commit/72d33eb5ff548ed2cb7331972e20d689e788e304
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm docs: remove references to obsolete default domain concept


  Commit: 652f3ccc956d9a42977e61f9d40cf41a836f7bcf
      https://github.com/OpenSIPS/opensips/commit/652f3ccc956d9a42977e61f9d40cf41a836f7bcf
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c
    M modules/topology_hiding/topology_hiding.c

  Log Message:
  -----------
  Merge pull request #1832 from vasilevalex/th_bugfix

[topology_hiding] Fix encoding $TH_callee_callid and small cleanup


  Commit: 90c3b0f4b4e5fd427601a9ffcaace19ee8d13c0d
      https://github.com/OpenSIPS/opensips/commit/90c3b0f4b4e5fd427601a9ffcaace19ee8d13c0d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: add wrappers for handling did


  Commit: 586af04852a6780e1d304182c651fb5d26317f7c
      https://github.com/OpenSIPS/opensips/commit/586af04852a6780e1d304182c651fb5d26317f7c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    A modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h
    R modules/rtpproxy/timeout_process.c

  Log Message:
  -----------
  rtpproxy: rework notification mechanism


  Commit: 14e15150dde76087b7fd0e275a38512cefab7cb7
      https://github.com/OpenSIPS/opensips/commit/14e15150dde76087b7fd0e275a38512cefab7cb7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-08 (Fri, 08 Nov 2019)

  Changed paths:
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h
    M modules/proto_smpp/utils.c
    M modules/proto_smpp/utils.h

  Log Message:
  -----------
  proto_smpp: make sure fields do not overlap

SMPP C-Octet String is defined as a limited number of characters,
followed by a NULL terminator. This means that a SMPP field consisting
of maximum N characters, can only have N-1 useful data + 1 NULL
terminator.

However, in real life, some operators require 9 length passwords, which
result in 10 chars password fields, which conflicts with the SMPP
specification. Check this thread for more information (yeah, I know
it's old, but it is still relevant):
https://devel.kannel.narkive.com/iyzAKxzC/smpp-maximum-password-length

This commit "breaks" a bit the SMPP 3.4 specs, allowing data to have N
characters _without_ the NULL termination, resulting in N+1 fields tops
(i.e. the password field can have 9 chars + '\0' = 10 chars). Although
this is not 100% correct, this makes our module more flexible, because
if you don't need 9-long passwords, it will be just fine. So the specs
are broken *only* if the provider requires it.

This commit also fixes a bug (described in ticket #1867), where OpenSIPS
was not storing a NULL termination for certain strings in their internal
storage, resulted in strings concatenated together in resulted messages.


  Commit: 7b886f214bf93bb29fe31607cd47e811f5e4634a
      https://github.com/OpenSIPS/opensips/commit/7b886f214bf93bb29fe31607cd47e811f5e4634a
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-11-10 (Sun, 10 Nov 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: af6be0a44f1dc24326f3a7d251c95f31495dbb61
      https://github.com/OpenSIPS/opensips/commit/af6be0a44f1dc24326f3a7d251c95f31495dbb61
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/ratelimit/ratelimit.c

  Log Message:
  -----------
  ratelimit: allow traffic if NETWORKING stat not updated

Adresses issue #1882 reportd by Ben Newlin


  Commit: 3549f3c9c0027a40cd762da156cdcbfe4127f02e
      https://github.com/OpenSIPS/opensips/commit/3549f3c9c0027a40cd762da156cdcbfe4127f02e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/dialog/dialog.c

  Log Message:
  -----------
  Fix printing of bind_address for first CALLEE leg

If there was no reply yet on the given leg, the bind_address is NULL, so take care when printing it
Closes #1890

(cherry picked from commit 8df8aa13dcf0cbf9ff3b8c204479b21f2b513e09)


  Commit: be8596544e84f8115c28826810ee342d35105963
      https://github.com/OpenSIPS/opensips/commit/be8596544e84f8115c28826810ee342d35105963
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/siprec/siprec_sess.h

  Log Message:
  -----------
  siprec: fix unref mechanism

Fix unref mechanism to prevent it from unlocking an already freed
session


  Commit: 1c88f8fa074b0f773f83a27bffde570db86fba0f
      https://github.com/OpenSIPS/opensips/commit/1c88f8fa074b0f773f83a27bffde570db86fba0f
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence/clustering: Keep presence state on all nodes without shared DB

Add the option to set cluster_federation_mode = 2, which does the
following:

- All PUBLISH/presence state is recorded on the presence node, even when
  no one is subscribed. PUBLISH is now accepted on any node for updated
  state.

This means that you can round-robin your PUBLISH instead of having to
choose a single presence endpoint. And it also means you can switch to
other nodes and get up-to-date state from there, when a node dies.

This is achieved without using a shared DB (which has its own
limitations obviously).


  Commit: c24b90358a3db26a8540b7c90409ce5a01c2a039
      https://github.com/OpenSIPS/opensips/commit/c24b90358a3db26a8540b7c90409ce5a01c2a039
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/lua/sipapi.c

  Log Message:
  -----------
  lua: fix memory leaks when calling script functions from lua

Fixes #1835


  Commit: d038e10978eb96d0193d19548b58241530a9e046
      https://github.com/OpenSIPS/opensips/commit/d038e10978eb96d0193d19548b58241530a9e046
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M async.c

  Log Message:
  -----------
  launch() statement:  Fix an AVP list management bug

Whenever a launch() operation gets executed inline (thanks to some
favorable conditions), two things must happen:

    * no AVP from the message execution context should leak into the
      report route execution context

    * the AVPs from the message execution context must be restored
      after running the report route.  They _must not_ be destroyed,
      as message processing will continue afterwards!

Many thanks to Alexey Vasilyev for some valuable troubleshooting info
Fixes #1580

(cherry picked from commit 4a639db5b110de5da03e23607f0d74549a0e6087)
(cherry picked from commit 706e798d5ecc8109e335c4120f5d7f8fcf183c9e)


  Commit: 4038d7870c96de06815c36098eefc3bfc694f424
      https://github.com/OpenSIPS/opensips/commit/4038d7870c96de06815c36098eefc3bfc694f424
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/python/python_msgobj.c

  Log Message:
  -----------
  python: fix memory leaks when calling script functions from python


  Commit: 42d14d1ce43a4df240348bf14cca4ee1a18f8f2c
      https://github.com/OpenSIPS/opensips/commit/42d14d1ce43a4df240348bf14cca4ee1a18f8f2c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/python/python_exec.c

  Log Message:
  -----------
  python: fix crash when calling python_exec() with 1 parameter


  Commit: 3726b8a4f6fbb89f86099b0cc83f15ee3953a4ed
      https://github.com/OpenSIPS/opensips/commit/3726b8a4f6fbb89f86099b0cc83f15ee3953a4ed
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-11 (Mon, 11 Nov 2019)

  Changed paths:
    M modules/perl/opensipsxs.xs

  Log Message:
  -----------
  perl: fix memory leaks when calling script functions from perl


  Commit: 3d2e337423eb21f0eed5a8bbcec683d5694184cc
      https://github.com/OpenSIPS/opensips/commit/3d2e337423eb21f0eed5a8bbcec683d5694184cc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M modules/dispatcher/dispatcher.c

  Log Message:
  -----------
  dispatcher: Fix the "round robin" algorithm

ds_select_dst() must not get called multiple times on a given set, as
some destinations may get skipped in the process.

Fixes #1889


  Commit: ca097f48903eb8cedac92dada8adf6aee966487f
      https://github.com/OpenSIPS/opensips/commit/ca097f48903eb8cedac92dada8adf6aee966487f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M modules/dispatcher/dispatcher.c

  Log Message:
  -----------
  dispatcher: Clean up obsolete code


  Commit: b7db8e6753c67767a1ec50f2ec44ef5c99eafc6a
      https://github.com/OpenSIPS/opensips/commit/b7db8e6753c67767a1ec50f2ec44ef5c99eafc6a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M evi/evi_modules.h
    M evi/evi_transport.h
    M io_wait_loop.h
    M lib/dbg/struct_hist.h
    M modules/acc/doc/acc_admin.xml
    M modules/auth_db/doc/auth_db_admin.xml
    M modules/call_center/call_center.c
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/doc/cgrates_admin.xml
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/doc/clusterer_devel.xml
    M modules/clusterer/sharing_tags.c
    M modules/clusterer/sync.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_profile.c
    M modules/dialplan/doc/dialplan_admin.xml
    M modules/ldap/ldap_api_fn.c
    M modules/ldap/ldap_exp_fn.c
    M modules/load_balancer/lb_data.c
    M modules/siprec/siprec_logic.c
    M net/net_tcp.c
    M net/net_tcp_proc.c

  Log Message:
  -----------
  Fix various typos & minor doc/code shortcomings


  Commit: a8b85870374fae038770919f5593e30a16949b78
      https://github.com/OpenSIPS/opensips/commit/a8b85870374fae038770919f5593e30a16949b78
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer API: Refactor the "require_sync" parameter

Rename to "startup_sync", which better reflects its actual behavior.


  Commit: 152e0f97cc69451e5834503c0fe172f1dca8b493
      https://github.com/OpenSIPS/opensips/commit/152e0f97cc69451e5834503c0fe172f1dca8b493
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: Improve doc for 'seed_fallback_interval'


  Commit: b01fea26391538e152f6eddca148a49a82038d15
      https://github.com/OpenSIPS/opensips/commit/b01fea26391538e152f6eddca148a49a82038d15
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M doc/build-contrib.sh

  Log Message:
  -----------
  build-contrib.sh:  Add new contributors


  Commit: 490d1ed537ca4b6ac2a55aa09201b08c0c99ec91
      https://github.com/OpenSIPS/opensips/commit/490d1ed537ca4b6ac2a55aa09201b08c0c99ec91
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M modules/sipmsgops/list_hdr.c

  Log Message:
  -----------
  Fix crash of list_hdr_add_option() on an empty body hdr

Reported by Elliot Journeaux.

(cherry picked from commit f1857c8b3e84b3888f624446c046a5f59d8fd5c1)


  Commit: 1fa98a977d532931d3834b52e47d4598e9fab2ad
      https://github.com/OpenSIPS/opensips/commit/1fa98a977d532931d3834b52e47d4598e9fab2ad
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  -----------
  struct hist API:  Add rotating log list support

The struct hist debugging support now also offers rotating logging lists
with capped sizes.  Whenever the "flush" condition occurs, the new
sh_list_flush() function can be invoked in order to dump the currently
held logs to disk.

Inspired by #1580


  Commit: 84daf4dc4c3e7ec51ee7de58149dac5fa8567056
      https://github.com/OpenSIPS/opensips/commit/84daf4dc4c3e7ec51ee7de58149dac5fa8567056
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M parser/msg_parser.c
    M timer.c

  Log Message:
  -----------
  Proper reset of the sip_msg struct after each run of timer route.

Some cleanup of the free_sip_msg() function. This function is suppose to only free the attached content of a SIP msg, but without doing any kind of reset of the subfields.
Closes #1878

(cherry picked from commit b3dc0f7065bcf53392446fbc253dd24bb99d6bc8)


  Commit: db2719170fc4333b5beb3a8c78fa8400f6e8b00a
      https://github.com/OpenSIPS/opensips/commit/db2719170fc4333b5beb3a8c78fa8400f6e8b00a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Proper dummy sip msg cleanup after running startup route

(cherry picked from commit 2c1999bc8c5eb64c59a0d300ff860bdda65e639d)


  Commit: d267278f36a9cf7ef227b3855ce372701559bafb
      https://github.com/OpenSIPS/opensips/commit/d267278f36a9cf7ef227b3855ce372701559bafb
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M net/trans_trace.c

  Log Message:
  -----------
  Avoid mem leak when running the check trace route for TCP.

Do proper free of the summy SIP msg after each run.

(cherry picked from commit cff73d685996ddd9a1543c4040de02b9c43fb7b5)


  Commit: 2fac233efdf631f0f2cf39094ee9114785f2402e
      https://github.com/OpenSIPS/opensips/commit/2fac233efdf631f0f2cf39094ee9114785f2402e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M modules/sipcapture/sipcapture.c

  Log Message:
  -----------
  Proper free and reset of dummy SIP msg after running HEP route

(cherry picked from commit 501c893894b0a71b1649786de9f5fb1f133a8239)


  Commit: 8e54f04feba4f3071577831c7848ee16d674963c
      https://github.com/OpenSIPS/opensips/commit/8e54f04feba4f3071577831c7848ee16d674963c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Fix possible crash on shutdown

Since the TMCB_TRANS_DELETED callback _may get called after_ the module
destroy() phase, the udomain_t structure attached to the callback must
not be accessed anymore if OpenSIPS is shutting down, as the usrloc
module may have already freed most of its data structures.

Fixes #1641

(cherry picked from commit 1fbe9a66c57ea35eb73661c528d5a5dbc77f5858)


  Commit: 1fc69bee010f925d18a2e739bc025f85277da666
      https://github.com/OpenSIPS/opensips/commit/1fc69bee010f925d18a2e739bc025f85277da666
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: Re-order deps to fix parallel `make install`

`make -j install` is now fully functional

Fixes #892

(cherry picked from commit 486f0685167cf5be3866e8da9b4b6e199663a68d)


  Commit: e14cfb43bc4eace802808fefe1cdf9ab42f50981
      https://github.com/OpenSIPS/opensips/commit/e14cfb43bc4eace802808fefe1cdf9ab42f50981
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M etc/opensips.cfg
    M main.c
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  Change default for "auto_aliases" to no/disabled/off/0

CFG samples updated (removing auto_aliases as now it is by default off)


  Commit: 9dbded3c17241f537ba41756f3d9c35af795e0e6
      https://github.com/OpenSIPS/opensips/commit/9dbded3c17241f537ba41756f3d9c35af795e0e6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

  Changed paths:
    M modules/rtpproxy/notification_process.c

  Log Message:
  -----------
  rtpproxy: fix skipping notification command

Fix bug introduced in commit 586af048, where the command was not
properly skipped after being processed


  Commit: efae5d31ffe186e3a8f2f2a5dd858f2aa17b42ef
      https://github.com/OpenSIPS/opensips/commit/efae5d31ffe186e3a8f2f2a5dd858f2aa17b42ef
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml
    M modules/auth_db/README
    M modules/auth_db/doc/contributors.xml
    M modules/call_center/README
    M modules/call_center/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: afa5d7cf3d66b81a5d5793b1087237e99b3e3323
      https://github.com/OpenSIPS/opensips/commit/afa5d7cf3d66b81a5d5793b1087237e99b3e3323
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M action.c
    M cfg.y

  Log Message:
  -----------
  Fixed handling of signed numbers as script route params

(cherry picked from commit 76dfead300f75fd3f193b5fb1bd53d4bc498b2c0)
(cherry picked from commit 3396f5b38bc91d1186852bb5eee7e5e061fa92e5)


  Commit: fcfa70bc8f676015fa51a92a1a1d53a5479ad9d1
      https://github.com/OpenSIPS/opensips/commit/fcfa70bc8f676015fa51a92a1a1d53a5479ad9d1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/tls_mgm/api.h
    A modules/tls_mgm/cert_holder.c
    A modules/tls_mgm/cert_holder.h
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: add support for basic certificate holders through the API


  Commit: 722f7a9fa8adbdb302c78505bae623ef1392dbe2
      https://github.com/OpenSIPS/opensips/commit/722f7a9fa8adbdb302c78505bae623ef1392dbe2
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/auth/rpid.c
    M modules/enum/enum.c
    M ut.h

  Log Message:
  -----------
  utils: Add E.164 number test function


  Commit: 71c4718028531288ce7afbb9a28c44726d16c492
      https://github.com/OpenSIPS/opensips/commit/71c4718028531288ce7afbb9a28c44726d16c492
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M ut.c
    M ut.h

  Log Message:
  -----------
  utils: add base64URL encode/decode functions


  Commit: 3818ee11e3ff5e3ae11abf49caf2dc2e056818c7
      https://github.com/OpenSIPS/opensips/commit/3818ee11e3ff5e3ae11abf49caf2dc2e056818c7
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/tls_mgm/api.h

  Log Message:
  -----------
  tls_mgm: remove unnecessary include from api.h


  Commit: ab43a99a9c1516ee4ffa2516d4645dd0db267c2c
      https://github.com/OpenSIPS/opensips/commit/ab43a99a9c1516ee4ffa2516d4645dd0db267c2c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    A modules/stir/Makefile
    A modules/stir/stir.c
    A modules/stir/stir.h

  Log Message:
  -----------
  Add new stir module

Implement the stir_auth() function.


  Commit: 1de6e93ca341f9837a6a0293d247d6c5c1932a1f
      https://github.com/OpenSIPS/opensips/commit/1de6e93ca341f9837a6a0293d247d6c5c1932a1f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M ut.c

  Log Message:
  -----------
  utils: use the proper char table for base64 URL decoding


  Commit: 54fbcac2c04359b594947731760efc2f6ed0d3b5
      https://github.com/OpenSIPS/opensips/commit/54fbcac2c04359b594947731760efc2f6ed0d3b5
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c
    M modules/stir/stir.h

  Log Message:
  -----------
  stir: implement stir_verify() function


  Commit: 2de46f2dbc522cd770706e0867462a74ca539965
      https://github.com/OpenSIPS/opensips/commit/2de46f2dbc522cd770706e0867462a74ca539965
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: add stir_check() function


  Commit: b11a41878463e35410cd41e75ab1acb3aa62b72c
      https://github.com/OpenSIPS/opensips/commit/b11a41878463e35410cd41e75ab1acb3aa62b72c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: fix certificate validity check


  Commit: 45185f13197f7ed3f17fb8298f1954d059b07b8a
      https://github.com/OpenSIPS/opensips/commit/45185f13197f7ed3f17fb8298f1954d059b07b8a
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c
    M modules/stir/stir.h

  Log Message:
  -----------
  stir: add $identity variable

This is a read-only pseudo-variable that returns parsed fields from the
Identity header(eg. attestation level, origid etc.).


  Commit: 8765ee105a81829e690203c2e5099c79f2635fde
      https://github.com/OpenSIPS/opensips/commit/8765ee105a81829e690203c2e5099c79f2635fde
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: check empty values for PASSporT claims


  Commit: 7e2eeecb3146b2eaae6d9e9f4ca0b508d6c09138
      https://github.com/OpenSIPS/opensips/commit/7e2eeecb3146b2eaae6d9e9f4ca0b508d6c09138
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: check the values of the common stir/shaken PASSporT claims


  Commit: 9ad226305183f07adc5ee742aacb8e962f6eb41b
      https://github.com/OpenSIPS/opensips/commit/9ad226305183f07adc5ee742aacb8e962f6eb41b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c
    M modules/tls_mgm/api.h
    R modules/tls_mgm/cert_holder.c
    R modules/tls_mgm/cert_holder.h
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  stir: move certificate and private key loding code from tls_mgm


  Commit: e5bf550fde8029deed1d00a6c309cf6804eab758
      https://github.com/OpenSIPS/opensips/commit/e5bf550fde8029deed1d00a6c309cf6804eab758
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: fix missing CRLF length when alloc'ing identity HF buffer

Thanks to Liviu Chircu for spotting this!


  Commit: c266783684a9d6f4a0274c0585af2c4e2bd6007d
      https://github.com/OpenSIPS/opensips/commit/c266783684a9d6f4a0274c0585af2c4e2bd6007d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.h

  Log Message:
  -----------
  stir: capitalize the reason phrase returned for 437 error


  Commit: 2c6f564263ee596d5150f08e4e4d343a1c215453
      https://github.com/OpenSIPS/opensips/commit/2c6f564263ee596d5150f08e4e4d343a1c215453
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: properly enable CRL checks


  Commit: 60a48cc17e42629c3c08b379e558f7ae3cf49e9e
      https://github.com/OpenSIPS/opensips/commit/60a48cc17e42629c3c08b379e558f7ae3cf49e9e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: also load CAs and CRLs from directory


  Commit: a1fbb34f3b7cd88319ba51ba0981c6b0a8cd1b7b
      https://github.com/OpenSIPS/opensips/commit/a1fbb34f3b7cd88319ba51ba0981c6b0a8cd1b7b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: don't try to load CA certs if modparams are not set


  Commit: a8d202e47916a7524e7d94748d9f0a42be0e1d67
      https://github.com/OpenSIPS/opensips/commit/a8d202e47916a7524e7d94748d9f0a42be0e1d67
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: fix module exports


  Commit: b848e886c1ce2e17612a1626238d1c59329356ce
      https://github.com/OpenSIPS/opensips/commit/b848e886c1ce2e17612a1626238d1c59329356ce
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: add script function that checks certificate validity


  Commit: 015602fa1f5064597f90e1dcd61672b4916f1f50
      https://github.com/OpenSIPS/opensips/commit/015602fa1f5064597f90e1dcd61672b4916f1f50
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/stir.c

  Log Message:
  -----------
  stir: don't include the tls_mgm api header file


  Commit: 9652493ebb9d5b5bcb4bf613b5f8247c6f94d793
      https://github.com/OpenSIPS/opensips/commit/9652493ebb9d5b5bcb4bf613b5f8247c6f94d793
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    A modules/stir/doc/stir.xml
    A modules/stir/doc/stir_admin.xml

  Log Message:
  -----------
  stir: add module documentation


  Commit: 4a8bfd434b99e4d4d07e0921c3605a28848943f6
      https://github.com/OpenSIPS/opensips/commit/4a8bfd434b99e4d4d07e0921c3605a28848943f6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/stir/doc/stir_admin.xml

  Log Message:
  -----------
  stir: small doc improvements


  Commit: b87bad87a5c546b55a72bbe19e96dbe56b27f7af
      https://github.com/OpenSIPS/opensips/commit/b87bad87a5c546b55a72bbe19e96dbe56b27f7af
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    R modules/stir/Makefile
    R modules/stir/doc/stir.xml
    R modules/stir/doc/stir_admin.xml
    R modules/stir/stir.c
    R modules/stir/stir.h
    A modules/stir_shaken/Makefile
    A modules/stir_shaken/doc/stir_shaken.xml
    A modules/stir_shaken/doc/stir_shaken_admin.xml
    A modules/stir_shaken/stir_shaken.c
    A modules/stir_shaken/stir_shaken.h

  Log Message:
  -----------
  stir: rename module to 'stir_shaken'


  Commit: 312cad88869c84d98307b800975ba41b5e5b65d5
      https://github.com/OpenSIPS/opensips/commit/312cad88869c84d98307b800975ba41b5e5b65d5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  Removed useless SQL condition

The contact_id is an unique ID of the contact, so using the callid (as part of the query key) is redundant and useless (probabaly a leftover from the code re-factoring when the contact_id concept was introduced)


  Commit: 3aaa7321871cbc517affc0410aac0b20b6a48ca5
      https://github.com/OpenSIPS/opensips/commit/3aaa7321871cbc517affc0410aac0b20b6a48ca5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M doc/build-contrib.sh

  Log Message:
  -----------
  build-contrib.sh:  Include the latest module rename


  Commit: 861e9b02edb009ffcb4d835e680402c687fa6d9d
      https://github.com/OpenSIPS/opensips/commit/861e9b02edb009ffcb4d835e680402c687fa6d9d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    A modules/stir_shaken/README

  Log Message:
  -----------
  stir_shaken docs: add README


  Commit: bef6f542bdf58c094f7e6a89abee03038977b3f8
      https://github.com/OpenSIPS/opensips/commit/bef6f542bdf58c094f7e6a89abee03038977b3f8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix dlg_end_dlg local_route execution

Before this commit, when running any flavor of `dlg_end_dlg` from an
external process (not a SIP worker), the command that was generating the
BYE messages (tm's `t_request_within`) was dispatching the job to a SIP
worker, using IPC dispatch. This means that the BYE messages were
created in a different process than the initial one, thus not exposing a
proper context in `local_route`, but a dangling one, whichever was not
properly cleaned up after a request was processed. This resulted in
bogus data, such as inexisting `$DLG_dir` output, or even worse,
whatever broken values were leftover in the dangling context.

This commit fixes this issue by dispatching every `dlg_end_dlg` job
to a SIP worker, thus creating and populating the dialog context
properly.

This command affects any function that can be run through MI, or from an
external process such as:
* MI dlg_end_dlg
* MI profile_end_dlgs
* RTPProxy/RTPengine timeout notifications

Credits go to Darpan Patel for reporting this issue on GitHub
Fix #1896


  Commit: 6deabf8c22b6b0a944f9e5f8a6df24718fa9dfb8
      https://github.com/OpenSIPS/opensips/commit/6deabf8c22b6b0a944f9e5f8a6df24718fa9dfb8
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M packaging/debian/control
    M packaging/debian/rules
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  Packaging: add stir_shaken description for deb and rpm


  Commit: 1c7a4e76c07522319f2a810f26be8b5bbd6664ca
      https://github.com/OpenSIPS/opensips/commit/1c7a4e76c07522319f2a810f26be8b5bbd6664ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: properly free resources from previous commit

Completes commit bef6f542b


  Commit: 9feea19ec613d9ec0d216fe6142398d2d47743dd
      https://github.com/OpenSIPS/opensips/commit/9feea19ec613d9ec0d216fe6142398d2d47743dd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M cmds.h
    M core_stats.c
    M io_wait.h
    M lib/csv.c
    M main.c
    M mem/hp_malloc_stats.c
    M mi/mi_trace.c
    M pt_scaling.c

  Log Message:
  -----------
  fix several LGTM warnings


  Commit: b5896f4a76c33a03b5a818060ec7463205237938
      https://github.com/OpenSIPS/opensips/commit/b5896f4a76c33a03b5a818060ec7463205237938
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M modules/cgrates/cgrates_acc.c
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_handlers.h
    M modules/rtpproxy/notification_process.c

  Log Message:
  -----------
  dialog: improve API terminate_dlg() to also identify dialog by callid


  Commit: f25e89ea9f1e6008c3ba865c2b9e7f4d3f73a010
      https://github.com/OpenSIPS/opensips/commit/f25e89ea9f1e6008c3ba865c2b9e7f4d3f73a010
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: fix 'teardown' MI command


  Commit: e2e2c8a922892c49a040301cb4e07e52ac5cc625
      https://github.com/OpenSIPS/opensips/commit/e2e2c8a922892c49a040301cb4e07e52ac5cc625
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M modules/dialog/doc/dialog_admin.xml

  Log Message:
  -----------
  dialog: improve $DLG_dir docs


  Commit: 4286bb57f671afd0002fcb5c345da55946f647bd
      https://github.com/OpenSIPS/opensips/commit/4286bb57f671afd0002fcb5c345da55946f647bd
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M modules/rest_client/rest_client.c

  Log Message:
  -----------
  rest_client: initialize cURL library in mod_init()

This fix prevents crashes generated by rest_client trying to initialize
the SSL library from multiple processes in parallel, without any locking
mechanism on the internal shared objects.

Many thanks to Clif Jones and Ben Newlin for reporting and providing
plentora of logs and configurations that replicate this issue. Without
their help I couldn't have figured this out.

Close #1771


  Commit: 2528d81bcac9aa31e34fa0432303d5910929fe56
      https://github.com/OpenSIPS/opensips/commit/2528d81bcac9aa31e34fa0432303d5910929fe56
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M mi/mi_core.c

  Log Message:
  -----------
  mi: cache_fetch: return an error response if value not found

Closes: #1894


  Commit: b72d0fe1c6d17d7d797c226885c7c45d544b8a73
      https://github.com/OpenSIPS/opensips/commit/b72d0fe1c6d17d7d797c226885c7c45d544b8a73
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M modules/permissions/mi.c

  Log Message:
  -----------
  permissions: Fix 'subnet_dump' MI command

Reported by Ovidiu Sas


  Commit: be5c5e50b9bb7b4d97bbf0a0b248b92c52cf2675
      https://github.com/OpenSIPS/opensips/commit/be5c5e50b9bb7b4d97bbf0a0b248b92c52cf2675
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M modules/pua_usrloc/ul_publish.c

  Log Message:
  -----------
  pua_usrloc:  Do not crash during usrloc sync

... on the backup box, due to `current_processing_context` being NULL.

Thanks to Pete Kelly for reporting and testing!


  Commit: e9e6f40427385b72638b45e3a3e8b72b9fd9b294
      https://github.com/OpenSIPS/opensips/commit/e9e6f40427385b72638b45e3a3e8b72b9fd9b294
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc: Fix incomplete docs on 'cluster_mode'

Thanks go to Bogdan for the catch!


  Commit: 7c5f990ed3356b31430236dded29a07aaff050a2
      https://github.com/OpenSIPS/opensips/commit/7c5f990ed3356b31430236dded29a07aaff050a2
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M lib/reg/ci.c
    M lib/reg/ci.h
    A lib/reg/save_flags.c
    A lib/reg/save_flags.h
    M modules/mid_registrar/Makefile
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/nathelper/nathelper.c
    M modules/registrar/Makefile
    M modules/registrar/save.c
    M modules/registrar/sip_msg.h
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_cluster.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  Added support for per-contact matching mode

The [mid_registrar_]save() functions may take an optional M parameter to control the contact matching (0 - CONTACT_ONLY, 1 - CONTACT_AND_CALLID).
Default is CONTACT_ONLY / 0.

Ex: save("location","M1c4")


  Commit: 723e2586fc5ce209fdd7647b8fd3c374f9fd1ccf
      https://github.com/OpenSIPS/opensips/commit/723e2586fc5ce209fdd7647b8fd3c374f9fd1ccf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M lib/reg/save_flags.h
    M modules/usrloc/ucontact.h
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  Added new contact matching mode, uri param based

Instead of performing full contact URI matching, you can set the matching only on a specific URI param, for example "rinstance"

For "sip:bob at 10.10.10.10:45319;rinstance=8e7e76fa84713d6f;transport=UDP" contact, you can use save("location","M<rinstance>c4")


  Commit: 3a1c9a2b0d22626972c30f4129e2695189d1088f
      https://github.com/OpenSIPS/opensips/commit/3a1c9a2b0d22626972c30f4129e2695189d1088f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M lib/reg/save_flags.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  Link the per-module matching mode setting to the new per-contact matching mechanism


  Commit: 2af8412e7d3fa2d7918b63699dfb652f1464ce6e
      https://github.com/OpenSIPS/opensips/commit/2af8412e7d3fa2d7918b63699dfb652f1464ce6e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-22 (Fri, 22 Nov 2019)

  Changed paths:
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/registrar/doc/registrar_admin.xml

  Log Message:
  -----------
  Docs updated with the new Mxx flag for save()


  Commit: 873b70647cede6c683ec7a562cceb3e7e504f814
      https://github.com/OpenSIPS/opensips/commit/873b70647cede6c683ec7a562cceb3e7e504f814
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M modules/lua/sipluafunc.c
    M modules/script_helper/script_helper.c
    M modules/signaling/signaling.c
    M modules/signaling/signaling.h
    M modules/sl/sl.c
    M modules/sl/sl_api.h
    M modules/sl/sl_funcs.c
    M modules/sl/sl_funcs.h
    M modules/tm/t_reply.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  Refactor signaling, sl & tm APIs to add gen_totag()

This is a new function to generate the To-tag (which is msg specific and computed in a deterministic way) whitout actually sending a reply.

First stage of a fix for #1722


  Commit: 4918544248c495b1099a54326f97a82df97bbe76
      https://github.com/OpenSIPS/opensips/commit/4918544248c495b1099a54326f97a82df97bbe76
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M modules/presence/hash.c
    M modules/presence/hash.h
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Proper error handling in handle_subscribe

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

This is based on ec1889638a9d43280ba1362f6108a175efd4a854, with the update of the generation of the To-tag before the subscription check/reply


  Commit: 6e36b661823c823e42b15bfad0a26a9667be94cd
      https://github.com/OpenSIPS/opensips/commit/6e36b661823c823e42b15bfad0a26a9667be94cd
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-11-23 (Sat, 23 Nov 2019)

  Changed paths:
    M modules/rls/subscribe.c

  Log Message:
  -----------
  Proper handling of subscription session overlapping

1) be sure we send back a 500 reply in all error cases
2) detect the cases of subscription session overlapping (see #1722)

Similar to 4918544248c495b1099a54326f97a82df97bbe76


  Commit: 83ad194e4fd243542df20b12924b96e620862c90
      https://github.com/OpenSIPS/opensips/commit/83ad194e4fd243542df20b12924b96e620862c90
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-11-24 (Sun, 24 Nov 2019)

  Changed paths:
    M modules/auth/README
    M modules/auth/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/enum/README
    M modules/enum/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/pua_usrloc/README
    M modules/pua_usrloc/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/rest_client/README
    M modules/rest_client/doc/contributors.xml
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    A modules/stir_shaken/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 7b87cf4ffb69fec5a501ab47858c539a075f9457
      https://github.com/OpenSIPS/opensips/commit/7b87cf4ffb69fec5a501ab47858c539a075f9457
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add support for specifing advertised notification socket

Close #1563


  Commit: 190ec7ddf634562236ba7a052e22c9cf29844ed4
      https://github.com/OpenSIPS/opensips/commit/190ec7ddf634562236ba7a052e22c9cf29844ed4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken:  Fix compile warning with -DUSE_FUTEX


  Commit: c914f15001a9d5d3afa659d26a2f22ad76ce4632
      https://github.com/OpenSIPS/opensips/commit/c914f15001a9d5d3afa659d26a2f22ad76ce4632
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialog/dlg_timer.c

  Log Message:
  -----------
  dialog: build the ACK with full route set for re-INVITE

When the dialog module was sending re-INVITEs, the ACK to those
re-INVITEs was generated by the TM, thus was lacking a valid Route set.
This commit prevents the TM from generating the ACK, having the dialog
module sending it, with the learned Route set.

Thanks go to 46Labs for reporting and testing this!


  Commit: 4e0d8ffd2c5d1f1a110fb503567f664dbe889544
      https://github.com/OpenSIPS/opensips/commit/4e0d8ffd2c5d1f1a110fb503567f664dbe889544
  Author: Alessio Garzi <agarzi at clouditalia.com>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  Memory leak fix for mongodb module-reply not freed


  Commit: d3ed562b87e3fe4ed999b59a282e74b42b6ee248
      https://github.com/OpenSIPS/opensips/commit/d3ed562b87e3fe4ed999b59a282e74b42b6ee248
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  Merge pull request #1902 from Ozzyboshi/patch-1

Memory leak fix for mongodb module-reply not freed


  Commit: a8e1b2ee76ca51ca61e691aff4539bfe4f5d7570
      https://github.com/OpenSIPS/opensips/commit/a8e1b2ee76ca51ca61e691aff4539bfe4f5d7570
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: fix compile error

/usr/include/stdio.h:314:6: error: unknown type name ‘_IO_cookie_io_functions_t’
      _IO_cookie_io_functions_t __io_funcs) __THROW __wur;

Observed on libc 2.23


  Commit: fe844ad49bc5eaada0b1edf318b3f9327149bdc1
      https://github.com/OpenSIPS/opensips/commit/fe844ad49bc5eaada0b1edf318b3f9327149bdc1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M db/schema/registrant.xml

  Log Message:
  -----------
  registrant: document password format in db schema

The format of the password is actually driven by the format of the
`credential` parameter in the uac_auth module. Closes #1817


  Commit: 3dac47137a75e1bacae433e7ec94512f1f749a6c
      https://github.com/OpenSIPS/opensips/commit/3dac47137a75e1bacae433e7ec94512f1f749a6c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/gflags/gflags.c

  Log Message:
  -----------
  gflags: Fix crash introduced with function porting

Reported by Nick Altmann
Fixes #1906

(cherry picked from commit 6896bcdc30fa5f585db63ea42fc764c08345d8af)


  Commit: b3bdf7ce29dfe359b041ee0e59472a872bff1268
      https://github.com/OpenSIPS/opensips/commit/b3bdf7ce29dfe359b041ee0e59472a872bff1268
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar:  Fix mishandled corner-cases

    * avoid extraneous "udomain unlock" operations on some error cases
    * fix possible crash with the "o" flag


  Commit: b411063f172868a1e058f24d21cff40f7b881518
      https://github.com/OpenSIPS/opensips/commit/b411063f172868a1e058f24d21cff40f7b881518
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: remove bogus content length check


  Commit: 6bd19fcc96b9a05c46b4c9bf319b500ed93a735e
      https://github.com/OpenSIPS/opensips/commit/6bd19fcc96b9a05c46b4c9bf319b500ed93a735e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M modules/benchmark/benchmark.c

  Log Message:
  -----------
  benchmark: Fix 'bm_poll_results' MI command

Reported by Nick Altmann


  Commit: c797f820055b48cd7d76d37141f06fc4a69a32a8
      https://github.com/OpenSIPS/opensips/commit/c797f820055b48cd7d76d37141f06fc4a69a32a8
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-12-01 (Sun, 01 Dec 2019)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/benchmark/README
    M modules/benchmark/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/gflags/README
    M modules/gflags/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/stir_shaken/README
    M modules/stir_shaken/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 0b3d86d21f68de5c47835f594f36eb482225356a
      https://github.com/OpenSIPS/opensips/commit/0b3d86d21f68de5c47835f594f36eb482225356a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/presence/bind_presence.c
    M modules/presence/bind_presence.h
    M modules/presence/event_list.h
    M modules/presence/notify.c
    M modules/presence/notify.h
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h

  Log Message:
  -----------
  [presence] added some more API functions

* presence API - notify_all_on_publish() - the function may be used to trigger notification (NTOTIFY'es) to all subscribers/wachers registered for a given presentity. This is basically a virtual PUBLISH (without any SIP request, but with the same behavior)
* event API - build_notify_body() - the function provides a substitute for the presentity information. Upon a subscribe, instead of pushing a notify with a body built from the published presentities, you can dynamically build with this function whatever body you want to be returned with the body


  Commit: 8cc863ae37555afee58380b00896606afff2a0bf
      https://github.com/OpenSIPS/opensips/commit/8cc863ae37555afee58380b00896606afff2a0bf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h

  Log Message:
  -----------
  add DTMF detection support in RTPProxy


  Commit: 9c1af68cd3be1f4caf0c98618811093a5dd286ed
      https://github.com/OpenSIPS/opensips/commit/9c1af68cd3be1f4caf0c98618811093a5dd286ed
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: ignore timeout if not used


  Commit: fb73162563164a903bcf38bd0fe57e2eed9371c2
      https://github.com/OpenSIPS/opensips/commit/fb73162563164a903bcf38bd0fe57e2eed9371c2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    M modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h

  Log Message:
  -----------
  rtpproxy: add stream identifier in event


  Commit: 8ce7b25574ffeed70705d102812ffb8144916a09
      https://github.com/OpenSIPS/opensips/commit/8ce7b25574ffeed70705d102812ffb8144916a09
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: add some safety checks


  Commit: 6c749c895f5de0942fd4b6cfe9dd5d27d820f94d
      https://github.com/OpenSIPS/opensips/commit/6c749c895f5de0942fd4b6cfe9dd5d27d820f94d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/rtpproxy.c

  Log Message:
  -----------
  rtpproxy: don't add catch DTMF notify tag on answer


  Commit: 1f9bd7d10f8a0aacd83bcb8ae8e735599feb6c7e
      https://github.com/OpenSIPS/opensips/commit/1f9bd7d10f8a0aacd83bcb8ae8e735599feb6c7e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/notification_process.c

  Log Message:
  -----------
  rtpproxy: suppress commands received through notification


  Commit: f53cbabdab65262ff1fe4f8fc997d70a0df28b89
      https://github.com/OpenSIPS/opensips/commit/f53cbabdab65262ff1fe4f8fc997d70a0df28b89
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/rtpproxy/doc/rtpproxy_admin.xml

  Log Message:
  -----------
  rtpproxy: document rtpproxy DTMF feature availability


  Commit: 2caa1893c9c28a70464e85b34d07a8e23d5351be
      https://github.com/OpenSIPS/opensips/commit/2caa1893c9c28a70464e85b34d07a8e23d5351be
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/db_mysql/dbase.c

  Log Message:
  -----------
  Fixed long select queries reporting 0 rows instead of ERROR

if mysql_store_result throws an empty result set, first check mysql_errno and if that is ok, only then assume the result set is empty

(cherry picked from commit ef33057a21860c9acea31da8d44bd9d730cae4cd)


  Commit: 3ebeabfdafd141d112c76faeac604256b231ffd0
      https://github.com/OpenSIPS/opensips/commit/3ebeabfdafd141d112c76faeac604256b231ffd0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M modules/presence/event_list.h
    M modules/presence/notify.c

  Log Message:
  -----------
  Pre-allocate the str holder for the CT body for build_notify_body_t


  Commit: 37ee4b682105e291300b90af1d976881f41b885e
      https://github.com/OpenSIPS/opensips/commit/37ee4b682105e291300b90af1d976881f41b885e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M cfg_reload.c

  Log Message:
  -----------
  Fix re-indexing of reloaded routes

Fixes #1899

(cherry picked from commit fc728f0c5a8c012cb060f7490d9c31ff9e4fc590)


  Commit: 557226506d6547068695ca66b104449273da7fff
      https://github.com/OpenSIPS/opensips/commit/557226506d6547068695ca66b104449273da7fff
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M modules/dialplan/dialplan.c
    M modules/dialplan/doc/dialplan_admin.xml

  Log Message:
  -----------
  dialplan: Fix misleading 'dp_reload' docs and logs

(cherry picked from commit 984468f848a92e8cd8f8075a741c41f69289c2c7)
(cherry picked from commit 93970954f14329f8f56d28ae72c559043c20f9cb)


  Commit: b0a6d15d1dd32782bbd69db7296d5f5f8299f919
      https://github.com/OpenSIPS/opensips/commit/b0a6d15d1dd32782bbd69db7296d5f5f8299f919
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: fix bad CT header length calculation for NOTIFY


  Commit: c3de921ca9ce09c94b07fc7e5e50d331b19460e9
      https://github.com/OpenSIPS/opensips/commit/c3de921ca9ce09c94b07fc7e5e50d331b19460e9
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-12-08 (Sun, 08 Dec 2019)

  Changed paths:
    M modules/db_mysql/README
    M modules/db_mysql/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 369a2edbfb67c3e332d3620b627c377a9c74841e
      https://github.com/OpenSIPS/opensips/commit/369a2edbfb67c3e332d3620b627c377a9c74841e
  Author: Alexey Vasilyev <alexei.vasilyev at gmail.com>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  usrloc: Add "user_agent" parameter to E_UL_CONTACT events


  Commit: 84a8ce7f29afdcdbe03eb561669aca469b703559
      https://github.com/OpenSIPS/opensips/commit/84a8ce7f29afdcdbe03eb561669aca469b703559
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-12-13 (Fri, 13 Dec 2019)

  Changed paths:
    M modules/acc/acc_logic.c

  Log Message:
  -----------
  acc:  Fix usage of $acc_* vars in global onreply_route

This patch fixes a bug where if the script writer reads or writes to
$acc_extra or $acc_leg within the global (stateless) onreply_route, the
stateful onreply routes will no longer see the $acc_* vars function
properly, as acc will be working on a temporary (empty) context.

The solution is to simply merge and drop this temporary acc context as
soon as the transaction matching is done and the "real" accounting
context is extracted from it.

An interesting side-effect is that the $acc_* variables may now also be
initialized globally, within onreply_route, and their value will still
be carrier over to the lower-level onreply_routes, as well as until the
end of the dialog.


  Commit: 25232932db1b014f3b5db1cf728d3b203ce3d0e0
      https://github.com/OpenSIPS/opensips/commit/25232932db1b014f3b5db1cf728d3b203ce3d0e0
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

  Changed paths:
    M modules/acc/README
    M modules/acc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 5843679566327c2df3b93e74bf3a1c7914f6530b
      https://github.com/OpenSIPS/opensips/commit/5843679566327c2df3b93e74bf3a1c7914f6530b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topology_hiding: prevent module for engaging twice

Prevent the module from engaging TH callbacks twice, in case
topology_hiding() was called twice; however, do append the new
flags to the dialog module flags.


  Commit: 1f7b04fa354ae81a38b77d544a063f824c3ca146
      https://github.com/OpenSIPS/opensips/commit/1f7b04fa354ae81a38b77d544a063f824c3ca146
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net/net_tcp: remove FIXME comment

There's nothing we can fix regarding the tcp conn ref, because the same
lock is also used in larger blocks, that require more than simply
increasing and decreasing a counter.


  Commit: f84e5152ff4ee94acb055cc95ea6958583466dde
      https://github.com/OpenSIPS/opensips/commit/f84e5152ff4ee94acb055cc95ea6958583466dde
  Author: Alessio Garzi <gun101 at email.it>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  Wrong log message (params in wrong order)


  Commit: a413f58562e786ca61332314f3782d5de666ae2c
      https://github.com/OpenSIPS/opensips/commit/a413f58562e786ca61332314f3782d5de666ae2c
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  Merge pull request #1918 from Ozzyboshi/master

Wrong log message (params in wrong order)


  Commit: 52f675be5cf2049775995060f7d7844fb6df3baa
      https://github.com/OpenSIPS/opensips/commit/52f675be5cf2049775995060f7d7844fb6df3baa
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  Merge pull request #1914 from vasilevalex/usrloc_event_ua

usrloc: Add "user_agent" parameter to E_UL_CONTACT events


  Commit: 9a8de335f46d8a8d15ba3f98b851ad3227cfc170
      https://github.com/OpenSIPS/opensips/commit/9a8de335f46d8a8d15ba3f98b851ad3227cfc170
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-12-22 (Sun, 22 Dec 2019)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: e5991e1af5ca6eeb92940334da0a1cc31993ea7d
      https://github.com/OpenSIPS/opensips/commit/e5991e1af5ca6eeb92940334da0a1cc31993ea7d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix overflow when using large number of GW per rule

Instead of fix-size internal buffer, user self-scaling buffers for handling/sorting the destinations/gateways in rules and carriers.
Fixes #1910


  Commit: 43c7d916d8a807d00021818f1a120284cb08b50f
      https://github.com/OpenSIPS/opensips/commit/43c7d916d8a807d00021818f1a120284cb08b50f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    M modules/dispatcher/dispatch.c

  Log Message:
  -----------
  Fix locking when flushing state to DB

Indeed there was no data locking when the flushing the destination's state to DB.
Closes #1911


  Commit: 333ba680a6ffc4f391f7edf82069e07741166e5d
      https://github.com/OpenSIPS/opensips/commit/333ba680a6ffc4f391f7edf82069e07741166e5d
  Author: OpenSIPS <github at opensips.org>
  Date:   2019-12-29 (Sun, 29 Dec 2019)

  Changed paths:
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 929ab4d43c0ad1878d60d3ef27f2a71f905b80f0
      https://github.com/OpenSIPS/opensips/commit/929ab4d43c0ad1878d60d3ef27f2a71f905b80f0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Delete expired subscription only with active tags

In clustering setup, the DB rutine handling subsscription should delete from DB and run the del handler only if the subscription has an active sharing tag.

Fixes #1848


  Commit: 638160496d0863bf506c01c714812f2ea5206767
      https://github.com/OpenSIPS/opensips/commit/638160496d0863bf506c01c714812f2ea5206767
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/event_routing/event_routing.c

  Log Message:
  -----------
  Fix flags for event backend to avoid conflicts with event_flatstore


  Commit: c28876540fe447063db349932a36b655f5fe00f1
      https://github.com/OpenSIPS/opensips/commit/c28876540fe447063db349932a36b655f5fe00f1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/lua/sipmysql.c

  Log Message:
  -----------
  Fix missing `my_bool` for mysql version higher than 80000


  Commit: bef604028b0dd66a8e23504183c3e4547f82f741
      https://github.com/OpenSIPS/opensips/commit/bef604028b0dd66a8e23504183c3e4547f82f741
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for rhel8


  Commit: 682e96d24949356e60a371c4e5b95b5833703bef
      https://github.com/OpenSIPS/opensips/commit/682e96d24949356e60a371c4e5b95b5833703bef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/rr/doc/rr_admin.xml

  Log Message:
  -----------
  Improve docs on loose_route() and strict versus loose routing


  Commit: d7ce57d9d4bf4a419a596422e8ac6058ce326378
      https://github.com/OpenSIPS/opensips/commit/d7ce57d9d4bf4a419a596422e8ac6058ce326378
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: support for python module build on rhel8


  Commit: bc0578ded041a7eeeab7c341110c97836c774393
      https://github.com/OpenSIPS/opensips/commit/bc0578ded041a7eeeab7c341110c97836c774393
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-04 (Sat, 04 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix detection of current partition in multi-partitions scenario

Fixes #1927

(cherry picked from commit 81dbe503720379e2b427f55636cec3c3372baafe)


  Commit: 18d64c7b1ace438e408df4c45f134ad83c0e613c
      https://github.com/OpenSIPS/opensips/commit/18d64c7b1ace438e408df4c45f134ad83c0e613c
  Author: Nick Altmann <nick.altmann at gmail.com>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M packaging/redhat_fedora/opensips.spec

  Log Message:
  -----------
  RPM spec: fix rhel8 condition


  Commit: e1d89238aa645fccc0e9bee9999dd251a63b4cc2
      https://github.com/OpenSIPS/opensips/commit/e1d89238aa645fccc0e9bee9999dd251a63b4cc2
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-05 (Sun, 05 Jan 2020)

  Changed paths:
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/rr/README
    M modules/rr/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 999d57265e94a5986cb3c82f266a1b322f935e32
      https://github.com/OpenSIPS/opensips/commit/999d57265e94a5986cb3c82f266a1b322f935e32
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M modules/python/python_msgobj.c

  Log Message:
  -----------
  python: Explicitly mark include as system-wide one

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: 16dd54c301c29b028b5e433ec56a12a8c6c67204
      https://github.com/OpenSIPS/opensips/commit/16dd54c301c29b028b5e433ec56a12a8c6c67204
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M modules/python/python_msgobj.c

  Log Message:
  -----------
  Merge pull request #1929 from lemenkov/python3

python: Explicitly mark include as system-wide one (minor, almost cosmetic)


  Commit: 5fb57167b1b2b7734542205e4019277f1ffe5013
      https://github.com/OpenSIPS/opensips/commit/5fb57167b1b2b7734542205e4019277f1ffe5013
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/ratelimit/doc/ratelimit_admin.xml

  Log Message:
  -----------
  Document the limitations of the FEEDBACK alg

Closes #1915.


  Commit: ac153f449f6fcc978148ff8b6c8c940ec0776423
      https://github.com/OpenSIPS/opensips/commit/ac153f449f6fcc978148ff8b6c8c940ec0776423
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis:  Improve reconnect logging

    * lower failed query log severity from ERROR -> INFO
    * make sure to log query recovery after a reconnect


  Commit: 94b03427beb6a8ab15f36b734f7d09257d2b229a
      https://github.com/OpenSIPS/opensips/commit/94b03427beb6a8ab15f36b734f7d09257d2b229a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: fix partition recursive call when wildcard is used


  Commit: 11372330955f79b0e463b58980b6362be00e2846
      https://github.com/OpenSIPS/opensips/commit/11372330955f79b0e463b58980b6362be00e2846
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  presence: fix an overflow bug introduced in commit 929ab4d


  Commit: ed905d1a36fd0d7fb5b6461433f00c53e69c87cd
      https://github.com/OpenSIPS/opensips/commit/ed905d1a36fd0d7fb5b6461433f00c53e69c87cd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c
    M daemonize.h
    M main.c

  Log Message:
  -----------
  Timer process counting: Drop obsolete code

The timer counting and timer status code reporting logic was reworked in
caabbe53229bde (from N timer processes to 1+1, later 1+1+1), so the
"init_timer_no" shared integer logic is no longer needed.


  Commit: 6862850851c0597e70c79926d2266e43eef97dd4
      https://github.com/OpenSIPS/opensips/commit/6862850851c0597e70c79926d2266e43eef97dd4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M daemonize.c

  Log Message:
  -----------
  Status pipe reporting: Do not log errno on success

... as this may cause bogus debug logs, such as "Bad file descriptor" on
100% successful operations.


  Commit: a1689c6e5e7884f1d7c301373fd61ef885983ee6
      https://github.com/OpenSIPS/opensips/commit/a1689c6e5e7884f1d7c301373fd61ef885983ee6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M parser/msg_parser.h
    M parser/parse_uri.c
    M parser/parse_uri.h

  Log Message:
  -----------
  Add support for urn:nena:service URI scheme

Thanks go to Carl Lemieux from Comtechtel for providing the patch for
this


  Commit: 6f24b26205d11a3500f86113cf74f7f7f4ec95e8
      https://github.com/OpenSIPS/opensips/commit/6f24b26205d11a3500f86113cf74f7f7f4ec95e8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: decline Sec-WebSocket-Key keys that are not 24 bytes

In case the key is not 24 bytes, the some internal buffers might be
overwritten, resulting in malformed/bad Sec-WebSocket-Accept generation.
And since the RFC requires the key to be random 16-bytes-base64
encoding, the length should always be 24 bytes.

Thanks go to @hafkensite for reporting it on GitHub and to @wdoekes for
profiving the fix. Close #1928


  Commit: 25ed952145f60ebbce770900463e8a1661f0ed74
      https://github.com/OpenSIPS/opensips/commit/25ed952145f60ebbce770900463e8a1661f0ed74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  cfgutils: Add the get_accurate_time() function

Although $Ts and $Tsm are useful, they cannot be read simultaneously,
potentially leading to bad data.

Sponsored by 46Labs


  Commit: be93525d9d8b3672d4ab8185482bdd5e6370e9a3
      https://github.com/OpenSIPS/opensips/commit/be93525d9d8b3672d4ab8185482bdd5e6370e9a3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: fix generation of random 16 bytes for Sec-WebSocket-Key

Credits go to @wdoekes for pointing this out!


  Commit: 3d508e7bcc236dc07bd5651f1ba0a2c6e487f83a
      https://github.com/OpenSIPS/opensips/commit/3d508e7bcc236dc07bd5651f1ba0a2c6e487f83a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: use the new threadid interface for ssl 1.x.x


  Commit: 97c0a271bd93f895a4eae28d43f520b581595837
      https://github.com/OpenSIPS/opensips/commit/97c0a271bd93f895a4eae28d43f520b581595837
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: create tls domain per process


  Commit: b54ccb29cdeda8b8b32d2b2c8c2e227d6fce6d89
      https://github.com/OpenSIPS/opensips/commit/b54ccb29cdeda8b8b32d2b2c8c2e227d6fce6d89
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/tcp_conn_defs.h

  Log Message:
  -----------
  net: initialize connection extra data in workers


  Commit: 1bc5cd87dea2ce6cd299a41bc77b2d9d8fe782df
      https://github.com/OpenSIPS/opensips/commit/1bc5cd87dea2ce6cd299a41bc77b2d9d8fe782df
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: protect openssl rand functions with lock


  Commit: 62f7a6216cc5345028725388b002e752c9815d99
      https://github.com/OpenSIPS/opensips/commit/62f7a6216cc5345028725388b002e752c9815d99
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: add start/stop forwarding functions

Close #1686


  Commit: 675fb8757b62a60a4daedcf755af1b293a1b1914
      https://github.com/OpenSIPS/opensips/commit/675fb8757b62a60a4daedcf755af1b293a1b1914
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: simplify rtpengine_stop_media() implementation


  Commit: 3259dd5294ffa544e5ff6423cf40113a202a8150
      https://github.com/OpenSIPS/opensips/commit/3259dd5294ffa544e5ff6423cf40113a202a8150
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c

  Log Message:
  -----------
  rtpengine: add play_dtmf command


  Commit: 89bbb67e349acb172949beda1f80b07ec1dc9d3b
      https://github.com/OpenSIPS/opensips/commit/89bbb67e349acb172949beda1f80b07ec1dc9d3b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix a crash when receiving an unknown replicated profile

Reported by SamyGo on the mailing list.


  Commit: 2a4290d66b29e82da6ac13eae0da62df58d1a6ce
      https://github.com/OpenSIPS/opensips/commit/2a4290d66b29e82da6ac13eae0da62df58d1a6ce
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Add request retransmission detection

Instead of leaking shared memory on scripts which do not properly call
t_check_trans() beforehand, mid_registrar_save() will now act as a
t_check_trans() call and perform a default processing of the
retransmission.

Fixes #1907


  Commit: 19c27394131be722a6519e8d206cc62c015fdd84
      https://github.com/OpenSIPS/opensips/commit/19c27394131be722a6519e8d206cc62c015fdd84
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M modules/permissions/hash.c

  Log Message:
  -----------
  permissions: Fix typo in MI "subnet_dump"

Fixes #1901


  Commit: cd78b8360f698882961fde63ce225d77b44ae252
      https://github.com/OpenSIPS/opensips/commit/cd78b8360f698882961fde63ce225d77b44ae252
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M db/db_query.c

  Log Message:
  -----------
  Fix "replace" SQL syntax to "replace into"

Closes #1904


  Commit: 4deff0dbac1865c74da97d886c7aeabb81a1a0be
      https://github.com/OpenSIPS/opensips/commit/4deff0dbac1865c74da97d886c7aeabb81a1a0be
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence/event_list.c
    M modules/presence/event_list.h
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: fix several issues when using build_notify_body_t

* use the custom content type body if provided
* populate the actual pres_ev_t list element with the build_notify_body_t
  function
* use a proper free function for the notify body string in case of error
* improve comment-docs for build_notify_body_t


  Commit: f21c4eced9af5a7fb6249757a0b0a5eccfa3977d
      https://github.com/OpenSIPS/opensips/commit/f21c4eced9af5a7fb6249757a0b0a5eccfa3977d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence/event_list.h
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: allow build_notify_body_t to suppress sending the NOTIFY


  Commit: 2f80c1481922f18acd9bf5bdcbb64a42c399e300
      https://github.com/OpenSIPS/opensips/commit/2f80c1481922f18acd9bf5bdcbb64a42c399e300
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/Makefile
    A modules/presence_dfks/presence_dfks.c
    A modules/presence_dfks/presence_dfks.h
    M packaging/debian/rules
    M packaging/redhat_fedora/opensips.spec
    M parser/parse_event.c
    M parser/parse_event.h

  Log Message:
  -----------
  Add new presence_dfks module


  Commit: 00c7e84d666a91475198ed223a2648ef130e31a6
      https://github.com/OpenSIPS/opensips/commit/00c7e84d666a91475198ed223a2648ef130e31a6
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: use proper ending boundary for multipart body


  Commit: 0b72c3dc7b3b434d3a6d39e7a5d943ac03fe228e
      https://github.com/OpenSIPS/opensips/commit/0b72c3dc7b3b434d3a6d39e7a5d943ac03fe228e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c

  Log Message:
  -----------
  presence_dfks: do not require the 'device' XML node in SUBSCRIBE


  Commit: 0a7672228cb5967d3a513a53ade36281cd7002ad
      https://github.com/OpenSIPS/opensips/commit/0a7672228cb5967d3a513a53ade36281cd7002ad
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: support multiple optional feature values

Add 'ringCount' value support for CallForwardingNoAnswer. Other values
may be added in the future if required.


  Commit: e8b2034e67a55127751fa876a1182ab18b7f6137
      https://github.com/OpenSIPS/opensips/commit/e8b2034e67a55127751fa876a1182ab18b7f6137
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M modules/presence_dfks/presence_dfks.c
    M modules/presence_dfks/presence_dfks.h

  Log Message:
  -----------
  presence_dfks: allow suppressing of NOTIFY's from DFKS routes


  Commit: 85ff6edac6de5d22fd68587b0d0e8adda98ff339
      https://github.com/OpenSIPS/opensips/commit/85ff6edac6de5d22fd68587b0d0e8adda98ff339
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/doc/presence_dfks.xml
    A modules/presence_dfks/doc/presence_dfks_admin.xml

  Log Message:
  -----------
  presence_dfks: add module docs


  Commit: e6290b861519a14228f9ff56807271b011c5360b
      https://github.com/OpenSIPS/opensips/commit/e6290b861519a14228f9ff56807271b011c5360b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    A modules/presence_dfks/doc/contributors.xml

  Log Message:
  -----------
  presence_dfks: add contrib docs


  Commit: f12a53907d9829a949a9ca62a5a6d0e63695d2e9
      https://github.com/OpenSIPS/opensips/commit/f12a53907d9829a949a9ca62a5a6d0e63695d2e9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Improve/clean logging on expire notifications

Credits go to @wdoekes / Walter Doekes
Related to #1722


  Commit: fab8c357fedce647d1e0d0cc4f68f0e0c417c67f
      https://github.com/OpenSIPS/opensips/commit/fab8c357fedce647d1e0d0cc4f68f0e0c417c67f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/doc/proto_wss_admin.xml
    M modules/proto_wss/proto_wss.c
    M modules/tls_mgm/api.h
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_conn_server.h
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: split send and handshake timeouts

Move `tls_send_timeout` and `tls_handshake_timeout` from `tls_mgm` to
each module that can use it (`proto_tls` and `proto_wss`), making this
tuning more customizable, per module.


  Commit: be8a7e7b486896790c511d5fea281bf94c2a586e
      https://github.com/OpenSIPS/opensips/commit/be8a7e7b486896790c511d5fea281bf94c2a586e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/proto_tls/doc/proto_tls_admin.xml

  Log Message:
  -----------
  proto_tls: fix typo in doc param specification


  Commit: 014f5d2773a6b86f027bf7aa893078de8079d155
      https://github.com/OpenSIPS/opensips/commit/014f5d2773a6b86f027bf7aa893078de8079d155
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M menuconfig/commands.c

  Log Message:
  -----------
  menuconfig: more verbose output in case of error

Close #1242


  Commit: caaa55d7a2d9a0166d71cbe0cfc491553093f1d7
      https://github.com/OpenSIPS/opensips/commit/caaa55d7a2d9a0166d71cbe0cfc491553093f1d7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/tm/dlg.c
    M modules/tm/dlg.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: remove unused code

Close #1842


  Commit: 6453c569d7d658c4240e82948d2af7a4bc464810
      https://github.com/OpenSIPS/opensips/commit/6453c569d7d658c4240e82948d2af7a4bc464810
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: add attributes to output of dr_gw_status and dr_carrier_status


  Commit: ecd0bf6803efa91465cbf88efff618993201d63c
      https://github.com/OpenSIPS/opensips/commit/ecd0bf6803efa91465cbf88efff618993201d63c
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M db/schema/load_balancer.xml
    M modules/load_balancer/doc/load_balancer_admin.xml
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/lb_db.c
    M modules/load_balancer/lb_db.h
    M modules/load_balancer/load_balancer.c
    M scripts/db_berkeley/opensips/load_balancer
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/load_balancer
    M scripts/dbtext/opensips/version
    M scripts/mysql/load_balancer-create.sql
    M scripts/oracle/load_balancer-create.sql
    M scripts/pi_http/load_balancer-mod
    M scripts/pi_http/load_balancer-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/load_balancer-create.sql
    M scripts/sqlite/load_balancer-create.sql

  Log Message:
  -----------
  load_balancer: add opaque attribute string to destinations

The attributes can be returned by the lb_start(), lb_next(),
lb_start_or_next(), lb_is_destination() script functions and are also
included in the output of the lb_list and lb_status MI commands.


  Commit: 17c125a4ef7070017909d960adb070e8a5f4569b
      https://github.com/OpenSIPS/opensips/commit/17c125a4ef7070017909d960adb070e8a5f4569b
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    A modules/presence_dfks/README
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 3a2e07380323ac5f84536d57cdcb69cda98f1fc0
      https://github.com/OpenSIPS/opensips/commit/3a2e07380323ac5f84536d57cdcb69cda98f1fc0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc:  Disambiguate ul_flush / ul_sync docs


  Commit: d73ac1a18afe80c2fd15254118265efa37a28b2b
      https://github.com/OpenSIPS/opensips/commit/d73ac1a18afe80c2fd15254118265efa37a28b2b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  Simplified TLS cleanup code


  Commit: 0e2e434fdfb78678fd073e1ad518dd74d2a4181b
      https://github.com/OpenSIPS/opensips/commit/0e2e434fdfb78678fd073e1ad518dd74d2a4181b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  Clear SSL errors before performing SSL operations

Calling SSL_get_error() doesn't remove the error from the stack.
As a result SSL errors can remain on the stack and show up erronously in
later SSL operations and even spill out and affect other SSL contexts.


  Commit: f67f38e2914ff8ba44bbab98cb5d85ef58779d56
      https://github.com/OpenSIPS/opensips/commit/f67f38e2914ff8ba44bbab98cb5d85ef58779d56
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: arrange convertion logic in functions


  Commit: 417ac1185809d80315548ba5a4d5dd75c61ce93a
      https://github.com/OpenSIPS/opensips/commit/417ac1185809d80315548ba5a4d5dd75c61ce93a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: convert GSM7 to UTF-8 for incoming SM

Thanks to @johandeclercqdemocon for reporting this in #1935


  Commit: d81eaf9d093e6cf321a9d37f5e22740e85d5df91
      https://github.com/OpenSIPS/opensips/commit/d81eaf9d093e6cf321a9d37f5e22740e85d5df91
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several memory leaks

headers, body and payload was not properly released after sending
a SMPP message


  Commit: 19bbf8ca08638d938c32ebf467207357dcb95425
      https://github.com/OpenSIPS/opensips/commit/19bbf8ca08638d938c32ebf467207357dcb95425
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_req_within.c

  Log Message:
  -----------
  dialog: fix double decrement issue with cachedb shared profiles

If dialog replication is enabled and a dialog expires, the cachedb counter
will now only be decremented if the sharing tag is active.

Fixes #1937


  Commit: 4e5ac0d3094552ebaa76d183b74c9d0356f30547
      https://github.com/OpenSIPS/opensips/commit/4e5ac0d3094552ebaa76d183b74c9d0356f30547
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_select.c
    M modules/tls_mgm/tls_select.h

  Log Message:
  -----------
  tls: use is_peer_verified for both TLS and WSS

Close #1765


  Commit: c7028afea319e784ba354a930f1f736c08d19e7a
      https://github.com/OpenSIPS/opensips/commit/c7028afea319e784ba354a930f1f736c08d19e7a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/Makefile
    A modules/lua/compat.h
    M modules/lua/sipapi.c
    M modules/lua/sipdatetime.c
    M modules/lua/sipmemcache.c
    M modules/lua/sipmysql.c
    M modules/lua/sipstate.c
    M modules/lua/sipwatch.c

  Log Message:
  -----------
  lua: port interface to lua5.2 & lua5.3

Close #1066


  Commit: d2218763d94bc394ab7c2a151163a044e9a0b3f5
      https://github.com/OpenSIPS/opensips/commit/d2218763d94bc394ab7c2a151163a044e9a0b3f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/sipapi.c
    M modules/lua/siplua.c
    M modules/lua/sipluafunc.c
    M modules/lua/sipmysql.c
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: add new line for all siplua logs


  Commit: e8496cd109dac7dbfa74a7863fea4dca9d2d1d25
      https://github.com/OpenSIPS/opensips/commit/e8496cd109dac7dbfa74a7863fea4dca9d2d1d25
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/lua/Makefile

  Log Message:
  -----------
  lua: fix a Makefile typo


  Commit: 49d01575cf7c05e7b73e751965dc546a3785743f
      https://github.com/OpenSIPS/opensips/commit/49d01575cf7c05e7b73e751965dc546a3785743f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: fix a 'cache_table' modparam parsing bug

Fixes #1900


  Commit: 4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e
      https://github.com/OpenSIPS/opensips/commit/4d8d9ca902475a9eaaa759c3d4c75f8ae4ba348e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Fix inheriting branch specific attributes while forking via failure route.

The path vector and Q value are per-branch values and they must not be inherited while creating new branches from failure route.
Closes #1887


  Commit: c73235f3638b632269b7d4c7e5d8fe014928c2d1
      https://github.com/OpenSIPS/opensips/commit/c73235f3638b632269b7d4c7e5d8fe014928c2d1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: don't move to next char if escape is not recognized


  Commit: 7b3abf8096d7b69ec451928e36e09de06d90b57f
      https://github.com/OpenSIPS/opensips/commit/7b3abf8096d7b69ec451928e36e09de06d90b57f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/siprec/siprec.c
    M modules/siprec/siprec_body.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h

  Log Message:
  -----------
  siprec: add associations to the resulted XML

Close #1264


  Commit: 75ec1d5dbbafdffd9c86a4253e0d7c29bded1c28
      https://github.com/OpenSIPS/opensips/commit/75ec1d5dbbafdffd9c86a4253e0d7c29bded1c28
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
    M modules/event_rabbitmq/event_rabbitmq.c

  Log Message:
  -----------
  event_rabbitmq: add suppress_event_name parameter

Close #940


  Commit: 09473b34d94014f3279a3ff53e593bc7d9ba0a41
      https://github.com/OpenSIPS/opensips/commit/09473b34d94014f3279a3ff53e593bc7d9ba0a41
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of branch attributes during DNS-based failover.

When creating a fake request based on an existing UAC entity, use the DST_URI and PATH_VEC specific to that UAC entity and not the per-message values.
This will correctly preserve the DST_URI and PATH_VEC during a DNS based failover, where the new branch must be a perfect copy of the original failed branch.


  Commit: 0390ec9dce7eab7da6bb6b952ef4766698a1a967
      https://github.com/OpenSIPS/opensips/commit/0390ec9dce7eab7da6bb6b952ef4766698a1a967
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_msgbuilder.h

  Log Message:
  -----------
  Proper inheriting of advertised address/port during dns based failover.

As the DNS based failover has to create a new branch as a perfect copy of the failed branch (as branch attributes), use the per-UAC advertised address and ports rather than the the per-MSG values.


  Commit: f73abff95333af1d7832aaf58510afaf4a0becc1
      https://github.com/OpenSIPS/opensips/commit/f73abff95333af1d7832aaf58510afaf4a0becc1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M modules/tm/async.c
    M modules/tm/t_fwd.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c

  Log Message:
  -----------
  Do not inherit nothing (from prev branches) in failure route.

Reset all per-branch values before entering failure route - provide a fresh start for creating the new branches.


  Commit: 368e3699e60365c09902ceb26ba0251be9864a85
      https://github.com/OpenSIPS/opensips/commit/368e3699e60365c09902ceb26ba0251be9864a85
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c

  Log Message:
  -----------
  HP_MALLOC: Fix the memory warming feature

As some initial SHM allocations are done, the large chunk of memory
tends to move towards the end of the list, so we must properly locate it
before we are able to chop it up.

Fixes #1638


  Commit: 0617b35e9377dbfe590504d44b66b7fd24c487f0
      https://github.com/OpenSIPS/opensips/commit/0617b35e9377dbfe590504d44b66b7fd24c487f0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/hp_malloc.c
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC memory warming: Also work with HP_MALLOC_DBG


  Commit: b5a533f4e34fe36fddea5de98fcef0010c49704e
      https://github.com/OpenSIPS/opensips/commit/b5a533f4e34fe36fddea5de98fcef0010c49704e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  MI mem_rpm_dump:  Do not crash if RPM mem is disabled


  Commit: c728552927134caa2391496a2ed649e3f6e60627
      https://github.com/OpenSIPS/opensips/commit/c728552927134caa2391496a2ed649e3f6e60627
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cfgutils/cfgutils.c

  Log Message:
  -----------
  cfgutils: fix check_time_rec() leak

1. The timerec should be allocated in pkg memory, there's no reason why
   it should be shared
2. After checking the timerec, the function needs to release the memory


  Commit: 3d2461220d20c41ef88155cc431a0e0645941e48
      https://github.com/OpenSIPS/opensips/commit/3d2461220d20c41ef88155cc431a0e0645941e48
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb SQL adapter: Dup all string columns

The strings provided by bson_iter_utf8() and bson_iter_binary() are
ephemeral.  We must duplicate them as soon as possible, to prevent
invalid memory pointers within the result set as multiple rows get
processed.

Fixes #1903

(cherry picked from commit 50992ba690d2eca0f0751676f510097e68175034)
(cherry picked from commit 4207abc5841b5c9fc50f233eb5a09d5007dc4031)


  Commit: c37badde03bd0467c0194d16626d7b98f1fb6a06
      https://github.com/OpenSIPS/opensips/commit/c37badde03bd0467c0194d16626d7b98f1fb6a06
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  exec: fix assinging int val to  environment values


  Commit: 7261f1271af843577969910123025fc18449532d
      https://github.com/OpenSIPS/opensips/commit/7261f1271af843577969910123025fc18449532d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml

  Log Message:
  -----------
  tls_mgm: remove SSLv2 and SSLv3 from documentation


  Commit: 281b22dbfd0384f6eaa02793640d30dcf6d36eda
      https://github.com/OpenSIPS/opensips/commit/281b22dbfd0384f6eaa02793640d30dcf6d36eda
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c

  Log Message:
  -----------
  tls_mgm: make TLSv1.2 default method


  Commit: b2b5f7b4bcb863ef199816bfd4397d03e50f6992
      https://github.com/OpenSIPS/opensips/commit/b2b5f7b4bcb863ef199816bfd4397d03e50f6992
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c

  Log Message:
  -----------
  tls_mgm: add support for TLSv1.3


  Commit: b694057d7d2f7372e9c01c02c8da28aaa1c57832
      https://github.com/OpenSIPS/opensips/commit/b694057d7d2f7372e9c01c02c8da28aaa1c57832
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_config.c

  Log Message:
  -----------
  Revert "tls_mgm: make TLSv1.2 default method"

This reverts commit 281b22dbfd0384f6eaa02793640d30dcf6d36eda.


  Commit: 0838b2de27c50ee7eb7824b239119526c0ecbffe
      https://github.com/OpenSIPS/opensips/commit/0838b2de27c50ee7eb7824b239119526c0ecbffe
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix utf8 for [0x7f,0xff] chars

Thanks go to @johandeclercqdemocon for reporting this in ticket #1935


  Commit: f8e7ccc696dbcaa4e67f8e95e19ed346b466a571
      https://github.com/OpenSIPS/opensips/commit/f8e7ccc696dbcaa4e67f8e95e19ed346b466a571
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/shm_mem.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  stats: rename STAT_NO_ALLOC with more intuitive STAT_NOT_ALLOCATED


  Commit: 58cbc725d3bff05d990df1e7491d68b4ee71607f
      https://github.com/OpenSIPS/opensips/commit/58cbc725d3bff05d990df1e7491d68b4ee71607f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M io_wait.h
    M io_wait_loop.h
    M reactor_defs.h

  Log Message:
  -----------
  Add timeout support for reading fd'd in reactor.

Exposes news reactor_add_reader_with_timeout() function.
Provides the needs for #1838


  Commit: b0aa68e8468a35d5cfbf9820c7e7cf566ac19c49
      https://github.com/OpenSIPS/opensips/commit/b0aa68e8468a35d5cfbf9820c7e7cf566ac19c49
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit MI rl_list: Improve handling for non-existing pipes

Fixes #1863


  Commit: 7abd824a33b198d9adc844e62e475918e366db8c
      https://github.com/OpenSIPS/opensips/commit/7abd824a33b198d9adc844e62e475918e366db8c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/cpl_c/cpl.c
    M modules/emergency/emergency_methods.c
    M modules/presence/presence.c
    M modules/proto_ws/proto_ws.c
    M modules/proto_wss/proto_wss.c
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/python_mod.c
    M modules/registrar/reg_mod.c
    M modules/uac_registrant/registrant.c

  Log Message:
  -----------
  Fix improperly initialized str modparams

Fixes #1427


  Commit: 8d7db1522ae1eb979fcbb88699be9cbcf37238ec
      https://github.com/OpenSIPS/opensips/commit/8d7db1522ae1eb979fcbb88699be9cbcf37238ec
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.h

  Log Message:
  -----------
  Fix compiler warning

mem/rpm_mem.h: In function 'rpm_status':
mem/rpm_mem.h:308:6: warning: the address of 'qm_status' will always
	evaluate as 'true' [-Waddress]
  if (!RPM_STATUS || !rpm_block)

Credits to Bogdan for the catch!


  Commit: 96f2ad150ec2f0e3e44824e71868988326ac40ed
      https://github.com/OpenSIPS/opensips/commit/96f2ad150ec2f0e3e44824e71868988326ac40ed
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mem/rpm_mem.c

  Log Message:
  -----------
  RPM mem: Fix bad ifdef blocks

Fixes compilation with:
    #-DF_MALLOC
    -DQ_MALLOC
    -DHP_MALLOC


  Commit: ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
      https://github.com/OpenSIPS/opensips/commit/ee19a4f7e406ce9e9783bee2ce8316c81627b6bf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M action.c
    M async.h
    M cfg.y
    M modules/event_routing/ebr_data.c
    M modules/tm/async.c
    M modules/tm/async.h
    M net/net_tcp_proc.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  Added timeout support for async() statement

While this is a generic support for timeout (passing values and triggering the right callbacks), each async function must handle the timeout event according to its logic.
If the async cfg function does not implement the timeout support, the timeout value from the async() statement will be discarded -> this change is backward compatible with the existing implementation of the async functions.


  Commit: a6a85cde868111c3e9940b9241267472ab0088f9
      https://github.com/OpenSIPS/opensips/commit/a6a85cde868111c3e9940b9241267472ab0088f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4

  Log Message:
  -----------
  menuconfig templates: Migrate to 3.1 syntax

Fixes #1940

(cherry picked from commit 3117b855b72a048f8524bbbc4c50ddfe5c673068)


  Commit: 373f9b3950946d9ca3f2edd2f84e627f83d158cc
      https://github.com/OpenSIPS/opensips/commit/373f9b3950946d9ca3f2edd2f84e627f83d158cc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/load_balancer/lb_clustering.c
    M modules/load_balancer/lb_clustering.h
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/load_balancer.c

  Log Message:
  -----------
  load_balancer: add cluster syncing at startup and after DB reload


  Commit: d193c981fd1722e9cd27bcf5c43baf917dc3917d
      https://github.com/OpenSIPS/opensips/commit/d193c981fd1722e9cd27bcf5c43baf917dc3917d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/drouting/dr_clustering.c
    M modules/drouting/dr_clustering.h
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: add cluster syncing at startup and after DB reload


  Commit: 5a64b31eaba81f5e7de4dd3c4de780be07d70cdf
      https://github.com/OpenSIPS/opensips/commit/5a64b31eaba81f5e7de4dd3c4de780be07d70cdf
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/ds_clustering.c
    M modules/dispatcher/ds_clustering.h

  Log Message:
  -----------
  dispatcher: add cluster syncing at startup and after DB reload


  Commit: 41e03b7f2921d4976172205e3024c3be4b5506be
      https://github.com/OpenSIPS/opensips/commit/41e03b7f2921d4976172205e3024c3be4b5506be
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cfgutils/README
    M modules/cfgutils/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/lua/README
    M modules/lua/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/python/README
    M modules/python/doc/contributors.xml
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: 7b9239d63f412a1194e10c97611489d5facfdf74
      https://github.com/OpenSIPS/opensips/commit/7b9239d63f412a1194e10c97611489d5facfdf74
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  {ip.matches} transformation: Fix pkg memory leak

Many thanks to Callum Guy for providing helpful data on this bug!

(cherry picked from commit 1c4fa53f2fab6877c779799b01d21fce257cb7ad)


  Commit: a2f4f80fdf34ec18eb1b6499d512609085115e72
      https://github.com/OpenSIPS/opensips/commit/a2f4f80fdf34ec18eb1b6499d512609085115e72
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-20 (Mon, 20 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c
    M modules/event_flatstore/event_flatstore.h

  Log Message:
  -----------
  event_flatstore: improve handling of multiple subscriptions for the same file

Use the same internal shm struct corresponding to a file for each evi
subscription for that file. This fixes an issue with the 'evi_flat_rotate' MI
command not properly "rotating" multiple subscriptions to the new file. Besides,
a file is now opened only once regardless of how many subscribtions there are
for the same file.
Also, do not reuse an old 'evi_reply_sock' structure for a new subscription for
the same file (if the file corresponding to an old subscription was not yet
closed by all processes). This led to incorrect expire times for new
subscriptions.

Fixes #1933


  Commit: 75f07b7072402d390e12b04f5c5bc58bb0f3058f
      https://github.com/OpenSIPS/opensips/commit/75f07b7072402d390e12b04f5c5bc58bb0f3058f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: convert UTF-8 to gsm7

Reported by @johandeclercqdemocon in @1935


  Commit: d618825234078bc25917cfb74e53bbbeb33b2fc8
      https://github.com/OpenSIPS/opensips/commit/d618825234078bc25917cfb74e53bbbeb33b2fc8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/sipmsgops/doc/sipmsgops_admin.xml

  Log Message:
  -----------
  sipmsgops: Fix docs for sipmsg_validate()


  Commit: a4e94de60252d70635707ede5b7d6795430380d8
      https://github.com/OpenSIPS/opensips/commit/a4e94de60252d70635707ede5b7d6795430380d8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: handle oom errors on pkg allocations


  Commit: aa01dacdf7abb1689d2e6c316d3c94eaf89483ca
      https://github.com/OpenSIPS/opensips/commit/aa01dacdf7abb1689d2e6c316d3c94eaf89483ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/proto_smpp/doc/proto_smpp_admin.xml
    M modules/proto_smpp/proto_smpp.c

  Log Message:
  -----------
  proto_smpp: specify to, from and body from script

Allow script writer to specify the source and destination numbers, as
well as body and body encryption from the script.
Close #1778

Also can be used to sort out ticket #1943


  Commit: 6d16b5a4955f335b07fec3ef834405efeaec98b7
      https://github.com/OpenSIPS/opensips/commit/6d16b5a4955f335b07fec3ef834405efeaec98b7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h

  Log Message:
  -----------
  tls_mgm: tls_method accept range of versions


  Commit: b2191bb695859a10188757662dc77708a41ada73
      https://github.com/OpenSIPS/opensips/commit/b2191bb695859a10188757662dc77708a41ada73
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Force URI enclosing for sequential requests

This is a continuation of commit a75b2369b15972c, where we do the same
thing for sequential requests as well, avoiding any ambiguous resulting
headers, such as:

    ACK
    To: "Alice" sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes;tag=abcde

... which we now disambiguate as follows:

    ACK
    To: "Alice" <sip:sipp;p1=yes at 10.0.0.10:5060;p2=yes>;tag=abcde

Sponsored by 46Labs


  Commit: 4afb6fa4aae94b11354890ef9891bc62d6c22439
      https://github.com/OpenSIPS/opensips/commit/4afb6fa4aae94b11354890ef9891bc62d6c22439
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/shm_mem.c

  Log Message:
  -----------
  HP_MALLOC: Do not attempt mem warming with non-HP allocator


  Commit: 2c58dd3415885aa9134b0190852e10d91b25e51b
      https://github.com/OpenSIPS/opensips/commit/2c58dd3415885aa9134b0190852e10d91b25e51b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M action.c
    M cfg.y
    M route.c
    M route.h
    M route_struct.c

  Log Message:
  -----------
  cfg: make variable the name of the route called

Close #1934


  Commit: abbb728f6b52bb3dd633ab3644709badf80986fe
      https://github.com/OpenSIPS/opensips/commit/abbb728f6b52bb3dd633ab3644709badf80986fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M lib/cJSON.c

  Log Message:
  -----------
  cJSON library: Improve precision for myfloor()

Fixes a bug where large MI tree integers would get printed as:
    {
      "shmem:total_size": 2.147484e+09,
      ...
    }

... due to lack of precision.


  Commit: 0278b070ac76549284b007c695028c66ab2174b5
      https://github.com/OpenSIPS/opensips/commit/0278b070ac76549284b007c695028c66ab2174b5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Fix error on startup during fixup phase

Related to 2c58dd341588


  Commit: d680f158e4af6872bce3fd0d22c1882206377c04
      https://github.com/OpenSIPS/opensips/commit/d680f158e4af6872bce3fd0d22c1882206377c04
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/presence/README
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  Merge pull request #1892 from wdoekes/feature/clustering-publish-to-any

presence/clustering: Keep presence state on all nodes without shared DB


  Commit: 7ada147dd074b6bd058e5e0e67fac6ad55613f27
      https://github.com/OpenSIPS/opensips/commit/7ada147dd074b6bd058e5e0e67fac6ad55613f27
  Author: Peter Lemenkov <lemenkov at gmail.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  topology_hiding: More verbose in case of error

Be more verbose in case of error so you'll get the idea what's going on.
Instead of a message that something went wrong you'll get more
insightful one:

Jan 22 15:38:32 li443-44 /usr/local/sbin/opensips[1278]: ERROR:topology_hiding:topo_callid_post_raw: could not parse resulted sip message: HEP3#001À

Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>


  Commit: ac7de673a8c8ac3b0aaf2c9eb5d5a49657502328
      https://github.com/OpenSIPS/opensips/commit/ac7de673a8c8ac3b0aaf2c9eb5d5a49657502328
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M mem/hp_malloc_stats.h

  Log Message:
  -----------
  HP_MALLOC statistics: Fix an int vs. long casting bug


  Commit: f7828411a612f6a9db04db8404b6dca8b401cef6
      https://github.com/OpenSIPS/opensips/commit/f7828411a612f6a9db04db8404b6dca8b401cef6
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Merge pull request #1944 from lemenkov/topology_hiding_verbose_error

topology_hiding: More verbose in case of error


  Commit: cb424c7d869bd8ee366d1831dc678b199b131a36
      https://github.com/OpenSIPS/opensips/commit/cb424c7d869bd8ee366d1831dc678b199b131a36
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/uac.c

  Log Message:
  -----------
  uac: Fix possible crash in display name fixup

Some variables, such as $dlg_val, return {NULL, 0} strings instead of
{"", 0} (e.g. $var), causing the dereference op to crash.

(cherry picked from commit 53296244b33d20abbf0fca79f6ea5d27bdadaaa9)


  Commit: 29f91adc8117885cc55272b4e0b9eac715bc7357
      https://github.com/OpenSIPS/opensips/commit/29f91adc8117885cc55272b4e0b9eac715bc7357
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M modules/uac/replace.c

  Log Message:
  -----------
  uac: Fix regression in de7606dfb2

In restore_mode == auto, the To/From URI restoration for upstream
sequential requests was affected, as < and > were now always removed
when restoring the header back to the upstream side.

Credits to Vitalii Aleksandrov for the report & debugging data

(cherry picked from commit c2e0603331a5b1c977c727d8806cda51a0ddf666)


  Commit: b05524ce711feae92e9cb129acf7c71842a60a9c
      https://github.com/OpenSIPS/opensips/commit/b05524ce711feae92e9cb129acf7c71842a60a9c
  Author: Fabian Gast <fgast+git at only640k.net>
  Date:   2020-01-25 (Sat, 25 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Add missing newline


  Commit: 224fc80e25182213faecac4531f9ea69debf089a
      https://github.com/OpenSIPS/opensips/commit/224fc80e25182213faecac4531f9ea69debf089a
  Author: OpenSIPS <github at opensips.org>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml

  Log Message:
  -----------
  Rebuild documentation


  Commit: f6934e905bf72deedadbcee35ba400e430626898
      https://github.com/OpenSIPS/opensips/commit/f6934e905bf72deedadbcee35ba400e430626898
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M cfg.y

  Log Message:
  -----------
  route: initialize full "union" for route variable names


  Commit: 7e16079fc94700327162a86ff0367731975d484f
      https://github.com/OpenSIPS/opensips/commit/7e16079fc94700327162a86ff0367731975d484f
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  Merge pull request #1949 from fgast/perl_newline

Add missing newline


  Commit: b4fce7b66d8478c6b3dc5684f2533140b88dc078
      https://github.com/OpenSIPS/opensips/commit/b4fce7b66d8478c6b3dc5684f2533140b88dc078
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/tracer/tracer.c

  Log Message:
  -----------
  Fix db backend init for trace_id's

Do not perform DB queries during cfg parsing, but only at mod_init stage, as some DB backends (like db_text) may not be initialized before mod_init.

Closes #1947


  Commit: d4e82ea2beb24666201fe731b46f350708192c81
      https://github.com/OpenSIPS/opensips/commit/d4e82ea2beb24666201fe731b46f350708192c81
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/presence_admin.xml
    M modules/presence/notify.c
    M modules/presence/presence.c

  Log Message:
  -----------
  presence: don't query the cluster in the 'full sharing' federation mode

Also, switch to more user-friendly, string values for the
'cluster_federation_mode' modparam.


  Commit: f589f18f09e80b8b052339e53dc2069a061a0a19
      https://github.com/OpenSIPS/opensips/commit/f589f18f09e80b8b052339e53dc2069a061a0a19
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/clustering.c

  Log Message:
  -----------
  presence: add cluster syncing at startup for 'full-sharing' federation mode


  Commit: f6f9626036926d6374eee36476100b21a129f95f
      https://github.com/OpenSIPS/opensips/commit/f6f9626036926d6374eee36476100b21a129f95f
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence docs: mention seed node requirement for 'full-sharing' mode


  Commit: c7c44a566dfa33ef00edf0462a9ce249faa25111
      https://github.com/OpenSIPS/opensips/commit/c7c44a566dfa33ef00edf0462a9ce249faa25111
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

  Log Message:
  -----------
  presence docs: list all possible events that can be handled


  Commit: 2e237b12e6cc0ac721b99cf5d972f38e9d526a6f
      https://github.com/OpenSIPS/opensips/commit/2e237b12e6cc0ac721b99cf5d972f38e9d526a6f
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/proto_smpp/proto_smpp.c

  Log Message:
  -----------
  proto_smpp: proper detection of application type


  Commit: 4b65de9238d5851703ee18a84da1b4fd34eb968c
      https://github.com/OpenSIPS/opensips/commit/4b65de9238d5851703ee18a84da1b4fd34eb968c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/proto_smpp/smpp.c

  Log Message:
  -----------
  proto_smpp: fix several encodings

Thanks go to @johandeclercqdemocon for reporting them in ticket #1935


  Commit: c0e56659881861c3550a9c0fedb8caf6690de3b9
      https://github.com/OpenSIPS/opensips/commit/c0e56659881861c3550a9c0fedb8caf6690de3b9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: replace manual global table loading with luaL_openlibs()


  Commit: ab964d92e9f2d790dbd57975591c4efb90e205e3
      https://github.com/OpenSIPS/opensips/commit/ab964d92e9f2d790dbd57975591c4efb90e205e3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/lua/sipstate.c

  Log Message:
  -----------
  lua: set functions under opensips name

This solves issues with lua libs > 5.2
Reported by @volga629-1 in #1946


  Commit: 57952748603c8a90cb97fd29e973a0f4c63ba09c
      https://github.com/OpenSIPS/opensips/commit/57952748603c8a90cb97fd29e973a0f4c63ba09c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/auth_aaa/authaaa_mod.c

  Log Message:
  -----------
  auth_aaa: Fix missing static struct termination line

Fixes #1922


  Commit: c4652e179adc5177e56a28655c95e7d79c4335a0
      https://github.com/OpenSIPS/opensips/commit/c4652e179adc5177e56a28655c95e7d79c4335a0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/perlfunc.c

  Log Message:
  -----------
  perl: fix script halting caused by perl_exec_simple()

Fixes #1951


  Commit: 7b7a9fc2bfd739b80b893c1b5ee829b1c3cef251
      https://github.com/OpenSIPS/opensips/commit/7b7a9fc2bfd739b80b893c1b5ee829b1c3cef251
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: update contact only after routes have been run


  Commit: 286ab285de555d631a45846a14f7daa1001ac84b
      https://github.com/OpenSIPS/opensips/commit/286ab285de555d631a45846a14f7daa1001ac84b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M modules/perl/doc/perl_admin.xml

  Log Message:
  -----------
  perl: improve docs regarding the return value of perl_exec()


  Commit: 7a03a8d31ed79fb80dace750e1ef01984d41105b
      https://github.com/OpenSIPS/opensips/commit/7a03a8d31ed79fb80dace750e1ef01984d41105b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M .travis.yml
    M Makefile
    M Makefile.defs
    M Makefile.rules
    M Makefile.test
    M action.c
    M action.h
    M async.c
    M async.h
    M bin_interface.c
    M bin_interface.h
    M cachedb/cachedb.h
    M cfg.lex
    M cfg.y
    M cfg_pp.c
    M cfg_reload.c
    A cmds.c
    A cmds.h
    A core_cmds.c
    M core_stats.c
    M daemonize.c
    M daemonize.h
    M db/db_query.c
    M db/schema/fraud_detection.xml
    M db/schema/load_balancer.xml
    M db/schema/registrant.xml
    M doc/build-contrib.sh
    M etc/opensips.cfg
    M evi/event_interface.c
    M evi/event_interface.h
    M evi/evi_modules.h
    M evi/evi_params.c
    M evi/evi_params.h
    M evi/evi_transport.h
    M hash_func.h
    M io_wait.h
    M io_wait_loop.h
    M ipc.c
    M ipc.h
    M lib/cJSON.c
    M lib/csv.c
    M lib/csv.h
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h
    M lib/json/Makefile.json
    M lib/path.c
    M lib/reg/ci.c
    M lib/reg/ci.h
    M lib/reg/config.h
    M lib/reg/path.c
    A lib/reg/save_flags.c
    A lib/reg/save_flags.h
    A lib/test/test_csv.c
    A lib/test/test_csv.h
    M lib/url.c
    M lump_struct.h
    M main.c
    M mem/f_malloc_dyn.h
    M mem/hp_malloc.c
    M mem/hp_malloc_dyn.h
    M mem/hp_malloc_stats.h
    M mem/q_malloc_dyn.h
    M mem/rpm_mem.c
    M mem/rpm_mem.h
    M mem/shm_mem.c
    M menuconfig/commands.c
    M menuconfig/configs/opensips_loadbalancer.m4
    M menuconfig/configs/opensips_residential.m4
    M menuconfig/configs/opensips_trunking.m4
    M mi/mi_core.c
    M mi/mi_trace.c
    M modules/aaa_radius/README
    M modules/aaa_radius/aaa_radius.c
    M modules/aaa_radius/doc/contributors.xml
    M modules/acc/README
    M modules/acc/acc.c
    M modules/acc/acc.h
    M modules/acc/acc_logic.c
    M modules/acc/acc_logic.h
    M modules/acc/acc_mod.c
    M modules/acc/acc_mod.h
    M modules/acc/doc/acc_admin.xml
    M modules/acc/doc/contributors.xml
    M modules/alias_db/README
    M modules/alias_db/alias_db.c
    M modules/alias_db/doc/contributors.xml
    M modules/auth/README
    M modules/auth/api.c
    M modules/auth/api.h
    M modules/auth/auth_mod.c
    M modules/auth/challenge.c
    M modules/auth/challenge.h
    M modules/auth/doc/auth_admin.xml
    M modules/auth/doc/contributors.xml
    M modules/auth/rfc2617.c
    M modules/auth/rfc2617.h
    M modules/auth/rpid.c
    M modules/auth_aaa/README
    M modules/auth_aaa/authaaa_mod.c
    M modules/auth_aaa/doc/contributors.xml
    M modules/auth_db/README
    M modules/auth_db/authdb_mod.c
    M modules/auth_db/authorize.c
    M modules/auth_db/doc/auth_db_admin.xml
    M modules/auth_db/doc/contributors.xml
    M modules/avpops/README
    M modules/avpops/avpops.c
    M modules/avpops/avpops_impl.c
    M modules/avpops/doc/contributors.xml
    M modules/b2b_entities/README
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/doc/contributors.xml
    M modules/b2b_logic/logic.c
    M modules/b2b_logic/records.c
    M modules/b2b_sca/README
    M modules/b2b_sca/b2b_sca.c
    M modules/b2b_sca/doc/contributors.xml
    M modules/benchmark/README
    M modules/benchmark/benchmark.c
    M modules/benchmark/doc/contributors.xml
    M modules/cachedb_cassandra/README
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.h
    M modules/cachedb_cassandra/doc/contributors.xml
    M modules/cachedb_couchbase/README
    M modules/cachedb_couchbase/cachedb_couchbase.c
    M modules/cachedb_couchbase/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_local/cachedb_local_replication.c
    M modules/cachedb_local/doc/cachedb_local_admin.xml
    M modules/cachedb_local/doc/contributors.xml
    M modules/cachedb_memcached/README
    M modules/cachedb_memcached/cachedb_memcached.c
    M modules/cachedb_memcached/doc/contributors.xml
    M modules/cachedb_mongodb/README
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
    M modules/cachedb_mongodb/cachedb_mongodb_json.c
    M modules/cachedb_mongodb/doc/contributors.xml
    M modules/cachedb_redis/README
    M modules/cachedb_redis/cachedb_redis.c
    M modules/cachedb_redis/cachedb_redis_dbase.c
    M modules/cachedb_redis/doc/contributors.xml
    M modules/cachedb_sql/README
    M modules/cachedb_sql/cachedb_sql.c
    M modules/cachedb_sql/doc/contributors.xml
    M modules/call_center/README
    M modules/call_center/call_center.c
    M modules/call_center/doc/contributors.xml
    M modules/call_control/README
    M modules/call_control/call_control.c
    M modules/call_control/doc/contributors.xml
    M modules/carrierroute/README
    M modules/carrierroute/carrierroute.c
    M modules/carrierroute/doc/contributors.xml
    M modules/carrierroute/route_func.c
    M modules/cfgutils/README
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/doc/cfgutils_admin.xml
    M modules/cfgutils/doc/contributors.xml
    M modules/cgrates/README
    M modules/cgrates/cgrates.c
    M modules/cgrates/cgrates_acc.c
    M modules/cgrates/cgrates_common.c
    M modules/cgrates/doc/cgrates_admin.xml
    M modules/cgrates/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/doc/clusterer_devel.xml
    M modules/clusterer/doc/contributors.xml
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h
    M modules/clusterer/sharing_tags.c
    M modules/clusterer/sync.c
    M modules/clusterer/sync.h
    M modules/compression/README
    M modules/compression/compression.c
    M modules/compression/doc/compression_admin.xml
    M modules/compression/doc/contributors.xml
    M modules/cpl_c/README
    M modules/cpl_c/cpl.c
    M modules/cpl_c/doc/contributors.xml
    M modules/db_berkeley/README
    M modules/db_berkeley/db_berkeley.c
    M modules/db_berkeley/doc/contributors.xml
    M modules/db_cachedb/README
    M modules/db_cachedb/db_cachedb.c
    M modules/db_cachedb/doc/contributors.xml
    M modules/db_flatstore/README
    M modules/db_flatstore/doc/contributors.xml
    M modules/db_flatstore/flatstore_mod.c
    M modules/db_http/README
    M modules/db_http/db_http.c
    M modules/db_http/doc/contributors.xml
    M modules/db_mysql/README
    M modules/db_mysql/db_mysql.c
    M modules/db_mysql/dbase.c
    M modules/db_mysql/doc/contributors.xml
    M modules/db_oracle/README
    M modules/db_oracle/db_oracle.c
    M modules/db_oracle/doc/contributors.xml
    M modules/db_perlvdb/README
    M modules/db_perlvdb/doc/contributors.xml
    M modules/db_perlvdb/perlvdb.c
    M modules/db_postgres/README
    M modules/db_postgres/db_postgres.c
    M modules/db_postgres/doc/contributors.xml
    M modules/db_sqlite/README
    M modules/db_sqlite/db_sqlite.c
    M modules/db_sqlite/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/dbtext.c
    M modules/db_text/doc/contributors.xml
    M modules/db_unixodbc/README
    M modules/db_unixodbc/db_unixodbc.c
    M modules/db_unixodbc/doc/contributors.xml
    M modules/db_virtual/README
    M modules/db_virtual/db_virtual.c
    M modules/db_virtual/doc/contributors.xml
    M modules/dialog/Makefile
    M modules/dialog/README
    M modules/dialog/dialog.c
    M modules/dialog/dlg_db_handler.c
    M modules/dialog/dlg_db_handler.h
    M modules/dialog/dlg_handlers.c
    M modules/dialog/dlg_handlers.h
    M modules/dialog/dlg_hash.c
    M modules/dialog/dlg_hash.h
    M modules/dialog/dlg_load.h
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_repl_profile.h
    M modules/dialog/dlg_replication.c
    M modules/dialog/dlg_replication.h
    M modules/dialog/dlg_req_within.c
    M modules/dialog/dlg_req_within.h
    M modules/dialog/dlg_timer.c
    M modules/dialog/doc/contributors.xml
    M modules/dialog/doc/dialog_admin.xml
    M modules/dialplan/README
    M modules/dialplan/dialplan.c
    M modules/dialplan/doc/contributors.xml
    M modules/dialplan/doc/dialplan_admin.xml
    M modules/dispatcher/README
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/doc/contributors.xml
    M modules/dispatcher/doc/dispatcher_admin.xml
    M modules/dispatcher/ds_clustering.c
    M modules/dispatcher/ds_clustering.h
    M modules/diversion/README
    M modules/diversion/diversion.c
    M modules/diversion/doc/contributors.xml
    M modules/dns_cache/README
    M modules/dns_cache/dns_cache.c
    M modules/dns_cache/doc/contributors.xml
    M modules/domain/README
    M modules/domain/doc/contributors.xml
    M modules/domain/domain_mod.c
    M modules/domainpolicy/README
    M modules/domainpolicy/doc/contributors.xml
    M modules/domainpolicy/domainpolicy_mod.c
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/drouting/doc/drouting_admin.xml
    M modules/drouting/dr_api_internal.c
    M modules/drouting/dr_clustering.c
    M modules/drouting/dr_clustering.h
    M modules/drouting/dr_load.c
    M modules/drouting/drouting.c
    M modules/drouting/prefix_tree.c
    M modules/drouting/prefix_tree.h
    M modules/drouting/routing.c
    M modules/drouting/routing.h
    M modules/emergency/README
    M modules/emergency/doc/contributors.xml
    M modules/emergency/emergency_methods.c
    M modules/enum/README
    M modules/enum/doc/contributors.xml
    M modules/enum/enum.c
    M modules/enum/enum_mod.c
    M modules/event_datagram/README
    M modules/event_datagram/doc/contributors.xml
    M modules/event_datagram/event_datagram.c
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/event_flatstore/event_flatstore.c
    M modules/event_flatstore/event_flatstore.h
    M modules/event_jsonrpc/README
    M modules/event_jsonrpc/doc/contributors.xml
    M modules/event_jsonrpc/event_jsonrpc.c
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_jsonrpc/jsonrpc_send.h
    M modules/event_rabbitmq/README
    M modules/event_rabbitmq/doc/contributors.xml
    M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml
    M modules/event_rabbitmq/event_rabbitmq.c
    M modules/event_rabbitmq/event_rabbitmq.h
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_rabbitmq/rabbitmq_send.h
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/event_route/event_route.c
    M modules/event_route/route_send.c
    M modules/event_route/route_send.h
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/event_routing/ebr_data.c
    M modules/event_routing/event_routing.c
    M modules/event_virtual/README
    M modules/event_virtual/doc/contributors.xml
    M modules/event_virtual/doc/event_virtual_admin.xml
    M modules/event_virtual/event_virtual.c
    M modules/event_virtual/event_virtual.h
    M modules/event_xmlrpc/README
    M modules/event_xmlrpc/doc/contributors.xml
    M modules/event_xmlrpc/event_xmlrpc.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M modules/event_xmlrpc/xmlrpc_send.h
    M modules/exec/README
    M modules/exec/doc/contributors.xml
    M modules/exec/exec_mod.c
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/fraud_detection/fraud_detection.c
    M modules/fraud_detection/frd_events.c
    M modules/fraud_detection/frd_events.h
    M modules/fraud_detection/frd_hashmap.c
    M modules/fraud_detection/frd_hashmap.h
    M modules/fraud_detection/frd_load.c
    M modules/fraud_detection/frd_stats.c
    M modules/fraud_detection/frd_stats.h
    M modules/freeswitch/README
    M modules/freeswitch/doc/contributors.xml
    M modules/freeswitch/fs_mod.c
    M modules/freeswitch_scripting/README
    M modules/freeswitch_scripting/doc/contributors.xml
    M modules/freeswitch_scripting/fss_db.c
    M modules/freeswitch_scripting/fss_mod.c
    M modules/gflags/README
    M modules/gflags/doc/contributors.xml
    M modules/gflags/gflags.c
    M modules/group/README
    M modules/group/doc/contributors.xml
    M modules/group/group_mod.c
    M modules/h350/README
    M modules/h350/doc/contributors.xml
    M modules/h350/h350_mod.c
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/httpd/httpd.c
    M modules/identity/README
    M modules/identity/doc/contributors.xml
    M modules/identity/identity.c
    M modules/imc/README
    M modules/imc/doc/contributors.xml
    M modules/imc/imc.c
    M modules/jabber/README
    M modules/jabber/doc/contributors.xml
    M modules/jabber/jabber.c
    M modules/json/README
    M modules/json/doc/contributors.xml
    M modules/json/json.c
    M modules/jsonrpc/README
    M modules/jsonrpc/doc/contributors.xml
    M modules/jsonrpc/jsonrpc.c
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/ldap/ldap_api_fn.c
    M modules/ldap/ldap_exp_fn.c
    M modules/ldap/ldap_mod.c
    M modules/load_balancer/README
    M modules/load_balancer/doc/contributors.xml
    M modules/load_balancer/doc/load_balancer_admin.xml
    M modules/load_balancer/lb_clustering.c
    M modules/load_balancer/lb_clustering.h
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h
    M modules/load_balancer/lb_db.c
    M modules/load_balancer/lb_db.h
    M modules/load_balancer/load_balancer.c
    M modules/lua/Makefile
    M modules/lua/README
    A modules/lua/compat.h
    M modules/lua/doc/contributors.xml
    M modules/lua/sipapi.c
    M modules/lua/sipdatetime.c
    M modules/lua/siplua.c
    M modules/lua/sipluafunc.c
    M modules/lua/sipmemcache.c
    M modules/lua/sipmysql.c
    M modules/lua/sipstate.c
    M modules/lua/sipwatch.c
    M modules/mangler/README
    M modules/mangler/doc/contributors.xml
    M modules/mangler/mangler.c
    M modules/mathops/README
    M modules/mathops/doc/contributors.xml
    M modules/mathops/math_funcs.c
    M modules/mathops/mathops.c
    M modules/maxfwd/README
    M modules/maxfwd/doc/contributors.xml
    M modules/maxfwd/maxfwd.c
    M modules/mediaproxy/README
    M modules/mediaproxy/doc/contributors.xml
    M modules/mediaproxy/mediaproxy.c
    M modules/mi_datagram/README
    M modules/mi_datagram/doc/contributors.xml
    M modules/mi_datagram/mi_datagram.c
    M modules/mi_fifo/README
    M modules/mi_fifo/doc/contributors.xml
    M modules/mi_fifo/mi_fifo.c
    M modules/mi_html/README
    M modules/mi_html/doc/contributors.xml
    M modules/mi_html/mi_html.c
    M modules/mi_http/README
    M modules/mi_http/doc/contributors.xml
    M modules/mi_http/mi_http.c
    M modules/mi_xmlrpc_ng/README
    M modules/mi_xmlrpc_ng/doc/contributors.xml
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/mid_registrar/Makefile
    M modules/mid_registrar/README
    M modules/mid_registrar/doc/contributors.xml
    M modules/mid_registrar/doc/mid_registrar_admin.xml
    M modules/mid_registrar/mid_registrar.c
    M modules/mid_registrar/mid_registrar.h
    M modules/mid_registrar/save.c
    M modules/mid_registrar/save.h
    M modules/mmgeoip/README
    M modules/mmgeoip/doc/contributors.xml
    M modules/mmgeoip/geoip2.c
    M modules/mmgeoip/mmgeoip.c
    M modules/msilo/README
    M modules/msilo/doc/contributors.xml
    M modules/msilo/msilo.c
    M modules/nat_traversal/README
    M modules/nat_traversal/doc/contributors.xml
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/nathelper/nathelper.c
    M modules/options/README
    M modules/options/doc/contributors.xml
    M modules/options/mod_options.c
    M modules/osp/README
    M modules/osp/cnam.c
    M modules/osp/doc/contributors.xml
    M modules/osp/osp_mod.c
    M modules/path/README
    M modules/path/doc/contributors.xml
    M modules/path/path_mod.c
    M modules/peering/README
    M modules/peering/doc/contributors.xml
    M modules/peering/peering.c
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/perl/doc/perl_admin.xml
    M modules/perl/opensipsxs.xs
    M modules/perl/perl.c
    M modules/perl/perlfunc.c
    M modules/permissions/README
    M modules/permissions/doc/contributors.xml
    M modules/permissions/hash.c
    M modules/permissions/mi.c
    M modules/permissions/permissions.c
    M modules/pi_http/README
    M modules/pi_http/doc/contributors.xml
    M modules/pi_http/pi_http.c
    M modules/pike/README
    M modules/pike/doc/contributors.xml
    M modules/pike/pike.c
    M modules/presence/README
    M modules/presence/bind_presence.c
    M modules/presence/bind_presence.h
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/doc/contributors.xml
    M modules/presence/doc/presence_admin.xml
    M modules/presence/event_list.c
    M modules/presence/event_list.h
    M modules/presence/hash.c
    M modules/presence/hash.h
    M modules/presence/notify.c
    M modules/presence/notify.h
    M modules/presence/presence.c
    M modules/presence/presence.h
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h
    M modules/presence/utils_func.h
    M modules/presence_callinfo/README
    M modules/presence_callinfo/doc/contributors.xml
    M modules/presence_callinfo/presence_callinfo.c
    A modules/presence_dfks/Makefile
    A modules/presence_dfks/README
    A modules/presence_dfks/doc/contributors.xml
    A modules/presence_dfks/doc/presence_dfks.xml
    A modules/presence_dfks/doc/presence_dfks_admin.xml
    A modules/presence_dfks/presence_dfks.c
    A modules/presence_dfks/presence_dfks.h
    M modules/presence_dialoginfo/README
    M modules/presence_dialoginfo/doc/contributors.xml
    M modules/presence_dialoginfo/presence_dialoginfo.c
    M modules/presence_mwi/README
    M modules/presence_mwi/doc/contributors.xml
    M modules/presence_mwi/presence_mwi.c
    M modules/presence_xcapdiff/README
    M modules/presence_xcapdiff/doc/contributors.xml
    M modules/presence_xcapdiff/presence_xcapdiff.c
    M modules/presence_xml/README
    M modules/presence_xml/doc/contributors.xml
    M modules/presence_xml/presence_xml.c
    M modules/proto_bin/README
    M modules/proto_bin/doc/contributors.xml
    M modules/proto_bin/proto_bin.c
    M modules/proto_hep/README
    M modules/proto_hep/doc/contributors.xml
    M modules/proto_hep/hep.c
    M modules/proto_hep/proto_hep.c
    M modules/proto_sctp/README
    M modules/proto_sctp/doc/contributors.xml
    M modules/proto_sctp/proto_sctp.c
    M modules/proto_smpp/README
    M modules/proto_smpp/doc/contributors.xml
    M modules/proto_smpp/doc/proto_smpp_admin.xml
    M modules/proto_smpp/proto_smpp.c
    M modules/proto_smpp/proto_smpp.h
    M modules/proto_smpp/smpp.c
    M modules/proto_smpp/smpp.h
    M modules/proto_smpp/utils.c
    M modules/proto_smpp/utils.h
    M modules/proto_tls/README
    M modules/proto_tls/doc/contributors.xml
    M modules/proto_tls/doc/proto_tls_admin.xml
    M modules/proto_tls/proto_tls.c
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/proto_ws/proto_ws.c
    M modules/proto_ws/ws_handshake_common.h
    M modules/proto_wss/README
    M modules/proto_wss/doc/contributors.xml
    M modules/proto_wss/doc/proto_wss_admin.xml
    M modules/proto_wss/proto_wss.c
    M modules/pua/README
    M modules/pua/doc/contributors.xml
    M modules/pua/pua.c
    M modules/pua_bla/README
    M modules/pua_bla/doc/contributors.xml
    M modules/pua_bla/pua_bla.c
    M modules/pua_dialoginfo/README
    M modules/pua_dialoginfo/doc/contributors.xml
    M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
    M modules/pua_dialoginfo/pua_dialoginfo.c
    M modules/pua_mi/README
    M modules/pua_mi/doc/contributors.xml
    M modules/pua_mi/pua_mi.c
    M modules/pua_usrloc/README
    M modules/pua_usrloc/doc/contributors.xml
    M modules/pua_usrloc/pua_usrloc.c
    M modules/pua_usrloc/ul_publish.c
    M modules/pua_xmpp/README
    M modules/pua_xmpp/doc/contributors.xml
    M modules/pua_xmpp/pua_xmpp.c
    M modules/python/Makefile
    M modules/python/README
    M modules/python/doc/contributors.xml
    A modules/python/python_compat.h
    M modules/python/python_exec.c
    M modules/python/python_iface.c
    M modules/python/python_mod.c
    M modules/python/python_msgobj.c
    M modules/python/python_support.c
    M modules/qos/README
    M modules/qos/doc/contributors.xml
    M modules/qos/qos.c
    M modules/rabbitmq/README
    M modules/rabbitmq/doc/contributors.xml
    M modules/rabbitmq/rabbitmq.c
    M modules/rabbitmq_consumer/README
    M modules/rabbitmq_consumer/doc/contributors.xml
    M modules/rabbitmq_consumer/rabbitmq_consumer.c
    M modules/rabbitmq_consumer/rmq_connection.c
    M modules/ratelimit/README
    M modules/ratelimit/doc/contributors.xml
    M modules/ratelimit/doc/ratelimit_admin.xml
    M modules/ratelimit/ratelimit.c
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c
    M modules/regex/README
    M modules/regex/doc/contributors.xml
    M modules/regex/regex_mod.c
    M modules/registrar/Makefile
    M modules/registrar/README
    M modules/registrar/doc/contributors.xml
    M modules/registrar/doc/registrar_admin.xml
    M modules/registrar/reg_mod.c
    M modules/registrar/save.c
    M modules/registrar/sip_msg.h
    M modules/rest_client/README
    M modules/rest_client/doc/contributors.xml
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c
    M modules/rls/README
    M modules/rls/doc/contributors.xml
    M modules/rls/doc/rls_admin.xml
    M modules/rls/notify.c
    M modules/rls/resource_notify.c
    M modules/rls/rls.c
    M modules/rls/rls.h
    M modules/rls/subscribe.c
    M modules/rr/README
    M modules/rr/doc/contributors.xml
    M modules/rr/doc/rr_admin.xml
    M modules/rr/rr_mod.c
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpengine/doc/rtpengine_admin.xml
    M modules/rtpengine/rtpengine.c
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/rtpproxy/doc/rtpproxy_admin.xml
    A modules/rtpproxy/notification_process.c
    M modules/rtpproxy/rtpproxy.c
    M modules/rtpproxy/rtpproxy.h
    R modules/rtpproxy/timeout_process.c
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/script_helper/script_helper.c
    M modules/signaling/README
    M modules/signaling/doc/contributors.xml
    M modules/signaling/signaling.c
    M modules/signaling/signaling.h
    M modules/sip_i/README
    M modules/sip_i/doc/contributors.xml
    M modules/sip_i/sip_i.c
    M modules/sipcapture/README
    M modules/sipcapture/doc/contributors.xml
    M modules/sipcapture/sipcapture.c
    M modules/sipmsgops/README
    M modules/sipmsgops/doc/contributors.xml
    M modules/sipmsgops/doc/sipmsgops_admin.xml
    M modules/sipmsgops/list_hdr.c
    M modules/sipmsgops/sipmsgops.c
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/siprec/doc/siprec_admin.xml
    M modules/siprec/siprec.c
    M modules/siprec/siprec_body.c
    M modules/siprec/siprec_logic.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h
    M modules/sl/README
    M modules/sl/doc/contributors.xml
    M modules/sl/sl.c
    M modules/sl/sl_api.h
    M modules/sl/sl_funcs.c
    M modules/sl/sl_funcs.h
    M modules/sngtc/README
    M modules/sngtc/doc/contributors.xml
    M modules/sngtc/sngtc.c
    M modules/snmpstats/README
    M modules/snmpstats/doc/contributors.xml
    M modules/snmpstats/snmpstats.h
    M modules/speeddial/README
    M modules/speeddial/doc/contributors.xml
    M modules/speeddial/speeddial.c
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/sql_cacher/sql_cacher.c
    M modules/sql_cacher/sql_cacher.h
    M modules/sst/README
    M modules/sst/doc/contributors.xml
    M modules/sst/sst.c
    M modules/statistics/README
    M modules/statistics/doc/contributors.xml
    M modules/statistics/statistics.c
    A modules/stir_shaken/Makefile
    A modules/stir_shaken/README
    A modules/stir_shaken/doc/contributors.xml
    A modules/stir_shaken/doc/stir_shaken.xml
    A modules/stir_shaken/doc/stir_shaken_admin.xml
    A modules/stir_shaken/stir_shaken.c
    A modules/stir_shaken/stir_shaken.h
    M modules/stun/README
    M modules/stun/doc/contributors.xml
    M modules/stun/stun.c
    M modules/textops/README
    M modules/textops/doc/contributors.xml
    M modules/textops/doc/textops_admin.xml
    M modules/textops/textops.c
    M modules/tls_mgm/Makefile
    M modules/tls_mgm/README
    M modules/tls_mgm/api.h
    M modules/tls_mgm/doc/contributors.xml
    M modules/tls_mgm/doc/tls_mgm_admin.xml
    M modules/tls_mgm/tls.h
    M modules/tls_mgm/tls_config.c
    M modules/tls_mgm/tls_config.h
    M modules/tls_mgm/tls_config_helper.h
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_conn_server.h
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_helper.h
    M modules/tls_mgm/tls_mgm.c
    M modules/tls_mgm/tls_params.c
    M modules/tls_mgm/tls_params.h
    M modules/tls_mgm/tls_select.c
    M modules/tls_mgm/tls_select.h
    M modules/tm/README
    M modules/tm/async.c
    M modules/tm/async.h
    M modules/tm/dlg.c
    M modules/tm/dlg.h
    M modules/tm/doc/contributors.xml
    M modules/tm/t_cancel.c
    M modules/tm/t_funcs.c
    M modules/tm/t_fwd.c
    M modules/tm/t_msgbuilder.h
    M modules/tm/t_reply.c
    M modules/tm/t_reply.h
    M modules/tm/t_stats.h
    M modules/tm/timer.c
    M modules/tm/timer.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/topology_hiding/topo_hiding_logic.c
    M modules/topology_hiding/topology_hiding.c
    M modules/tracer/README
    M modules/tracer/doc/contributors.xml
    M modules/tracer/tracer.c
    M modules/uac/README
    M modules/uac/auth.c
    M modules/uac/doc/contributors.xml
    M modules/uac/replace.c
    M modules/uac/uac.c
    M modules/uac_auth/README
    M modules/uac_auth/auth.c
    M modules/uac_auth/doc/contributors.xml
    M modules/uac_auth/doc/uac_auth_admin.xml
    M modules/uac_auth/uac_auth.c
    M modules/uac_auth/uac_auth.h
    M modules/uac_redirect/README
    M modules/uac_redirect/doc/contributors.xml
    M modules/uac_redirect/redirect.c
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/uac_registrant/registrant.c
    M modules/userblacklist/README
    M modules/userblacklist/doc/contributors.xml
    M modules/userblacklist/userblacklist.c
    M modules/usrloc/README
    M modules/usrloc/dlist.h
    M modules/usrloc/doc/contributors.xml
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ucontact.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_cluster.c
    M modules/usrloc/ul_cluster.h
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h
    M modules/uuid/README
    M modules/uuid/doc/contributors.xml
    M modules/uuid/uuid.c
    M modules/xcap/README
    M modules/xcap/doc/contributors.xml
    M modules/xcap/xcap_mod.c
    M modules/xcap_client/README
    M modules/xcap_client/doc/contributors.xml
    M modules/xcap_client/xcap_client.c
    M modules/xml/README
    M modules/xml/doc/contributors.xml
    M modules/xml/xml.c
    M modules/xmpp/README
    M modules/xmpp/doc/contributors.xml
    M modules/xmpp/xmpp.c
    M msg_translator.c
    M net/net_tcp.c
    M net/net_tcp_proc.c
    M net/net_udp.c
    M net/proto_tcp/proto_tcp.c
    M net/proto_udp/proto_udp.c
    M net/tcp_conn_defs.h
    M net/trans_trace.c
    M obsolete_modules/seas/encode_contact.c
    M packaging/debian/control
    M packaging/debian/rules
    M packaging/redhat_fedora/opensips.spec
    M parser/msg_parser.c
    M parser/msg_parser.h
    M parser/parse_authenticate.c
    M parser/parse_authenticate.h
    M parser/parse_event.c
    M parser/parse_event.h
    M parser/parse_rr.c
    M parser/parse_uri.c
    M parser/parse_uri.h
    A parser/test/test_parse_qop.c
    A parser/test/test_parse_qop.h
    M proxy.c
    M pt.c
    M pt.h
    M pt_scaling.c
    M pvar.c
    M reactor_defs.h
    M receive.c
    M resolve.h
    M route.c
    M route.h
    M route_struct.c
    M route_struct.h
    M scripts/db_berkeley/opensips/fraud_detection
    M scripts/db_berkeley/opensips/load_balancer
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/load_balancer
    M scripts/dbtext/opensips/version
    M scripts/mysql/fraud_detection-create.sql
    M scripts/mysql/load_balancer-create.sql
    M scripts/oracle/fraud_detection-create.sql
    M scripts/oracle/load_balancer-create.sql
    M scripts/pi_http/load_balancer-mod
    M scripts/pi_http/load_balancer-table
    M scripts/pi_http/pi_framework.xml
    M scripts/postgres/fraud_detection-create.sql
    M scripts/postgres/load_balancer-create.sql
    M scripts/sqlite/fraud_detection-create.sql
    M scripts/sqlite/load_balancer-create.sql
    M socket_info.c
    M socket_info.h
    M sr_module.c
    M sr_module.h
    M sr_module_deps.c
    A ssl_tweaks.h
    M statistics.c
    M statistics.h
    M str.h
    M test/unit_tests.c
    M timer.c
    M transformations.c
    M ut.c
    M ut.h
    A utils/wireshark/wsgd-dissector/README.md
    A utils/wireshark/wsgd-dissector/opensips.fdesc
    A utils/wireshark/wsgd-dissector/opensips.wsgd

  Log Message:
  -----------
  Merge branch 'master' into coverity_scan


Compare: https://github.com/OpenSIPS/opensips/compare/44f52da465af...7a03a8d31ed7


From noreply at github.com  Wed Jan 29 04:45:15 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 01:45:15 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 333d6a: drouting: if
 pri_prefix has len, it will always ha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/286ab2-edf7b5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 333d6a4c30562172154eb9025237c6a89e4d9919
      https://github.com/OpenSIPS/opensips/commit/333d6a4c30562172154eb9025237c6a89e4d9919
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: if pri_prefix has len, it will always have s too

Fixes Coverity #207929


  Commit: 990981887245c60f4988d499da82d8f80a78021b
      https://github.com/OpenSIPS/opensips/commit/990981887245c60f4988d499da82d8f80a78021b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M parser/msg_parser.c
    M pvar.c

  Log Message:
  -----------
  script: fix crash setting ruri/dsturi port to NULL

Fixes Coverity #207928


  Commit: 873446914ef064745a7d41fe78ad0152888cc784
      https://github.com/OpenSIPS/opensips/commit/873446914ef064745a7d41fe78ad0152888cc784
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  script: fix route index overrun

Fix Coverity #207926


  Commit: 9eca6b47415a6fb3fb8dad01c1ef63de76489eb7
      https://github.com/OpenSIPS/opensips/commit/9eca6b47415a6fb3fb8dad01c1ef63de76489eb7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  core: fix calling cachedb_raw_query() with empty params

Fixes Coverity #207922


  Commit: 85c851d9647fd4696d36fb46e2a24a5fcbfc5b0b
      https://github.com/OpenSIPS/opensips/commit/85c851d9647fd4696d36fb46e2a24a5fcbfc5b0b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c

  Log Message:
  -----------
  event_{xmlrpc,jsonrpc,rabbitmq}: read sync reply in a long variable

Close Coverity #207921, #207924, #207930


  Commit: 3a10745bdace4a8d9b806a3fee802d229e0be5d0
      https://github.com/OpenSIPS/opensips/commit/3a10745bdace4a8d9b806a3fee802d229e0be5d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  script: fix crash setting ruri username to NULL

Fixes Coverity #207920


  Commit: 1b8a9acb90b83efe47e3abbcebb0f23585c7a661
      https://github.com/OpenSIPS/opensips/commit/1b8a9acb90b83efe47e3abbcebb0f23585c7a661
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  stats: initialize found to 0

Fix Coverity #207916


  Commit: 19fdd5281812bf7100345d94e44adf6d1e156e77
      https://github.com/OpenSIPS/opensips/commit/19fdd5281812bf7100345d94e44adf6d1e156e77
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  script: fix error detection on route() with var name

Fix Coverity #207912


  Commit: 780d77f6ac5ee54c01e4a0f4360abe5f57156434
      https://github.com/OpenSIPS/opensips/commit/780d77f6ac5ee54c01e4a0f4360abe5f57156434
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  evi: fix checking if event was raised

Fix Coverity #207909


  Commit: edf7b5438b9d544546069fcc7d0199313b3dd2f7
      https://github.com/OpenSIPS/opensips/commit/edf7b5438b9d544546069fcc7d0199313b3dd2f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  transormation: properly check str2ipv6 transformation

Fix Coverity #200023


Compare: https://github.com/OpenSIPS/opensips/compare/286ab285de55...edf7b5438b9d


From noreply at github.com  Wed Jan 29 04:45:22 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 01:45:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc5534: script: fix route
	index overrun
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/7e8167-f52523@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fc5534928e91f290c019947cf4dfa9c84b128785
      https://github.com/OpenSIPS/opensips/commit/fc5534928e91f290c019947cf4dfa9c84b128785
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  script: fix route index overrun

Fix Coverity #207926

(cherry picked from commit 784423afd1265358c9f193b7163277386dd903f3)


  Commit: 496cfdc0b928b8aa7ada450c8d27f21804c3bfd8
      https://github.com/OpenSIPS/opensips/commit/496cfdc0b928b8aa7ada450c8d27f21804c3bfd8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  stats: initialize found to 0

Fix Coverity #207916

(cherry picked from commit 1b8a9acb90b83efe47e3abbcebb0f23585c7a661)


  Commit: f525231d4a2e33eac617966ad112199105a5bd11
      https://github.com/OpenSIPS/opensips/commit/f525231d4a2e33eac617966ad112199105a5bd11
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  transormation: properly check str2ipv6 transformation

Fix Coverity #200023


Compare: https://github.com/OpenSIPS/opensips/compare/7e8167853dab...f525231d4a2e


From noreply at github.com  Wed Jan 29 04:46:49 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 01:46:49 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 333d6a: drouting: if
 pri_prefix has len, it will always ha...
Message-ID: <OpenSIPS/opensips/push/refs/heads/coverity_scan/7a03a8-9cadcb@github.com>

  Branch: refs/heads/coverity_scan
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 333d6a4c30562172154eb9025237c6a89e4d9919
      https://github.com/OpenSIPS/opensips/commit/333d6a4c30562172154eb9025237c6a89e4d9919
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: if pri_prefix has len, it will always have s too

Fixes Coverity #207929


  Commit: 990981887245c60f4988d499da82d8f80a78021b
      https://github.com/OpenSIPS/opensips/commit/990981887245c60f4988d499da82d8f80a78021b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M parser/msg_parser.c
    M pvar.c

  Log Message:
  -----------
  script: fix crash setting ruri/dsturi port to NULL

Fixes Coverity #207928


  Commit: 873446914ef064745a7d41fe78ad0152888cc784
      https://github.com/OpenSIPS/opensips/commit/873446914ef064745a7d41fe78ad0152888cc784
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  script: fix route index overrun

Fix Coverity #207926


  Commit: 9eca6b47415a6fb3fb8dad01c1ef63de76489eb7
      https://github.com/OpenSIPS/opensips/commit/9eca6b47415a6fb3fb8dad01c1ef63de76489eb7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M core_cmds.c

  Log Message:
  -----------
  core: fix calling cachedb_raw_query() with empty params

Fixes Coverity #207922


  Commit: 85c851d9647fd4696d36fb46e2a24a5fcbfc5b0b
      https://github.com/OpenSIPS/opensips/commit/85c851d9647fd4696d36fb46e2a24a5fcbfc5b0b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c

  Log Message:
  -----------
  event_{xmlrpc,jsonrpc,rabbitmq}: read sync reply in a long variable

Close Coverity #207921, #207924, #207930


  Commit: 3a10745bdace4a8d9b806a3fee802d229e0be5d0
      https://github.com/OpenSIPS/opensips/commit/3a10745bdace4a8d9b806a3fee802d229e0be5d0
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  script: fix crash setting ruri username to NULL

Fixes Coverity #207920


  Commit: 1b8a9acb90b83efe47e3abbcebb0f23585c7a661
      https://github.com/OpenSIPS/opensips/commit/1b8a9acb90b83efe47e3abbcebb0f23585c7a661
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  stats: initialize found to 0

Fix Coverity #207916


  Commit: 19fdd5281812bf7100345d94e44adf6d1e156e77
      https://github.com/OpenSIPS/opensips/commit/19fdd5281812bf7100345d94e44adf6d1e156e77
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  script: fix error detection on route() with var name

Fix Coverity #207912


  Commit: 780d77f6ac5ee54c01e4a0f4360abe5f57156434
      https://github.com/OpenSIPS/opensips/commit/780d77f6ac5ee54c01e4a0f4360abe5f57156434
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M evi/event_interface.c

  Log Message:
  -----------
  evi: fix checking if event was raised

Fix Coverity #207909


  Commit: edf7b5438b9d544546069fcc7d0199313b3dd2f7
      https://github.com/OpenSIPS/opensips/commit/edf7b5438b9d544546069fcc7d0199313b3dd2f7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  transormation: properly check str2ipv6 transformation

Fix Coverity #200023


  Commit: 9cadcbc30c6b7d0b0baabdf25d2897fb4e908ecb
      https://github.com/OpenSIPS/opensips/commit/9cadcbc30c6b7d0b0baabdf25d2897fb4e908ecb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c
    M core_cmds.c
    M evi/event_interface.c
    M modules/drouting/drouting.c
    M modules/event_jsonrpc/jsonrpc_send.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M parser/msg_parser.c
    M pvar.c
    M statistics.c
    M transformations.c

  Log Message:
  -----------
  Merge branch 'master' into coverity_scan


Compare: https://github.com/OpenSIPS/opensips/compare/7a03a8d31ed7...9cadcbc30c6b


From noreply at github.com  Wed Jan 29 08:57:08 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 05:57:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 009e8e: pt: fix possible (yet
 highly unprobable) division ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/edf7b5-587316@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 009e8efc3ba39d1c441181f209cbbfa25d057be3
      https://github.com/OpenSIPS/opensips/commit/009e8efc3ba39d1c441181f209cbbfa25d057be3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  pt: fix possible (yet highly unprobable) division by 0

Fixed Coverity #200087, #200079, #200002, #200015


  Commit: 52f071ed1dccff5453f49ed37baa6ae86183e373
      https://github.com/OpenSIPS/opensips/commit/52f071ed1dccff5453f49ed37baa6ae86183e373
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M main.c

  Log Message:
  -----------
  auto_scale: prevent possible overflow in auto_scale detection

Fix Coverity #200080


  Commit: ea8fa2eb33c927691a036a95aae89764fc44a5ca
      https://github.com/OpenSIPS/opensips/commit/ea8fa2eb33c927691a036a95aae89764fc44a5ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M pt_scaling.c

  Log Message:
  -----------
  auto_scaling: prevent bogus scaling if no process in group

Fixes Coverity #200043


  Commit: 389d746ddfcc823f1913b778256b99499e94d2e1
      https://github.com/OpenSIPS/opensips/commit/389d746ddfcc823f1913b778256b99499e94d2e1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  preprocessor: check if binary is specified before running

Close Coverity #200024


  Commit: 3b1b9d7d09da0fc33c901e0542b2dd9b4d66001a
      https://github.com/OpenSIPS/opensips/commit/3b1b9d7d09da0fc33c901e0542b2dd9b4d66001a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M cfg_reload.c

  Log Message:
  -----------
  reload: fix possible FILE * leak when error

Fixes Coverity #199978


  Commit: cae397c89f47646a1f379279aebf994248fb64ad
      https://github.com/OpenSIPS/opensips/commit/cae397c89f47646a1f379279aebf994248fb64ad
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  async: fix small typo when printing fixup errors

Fix Coverity #199935


  Commit: 1534d26e4fda7ad614b07fd2914bf663a60e42d5
      https://github.com/OpenSIPS/opensips/commit/1534d26e4fda7ad614b07fd2914bf663a60e42d5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  preproc: fix possible leak when errors trigger

Fix Coverity #199907


  Commit: 587316afc6032142c96077e3efac8029d7fa8355
      https://github.com/OpenSIPS/opensips/commit/587316afc6032142c96077e3efac8029d7fa8355
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M sr_module.c

  Log Message:
  -----------
  sanitize mpath length

Fix Coverity #199897


Compare: https://github.com/OpenSIPS/opensips/compare/edf7b5438b9d...587316afc603


From noreply at github.com  Wed Jan 29 08:57:28 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 29 Jan 2020 05:57:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e216d: pt: fix possible (yet
 highly unprobable) division ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/f52523-43d479@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9e216d39de10596189316b2eb8235a7bf25e65c7
      https://github.com/OpenSIPS/opensips/commit/9e216d39de10596189316b2eb8235a7bf25e65c7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M pt_load.c

  Log Message:
  -----------
  pt: fix possible (yet highly unprobable) division by 0

Fixed Coverity #200087, #200079, #200002, #200015

(cherry picked from commit 009e8efc3ba39d1c441181f209cbbfa25d057be3)


  Commit: 52376f8cfdb5369141bf53d94ed046f0090035c7
      https://github.com/OpenSIPS/opensips/commit/52376f8cfdb5369141bf53d94ed046f0090035c7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M main.c

  Log Message:
  -----------
  auto_scale: prevent possible overflow in auto_scale detection

Fix Coverity #200080

(cherry picked from commit 52f071ed1dccff5453f49ed37baa6ae86183e373)


  Commit: cbd86bf85c39e39b749f051801be899715668496
      https://github.com/OpenSIPS/opensips/commit/cbd86bf85c39e39b749f051801be899715668496
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M cfg_reload.c

  Log Message:
  -----------
  reload: fix possible FILE * leak when error

Fixes Coverity #199978

(cherry picked from commit 3b1b9d7d09da0fc33c901e0542b2dd9b4d66001a)


  Commit: 674363701e549a3adb5ec13c68d9b8d0ac0337b8
      https://github.com/OpenSIPS/opensips/commit/674363701e549a3adb5ec13c68d9b8d0ac0337b8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M action.c

  Log Message:
  -----------
  async: fix small typo when printing fixup errors

Fix Coverity #199935

(cherry picked from commit cae397c89f47646a1f379279aebf994248fb64ad)


  Commit: 43d479221c7478523a0f43ccd7756c40073b8acf
      https://github.com/OpenSIPS/opensips/commit/43d479221c7478523a0f43ccd7756c40073b8acf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M cfg_pp.c

  Log Message:
  -----------
  preproc: fix possible leak when errors trigger

Fix Coverity #199907

(cherry picked from commit 1534d26e4fda7ad614b07fd2914bf663a60e42d5)


Compare: https://github.com/OpenSIPS/opensips/compare/f525231d4a2e...43d479221c74


From bogdan at opensips.org  Wed Jan 29 09:53:39 2020
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 29 Jan 2020 16:53:39 +0200
Subject: [OpenSIPS-Devel] Early Birds for OpenSIPS Summit 2020
Message-ID: <7e03f89d-0b95-ad17-5c4c-2c3ccf6eb471@opensips.org>

Hi all,

Heads up - you are in the last days of Early Birds discounts for 
registering for the OpenSIPS Summit 2020 - do not miss the deals and 
register today
https://www.opensips.org/events/Summit-2020Amsterdam/#pricing 
<https://www.opensips.org/events/Summit-2020Amsterdam/#pricing>

The 2020 OpenSIPS Summit is shaping up to be a can’t miss event! Stay 
tuned for thesponsors and speakers line-up!

See you in Amsterdam,

-- 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit, Amsterdam, May 2020
   https://www.opensips.org/events/Summit-2020Amsterdam/
OpenSIPS Bootcamp, Miami, March 2020
   https://opensips.org/training/OpenSIPS_Bootcamp_2020/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20200129/173d7d1a/attachment.html>

From noreply at github.com  Thu Jan 30 09:46:07 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 30 Jan 2020 06:46:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] af5ba5: tls: make sure crypto
 rand functions are reentrant
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/587316-af5ba5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: af5ba52055af860723fe554e9069d4c9142f82af
      https://github.com/OpenSIPS/opensips/commit/af5ba52055af860723fe554e9069d4c9142f82af
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: make sure crypto rand functions are reentrant

Reported by @fgast in #1953




From noreply at github.com  Thu Jan 30 10:14:53 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 30 Jan 2020 07:14:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a8493: fixes #1954 - change
 return value if we can not a...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/af5ba5-3dbbca@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7a84935b5cd2c4f2f2d21c3c9d978999f1697dd5
      https://github.com/OpenSIPS/opensips/commit/7a84935b5cd2c4f2f2d21c3c9d978999f1697dd5
  Author: Fabian Gast <fgast+git at only640k.net>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  fixes #1954  - change return value if we can not add crl files


  Commit: 3dbbca7547fc3ce20c431b632aed5bf1e215d739
      https://github.com/OpenSIPS/opensips/commit/3dbbca7547fc3ce20c431b632aed5bf1e215d739
  Author: Răzvan Crainea <razvan at opensips.org>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  Merge pull request #1955 from fgast/tls_mgm_emptycrl

fixes #1954  - change return value if we can not add crl files


Compare: https://github.com/OpenSIPS/opensips/compare/af5ba52055af...3dbbca7547fc


From noreply at github.com  Thu Jan 30 10:16:11 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 30 Jan 2020 07:16:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7349df: fixes #1954 - change
 return value if we can not a...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/43d479-1463eb@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7349dffce683f96ea1108b6f69524a708bd47df0
      https://github.com/OpenSIPS/opensips/commit/7349dffce683f96ea1108b6f69524a708bd47df0
  Author: Fabian Gast <fgast+git at only640k.net>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  fixes #1954  - change return value if we can not add crl files

(cherry picked from commit 7a84935b5cd2c4f2f2d21c3c9d978999f1697dd5)


  Commit: 1463eb1e26bc1bfd92ece7597adc31d152997b63
      https://github.com/OpenSIPS/opensips/commit/1463eb1e26bc1bfd92ece7597adc31d152997b63
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: make sure crypto rand functions are reentrant

Reported by @fgast in #1953

(cherry picked from commit af5ba52055af860723fe554e9069d4c9142f82af)


Compare: https://github.com/OpenSIPS/opensips/compare/43d479221c74...1463eb1e26bc


From noreply at github.com  Fri Jan 31 07:39:46 2020
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 31 Jan 2020 04:39:46 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0ba3a1: fixes #1954 - change
 return value if we can not a...
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/9e1fcc-8e455e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0ba3a17a7e6255438ba7b30330e97d170cf32f52
      https://github.com/OpenSIPS/opensips/commit/0ba3a17a7e6255438ba7b30330e97d170cf32f52
  Author: Fabian Gast <fgast+git at only640k.net>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  fixes #1954  - change return value if we can not add crl files

(cherry picked from commit 7a84935b5cd2c4f2f2d21c3c9d978999f1697dd5)


  Commit: 8e455efbb0dc65d806aa101f1cdb26130218e259
      https://github.com/OpenSIPS/opensips/commit/8e455efbb0dc65d806aa101f1cdb26130218e259
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls: make sure crypto rand functions are reentrant

Reported by @fgast in #1953

(cherry picked from commit af5ba52055af860723fe554e9069d4c9142f82af)


Compare: https://github.com/OpenSIPS/opensips/compare/9e1fcc9154f4...8e455efbb0dc


From noreply at github.com  Fri Jan 31 11:47:34 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 31 Jan 2020 08:47:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c5eae: :sparkles: export
 transformations for RFC3986 esca...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3dbbca-a9a0c4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1c5eaead54e72237a147b63c636ea93603f1c0fb
      https://github.com/OpenSIPS/opensips/commit/1c5eaead54e72237a147b63c636ea93603f1c0fb
  Author: Callum Guy <callum.guy at x-on.co.uk>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M modules/rest_client/rest_client.c
    A modules/rest_client/rest_client.h
    M modules/rest_client/rest_methods.c
    M modules/rest_client/rest_methods.h

  Log Message:
  -----------
  :sparkles: export transformations for RFC3986 escaping


  Commit: 268f4cb39772290dbcedcd60dc11e6b67f631e7a
      https://github.com/OpenSIPS/opensips/commit/268f4cb39772290dbcedcd60dc11e6b67f631e7a
  Author: Callum Guy <callum.guy at x-on.co.uk>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M modules/rest_client/doc/rest_client_admin.xml

  Log Message:
  -----------
  :memo: provide usage instructions for RFC3986 escape transformations


  Commit: a9a0c44ce13045ce0d3c2b5ff02f2971400cece9
      https://github.com/OpenSIPS/opensips/commit/a9a0c44ce13045ce0d3c2b5ff02f2971400cece9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/rest_client.c
    A modules/rest_client/rest_client.h
    M modules/rest_client/rest_methods.c
    M modules/rest_client/rest_methods.h

  Log Message:
  -----------
  Merge pull request #1960 from spacetourist/feature-libcurl-encode

[FEATURE] rest_client transformations (RFC3986 encode)


Compare: https://github.com/OpenSIPS/opensips/compare/3dbbca7547fc...a9a0c44ce130


From noreply at github.com  Fri Jan 31 11:49:58 2020
From: noreply at github.com (Liviu Chircu)
Date: Fri, 31 Jan 2020 08:49:58 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 046e6d: rest_client: Fix doc
	build
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a9a0c4-046e6d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 046e6de90caec5ff0f58f2ea41c9a39e7723a0e7
      https://github.com/OpenSIPS/opensips/commit/046e6de90caec5ff0f58f2ea41c9a39e7723a0e7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-01-31 (Fri, 31 Jan 2020)

  Changed paths:
    M modules/rest_client/doc/rest_client_admin.xml

  Log Message:
  -----------
  rest_client: Fix doc build




