From noreply at github.com  Sat Sep  2 20:31:43 2023
From: noreply at github.com (opensips-github)
Date: Sat, 02 Sep 2023 13:31:43 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a7a2b: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/6c95c3-3a7a2b@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3a7a2bdfbbc2cbb4db4ebad85cc64836b20040e6
      https://github.com/OpenSIPS/opensips/commit/3a7a2bdfbbc2cbb4db4ebad85cc64836b20040e6
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-02 (Sat, 02 Sep 2023)

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

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




From noreply at github.com  Sat Sep  2 20:59:25 2023
From: noreply at github.com (opensips-github)
Date: Sat, 02 Sep 2023 13:59:25 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 636d8d: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/d6fd87-636d8d@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 636d8d476ad8384868977508ff61579c16ba8e74
      https://github.com/OpenSIPS/opensips/commit/636d8d476ad8384868977508ff61579c16ba8e74
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-02 (Sat, 02 Sep 2023)

  Changed paths:
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml

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




From noreply at github.com  Sat Sep  2 21:28:31 2023
From: noreply at github.com (opensips-github)
Date: Sat, 02 Sep 2023 14:28:31 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 98a8b0: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/095c3b-98a8b0@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 98a8b03443cc1008779a9ce6ed43990959214055
      https://github.com/OpenSIPS/opensips/commit/98a8b03443cc1008779a9ce6ed43990959214055
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-03 (Sun, 03 Sep 2023)

  Changed paths:
    M modules/b2b_sdp_demux/README
    M modules/b2b_sdp_demux/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml

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




From noreply at github.com  Sat Sep  2 22:25:17 2023
From: noreply at github.com (opensips-github)
Date: Sat, 02 Sep 2023 15:25:17 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] af6f15: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d86668-af6f15@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: af6f1576b107d39e0b12440063d496e2defb6fb5
      https://github.com/OpenSIPS/opensips/commit/af6f1576b107d39e0b12440063d496e2defb6fb5
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-03 (Sun, 03 Sep 2023)

  Changed paths:
    M modules/b2b_sdp_demux/README
    M modules/b2b_sdp_demux/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/uac/README
    M modules/uac/doc/contributors.xml

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




From noreply at github.com  Tue Sep  5 09:20:03 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Sep 2023 02:20:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d6ef27: rtp_relay: fix invalid
 contexts leaked in list
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/af6f15-d6ef27@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d6ef279f63aa0682bf0fb7ef1d30a6abdfb8b942
      https://github.com/OpenSIPS/opensips/commit/d6ef279f63aa0682bf0fb7ef1d30a6abdfb8b942
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: fix invalid contexts leaked in list

When a session would have been established on a provisional reply with
body (i.e. 183), the rtp contexts would have been stored in the list.
However, if the call would not establish (with a 200 OK), there would be
no one removing it from the list, even though the context was released -
this resulted in unexpected and almost impossible to track down invalid
memory usage.
The current patch makes sure that the context is removed from the list
if the call does not establish.

Many thanks to Rob Moore, Daniel Bryars and Steven Ayre from Dubber for
pushing an enormous amount of time into troubleshooting and debugging
this, as well as to Liviu Chircu for guiding the troubleshooting!




From noreply at github.com  Tue Sep  5 09:20:14 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Sep 2023 02:20:14 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6aae49: rtp_relay: fix invalid
 contexts leaked in list
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/3abd3a-6aae49@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6aae498265fb6723881acba1b6db2ce3a137d7ca
      https://github.com/OpenSIPS/opensips/commit/6aae498265fb6723881acba1b6db2ce3a137d7ca
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: fix invalid contexts leaked in list

When a session would have been established on a provisional reply with
body (i.e. 183), the rtp contexts would have been stored in the list.
However, if the call would not establish (with a 200 OK), there would be
no one removing it from the list, even though the context was released -
this resulted in unexpected and almost impossible to track down invalid
memory usage.
The current patch makes sure that the context is removed from the list
if the call does not establish.

Many thanks to Rob Moore, Daniel Bryars and Steven Ayre from Dubber for
pushing an enormous amount of time into troubleshooting and debugging
this, as well as to Liviu Chircu for guiding the troubleshooting!

(cherry picked from commit d6ef279f63aa0682bf0fb7ef1d30a6abdfb8b942)




From noreply at github.com  Tue Sep  5 09:20:19 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Sep 2023 02:20:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7defa: rtp_relay: fix invalid
 contexts leaked in list
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/98a8b0-f7defa@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f7defa0161b70794b39331c325afc18519f84f8c
      https://github.com/OpenSIPS/opensips/commit/f7defa0161b70794b39331c325afc18519f84f8c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: fix invalid contexts leaked in list

When a session would have been established on a provisional reply with
body (i.e. 183), the rtp contexts would have been stored in the list.
However, if the call would not establish (with a 200 OK), there would be
no one removing it from the list, even though the context was released -
this resulted in unexpected and almost impossible to track down invalid
memory usage.
The current patch makes sure that the context is removed from the list
if the call does not establish.

Many thanks to Rob Moore, Daniel Bryars and Steven Ayre from Dubber for
pushing an enormous amount of time into troubleshooting and debugging
this, as well as to Liviu Chircu for guiding the troubleshooting!

(cherry picked from commit d6ef279f63aa0682bf0fb7ef1d30a6abdfb8b942)




From noreply at github.com  Tue Sep  5 09:27:23 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 05 Sep 2023 02:27:23 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae413f: rtp_relay: fix invalid
 contexts leaked in list
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/636d8d-ae413f@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ae413ff72584e63e21556dff1d3f60568e5256f8
      https://github.com/OpenSIPS/opensips/commit/ae413ff72584e63e21556dff1d3f60568e5256f8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M lib/list.h
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: fix invalid contexts leaked in list

When a session would have been established on a provisional reply with
body (i.e. 183), the rtp contexts would have been stored in the list.
However, if the call would not establish (with a 200 OK), there would be
no one removing it from the list, even though the context was released -
this resulted in unexpected and almost impossible to track down invalid
memory usage.
The current patch makes sure that the context is removed from the list
if the call does not establish.

Many thanks to Rob Moore, Daniel Bryars and Steven Ayre from Dubber for
pushing an enormous amount of time into troubleshooting and debugging
this, as well as to Liviu Chircu for guiding the troubleshooting!

(cherry picked from commit d6ef279f63aa0682bf0fb7ef1d30a6abdfb8b942)




From noreply at github.com  Fri Sep  8 09:48:37 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 08 Sep 2023 02:48:37 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3b04f2: Revert ERR back to DBG
	log
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d6ef27-3b04f2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3b04f2185c419e295a471fa14f8436cdb0f02fff
      https://github.com/OpenSIPS/opensips/commit/3b04f2185c419e295a471fa14f8436cdb0f02fff
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M net/proto_tcp/tcp_common.h

  Log Message:
  -----------
  Revert ERR back to DBG log

Introduced by mistake via e0fe732e9c9d28c24ed6860fbd3531940978b8f9
Reported by Bence Szigeti.




From noreply at github.com  Fri Sep  8 09:51:51 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 08 Sep 2023 02:51:51 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38dc08: Revert ERR back to DBG
	log
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/6aae49-38dc08@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 38dc08828b0ddf39cbf34b2bf64b51ef6a8fb28d
      https://github.com/OpenSIPS/opensips/commit/38dc08828b0ddf39cbf34b2bf64b51ef6a8fb28d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M net/proto_tcp/tcp_common.h

  Log Message:
  -----------
  Revert ERR back to DBG log

Introduced by mistake via e0fe732e9c9d28c24ed6860fbd3531940978b8f9
Reported by Bence Szigeti.

(cherry picked from commit 3b04f2185c419e295a471fa14f8436cdb0f02fff)




From noreply at github.com  Fri Sep  8 09:52:37 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 08 Sep 2023 02:52:37 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 50d9dc: Revert ERR back to DBG
	log
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/f7defa-50d9dc@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 50d9dc6365105f5a2f37b3cc62a6adfc72fa3bef
      https://github.com/OpenSIPS/opensips/commit/50d9dc6365105f5a2f37b3cc62a6adfc72fa3bef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M net/proto_tcp/tcp_common.h

  Log Message:
  -----------
  Revert ERR back to DBG log

Introduced by mistake via e0fe732e9c9d28c24ed6860fbd3531940978b8f9
Reported by Bence Szigeti.

(cherry picked from commit 3b04f2185c419e295a471fa14f8436cdb0f02fff)




From noreply at github.com  Fri Sep  8 13:58:12 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Sep 2023 06:58:12 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e6a0f: tls_wolfssl: refactor
 makefile to use dependencies
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3b04f2-716f1d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3e6a0fcb0f72a56ad066af97f0fabafe8ded2c83
      https://github.com/OpenSIPS/opensips/commit/3e6a0fcb0f72a56ad066af97f0fabafe8ded2c83
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile

  Log Message:
  -----------
  tls_wolfssl: refactor makefile to use dependencies


  Commit: 716f1d633d19e08165917423cb141c29c0f2b2df
      https://github.com/OpenSIPS/opensips/commit/716f1d633d19e08165917423cb141c29c0f2b2df
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    A modules/tls_wolfssl/lib/patches/.gitignore
    A modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: patch wolfssl lib to fix memory leak

More information about the leak can be found on the wolfssl issue
tracker: wolfSSL/wolfssl#6760


Compare: https://github.com/OpenSIPS/opensips/compare/3b04f2185c41...716f1d633d19


From noreply at github.com  Fri Sep  8 14:29:32 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 08 Sep 2023 07:29:32 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e8793: build: add patch as
	requirement
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/716f1d-9e8793@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9e87934732a195e8cea262ebac42bfb626633a66
      https://github.com/OpenSIPS/opensips/commit/9e87934732a195e8cea262ebac42bfb626633a66
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M scripts/build/apt_requirements.txt

  Log Message:
  -----------
  build: add patch as requirement




From noreply at github.com  Sat Sep  9 21:00:21 2023
From: noreply at github.com (opensips-github)
Date: Sat, 09 Sep 2023 14:00:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 58f2d0: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/ae413f-58f2d0@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 58f2d038c955a73a59f55125212a7b4e70e3ef36
      https://github.com/OpenSIPS/opensips/commit/58f2d038c955a73a59f55125212a7b4e70e3ef36
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

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

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




From noreply at github.com  Sat Sep  9 21:30:28 2023
From: noreply at github.com (opensips-github)
Date: Sat, 09 Sep 2023 14:30:28 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b79e45: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/50d9dc-b79e45@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b79e45d3eee9ecacee363f196570faaa802967de
      https://github.com/OpenSIPS/opensips/commit/b79e45d3eee9ecacee363f196570faaa802967de
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

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

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




From noreply at github.com  Sat Sep  9 22:29:00 2023
From: noreply at github.com (opensips-github)
Date: Sat, 09 Sep 2023 15:29:00 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20e540: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9e8793-20e540@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 20e540d00eb0bedf37144bda9575c01d9a64ee3c
      https://github.com/OpenSIPS/opensips/commit/20e540d00eb0bedf37144bda9575c01d9a64ee3c
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

  Changed paths:
    M modules/rtp_relay/README
    M modules/rtp_relay/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml

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




From noreply at github.com  Mon Sep 11 07:58:29 2023
From: noreply at github.com (Liviu Chircu)
Date: Mon, 11 Sep 2023 00:58:29 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ace6d4: STIR SHAKEN
	Documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/20e540-1d4d5a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ace6d4003b3a03acda21f5f947c9258b2f1190e3
      https://github.com/OpenSIPS/opensips/commit/ace6d4003b3a03acda21f5f947c9258b2f1190e3
  Author: MonkeyTester <57145271+Integration-IT at users.noreply.github.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml

  Log Message:
  -----------
  STIR SHAKEN Documentation

fix "Exported MI Functions" indent


  Commit: 1d4d5a6ba59017a739ab8753020e9c49ac245488
      https://github.com/OpenSIPS/opensips/commit/1d4d5a6ba59017a739ab8753020e9c49ac245488
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml

  Log Message:
  -----------
  Merge pull request #3171 from Integration-IT/master-1

STIR SHAKEN Documentation


Compare: https://github.com/OpenSIPS/opensips/compare/20e540d00eb0...1d4d5a6ba590


From noreply at github.com  Tue Sep 12 14:53:01 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 12 Sep 2023 07:53:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1af376: rtp_relay: remove
 context from the list on repicat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1d4d5a-1af376@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1af376b71ee235ce723ccda2716ee507c575b8d8
      https://github.com/OpenSIPS/opensips/commit/1af376b71ee235ce723ccda2716ee507c575b8d8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: remove context from the list on repicated deletes




From noreply at github.com  Tue Sep 12 14:53:14 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 12 Sep 2023 07:53:14 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 193e65: rtp_relay: remove
 context from the list on repicat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/38dc08-193e65@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 193e65d6dccd3b9aafa7d0bb626f5913f01c1723
      https://github.com/OpenSIPS/opensips/commit/193e65d6dccd3b9aafa7d0bb626f5913f01c1723
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: remove context from the list on repicated deletes

(cherry picked from commit 1af376b71ee235ce723ccda2716ee507c575b8d8)




From noreply at github.com  Tue Sep 12 14:53:33 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 12 Sep 2023 07:53:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 393dfb: rtp_relay: remove
 context from the list on repicat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/b79e45-393dfb@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 393dfb52a25bb55a37a6afe2e53325f570b4dfc9
      https://github.com/OpenSIPS/opensips/commit/393dfb52a25bb55a37a6afe2e53325f570b4dfc9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: remove context from the list on repicated deletes

(cherry picked from commit 1af376b71ee235ce723ccda2716ee507c575b8d8)




From noreply at github.com  Tue Sep 12 14:54:54 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 12 Sep 2023 07:54:54 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 761bb0: rtp_relay: remove
 context from the list on repicat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/58f2d0-a2ed8c@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 761bb069be86daaf29201ef829f1f70338a67e68
      https://github.com/OpenSIPS/opensips/commit/761bb069be86daaf29201ef829f1f70338a67e68
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: remove context from the list on repicated deletes

(cherry picked from commit 1af376b71ee235ce723ccda2716ee507c575b8d8)


  Commit: a2ed8cf8d9e054ee7a7fb14a3cab4386a3a46777
      https://github.com/OpenSIPS/opensips/commit/a2ed8cf8d9e054ee7a7fb14a3cab4386a3a46777
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  -----------
  rtp_relay: fix removal of context crash

Fix bug introduced in 16188f9 due to bad backporting


Compare: https://github.com/OpenSIPS/opensips/compare/58f2d038c955...a2ed8cf8d9e0


From noreply at github.com  Thu Sep 14 06:37:40 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 13 Sep 2023 23:37:40 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 881acb: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1af376-881acb@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 881acb3e03fe8573cd9541a77dce2171bceda0e1
      https://github.com/OpenSIPS/opensips/commit/881acb3e03fe8573cd9541a77dce2171bceda0e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.




From noreply at github.com  Thu Sep 14 07:13:07 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 14 Sep 2023 00:13:07 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 712c2f: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/881acb-712c2f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 712c2f23e4ce1b9a7d28d1e7a5087c97c998c45d
      https://github.com/OpenSIPS/opensips/commit/712c2f23e4ce1b9a7d28d1e7a5087c97c998c45d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.




From noreply at github.com  Thu Sep 14 07:19:24 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 14 Sep 2023 00:19:24 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c4032f: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/712c2f-c4032f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c4032f94f3993d1b62a0483eaae3ac0bd6c7c358
      https://github.com/OpenSIPS/opensips/commit/c4032f94f3993d1b62a0483eaae3ac0bd6c7c358
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.




From noreply at github.com  Thu Sep 14 07:23:23 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 14 Sep 2023 00:23:23 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e4236b: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/193e65-e4236b@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e4236b5786b8e1d5468132b8f66dfba02883b02f
      https://github.com/OpenSIPS/opensips/commit/e4236b5786b8e1d5468132b8f66dfba02883b02f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.

(cherry picked from commit c4032f94f3993d1b62a0483eaae3ac0bd6c7c358)




From noreply at github.com  Thu Sep 14 07:26:32 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 14 Sep 2023 00:26:32 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59a0af: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/393dfb-59a0af@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 59a0af2723be2fcb7da41f753e40e73a66805479
      https://github.com/OpenSIPS/opensips/commit/59a0af2723be2fcb7da41f753e40e73a66805479
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.

(cherry picked from commit c4032f94f3993d1b62a0483eaae3ac0bd6c7c358)




From noreply at github.com  Thu Sep 14 07:37:33 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Thu, 14 Sep 2023 00:37:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb88ae: [b2b_entities] Proper
 handling of overlaping trans...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/a2ed8c-bb88ae@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bb88aee15e8c75bb8d9cb73425832572e69f28d9
      https://github.com/OpenSIPS/opensips/commit/bb88aee15e8c75bb8d9cb73425832572e69f28d9
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  [b2b_entities] Proper handling of overlaping transactions

As per RFC3261, Section 14.2 :

   A UAS that receives a second INVITE before it sends the final
   response to a first INVITE with a lower CSeq sequence number on the
   same dialog MUST return a 500 (Server Internal Error) response to the
   second INVITE and MUST include a Retry-After header field with a
   randomly chosen value of between 0 and 10 seconds.

   A UAS that receives an INVITE on a dialog while an INVITE it had sent
   on that dialog is in progress MUST return a 491 (Request Pending)
   response to the received INVITE.

Changes:
* 491 is now generated when receiving a request while already having an outbound one - the old code was generating 491 upon receiving a request while having another INCOMING one :-/
* generate the 500 reply when receiving a new request while handing another incoming one.

(cherry picked from commit c4032f94f3993d1b62a0483eaae3ac0bd6c7c358)
(cherry picked from commit 59a0af2723be2fcb7da41f753e40e73a66805479)




From noreply at github.com  Fri Sep 15 07:28:26 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 00:28:26 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1bf83d: tm: simplify API
 interface for t_relay and t_check...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c4032f-4fe2fb@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1bf83d61b6a9607c903bf26ac76ac50a4aca10b9
      https://github.com/OpenSIPS/opensips/commit/1bf83d61b6a9607c903bf26ac76ac50a4aca10b9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/cpl_c/cpl_sig.c
    M modules/script_helper/script_helper.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: simplify API interface for t_relay and t_check_trans


  Commit: 4fe2fb6f5cf16dd069c803e3d4542ae8a756a1d3
      https://github.com/OpenSIPS/opensips/commit/4fe2fb6f5cf16dd069c803e3d4542ae8a756a1d3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: prevent hop-by-hop ACK to change the status of dialog


Compare: https://github.com/OpenSIPS/opensips/compare/c4032f94f399...4fe2fb6f5cf1


From noreply at github.com  Fri Sep 15 07:28:45 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 00:28:45 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2348a8: tm: simplify API
 interface for t_relay and t_check...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/e4236b-c01ebd@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2348a82c98c596acdd23ec3af4734786a2ca0d12
      https://github.com/OpenSIPS/opensips/commit/2348a82c98c596acdd23ec3af4734786a2ca0d12
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/cpl_c/cpl_sig.c
    M modules/script_helper/script_helper.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: simplify API interface for t_relay and t_check_trans

(cherry picked from commit 1bf83d61b6a9607c903bf26ac76ac50a4aca10b9)


  Commit: c01ebd57539113ade70c9f2cf2b4d973a7888bd3
      https://github.com/OpenSIPS/opensips/commit/c01ebd57539113ade70c9f2cf2b4d973a7888bd3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: prevent hop-by-hop ACK to change the status of dialog

(cherry picked from commit 4fe2fb6f5cf16dd069c803e3d4542ae8a756a1d3)


Compare: https://github.com/OpenSIPS/opensips/compare/e4236b5786b8...c01ebd575391


From noreply at github.com  Fri Sep 15 07:30:10 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 00:30:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cafc04: tm: simplify API
 interface for t_relay and t_check...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/59a0af-fbac7c@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cafc043d84ba74bdbaf6f8844cf954b3372e0c81
      https://github.com/OpenSIPS/opensips/commit/cafc043d84ba74bdbaf6f8844cf954b3372e0c81
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/cpl_c/cpl_sig.c
    M modules/script_helper/script_helper.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: simplify API interface for t_relay and t_check_trans

(cherry picked from commit 1bf83d61b6a9607c903bf26ac76ac50a4aca10b9)


  Commit: fbac7ccb0bf0f82e0e7c85a29e3dbaaafec22b14
      https://github.com/OpenSIPS/opensips/commit/fbac7ccb0bf0f82e0e7c85a29e3dbaaafec22b14
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: prevent hop-by-hop ACK to change the status of dialog

(cherry picked from commit 4fe2fb6f5cf16dd069c803e3d4542ae8a756a1d3)


Compare: https://github.com/OpenSIPS/opensips/compare/59a0af2723be...fbac7ccb0bf0


From noreply at github.com  Fri Sep 15 07:30:21 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 00:30:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b9f870: tm: simplify API
 interface for t_relay and t_check...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/bb88ae-9274a1@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b9f87017a0512d0b1eba67e9035c24b406f7f98c
      https://github.com/OpenSIPS/opensips/commit/b9f87017a0512d0b1eba67e9035c24b406f7f98c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/cpl_c/cpl_sig.c
    M modules/script_helper/script_helper.c
    M modules/tm/t_reply.h
    M modules/tm/tm.c
    M modules/tm/tm_load.h

  Log Message:
  -----------
  tm: simplify API interface for t_relay and t_check_trans

(cherry picked from commit 1bf83d61b6a9607c903bf26ac76ac50a4aca10b9)


  Commit: 9274a17ff4f338c261e382974c04c3910799746d
      https://github.com/OpenSIPS/opensips/commit/9274a17ff4f338c261e382974c04c3910799746d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: prevent hop-by-hop ACK to change the status of dialog

(cherry picked from commit 4fe2fb6f5cf16dd069c803e3d4542ae8a756a1d3)


Compare: https://github.com/OpenSIPS/opensips/compare/bb88aee15e8c...9274a17ff4f3


From noreply at github.com  Fri Sep 15 07:44:49 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 15 Sep 2023 00:44:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2824a3: [tm] t_uac() gets a
	preferred socket too
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4fe2fb-4244c2@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2824a3818bcb40a980b795aaece69545eb963397
      https://github.com/OpenSIPS/opensips/commit/2824a3818bcb40a980b795aaece69545eb963397
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

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

  Log Message:
  -----------
  [tm] t_uac() gets a preferred socket too

The function already receives a send_socket (a forced socket) which overrides the protocol given by the destination URI. But are cases were we need a milder approach, like a preffered socket to be used if not conflicting with the protocol given by the RURI.
What we have now:
* send_socket - it is a forced socket, overrides the proto given by RURI, it will be used for sure
* pref_socket - a preferred socket, to be used if no send_socket is given and if there is no conflict with the proto given by RURI (in case of a conflict, the pref_socket is discarded and a new socket is looked up based on the RURI info).

First part fix for #3138


  Commit: 4244c286e19e85f10f2873e1c4f1deee2661eb50
      https://github.com/OpenSIPS/opensips/commit/4244c286e19e85f10f2873e1c4f1deee2661eb50
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_entities/b2be_load.h
    M modules/b2b_entities/client.c
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  [b2b_entities/logic] use the newly added pref_socket

When creating a new B2B client, avoid using the UAS side incoming socket as a forced socket. By doing that we override the proto given by the UAC RURI (and forcing to use the same proto as the UAS side - of course, unless we do not do a force send socket from script to manually indicate a new socket/proto). Shortly, th dynamic selection of the correct UAC socket is broken.

With this change, we do:
* if the UAS/msg side has a forced socket (from script), we will push it as forced socket to the UAC too (as before this change).
* if there is no forcing, the current UAS/msg incoming socket is passed as "preferred" socket to the UAC - like use it as time as it fits the RURI proto. This helps in preserving (during the whole b2b logic) the same socket when having multiple sockets serving the same protocol.

Fixes #3138


Compare: https://github.com/OpenSIPS/opensips/compare/4fe2fb6f5cf1...4244c286e19e


From noreply at github.com  Fri Sep 15 07:46:16 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Fri, 15 Sep 2023 00:46:16 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8700f6: [tm] t_uac() gets a
	preferred socket too
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/c01ebd-e435d7@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8700f69364b8d08605157360f7c124b761fa0699
      https://github.com/OpenSIPS/opensips/commit/8700f69364b8d08605157360f7c124b761fa0699
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

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

  Log Message:
  -----------
  [tm] t_uac() gets a preferred socket too

The function already receives a send_socket (a forced socket) which overrides the protocol given by the destination URI. But are cases were we need a milder approach, like a preffered socket to be used if not conflicting with the protocol given by the RURI.
What we have now:
* send_socket - it is a forced socket, overrides the proto given by RURI, it will be used for sure
* pref_socket - a preferred socket, to be used if no send_socket is given and if there is no conflict with the proto given by RURI (in case of a conflict, the pref_socket is discarded and a new socket is looked up based on the RURI info).

First part fix for #3138

(cherry picked from commit 2824a3818bcb40a980b795aaece69545eb963397)


  Commit: e435d7fc40e39bdb1b5fb03a83356bac47b4179c
      https://github.com/OpenSIPS/opensips/commit/e435d7fc40e39bdb1b5fb03a83356bac47b4179c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_entities/b2be_load.h
    M modules/b2b_entities/client.c
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  [b2b_entities/logic] use the newly added pref_socket

When creating a new B2B client, avoid using the UAS side incoming socket as a forced socket. By doing that we override the proto given by the UAC RURI (and forcing to use the same proto as the UAS side - of course, unless we do not do a force send socket from script to manually indicate a new socket/proto). Shortly, th dynamic selection of the correct UAC socket is broken.

With this change, we do:
* if the UAS/msg side has a forced socket (from script), we will push it as forced socket to the UAC too (as before this change).
* if there is no forcing, the current UAS/msg incoming socket is passed as "preferred" socket to the UAC - like use it as time as it fits the RURI proto. This helps in preserving (during the whole b2b logic) the same socket when having multiple sockets serving the same protocol.

Fixes #3138

(cherry picked from commit 4244c286e19e85f10f2873e1c4f1deee2661eb50)


Compare: https://github.com/OpenSIPS/opensips/compare/c01ebd575391...e435d7fc40e3


From noreply at github.com  Fri Sep 15 08:59:54 2023
From: noreply at github.com (Liviu Chircu)
Date: Fri, 15 Sep 2023 01:59:54 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e2bfed: dialog: Fix $dlg_val
	memleak
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4244c2-e2bfed@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e2bfeda4e6c714dc65ab096d1664799c1f9bd5d2
      https://github.com/OpenSIPS/opensips/commit/e2bfeda4e6c714dc65ab096d1664799c1f9bd5d2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_vals.c

  Log Message:
  -----------
  dialog: Fix $dlg_val memleak

Fixed #3135




From noreply at github.com  Fri Sep 15 09:01:47 2023
From: noreply at github.com (Liviu Chircu)
Date: Fri, 15 Sep 2023 02:01:47 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e42f7c: dialog: Fix $dlg_val
	memleak
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/e435d7-e42f7c@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e42f7c4c8a31d8b81b6047f055e9d24c42c8145d
      https://github.com/OpenSIPS/opensips/commit/e42f7c4c8a31d8b81b6047f055e9d24c42c8145d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_vals.c

  Log Message:
  -----------
  dialog: Fix $dlg_val memleak

Fixes #3135

(cherry picked from commit e2bfeda4e6c714dc65ab096d1664799c1f9bd5d2)




From noreply at github.com  Fri Sep 15 14:10:43 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:10:43 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01a356: b2b_logic: properly
 initialize socket for topo hiding
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e2bfed-01a356@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 01a3568eff57f56179f3e3b82647eaf489482d11
      https://github.com/OpenSIPS/opensips/commit/01a3568eff57f56179f3e3b82647eaf489482d11
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly initialize socket for topo hiding

Fix possible crash when no socket is forced in topology hiding scenario




From noreply at github.com  Fri Sep 15 14:20:55 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:20:55 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 400fb3: b2b_logic: properly
 initialize socket for topo hiding
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/e42f7c-400fb3@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 400fb34b6c7d56ff6d110e856a2758d450b853f5
      https://github.com/OpenSIPS/opensips/commit/400fb34b6c7d56ff6d110e856a2758d450b853f5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly initialize socket for topo hiding

Fix possible crash when no socket is forced in topology hiding scenario

(cherry picked from commit 01a3568eff57f56179f3e3b82647eaf489482d11)




From noreply at github.com  Fri Sep 15 14:21:03 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:21:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0d2a0: b2b_logic: properly
 initialize socket for topo hiding
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/fbac7c-f0d2a0@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f0d2a091a4f1be2da77b9a431a52ae17909490d7
      https://github.com/OpenSIPS/opensips/commit/f0d2a091a4f1be2da77b9a431a52ae17909490d7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly initialize socket for topo hiding

Fix possible crash when no socket is forced in topology hiding scenario

(cherry picked from commit 01a3568eff57f56179f3e3b82647eaf489482d11)




From noreply at github.com  Fri Sep 15 14:21:11 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:21:11 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3eb9b5: b2b_logic: properly
 initialize socket for topo hiding
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/9274a1-3eb9b5@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3eb9b5bd59a143005013d274f6ee0bd4cc3ce374
      https://github.com/OpenSIPS/opensips/commit/3eb9b5bd59a143005013d274f6ee0bd4cc3ce374
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: properly initialize socket for topo hiding

Fix possible crash when no socket is forced in topology hiding scenario

(cherry picked from commit 01a3568eff57f56179f3e3b82647eaf489482d11)




From noreply at github.com  Fri Sep 15 14:33:38 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:33:38 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66493c: b2b_logic: do not
 abort bridging if re-INVITE is r...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/01a356-66493c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 66493ce7ecb8be5eb29c0d365a29eb31101158bf
      https://github.com/OpenSIPS/opensips/commit/66493ce7ecb8be5eb29c0d365a29eb31101158bf
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/bridging.c
    M modules/b2b_logic/bridging.h
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: do not abort bridging if re-INVITE is rejected with 491

If the SDP negociation gets rejected with 491, we should not abort
negociation, since most likely it is an indication that the remote UAS
is trying to lock its codecs, hence do the same thing we are trying to
do, but in the other direction.
If however, the other participant does not send itself a re-INVITE, we
arm a timer to re-try the bridging according to the RFC 3261, section
14.1:
   If a UAC receives a 491 response to a re-INVITE, it SHOULD start a
   timer with a value T chosen as follows:

      1. If the UAC is the owner of the Call-ID of the dialog ID
         (meaning it generated the value), T has a randomly chosen value
         between 2.1 and 4 seconds in units of 10 ms.

Fix #3137




From noreply at github.com  Fri Sep 15 14:33:53 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 07:33:53 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 999fc7: b2b_logic: do not
 abort bridging if re-INVITE is r...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/400fb3-999fc7@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 999fc7252e620419d9fc610cee3cb304867dfe72
      https://github.com/OpenSIPS/opensips/commit/999fc7252e620419d9fc610cee3cb304867dfe72
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c
    M modules/b2b_logic/b2b_logic.h
    M modules/b2b_logic/bridging.c
    M modules/b2b_logic/bridging.h
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  b2b_logic: do not abort bridging if re-INVITE is rejected with 491

If the SDP negociation gets rejected with 491, we should not abort
negociation, since most likely it is an indication that the remote UAS
is trying to lock its codecs, hence do the same thing we are trying to
do, but in the other direction.
If however, the other participant does not send itself a re-INVITE, we
arm a timer to re-try the bridging according to the RFC 3261, section
14.1:
   If a UAC receives a 491 response to a re-INVITE, it SHOULD start a
   timer with a value T chosen as follows:

      1. If the UAC is the owner of the Call-ID of the dialog ID
         (meaning it generated the value), T has a randomly chosen value
         between 2.1 and 4 seconds in units of 10 ms.

Fix #3137

(cherry picked from commit 66493ce7ecb8be5eb29c0d365a29eb31101158bf)




From noreply at github.com  Fri Sep 15 15:06:01 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 08:06:01 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e00780: Revert "b2b_logic:
 properly initialize socket for ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/f0d2a0-e00780@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e007807728c03a8649fd1d5926029fe72621fd8a
      https://github.com/OpenSIPS/opensips/commit/e007807728c03a8649fd1d5926029fe72621fd8a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  Revert "b2b_logic: properly initialize socket for topo hiding"

This reverts commit f0d2a091a4f1be2da77b9a431a52ae17909490d7.




From noreply at github.com  Fri Sep 15 15:06:15 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Fri, 15 Sep 2023 08:06:15 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 850bd1: Revert "b2b_logic:
 properly initialize socket for ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/3eb9b5-850bd1@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 850bd1279f2204da1ed19ef4808ea7762f5d7b7c
      https://github.com/OpenSIPS/opensips/commit/850bd1279f2204da1ed19ef4808ea7762f5d7b7c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M modules/b2b_logic/logic.c

  Log Message:
  -----------
  Revert "b2b_logic: properly initialize socket for topo hiding"

This reverts commit 3eb9b5bd59a143005013d274f6ee0bd4cc3ce374.




From noreply at github.com  Sat Sep 16 20:59:26 2023
From: noreply at github.com (opensips-github)
Date: Sat, 16 Sep 2023 13:59:26 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 30b3b8: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/850bd1-30b3b8@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 30b3b86aea449219b7a52059464673e3004ec7fd
      https://github.com/OpenSIPS/opensips/commit/30b3b86aea449219b7a52059464673e3004ec7fd
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    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/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/rtp_relay/README
    M modules/rtp_relay/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

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




From noreply at github.com  Sat Sep 16 21:28:27 2023
From: noreply at github.com (opensips-github)
Date: Sat, 16 Sep 2023 14:28:27 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c44219: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/e00780-c44219@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c44219562ea590b2ceb390ae692a79d6266ee79e
      https://github.com/OpenSIPS/opensips/commit/c44219562ea590b2ceb390ae692a79d6266ee79e
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-17 (Sun, 17 Sep 2023)

  Changed paths:
    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/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/rtp_relay/README
    M modules/rtp_relay/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

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




From noreply at github.com  Sat Sep 16 22:25:45 2023
From: noreply at github.com (opensips-github)
Date: Sat, 16 Sep 2023 15:25:45 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 34c9c3: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/66493c-34c9c3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 34c9c3be282b1c0eac5c2d3d84982c80b09825f6
      https://github.com/OpenSIPS/opensips/commit/34c9c3be282b1c0eac5c2d3d84982c80b09825f6
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-17 (Sun, 17 Sep 2023)

  Changed paths:
    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/cpl_c/README
    M modules/cpl_c/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/rtp_relay/README
    M modules/rtp_relay/doc/contributors.xml
    M modules/script_helper/README
    M modules/script_helper/doc/contributors.xml
    M modules/stir_shaken/README
    M modules/stir_shaken/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml

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




From noreply at github.com  Mon Sep 18 14:48:51 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 18 Sep 2023 07:48:51 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d6146: b2b_entities: fix
 Notify buffer timeout build
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/34c9c3-9d6146@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d61465fe82c1abeb3795915bfc805944abf068b
      https://github.com/OpenSIPS/opensips/commit/9d61465fe82c1abeb3795915bfc805944abf068b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix Notify buffer timeout build

Complete 312cdd4
Related to bug in #3195




From noreply at github.com  Mon Sep 18 14:49:03 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 18 Sep 2023 07:49:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6a6071: b2b_entities: fix
 Notify buffer timeout build
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/999fc7-6a6071@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6a60715e94e0d4cfbf1694b2dd2c63cb838b39c1
      https://github.com/OpenSIPS/opensips/commit/6a60715e94e0d4cfbf1694b2dd2c63cb838b39c1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix Notify buffer timeout build

Complete 312cdd4
Related to bug in #3195

(cherry picked from commit 9d61465fe82c1abeb3795915bfc805944abf068b)




From noreply at github.com  Mon Sep 18 14:49:23 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 18 Sep 2023 07:49:23 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 515ae0: b2b_entities: fix
 Notify buffer timeout build
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/c44219-515ae0@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 515ae0ffe728c1ece986937f7dcd11ec82a2934c
      https://github.com/OpenSIPS/opensips/commit/515ae0ffe728c1ece986937f7dcd11ec82a2934c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix Notify buffer timeout build

Complete 312cdd4
Related to bug in #3195

(cherry picked from commit 9d61465fe82c1abeb3795915bfc805944abf068b)




From noreply at github.com  Mon Sep 18 14:49:39 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Mon, 18 Sep 2023 07:49:39 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a5d0a9: b2b_entities: fix
 Notify buffer timeout build
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/30b3b8-a5d0a9@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a5d0a901fe2c5bd1e96f3443ab8bf044e4c6047e
      https://github.com/OpenSIPS/opensips/commit/a5d0a901fe2c5bd1e96f3443ab8bf044e4c6047e
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix Notify buffer timeout build

Complete 312cdd4
Related to bug in #3195

(cherry picked from commit 9d61465fe82c1abeb3795915bfc805944abf068b)




From carsten at ng-voice.com  Wed Sep 20 10:56:00 2023
From: carsten at ng-voice.com (Carsten Bock)
Date: Wed, 20 Sep 2023 12:56:00 +0200
Subject: [OpenSIPS-Devel] Presence API & Clustering
Message-ID: <CAOCjumHXzyRe8A=D5fTazLEUYK8sA2+fA09sTCgt_cdYC5Z9WA@mail.gmail.com>

Hi there,
´
I have a quick question regarding presence & clustering:
I am working on extensions for handling "reg"-Events based on Usrloc. I
came across the following:

When OpenSIPS receives and handles a publish, it does the following:

/* query the database and update or insert */
if(update_presentity(msg, &presentity, &sent_reply) <0)
{
  LM_ERR("when updating presentity\n");
  reply_code = 500;
  reply_str = pu_500_rpl;
  goto error;
}

/* send event E_PRESENCE_PUBLISH */
presence_raise_event(presence_event_id, &presentity);

/* see if this PUBLISH needs to be replicated via cluster */
if (is_cluster_federation_enabled() &&
is_event_clustered(event->evp->parsed))
  replicate_publish_on_cluster(&presentity);

The API, however, only exposes "update_presentity()". I want to avoid
having to send me a PUBLISH locally, so I tried to use
"update_presentity()".
Do I understand this code correctly that the status set by my module using
"update_presentity()" is not replicated across the cluster and would not
raise any event?
Is that intended, or is there missing some functionality?
Should those functions be exposed so I can trigger a replication in the
cluster?

I am happy to make a PR for the changes once I have tested this, but I
wanted to know if this is on purpose.

Thanks,
Carsten
--
Carsten Bock I Chief Technology Innovation Officer & Founder

ng-voice GmbH

Trostbrücke 1 I 20457 Hamburg I Germany
T +49 1511 5942983 I www.ng-voice.com

Registry Office at Local Court Hamburg, HRB 120189
Managing Directors: Dr. David Bachmann, Carsten Bock, Quirin Maderspacher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20230920/a5f99f43/attachment.html>

From bogdan at opensips.org  Wed Sep 20 12:25:22 2023
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Wed, 20 Sep 2023 15:25:22 +0300
Subject: [OpenSIPS-Devel] Presence API & Clustering
In-Reply-To: <CAOCjumHXzyRe8A=D5fTazLEUYK8sA2+fA09sTCgt_cdYC5Z9WA@mail.gmail.com>
References: <CAOCjumHXzyRe8A=D5fTazLEUYK8sA2+fA09sTCgt_cdYC5Z9WA@mail.gmail.com>
Message-ID: <754ded08-d11f-6e1f-ff85-4fc6bc9cb4b9@opensips.org>

Hi Carsten,

Let me check on this...

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 9/20/23 1:56 PM, Carsten Bock via Devel wrote:
> Hi there,
> ´
> I have a quick question regarding presence & clustering:
> I am working on extensions for handling "reg"-Events based on Usrloc. 
> I came across the following:
>
> When OpenSIPS receives and handles a publish, it does the following:
>
> /* query the database and update or insert */
> if(update_presentity(msg, &presentity, &sent_reply) <0)
> {
>   LM_ERR("when updating presentity\n");
>   reply_code = 500;
>   reply_str = pu_500_rpl;
>   goto error;
> }
>
> /* send event E_PRESENCE_PUBLISH */
> presence_raise_event(presence_event_id, &presentity);
>
> /* see if this PUBLISH needs to be replicated via cluster */
> if (is_cluster_federation_enabled() &&
> is_event_clustered(event->evp->parsed))
>   replicate_publish_on_cluster(&presentity);
>
> The API, however, only exposes "update_presentity()". I want to avoid 
> having to send me a PUBLISH locally, so I tried to use 
> "update_presentity()".
> Do I understand this code correctly that the status set by my module 
> using "update_presentity()" is not replicated across the cluster and 
> would not raise any event?
> Is that intended, or is there missing some functionality?
> Should those functions be exposed so I can trigger a replication in 
> the cluster?
>
> I am happy to make a PR for the changes once I have tested this, but I 
> wanted to know if this is on purpose.
>
> Thanks,
> Carsten
> --
> Carsten Bock I Chief Technology Innovation Officer & Founder
>
> ng-voice GmbH
>
> Trostbrücke 1 I 20457 Hamburg I Germany
> T +49 1511 5942983 I www.ng-voice.com <http://www.ng-voice.com/>
>
> Registry Office at Local Court Hamburg, HRB 120189
> Managing Directors: Dr. David Bachmann, Carsten Bock, Quirin Maderspacher
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

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

From noreply at github.com  Thu Sep 21 07:21:57 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 00:21:57 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3b4beb: proto_ws: enclose IPv6
 Host IPs with square brackets
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9d6146-3b4beb@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3b4beb2c4fa7be27032dbc82f0a0be03677db893
      https://github.com/OpenSIPS/opensips/commit/3b4beb2c4fa7be27032dbc82f0a0be03677db893
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: enclose IPv6 Host IPs with square brackets

Many thanks to @alekseiZh on GitHub for reporting it
Close #3198




From noreply at github.com  Thu Sep 21 07:22:20 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 00:22:20 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 09e870: proto_ws: enclose IPv6
 Host IPs with square brackets
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/6a6071-09e870@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 09e8705aa0d56aac7f7d45408cfb5d6425107366
      https://github.com/OpenSIPS/opensips/commit/09e8705aa0d56aac7f7d45408cfb5d6425107366
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: enclose IPv6 Host IPs with square brackets

Many thanks to @alekseiZh on GitHub for reporting it
Close #3198

(cherry picked from commit 3b4beb2c4fa7be27032dbc82f0a0be03677db893)




From noreply at github.com  Thu Sep 21 07:22:27 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 00:22:27 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b8dbe9: proto_ws: enclose IPv6
 Host IPs with square brackets
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/515ae0-b8dbe9@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b8dbe9e84f28523b1dc777d8064cef2bd7e6af40
      https://github.com/OpenSIPS/opensips/commit/b8dbe9e84f28523b1dc777d8064cef2bd7e6af40
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: enclose IPv6 Host IPs with square brackets

Many thanks to @alekseiZh on GitHub for reporting it
Close #3198

(cherry picked from commit 3b4beb2c4fa7be27032dbc82f0a0be03677db893)




From noreply at github.com  Thu Sep 21 07:22:36 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 00:22:36 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f567e7: proto_ws: enclose IPv6
 Host IPs with square brackets
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/a5d0a9-f567e7@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f567e7aeaca5da945cca7c479179f74fd1182a0c
      https://github.com/OpenSIPS/opensips/commit/f567e7aeaca5da945cca7c479179f74fd1182a0c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/proto_ws/ws_handshake_common.h

  Log Message:
  -----------
  proto_ws: enclose IPv6 Host IPs with square brackets

Many thanks to @alekseiZh on GitHub for reporting it
Close #3198

(cherry picked from commit 3b4beb2c4fa7be27032dbc82f0a0be03677db893)




From noreply at github.com  Thu Sep 21 12:13:19 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 05:13:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c11d3: digest_auth: restore
 support openssl for 1.0.2
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3b4beb-3c11d3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3c11d3c0f50adcc3a92dc893a11866cd6aafbe13
      https://github.com/OpenSIPS/opensips/commit/3c11d3c0f50adcc3a92dc893a11866cd6aafbe13
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile
    M lib/digest_auth/dauth_calc_sha256.c

  Log Message:
  -----------
  digest_auth: restore support openssl for 1.0.2

This completes commit f566fb which used a new interface of openssl, one
that is not available in 1.0.2.
Many thanks to Oleksandr Kozmenko (@11qeq11 on GitHub) for reporting it.
Close #3183




From noreply at github.com  Thu Sep 21 13:08:11 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 06:08:11 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d92607: digest_auth: avoid
 dash escaping in Makefile
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3c11d3-d92607@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d92607f2d7825a9d000b14e6f3d9aa037b273b23
      https://github.com/OpenSIPS/opensips/commit/d92607f2d7825a9d000b14e6f3d9aa037b273b23
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile

  Log Message:
  -----------
  digest_auth: avoid dash escaping in Makefile

Replace dash's builin printf with the echo binary impelmentation.
Many thanks to Liviu Chircu for brainstorming and testing!




From noreply at github.com  Thu Sep 21 13:56:35 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 06:56:35 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d1c8a4: digest_auth: fix #
	escaping in Makefile
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d92607-d1c8a4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d1c8a475186f94e6a8aae74e0ad884663039b0ac
      https://github.com/OpenSIPS/opensips/commit/d1c8a475186f94e6a8aae74e0ad884663039b0ac
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile

  Log Message:
  -----------
  digest_auth: fix # escaping in Makefile

Fix bogus parsing of makefile; completes d92607f




From noreply at github.com  Thu Sep 21 14:47:19 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 07:47:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8fccc4: digest_auth: fix
	Makefile flags escaping
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d1c8a4-8fccc4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8fccc49c7c8c0fb3ae4cf500fffebd00914c3db5
      https://github.com/OpenSIPS/opensips/commit/8fccc49c7c8c0fb3ae4cf500fffebd00914c3db5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile

  Log Message:
  -----------
  digest_auth: fix Makefile flags escaping




From noreply at github.com  Thu Sep 21 15:31:23 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:31:23 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2548f4: tls_wolfssl: adapt
	patch with upstream
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/8fccc4-2548f4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2548f475528bb6b31b769be83091bc944ec01f06
      https://github.com/OpenSIPS/opensips/commit/2548f475528bb6b31b769be83091bc944ec01f06
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: adapt patch with upstream

Grabbed from wolfSSL/wolfssl/#6785
As soon as the patch gets in a released version, we shall bump our
version as well.




From noreply at github.com  Thu Sep 21 15:38:27 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:38:27 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab2c15: digest_auth: restore
 support openssl for 1.0.2
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/09e870-ab2c15@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ab2c15c7be925ea469c2b772683432e56965f86b
      https://github.com/OpenSIPS/opensips/commit/ab2c15c7be925ea469c2b772683432e56965f86b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile
    M lib/digest_auth/dauth_calc_sha256.c

  Log Message:
  -----------
  digest_auth: restore support openssl for 1.0.2

This completes commit f566fb which used a new interface of openssl, one
that is not available in 1.0.2.
Many thanks to Oleksandr Kozmenko (@11qeq11 on GitHub) for reporting it.
Close #3183

Also squashed all corrections to the Makefile in this commit

(cherry picked from commit 3c11d3c0f50adcc3a92dc893a11866cd6aafbe13)
(cherry picked from commit d92607f2d7825a9d000b14e6f3d9aa037b273b23)
(cherry picked from commit d1c8a475186f94e6a8aae74e0ad884663039b0ac)
(cherry picked from commit 8fccc49c7c8c0fb3ae4cf500fffebd00914c3db5)




From noreply at github.com  Thu Sep 21 15:38:36 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:38:36 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d4de4: digest_auth: fix
 Makefile detection of SHA256 and ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/f567e7-6d4de4@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d4de4983ca4f09566dfb5ddfe523d286636ea82
      https://github.com/OpenSIPS/opensips/commit/6d4de4983ca4f09566dfb5ddfe523d286636ea82
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile

  Log Message:
  -----------
  digest_auth: fix Makefile detection of SHA256 and SHA512t256

(cherry picked from commit 3c11d3c0f50adcc3a92dc893a11866cd6aafbe13)
(cherry picked from commit d92607f2d7825a9d000b14e6f3d9aa037b273b23)
(cherry picked from commit d1c8a475186f94e6a8aae74e0ad884663039b0ac)
(cherry picked from commit 8fccc49c7c8c0fb3ae4cf500fffebd00914c3db5)




From noreply at github.com  Thu Sep 21 15:38:32 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:38:32 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 358051: digest_auth: fix
 Makefile detection of SHA256 and ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/b8dbe9-358051@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 358051ee10048972d8f8f1ecaef5496b9139d056
      https://github.com/OpenSIPS/opensips/commit/358051ee10048972d8f8f1ecaef5496b9139d056
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M lib/digest_auth/Makefile

  Log Message:
  -----------
  digest_auth: fix Makefile detection of SHA256 and SHA512t256

(cherry picked from commit 3c11d3c0f50adcc3a92dc893a11866cd6aafbe13)
(cherry picked from commit d92607f2d7825a9d000b14e6f3d9aa037b273b23)
(cherry picked from commit d1c8a475186f94e6a8aae74e0ad884663039b0ac)
(cherry picked from commit 8fccc49c7c8c0fb3ae4cf500fffebd00914c3db5)




From noreply at github.com  Thu Sep 21 15:56:09 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:56:09 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 93b259: tls_wolfssl: refactor
 makefile to use dependencies
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/ab2c15-d0dba9@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 93b25949bec71fe56e8490c6ff14c93fc42813e9
      https://github.com/OpenSIPS/opensips/commit/93b25949bec71fe56e8490c6ff14c93fc42813e9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile

  Log Message:
  -----------
  tls_wolfssl: refactor makefile to use dependencies

(cherry picked from commit 3e6a0fcb0f72a56ad066af97f0fabafe8ded2c83)


  Commit: cf45a666fb5a145e502c950b1bd008e83deb8f8d
      https://github.com/OpenSIPS/opensips/commit/cf45a666fb5a145e502c950b1bd008e83deb8f8d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    A modules/tls_wolfssl/lib/patches/.gitignore
    A modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: patch wolfssl lib to fix memory leak

More information about the leak can be found on the wolfssl issue
tracker: wolfSSL/wolfssl#6760

(cherry picked from commit 716f1d633d19e08165917423cb141c29c0f2b2df)


  Commit: d0dba981dd0c32c6e4c660a18eb2ec4528a0dac2
      https://github.com/OpenSIPS/opensips/commit/d0dba981dd0c32c6e4c660a18eb2ec4528a0dac2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: adapt patch with upstream

Grabbed from wolfSSL/wolfssl/#6785
As soon as the patch gets in a released version, we shall bump our
version as well.

(cherry picked from commit 2548f475528bb6b31b769be83091bc944ec01f06)


Compare: https://github.com/OpenSIPS/opensips/compare/ab2c15c7be92...d0dba981dd0c


From noreply at github.com  Thu Sep 21 15:56:13 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:56:13 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4ac54: tls_wolfssl: refactor
 makefile to use dependencies
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/358051-e8d05c@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4ac5405b681929228837f8c40e283093bfe9124
      https://github.com/OpenSIPS/opensips/commit/d4ac5405b681929228837f8c40e283093bfe9124
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile

  Log Message:
  -----------
  tls_wolfssl: refactor makefile to use dependencies

(cherry picked from commit 3e6a0fcb0f72a56ad066af97f0fabafe8ded2c83)


  Commit: 5b0290098a1d175cd020edddd57cc267b3215c32
      https://github.com/OpenSIPS/opensips/commit/5b0290098a1d175cd020edddd57cc267b3215c32
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    A modules/tls_wolfssl/lib/patches/.gitignore
    A modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: patch wolfssl lib to fix memory leak

More information about the leak can be found on the wolfssl issue
tracker: wolfSSL/wolfssl#6760

(cherry picked from commit 716f1d633d19e08165917423cb141c29c0f2b2df)


  Commit: e8d05c274ad6377621e8788afc5714acbac9f6fb
      https://github.com/OpenSIPS/opensips/commit/e8d05c274ad6377621e8788afc5714acbac9f6fb
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: adapt patch with upstream

Grabbed from wolfSSL/wolfssl/#6785
As soon as the patch gets in a released version, we shall bump our
version as well.

(cherry picked from commit 2548f475528bb6b31b769be83091bc944ec01f06)


Compare: https://github.com/OpenSIPS/opensips/compare/358051ee1004...e8d05c274ad6


From noreply at github.com  Thu Sep 21 15:56:19 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 08:56:19 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 427d1f: tls_wolfssl: refactor
 makefile to use dependencies
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/6d4de4-133c6c@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 427d1fc69e51359e637dca9aea10d06768b8f793
      https://github.com/OpenSIPS/opensips/commit/427d1fc69e51359e637dca9aea10d06768b8f793
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile

  Log Message:
  -----------
  tls_wolfssl: refactor makefile to use dependencies

(cherry picked from commit 3e6a0fcb0f72a56ad066af97f0fabafe8ded2c83)


  Commit: 4accd444ce362cc9e1ad674581eb4936845a9f34
      https://github.com/OpenSIPS/opensips/commit/4accd444ce362cc9e1ad674581eb4936845a9f34
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    A modules/tls_wolfssl/lib/patches/.gitignore
    A modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: patch wolfssl lib to fix memory leak

More information about the leak can be found on the wolfssl issue
tracker: wolfSSL/wolfssl#6760

(cherry picked from commit 716f1d633d19e08165917423cb141c29c0f2b2df)


  Commit: 133c6cf30d1f5b433a0f55cca397bdf03dfd36e9
      https://github.com/OpenSIPS/opensips/commit/133c6cf30d1f5b433a0f55cca397bdf03dfd36e9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M modules/tls_wolfssl/Makefile
    M modules/tls_wolfssl/lib/patches/wolfssl-internal-memleak-fix.patch

  Log Message:
  -----------
  tls_wolfssl: adapt patch with upstream

Grabbed from wolfSSL/wolfssl/#6785
As soon as the patch gets in a released version, we shall bump our
version as well.

(cherry picked from commit 2548f475528bb6b31b769be83091bc944ec01f06)


Compare: https://github.com/OpenSIPS/opensips/compare/6d4de4983ca4...133c6cf30d1f


From noreply at github.com  Thu Sep 21 20:48:04 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 13:48:04 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c03bbc: build: add patch as
	requirement
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/d0dba9-c03bbc@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c03bbc4f6961bbc6bc752eccf7b8316fa2c7feb7
      https://github.com/OpenSIPS/opensips/commit/c03bbc4f6961bbc6bc752eccf7b8316fa2c7feb7
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M scripts/build/apt_requirements.txt

  Log Message:
  -----------
  build: add patch as requirement

(cherry picked from commit 9e87934732a195e8cea262ebac42bfb626633a66)




From noreply at github.com  Thu Sep 21 20:48:26 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 13:48:26 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 330b30: build: add patch as
	requirement
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/e8d05c-330b30@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 330b30dd15bd1ed02fb85ec82f90da773e103b09
      https://github.com/OpenSIPS/opensips/commit/330b30dd15bd1ed02fb85ec82f90da773e103b09
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M scripts/build/apt_requirements.txt

  Log Message:
  -----------
  build: add patch as requirement

(cherry picked from commit 9e87934732a195e8cea262ebac42bfb626633a66)




From noreply at github.com  Thu Sep 21 20:50:03 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 21 Sep 2023 13:50:03 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fe276b: build: add patch as
	requirement
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/133c6c-fe276b@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fe276b430dc804ebd8d7db4b53fd1c3f2fd95c90
      https://github.com/OpenSIPS/opensips/commit/fe276b430dc804ebd8d7db4b53fd1c3f2fd95c90
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M scripts/build/apt_requirements.txt

  Log Message:
  -----------
  build: add patch as requirement

(cherry picked from commit 9e87934732a195e8cea262ebac42bfb626633a66)




From bogdan at opensips.org  Fri Sep 22 12:48:50 2023
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Fri, 22 Sep 2023 15:48:50 +0300
Subject: [OpenSIPS-Devel] Presence API & Clustering
In-Reply-To: <CAOCjumHXzyRe8A=D5fTazLEUYK8sA2+fA09sTCgt_cdYC5Z9WA@mail.gmail.com>
References: <CAOCjumHXzyRe8A=D5fTazLEUYK8sA2+fA09sTCgt_cdYC5Z9WA@mail.gmail.com>
Message-ID: <5442d5da-98d7-f169-f389-dcf661f2181e@opensips.org>

Hi Carsten,

In terms of the finding, yes, you are right - it looks the 
`update_presentity` API function was "missed" during the latest events 
and clustering additions in the presence module :D....Actually, this is 
explained by the fact that that API function is used only by 
`presence_callinfo` module (not a very used one also).

Anyhow, I will take care a push a fix, thanks for the report.

Nevertheless, I do not agree with the shortcuting of t PUBLISH - keep in 
mind that in many cases the pua side (the publisher) is actually located 
on a different instance than the presence servers. This is way the 
communication between the PUA and PRESENCE is always done via PUBLISH, 
even if it loops.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 9/20/23 1:56 PM, Carsten Bock via Devel wrote:
> Hi there,
> ´
> I have a quick question regarding presence & clustering:
> I am working on extensions for handling "reg"-Events based on Usrloc. 
> I came across the following:
>
> When OpenSIPS receives and handles a publish, it does the following:
>
> /* query the database and update or insert */
> if(update_presentity(msg, &presentity, &sent_reply) <0)
> {
>   LM_ERR("when updating presentity\n");
>   reply_code = 500;
>   reply_str = pu_500_rpl;
>   goto error;
> }
>
> /* send event E_PRESENCE_PUBLISH */
> presence_raise_event(presence_event_id, &presentity);
>
> /* see if this PUBLISH needs to be replicated via cluster */
> if (is_cluster_federation_enabled() &&
> is_event_clustered(event->evp->parsed))
>   replicate_publish_on_cluster(&presentity);
>
> The API, however, only exposes "update_presentity()". I want to avoid 
> having to send me a PUBLISH locally, so I tried to use 
> "update_presentity()".
> Do I understand this code correctly that the status set by my module 
> using "update_presentity()" is not replicated across the cluster and 
> would not raise any event?
> Is that intended, or is there missing some functionality?
> Should those functions be exposed so I can trigger a replication in 
> the cluster?
>
> I am happy to make a PR for the changes once I have tested this, but I 
> wanted to know if this is on purpose.
>
> Thanks,
> Carsten
> --
> Carsten Bock I Chief Technology Innovation Officer & Founder
>
> ng-voice GmbH
>
> Trostbrücke 1 I 20457 Hamburg I Germany
> T +49 1511 5942983 I www.ng-voice.com <http://www.ng-voice.com/>
>
> Registry Office at Local Court Hamburg, HRB 120189
> Managing Directors: Dr. David Bachmann, Carsten Bock, Quirin Maderspacher
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

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

From noreply at github.com  Sat Sep 23 21:03:18 2023
From: noreply at github.com (opensips-github)
Date: Sat, 23 Sep 2023 14:03:18 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ca6434: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/fe276b-ca6434@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ca6434fae3b21aa67bde799b4479fc97e4a59729
      https://github.com/OpenSIPS/opensips/commit/ca6434fae3b21aa67bde799b4479fc97e4a59729
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-24 (Sun, 24 Sep 2023)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml

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




From noreply at github.com  Sat Sep 23 21:33:31 2023
From: noreply at github.com (opensips-github)
Date: Sat, 23 Sep 2023 14:33:31 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7efda: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/330b30-c7efda@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c7efda15a89091bf378bdb15b461b31910e66f5b
      https://github.com/OpenSIPS/opensips/commit/c7efda15a89091bf378bdb15b461b31910e66f5b
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-24 (Sun, 24 Sep 2023)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml

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




From noreply at github.com  Sat Sep 23 22:30:52 2023
From: noreply at github.com (opensips-github)
Date: Sat, 23 Sep 2023 15:30:52 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e0ef38: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2548f4-e0ef38@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e0ef3850edb81437b2fcd45d7b06b1599d54beca
      https://github.com/OpenSIPS/opensips/commit/e0ef3850edb81437b2fcd45d7b06b1599d54beca
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-24 (Sun, 24 Sep 2023)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/proto_ws/README
    M modules/proto_ws/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml

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




From noreply at github.com  Mon Sep 25 16:08:48 2023
From: noreply at github.com (Liviu Chircu)
Date: Mon, 25 Sep 2023 09:08:48 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2e6623: stir_shaken: Add the
 `e164_max_length` parameter
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e0ef38-2e6623@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2e662357307a387020b9c16e465a9d093fd29a23
      https://github.com/OpenSIPS/opensips/commit/2e662357307a387020b9c16e465a9d093fd29a23
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml
    M modules/stir_shaken/stir_shaken.c
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  stir_shaken: Add the `e164_max_length` parameter

This parameter allows the 15-digit number length restriction of the E.164
format to be bypassed.  Especially useful in scenarios where various
telephony number prefixes are in use, causing some numbers to exceed
the standard maximum length.

Credits to @Integration-IT for watching over the core issue and helping
work towards the current solution!

Fixes #3202
Fixes #3182
Fixes #3181




From noreply at github.com  Mon Sep 25 16:12:27 2023
From: noreply at github.com (Liviu Chircu)
Date: Mon, 25 Sep 2023 09:12:27 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 892a6e: stir_shaken: Add the
 `e164_max_length` parameter
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/c03bbc-892a6e@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 892a6e48352385724f5278873de51a88e159faa5
      https://github.com/OpenSIPS/opensips/commit/892a6e48352385724f5278873de51a88e159faa5
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml
    M modules/stir_shaken/stir_shaken.c
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  stir_shaken: Add the `e164_max_length` parameter

This parameter allows the 15-digit number length restriction of the E.164
format to be bypassed.  Especially useful in scenarios where various
telephony number prefixes are in use, causing some numbers to exceed
the standard maximum length.

Credits to @Integration-IT for watching over the core issue and helping
work towards the current solution!

Fixes #3202
Fixes #3182
Fixes #3181




From noreply at github.com  Mon Sep 25 16:15:10 2023
From: noreply at github.com (vladpaiu)
Date: Mon, 25 Sep 2023 09:15:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a5a701: Added support for rtx
 RFC 4588 when deleting a cod...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/892a6e-a5a701@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a5a70106f0fcb0846bacc74bfd92467e6ee8a568
      https://github.com/OpenSIPS/opensips/commit/a5a70106f0fcb0846bacc74bfd92467e6ee8a568
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M modules/sipmsgops/codecs.c
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h

  Log Message:
  -----------
  Added support for rtx RFC 4588 when deleting a codec that has RTX attached to it

(cherry picked from commit ebc3edd78e7603fd1928bcefc0c775f7f9a9dd65)




From noreply at github.com  Mon Sep 25 16:15:21 2023
From: noreply at github.com (vladpaiu)
Date: Mon, 25 Sep 2023 09:15:21 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d8f1a: Added support for rtx
 RFC 4588 when deleting a cod...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/c7efda-7d8f1a@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7d8f1a43bd3eacd9b5cc18a8b5b905127ea3d276
      https://github.com/OpenSIPS/opensips/commit/7d8f1a43bd3eacd9b5cc18a8b5b905127ea3d276
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M modules/sipmsgops/codecs.c
    M parser/sdp/sdp.c
    M parser/sdp/sdp.h

  Log Message:
  -----------
  Added support for rtx RFC 4588 when deleting a codec that has RTX attached to it

(cherry picked from commit ebc3edd78e7603fd1928bcefc0c775f7f9a9dd65)




From noreply at github.com  Tue Sep 26 13:31:10 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Sep 2023 06:31:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7bafee: dialog: increment
 last_gen_cseq only if initialized
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2e6623-7bafee@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7bafee1f91327f91c0372318cf0cd8e6dc4bceaa
      https://github.com/OpenSIPS/opensips/commit/7bafee1f91327f91c0372318cf0cd8e6dc4bceaa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: increment last_gen_cseq only if initialized

Many thanks to Denys Pozniak (@denyspozniak on GitHub) for reporting and
providing troubleshooting information.

Close #3206




From noreply at github.com  Tue Sep 26 13:31:22 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Sep 2023 06:31:22 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4aead: dialog: increment
 last_gen_cseq only if initialized
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/a5a701-d4aead@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d4aead240ca2c209d890f06028660771337803b6
      https://github.com/OpenSIPS/opensips/commit/d4aead240ca2c209d890f06028660771337803b6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: increment last_gen_cseq only if initialized

Many thanks to Denys Pozniak (@denyspozniak on GitHub) for reporting and
providing troubleshooting information.

Close #3206

(cherry picked from commit 7bafee1f91327f91c0372318cf0cd8e6dc4bceaa)




From noreply at github.com  Tue Sep 26 13:31:34 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Sep 2023 06:31:34 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 79bbdb: dialog: increment
 last_gen_cseq only if initialized
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/7d8f1a-79bbdb@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 79bbdb720f13348cc59eab01dc2573db1ee4c6a5
      https://github.com/OpenSIPS/opensips/commit/79bbdb720f13348cc59eab01dc2573db1ee4c6a5
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: increment last_gen_cseq only if initialized

Many thanks to Denys Pozniak (@denyspozniak on GitHub) for reporting and
providing troubleshooting information.

Close #3206

(cherry picked from commit 7bafee1f91327f91c0372318cf0cd8e6dc4bceaa)




From noreply at github.com  Tue Sep 26 13:31:48 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Sep 2023 06:31:48 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 588af7: dialog: increment
 last_gen_cseq only if initialized
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/ca6434-588af7@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 588af72a849b941f4e8cb3b6fa162a75e917338b
      https://github.com/OpenSIPS/opensips/commit/588af72a849b941f4e8cb3b6fa162a75e917338b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/dialog/dlg_handlers.c

  Log Message:
  -----------
  dialog: increment last_gen_cseq only if initialized

Many thanks to Denys Pozniak (@denyspozniak on GitHub) for reporting and
providing troubleshooting information.

Close #3206

(cherry picked from commit 7bafee1f91327f91c0372318cf0cd8e6dc4bceaa)




From noreply at github.com  Tue Sep 26 15:41:29 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 26 Sep 2023 08:41:29 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4612a7: Fix memory leak in
	LDAP module.
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/7bafee-d82ddd@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4612a7f777fc1c8f3d1ce0de5ac470d5831422fd
      https://github.com/OpenSIPS/opensips/commit/4612a7f777fc1c8f3d1ce0de5ac470d5831422fd
  Author: tcresson <tcresson at keyyo.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M modules/ldap/ldap_mod.c

  Log Message:
  -----------
  Fix memory leak in LDAP module.

The subst_expr* that is allocated for the methods ldap_write_result and
ldap_result_check is never freed.

In order to fix it, we declare the fixup_free_substre function that is
used in the definition of the "free_fixup" function for the subst_expr
parameter of these two functions.


  Commit: d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c
      https://github.com/OpenSIPS/opensips/commit/d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/ldap/ldap_mod.c

  Log Message:
  -----------
  Merge pull request #3189 from Keyyo-Private/fix_ldap_memleak

ldap: Fix memory leak


Compare: https://github.com/OpenSIPS/opensips/compare/7bafee1f9132...d82ddd85d97f


From noreply at github.com  Tue Sep 26 15:44:49 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 26 Sep 2023 08:44:49 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4993bf: Merge pull request
 #3189 from Keyyo-Private/fix_ld...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/d4aead-4993bf@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4993bf7b1799e73444a9ef4bcadcb9aca7a84a18
      https://github.com/OpenSIPS/opensips/commit/4993bf7b1799e73444a9ef4bcadcb9aca7a84a18
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/ldap/ldap_mod.c

  Log Message:
  -----------
  Merge pull request #3189 from Keyyo-Private/fix_ldap_memleak

ldap: Fix memory leak
(cherry picked from commit d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c)




From noreply at github.com  Tue Sep 26 15:45:17 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 26 Sep 2023 08:45:17 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 68216f: Merge pull request
 #3189 from Keyyo-Private/fix_ld...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/79bbdb-68216f@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 68216f868d17c95659d04bcb6281475fa33eec49
      https://github.com/OpenSIPS/opensips/commit/68216f868d17c95659d04bcb6281475fa33eec49
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/ldap/ldap_mod.c

  Log Message:
  -----------
  Merge pull request #3189 from Keyyo-Private/fix_ldap_memleak

ldap: Fix memory leak
(cherry picked from commit d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c)




From noreply at github.com  Tue Sep 26 15:45:33 2023
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 26 Sep 2023 08:45:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e518b: Merge pull request
 #3189 from Keyyo-Private/fix_ld...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/588af7-0e518b@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0e518ba6923e96ee147570ccab5f50f5d6168c07
      https://github.com/OpenSIPS/opensips/commit/0e518ba6923e96ee147570ccab5f50f5d6168c07
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M modules/ldap/ldap_mod.c

  Log Message:
  -----------
  Merge pull request #3189 from Keyyo-Private/fix_ldap_memleak

ldap: Fix memory leak
(cherry picked from commit d82ddd85d97fcf0b5c3f01e686c9018b9f00e89c)




From noreply at github.com  Tue Sep 26 16:00:35 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 26 Sep 2023 09:00:35 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 75605d: add move_branch() and
 swap_branches() core functions
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d82ddd-75605d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 75605d5393117012e0a066a7b5b69dcda96a4b58
      https://github.com/OpenSIPS/opensips/commit/75605d5393117012e0a066a7b5b69dcda96a4b58
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M core_cmds.c
    M dset.c
    M dset.h

  Log Message:
  -----------
  add move_branch() and swap_branches() core functions




From noreply at github.com  Wed Sep 27 15:04:37 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 27 Sep 2023 08:04:37 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1dde47: siprec: fix memory
 leaking while setting the same ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/75605d-464046@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1dde47b524e4bb27e992ede2b15631eb12092537
      https://github.com/OpenSIPS/opensips/commit/1dde47b524e4bb27e992ede2b15631eb12092537
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/siprec/siprec_var.c

  Log Message:
  -----------
  siprec: fix memory leaking while setting the same field of siprec var

Credits go to Rob Moore, Daniel Bryars and Steven Ayre from Dubber, as
well as Liviu Chircu from the OpenSIPS team for working together to spot
this leak.


  Commit: 41aa549a5f37fb09073fa8cb8e79f8673d40ae76
      https://github.com/OpenSIPS/opensips/commit/41aa549a5f37fb09073fa8cb8e79f8673d40ae76
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M main.c

  Log Message:
  -----------
  main: avoid 'for' loop initial declarations in C98

This would break rpm build on CentOS 7 due to old compiler/standard


  Commit: 4640465215f131592326363bd0748d9f0e79f04d
      https://github.com/OpenSIPS/opensips/commit/4640465215f131592326363bd0748d9f0e79f04d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  [WIP] statistics: fix crash when creating a series stat

Under normal circumstances, when a statistic is updated, we first search
whether it exists, and if not, we add it to the statistics hash.
However, due to the way it is implemented, searching and adding a
statistic is not atomic, hence, with high concurrency, when adding a new
statistic, we might already find an existing one there. In this case,
the code tries to return that statistic in the `pvar` parameter -
however, that parameter might be a (r/o) function, hence a crash
happens. This commit fixes the crash. Close #3136

However, it returns 0, as if the statistic was properly added - the
problem with this approach is that from the caller's perspective, we do
not know whether the statistic was already there or not, to free the
existing structure - hence this might result into a leak. We are still
working on a solution for this.


Compare: https://github.com/OpenSIPS/opensips/compare/75605d539311...4640465215f1


From noreply at github.com  Wed Sep 27 15:05:11 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 27 Sep 2023 08:05:11 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ca968c: siprec: fix memory
 leaking while setting the same ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/4993bf-e03165@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ca968c21af1c9ea9f9f21480a93651ff9225e6d2
      https://github.com/OpenSIPS/opensips/commit/ca968c21af1c9ea9f9f21480a93651ff9225e6d2
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/siprec/siprec_var.c

  Log Message:
  -----------
  siprec: fix memory leaking while setting the same field of siprec var

Credits go to Rob Moore, Daniel Bryars and Steven Ayre from Dubber, as
well as Liviu Chircu from the OpenSIPS team for working together to spot
this leak.

(cherry picked from commit 1dde47b524e4bb27e992ede2b15631eb12092537)


  Commit: e031651215b35b73a0a0cb7c71a37689d76717d3
      https://github.com/OpenSIPS/opensips/commit/e031651215b35b73a0a0cb7c71a37689d76717d3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  [WIP] statistics: fix crash when creating a series stat

Under normal circumstances, when a statistic is updated, we first search
whether it exists, and if not, we add it to the statistics hash.
However, due to the way it is implemented, searching and adding a
statistic is not atomic, hence, with high concurrency, when adding a new
statistic, we might already find an existing one there. In this case,
the code tries to return that statistic in the `pvar` parameter -
however, that parameter might be a (r/o) function, hence a crash
happens. This commit fixes the crash. Close #3136

However, it returns 0, as if the statistic was properly added - the
problem with this approach is that from the caller's perspective, we do
not know whether the statistic was already there or not, to free the
existing structure - hence this might result into a leak. We are still
working on a solution for this.

(cherry picked from commit 4640465215f131592326363bd0748d9f0e79f04d)


Compare: https://github.com/OpenSIPS/opensips/compare/4993bf7b1799...e031651215b3


From noreply at github.com  Wed Sep 27 15:05:33 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 27 Sep 2023 08:05:33 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 85b17a: siprec: fix memory
 leaking while setting the same ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/68216f-1c67f7@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85b17acad5569a1245d12c79b69cca3d0f2314ba
      https://github.com/OpenSIPS/opensips/commit/85b17acad5569a1245d12c79b69cca3d0f2314ba
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/siprec/siprec_var.c

  Log Message:
  -----------
  siprec: fix memory leaking while setting the same field of siprec var

Credits go to Rob Moore, Daniel Bryars and Steven Ayre from Dubber, as
well as Liviu Chircu from the OpenSIPS team for working together to spot
this leak.

(cherry picked from commit 1dde47b524e4bb27e992ede2b15631eb12092537)


  Commit: 1c67f7b0c6c7e8696b18f9c25fd75b1cbd245ea1
      https://github.com/OpenSIPS/opensips/commit/1c67f7b0c6c7e8696b18f9c25fd75b1cbd245ea1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  [WIP] statistics: fix crash when creating a series stat

Under normal circumstances, when a statistic is updated, we first search
whether it exists, and if not, we add it to the statistics hash.
However, due to the way it is implemented, searching and adding a
statistic is not atomic, hence, with high concurrency, when adding a new
statistic, we might already find an existing one there. In this case,
the code tries to return that statistic in the `pvar` parameter -
however, that parameter might be a (r/o) function, hence a crash
happens. This commit fixes the crash. Close #3136

However, it returns 0, as if the statistic was properly added - the
problem with this approach is that from the caller's perspective, we do
not know whether the statistic was already there or not, to free the
existing structure - hence this might result into a leak. We are still
working on a solution for this.

(cherry picked from commit 4640465215f131592326363bd0748d9f0e79f04d)


Compare: https://github.com/OpenSIPS/opensips/compare/68216f868d17...1c67f7b0c6c7


From noreply at github.com  Wed Sep 27 15:06:02 2023
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 27 Sep 2023 08:06:02 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 54e7ed: [WIP] statistics: fix
 crash when creating a series...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/0e518b-54e7ed@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 54e7edb159b7da664b5dc8b6632c7045ce5162d3
      https://github.com/OpenSIPS/opensips/commit/54e7edb159b7da664b5dc8b6632c7045ce5162d3
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M statistics.c

  Log Message:
  -----------
  [WIP] statistics: fix crash when creating a series stat

Under normal circumstances, when a statistic is updated, we first search
whether it exists, and if not, we add it to the statistics hash.
However, due to the way it is implemented, searching and adding a
statistic is not atomic, hence, with high concurrency, when adding a new
statistic, we might already find an existing one there. In this case,
the code tries to return that statistic in the `pvar` parameter -
however, that parameter might be a (r/o) function, hence a crash
happens. This commit fixes the crash. Close #3136

However, it returns 0, as if the statistic was properly added - the
problem with this approach is that from the caller's perspective, we do
not know whether the statistic was already there or not, to free the
existing structure - hence this might result into a leak. We are still
working on a solution for this.

(cherry picked from commit 4640465215f131592326363bd0748d9f0e79f04d)




From noreply at github.com  Wed Sep 27 15:35:31 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 08:35:31 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 75a168: stir_shaken: Fix
 detection for invalid "future Dat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/464046-75a168@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 75a168a9f4315e59ba92bdcc2920639176e7f415
      https://github.com/OpenSIPS/opensips/commit/75a168a9f4315e59ba92bdcc2920639176e7f415
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: Fix detection for invalid "future Date/iat"

This patch fixes a bug where both the Date hf and the "iat" PASSporT
claim could be filled in with a random timestamp value "in the future"
and still bypass the OpenSIPS "freshness" integrity checks.

Issue discovered during OpenSIPIt'03,
        thanks to Pavel Bussel & Maksym Sobolyev (Sippy Software)




From noreply at github.com  Wed Sep 27 15:36:34 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 08:36:34 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3ff32: stir_shaken: Fix
 detection for invalid "future Dat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/e03165-d3ff32@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d3ff3257033ea9d5305e4b68ef0b508b033bb357
      https://github.com/OpenSIPS/opensips/commit/d3ff3257033ea9d5305e4b68ef0b508b033bb357
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: Fix detection for invalid "future Date/iat"

This patch fixes a bug where both the Date hf and the "iat" PASSporT
claim could be filled in with a random timestamp value "in the future"
and still bypass the OpenSIPS "freshness" integrity checks.

Issue discovered during OpenSIPIt'03,
        thanks to Pavel Bussel & Maksym Sobolyev (Sippy Software)

(cherry picked from commit 75a168a9f4315e59ba92bdcc2920639176e7f415)




From noreply at github.com  Wed Sep 27 15:36:36 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 08:36:36 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a1cf8: stir_shaken: Fix
 detection for invalid "future Dat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/54e7ed-4a1cf8@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4a1cf80dd5743d69572e1ef8d9b077ac926dd101
      https://github.com/OpenSIPS/opensips/commit/4a1cf80dd5743d69572e1ef8d9b077ac926dd101
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: Fix detection for invalid "future Date/iat"

This patch fixes a bug where both the Date hf and the "iat" PASSporT
claim could be filled in with a random timestamp value "in the future"
and still bypass the OpenSIPS "freshness" integrity checks.

Issue discovered during OpenSIPIt'03,
        thanks to Pavel Bussel & Maksym Sobolyev (Sippy Software)

(cherry picked from commit 75a168a9f4315e59ba92bdcc2920639176e7f415)




From noreply at github.com  Wed Sep 27 15:36:35 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 08:36:35 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 28bebc: stir_shaken: Fix
 detection for invalid "future Dat...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/1c67f7-28bebc@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 28bebc7f258dba96941fa24869877efd7ff76073
      https://github.com/OpenSIPS/opensips/commit/28bebc7f258dba96941fa24869877efd7ff76073
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken: Fix detection for invalid "future Date/iat"

This patch fixes a bug where both the Date hf and the "iat" PASSporT
claim could be filled in with a random timestamp value "in the future"
and still bypass the OpenSIPS "freshness" integrity checks.

Issue discovered during OpenSIPIt'03,
        thanks to Pavel Bussel & Maksym Sobolyev (Sippy Software)

(cherry picked from commit 75a168a9f4315e59ba92bdcc2920639176e7f415)




From noreply at github.com  Wed Sep 27 16:41:42 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 09:41:42 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e2977a: stir_shaken VS:
 Improve several return codes
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/75a168-e2977a@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e2977a4f49f1a164369c515bb7a79b5b436aeb31
      https://github.com/OpenSIPS/opensips/commit/e2977a4f49f1a164369c515bb7a79b5b436aeb31
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken VS: Improve several return codes

* on bad client-side signature length, return
   "438 Invalid Identity Header (bad signature)"
   vs. "500 Internal Server Error" (??)

* on encountering expired certificates advertised by clients, return
    "438 Invalid Identity Header (cert validity)"
    vs. "403 Stale Date" (?!)

* fix abs() related compiler warnings introduced earlier




From noreply at github.com  Wed Sep 27 18:12:26 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 11:12:26 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5bdac5: stir_shaken VS:
 Improve several return codes
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/28bebc-5bdac5@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5bdac5e58b54c5fb50edabd0c71aac3e2b9f531f
      https://github.com/OpenSIPS/opensips/commit/5bdac5e58b54c5fb50edabd0c71aac3e2b9f531f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken VS: Improve several return codes

* on bad client-side signature length, return
   "438 Invalid Identity Header (bad signature)"
   vs. "500 Internal Server Error" (??)

* on encountering expired certificates advertised by clients, return
    "438 Invalid Identity Header (cert validity)"
    vs. "403 Stale Date" (?!)

* fix abs() related compiler warnings introduced earlier

(cherry picked from commit e2977a4f49f1a164369c515bb7a79b5b436aeb31)




From noreply at github.com  Wed Sep 27 18:12:25 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 11:12:25 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 630ce8: stir_shaken VS:
 Improve several return codes
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.4/d3ff32-630ce8@github.com>

  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 630ce8abf9b7d1d31f715de7481f0cfabbccfd3b
      https://github.com/OpenSIPS/opensips/commit/630ce8abf9b7d1d31f715de7481f0cfabbccfd3b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken VS: Improve several return codes

* on bad client-side signature length, return
   "438 Invalid Identity Header (bad signature)"
   vs. "500 Internal Server Error" (??)

* on encountering expired certificates advertised by clients, return
    "438 Invalid Identity Header (cert validity)"
    vs. "403 Stale Date" (?!)

* fix abs() related compiler warnings introduced earlier

(cherry picked from commit e2977a4f49f1a164369c515bb7a79b5b436aeb31)




From noreply at github.com  Wed Sep 27 18:12:25 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 11:12:25 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 24d817: stir_shaken VS:
 Improve several return codes
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/4a1cf8-24d817@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 24d8179f3fd75b90e44069399d0ab86c9f0f6b15
      https://github.com/OpenSIPS/opensips/commit/24d8179f3fd75b90e44069399d0ab86c9f0f6b15
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/stir_shaken.c

  Log Message:
  -----------
  stir_shaken VS: Improve several return codes

* on bad client-side signature length, return
   "438 Invalid Identity Header (bad signature)"
   vs. "500 Internal Server Error" (??)

* on encountering expired certificates advertised by clients, return
    "438 Invalid Identity Header (cert validity)"
    vs. "403 Stale Date" (?!)

* fix abs() related compiler warnings introduced earlier

(cherry picked from commit e2977a4f49f1a164369c515bb7a79b5b436aeb31)




From noreply at github.com  Wed Sep 27 18:19:58 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 11:19:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd850c: stir_shaken: Add the
 `e164_max_length` parameter (...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/5bdac5-fd850c@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fd850cc804d3e1090dcc8be49bf7c1b1a072f0e9
      https://github.com/OpenSIPS/opensips/commit/fd850cc804d3e1090dcc8be49bf7c1b1a072f0e9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml
    M modules/stir_shaken/stir_shaken.c
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  stir_shaken: Add the `e164_max_length` parameter (interop fix)

This parameter allows the 15-digit number length restriction of the E.164
format to be bypassed.  Especially useful in scenarios where various
telephony number prefixes are in use, causing some numbers to exceed
the standard maximum length.

Credits to @Integration-IT for watching over the core issue and helping
work towards the current solution!

Fixes #3202
Fixes #3182
Fixes #3181

(cherry picked from commit 2e662357307a387020b9c16e465a9d093fd29a23)




From noreply at github.com  Wed Sep 27 18:19:58 2023
From: noreply at github.com (Liviu Chircu)
Date: Wed, 27 Sep 2023 11:19:58 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b37734: stir_shaken: Add the
 `e164_max_length` parameter (...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/24d817-b37734@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b37734b1cfe3b2d47bdd20a67cbe3c4b0110e07d
      https://github.com/OpenSIPS/opensips/commit/b37734b1cfe3b2d47bdd20a67cbe3c4b0110e07d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M modules/stir_shaken/doc/stir_shaken_admin.xml
    M modules/stir_shaken/stir_shaken.c
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  stir_shaken: Add the `e164_max_length` parameter (interop fix)

This parameter allows the 15-digit number length restriction of the E.164
format to be bypassed.  Especially useful in scenarios where various
telephony number prefixes are in use, causing some numbers to exceed
the standard maximum length.

Credits to @Integration-IT for watching over the core issue and helping
work towards the current solution!

Fixes #3202
Fixes #3182
Fixes #3181

(cherry picked from commit 2e662357307a387020b9c16e465a9d093fd29a23)




From noreply at github.com  Sat Sep 30 20:59:09 2023
From: noreply at github.com (opensips-github)
Date: Sat, 30 Sep 2023 13:59:09 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0162dc: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/b37734-0162dc@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0162dc5f107ffb458c698d609815703f6b7d3e47
      https://github.com/OpenSIPS/opensips/commit/0162dc5f107ffb458c698d609815703f6b7d3e47
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-09-30 (Sat, 30 Sep 2023)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/stir_shaken/README
    M modules/stir_shaken/doc/contributors.xml

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




From noreply at github.com  Sat Sep 30 21:30:10 2023
From: noreply at github.com (opensips-github)
Date: Sat, 30 Sep 2023 14:30:10 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d6e8f: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.3/fd850c-6d6e8f@github.com>

  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d6e8fb3d66a943ec2bff70b2abbb5ee4fe66866
      https://github.com/OpenSIPS/opensips/commit/6d6e8fb3d66a943ec2bff70b2abbb5ee4fe66866
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-10-01 (Sun, 01 Oct 2023)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/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/stir_shaken/README
    M modules/stir_shaken/doc/contributors.xml

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




From noreply at github.com  Sat Sep 30 22:28:48 2023
From: noreply at github.com (opensips-github)
Date: Sat, 30 Sep 2023 15:28:48 -0700
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 366d6b: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e2977a-366d6b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 366d6be7adcb2b26ec5ecd84efda55c04ce5c372
      https://github.com/OpenSIPS/opensips/commit/366d6be7adcb2b26ec5ecd84efda55c04ce5c372
  Author: OpenSIPS <github at opensips.org>
  Date:   2023-10-01 (Sun, 01 Oct 2023)

  Changed paths:
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/ldap/README
    M modules/ldap/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/stir_shaken/README
    M modules/stir_shaken/doc/contributors.xml

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




