From noreply at github.com  Thu Dec  2 15:08:30 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 07:08:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8af30c: tls_mgm: properly free
 TLS domain when failing to ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/d9e6ac-8af30c@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8af30c076d6e7b3d7f267782f20a27056cff0e31
      https://github.com/OpenSIPS/opensips/commit/8af30c076d6e7b3d7f267782f20a27056cff0e31
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: properly free TLS domain when failing to initialize it




From noreply at github.com  Thu Dec  2 15:09:20 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 07:09:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e46889: tls_mgm: properly free
 TLS domain when failing to ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/fb82ba-e46889@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e4688934921644188d0b612a335dc11134eaf43b
      https://github.com/OpenSIPS/opensips/commit/e4688934921644188d0b612a335dc11134eaf43b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/tls_mgm/tls_domain.c
    M modules/tls_mgm/tls_mgm.c

  Log Message:
  -----------
  tls_mgm: properly free TLS domain when failing to initialize it

(cherry picked from commit 8af30c076d6e7b3d7f267782f20a27056cff0e31)




From noreply at github.com  Thu Dec  2 15:23:17 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 07:23:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 008196: tls_mgm: fix variable
 name from previous commit
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/8af30c-008196@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 008196a5308a09af0ed9a76d369ccd7c2cf17ed0
      https://github.com/OpenSIPS/opensips/commit/008196a5308a09af0ed9a76d369ccd7c2cf17ed0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/tls_mgm/tls_domain.c

  Log Message:
  -----------
  tls_mgm: fix variable name from previous commit




From noreply at github.com  Thu Dec  2 15:23:39 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 07:23:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 139fed: tls_mgm: fix variable
 name from previous commit
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/e46889-139fed@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 139fed304590c72cf6c63e35c74438bb2fb2ba74
      https://github.com/OpenSIPS/opensips/commit/139fed304590c72cf6c63e35c74438bb2fb2ba74
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/tls_mgm/tls_domain.c

  Log Message:
  -----------
  tls_mgm: fix variable name from previous commit

(cherry picked from commit 008196a5308a09af0ed9a76d369ccd7c2cf17ed0)




From noreply at github.com  Thu Dec  2 16:48:17 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 08:48:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6fd568: [sql_cacher] When on
 demand mode, get column types...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/008196-69966d@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6fd5688a8654106e91ed10885042a50e7ab4c2c8
      https://github.com/OpenSIPS/opensips/commit/6fd5688a8654106e91ed10885042a50e7ab4c2c8
  Author: Gang Zhuo <gang.zhuo at gmail.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  [sql_cacher] When on demand mode, get column types at mod_init

Fix https://github.com/OpenSIPS/opensips/issues/2649

On demand mode, if the cache key exists, sql_cacher do not load data
from the database, the get_column_types() function will not be called,
so c_entry->column_types will remaining the initial value 0.
This will cause the wrong data type to be used to decode the cached values.


  Commit: 69966d71127f34b6dec1f4d2a4b431a9778f5d72
      https://github.com/OpenSIPS/opensips/commit/69966d71127f34b6dec1f4d2a4b431a9778f5d72
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  Merge pull request #2676 from GangZhuo/issues-2649

[sql_cacher] When on demand mode, get column types at mod_init


Compare: https://github.com/OpenSIPS/opensips/compare/008196a5308a...69966d71127f


From noreply at github.com  Thu Dec  2 19:21:28 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 11:21:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5d5fe4: Merge pull request
 #2676 from GangZhuo/issues-2649
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/139fed-5d5fe4@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5d5fe4b5af25f35c94b4a74173a4bad14f45163a
      https://github.com/OpenSIPS/opensips/commit/5d5fe4b5af25f35c94b4a74173a4bad14f45163a
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  Merge pull request #2676 from GangZhuo/issues-2649

[sql_cacher] When on demand mode, get column types at mod_init

(cherry picked from commit 69966d71127f34b6dec1f4d2a4b431a9778f5d72)




From noreply at github.com  Thu Dec  2 19:21:51 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 11:21:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5d3514: Merge pull request
 #2676 from GangZhuo/issues-2649
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/237997-5d3514@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5d3514ed0c6df98e3a6dc0b8265a46379464530c
      https://github.com/OpenSIPS/opensips/commit/5d3514ed0c6df98e3a6dc0b8265a46379464530c
  Author: Vlad Pătrașcu <vladp at opensips.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  Merge pull request #2676 from GangZhuo/issues-2649

[sql_cacher] When on demand mode, get column types at mod_init

(cherry picked from commit 69966d71127f34b6dec1f4d2a4b431a9778f5d72)




From noreply at github.com  Thu Dec  2 22:24:02 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 14:24:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ddbec1: db_text: return a
 valid empty string for a null DB...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/69966d-ddbec1@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ddbec155fc89d2085149f2debc66edecb0789554
      https://github.com/OpenSIPS/opensips/commit/ddbec155fc89d2085149f2debc66edecb0789554
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M modules/db_text/dbt_api.c

  Log Message:
  -----------
  db_text: return a valid empty string for a null DB value

This prevents crashes in modules which do not check the null flag
in the db result before using the string value (eg. doing strlen()).

Fixes #2658




From noreply at github.com  Thu Dec  2 22:24:59 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 14:24:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 33ab41: db_text: return a
 valid empty string for a null DB...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/5d5fe4-33ab41@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 33ab410525ac9c86340d613c506e3c9565e8a735
      https://github.com/OpenSIPS/opensips/commit/33ab410525ac9c86340d613c506e3c9565e8a735
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M modules/db_text/dbt_api.c

  Log Message:
  -----------
  db_text: return a valid empty string for a null DB value

This prevents crashes in modules which do not check the null flag
in the db result before using the string value (eg. doing strlen()).

Fixes #2658

(cherry picked from commit ddbec155fc89d2085149f2debc66edecb0789554)




From noreply at github.com  Thu Dec  2 22:26:04 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 14:26:04 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6440d4: db_text: return a
 valid empty string for a null DB...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/5d3514-6440d4@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6440d44f6136cc760b04c1df1a989891eb423ad0
      https://github.com/OpenSIPS/opensips/commit/6440d44f6136cc760b04c1df1a989891eb423ad0
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M modules/db_text/dbt_api.c

  Log Message:
  -----------
  db_text: return a valid empty string for a null DB value

This prevents crashes in modules which do not check the null flag
in the db result before using the string value (eg. doing strlen()).

Fixes #2658

(cherry picked from commit ddbec155fc89d2085149f2debc66edecb0789554)




From noreply at github.com  Thu Dec  2 22:38:11 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Thu, 02 Dec 2021 14:38:11 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e002e6: cachedb_redis: fix
 get() return code for key not f...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ddbec1-e002e6@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e002e6b51ceb84f62d967ca934158eb15ae656e1
      https://github.com/OpenSIPS/opensips/commit/e002e6b51ceb84f62d967ca934158eb15ae656e1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-03 (Fri, 03 Dec 2021)

  Changed paths:
    M modules/cachedb_redis/cachedb_redis_dbase.c

  Log Message:
  -----------
  cachedb_redis: fix get() return code for key not found




From noreply at github.com  Sat Dec  4 21:27:17 2021
From: noreply at github.com (opensips-github)
Date: Sat, 04 Dec 2021 13:27:17 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 34644e: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.0/86a3fd-34644e@github.com>

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 34644e6f934f0959a50f99660b6533a22ecc3d9f
      https://github.com/OpenSIPS/opensips/commit/34644e6f934f0959a50f99660b6533a22ecc3d9f
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

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

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




From noreply at github.com  Sat Dec  4 21:51:20 2021
From: noreply at github.com (opensips-github)
Date: Sat, 04 Dec 2021 13:51:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dbded9: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/6440d4-dbded9@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: dbded91a6eccebd548f8e4ae14cbc3540967e638
      https://github.com/OpenSIPS/opensips/commit/dbded91a6eccebd548f8e4ae14cbc3540967e638
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml

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




From noreply at github.com  Sat Dec  4 22:20:20 2021
From: noreply at github.com (opensips-github)
Date: Sat, 04 Dec 2021 14:20:20 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 17a575: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e002e6-17a575@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 17a575a1a2bef52dfcbe1cc1fa9ec0c54368fc1c
      https://github.com/OpenSIPS/opensips/commit/17a575a1a2bef52dfcbe1cc1fa9ec0c54368fc1c
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

  Changed paths:
    M modules/b2b_entities/README
    M modules/b2b_entities/doc/contributors.xml
    M modules/cachedb_redis/README
    M modules/cachedb_redis/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/dialog/README
    M modules/dialog/doc/contributors.xml
    M modules/dialplan/README
    M modules/dialplan/doc/contributors.xml
    M modules/dispatcher/README
    M modules/dispatcher/doc/contributors.xml
    M modules/domainpolicy/README
    M modules/domainpolicy/doc/contributors.xml
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/event_route/README
    M modules/event_route/doc/contributors.xml
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/nathelper/README
    M modules/nathelper/doc/contributors.xml
    M modules/perl/README
    M modules/perl/doc/contributors.xml
    M modules/prometheus/README
    M modules/prometheus/doc/contributors.xml
    M modules/rtp_relay/README
    M modules/rtp_relay/doc/contributors.xml
    M modules/rtpengine/README
    M modules/rtpengine/doc/contributors.xml
    M modules/rtpproxy/README
    M modules/rtpproxy/doc/contributors.xml
    M modules/siprec/README
    M modules/siprec/doc/contributors.xml
    M modules/sql_cacher/README
    M modules/sql_cacher/doc/contributors.xml
    M modules/stun/README
    M modules/stun/doc/contributors.xml
    M modules/tls_mgm/README
    M modules/tls_mgm/doc/contributors.xml
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/uac_registrant/README
    M modules/uac_registrant/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

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




From alain.bieuzent at free.fr  Mon Dec  6 11:11:35 2021
From: alain.bieuzent at free.fr (Alain Bieuzent)
Date: Mon, 06 Dec 2021 12:11:35 +0100
Subject: [OpenSIPS-Devel] sipmsg_validate return -5 but content length seems
	correct.
Message-ID: <EB32F33A-8326-42CF-8AF5-FAD56BC2BEDD@free.fr>

Hi,

 

I have a case where sipmsg_validate find an issue in SDP length, opensips find two characters more than the Content-Length and what i found in tcpdump trace.

 

INVITE sip:33648642792 at 185.101.180.124:5060 SIP/2.0

Via: SIP/2.0/UDP 35.246.200.233:9077;rport;branch=z9hG4bK4b24d98a7dd82e427f5e14c93ae2dba7

Via: SIP/2.0/UDP 13.38.77.105:5080;rport;branch=z9hG4bKH012Hr73SycDg

Max-Forwards: 64

From: "33613630817" <sip:33613630817 at 13.38.77.105>;tag=2ZB6X8jjtaH8e

To: <sip:33648642792 at 185.101.180.124:5060>

Call-ID: c9a92f54-d124-123a-1693-0625bc81f114

CSeq: 44840040 INVITE

Contact: <sip:mod_sofia at 13.38.77.105:5080>

User-Agent: FS16

Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY

Supported: timer, path, replaces

Allow-Events: talk, hold, conference, refer

Privacy: none

Content-Type: application/sdp

Content-Disposition: session

Content-Length: 364

X-FS-Support: update_display,send_info

P-Asserted-Identity: "33613630817" <sip:33613630817 at 13.38.77.105>

Record-Route: <sip:35.246.200.233:9077;lr>

 

v=0

o=FreeSWITCH 1638764203 1638764204 IN IP4 13.38.77.105

s=FreeSWITCH

c=IN IP4 13.38.77.105

t=0 0

m=audio 23462 RTP/AVP 8 0 18 101

a=rtpmap:8 PCMA/8000

a=rtpmap:0 PCMU/8000

a=rtpmap:18 G729/8000

a=fmtp:18 annexb=no

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=rtcp-mux

a=rtcp:23462 IN IP4 13.38.77.105

a=silenceSupp:off - - - -

a=ptime:20

 

opensips logs :

 

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:get_hdr_field: content_length=364

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:get_hdr_field: found end of header

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:receive_msg: After parse_msg...

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:receive_msg: preparing to run routing scripts...

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:parse_headers: flags=8

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:parse_headers: flags=ffffffffffffffff

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:parse_headers: flags=ffffffffffffffff

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:sipmsgops:w_sip_validate: message does not comply with SIP RFC3261 : (invalid body - content length 364 different than actual body 366#012)

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: DBG:core:comp_scriptvar: str 29 : 35.246.200.233

Dec  6 11:47:45 lbsip-rtpe-test opensips[2756]: Dropping mal formed Messages Retcode : -5 IP:35.246.200.233 callID: c9a92f54-d124-123a-1693-0625bc81f114 ,Reason : Invalid Content-Length---

 

On Wireshark, the SDP part length is also 364 bytes.

 

I can send the pcap if needed

 

Thanks for your help.

 

Alain

 

 

 

 

 

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

From noreply at github.com  Mon Dec  6 11:43:28 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:43:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 018cb9: [usrloc] fix contact
 matching on registrations han...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/dbded9-018cb9@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 018cb953c01c767d8d9bd1ef30a17739e3433931
      https://github.com/OpenSIPS/opensips/commit/018cb953c01c767d8d9bd1ef30a17739e3433931
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  [usrloc] fix contact matching on registrations handling

instead of pron-to-error string matching, use the SIP wise matching when matching the registered contacts. The SIP URI matching is more complex, mainly when comes about the URI parameters - some important (user, transport, etc) params must be present in both URIs in order to match, other generic params may match even if the param is present in only one URI.

Some devices may use during registration some proprietary params for the contact, but without sending the full list when re-registering or when deleting the contact - and this is perfectly ok from the perspective of the SIP RFC3261.

Prior to the fix, in the above scenario, OpenSIPS will have failed to re-register or un-register the contact, leaking registrations.

(cherry picked from commit 85e67d890cc0e225d1a4512ccb8cadc1a5090a41)




From noreply at github.com  Mon Dec  6 11:43:34 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:43:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6790c: [usrloc] fix contact
 matching on registrations han...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/33ab41-f6790c@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f6790c07539e8eb3743350c45f65b59b97b6fe1d
      https://github.com/OpenSIPS/opensips/commit/f6790c07539e8eb3743350c45f65b59b97b6fe1d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M modules/usrloc/urecord.c

  Log Message:
  -----------
  [usrloc] fix contact matching on registrations handling

instead of pron-to-error string matching, use the SIP wise matching when matching the registered contacts. The SIP URI matching is more complex, mainly when comes about the URI parameters - some important (user, transport, etc) params must be present in both URIs in order to match, other generic params may match even if the param is present in only one URI.

Some devices may use during registration some proprietary params for the contact, but without sending the full list when re-registering or when deleting the contact - and this is perfectly ok from the perspective of the SIP RFC3261.

Prior to the fix, in the above scenario, OpenSIPS will have failed to re-register or un-register the contact, leaking registrations.

(cherry picked from commit 85e67d890cc0e225d1a4512ccb8cadc1a5090a41)




From noreply at github.com  Mon Dec  6 11:44:26 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:44:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 107dcb: [core]
 build_res_buf_from_sip_req(): fix hdr corre...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/f6790c-107dcb@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 107dcba5b0d54875b0ddbcfe232bdd9f5d405d33
      https://github.com/OpenSIPS/opensips/commit/107dcba5b0d54875b0ddbcfe232bdd9f5d405d33
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M msg_translator.c

  Log Message:
  -----------
  [core] build_res_buf_from_sip_req(): fix hdr correlation

Issue discovered during OpenSIPS Security Audit 2021,
        by Alfred Farrugia & Sandro Gauci (Enable Security)

https://github.com/OpenSIPS/opensips/security/advisories/GHSA-7pf3-24qg-8v9h
(cherry picked from commit 9cf3dd3398719dd91207495f76d7726701c5145c)




From noreply at github.com  Mon Dec  6 11:45:10 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:45:10 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2b84ad: [core]
 build_res_buf_from_sip_req(): fix hdr corre...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/018cb9-2b84ad@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2b84ad085c79d616e5d5dfb9154042f9e3c7cb97
      https://github.com/OpenSIPS/opensips/commit/2b84ad085c79d616e5d5dfb9154042f9e3c7cb97
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M msg_translator.c

  Log Message:
  -----------
  [core] build_res_buf_from_sip_req(): fix hdr correlation

Issue discovered during OpenSIPS Security Audit 2021,
        by Alfred Farrugia & Sandro Gauci (Enable Security)

https://github.com/OpenSIPS/opensips/security/advisories/GHSA-7pf3-24qg-8v9h
(cherry picked from commit 9cf3dd3398719dd91207495f76d7726701c5145c)




From noreply at github.com  Mon Dec  6 11:48:35 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:48:35 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] abeeb3: [topology-hiding] fix
 detection of the UAC requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/107dcb-abeeb3@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: abeeb36d77e05df4a4a3fc71af1f0795dc2a7e61
      https://github.com/OpenSIPS/opensips/commit/abeeb36d77e05df4a4a3fc71af1f0795dc2a7e61
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  [topology-hiding] fix detection of the UAC requests

Use a more generix approach (check VIA2 presence) to see if we deal with a locally generated or proxyed requests.
Fixes #2690, credits go to @bcnewlin for reporting.




From noreply at github.com  Mon Dec  6 11:48:57 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:48:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 62d0ed: [topology-hiding] fix
 detection of the UAC requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/2b84ad-62d0ed@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 62d0edb18838d10c38abb30834fa4e958fdc8128
      https://github.com/OpenSIPS/opensips/commit/62d0edb18838d10c38abb30834fa4e958fdc8128
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  [topology-hiding] fix detection of the UAC requests

Use a more generix approach (check VIA2 presence) to see if we deal with a locally generated or proxyed requests.
Fixes #2690, credits go to @bcnewlin for reporting.

(cherry picked from commit abeeb36d77e05df4a4a3fc71af1f0795dc2a7e61)




From noreply at github.com  Mon Dec  6 11:49:33 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Mon, 06 Dec 2021 03:49:33 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 37bf94: [topology-hiding] fix
 detection of the UAC requests
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/17a575-37bf94@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 37bf94df001136bb4e71688995c9ae57f75f9cac
      https://github.com/OpenSIPS/opensips/commit/37bf94df001136bb4e71688995c9ae57f75f9cac
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  [topology-hiding] fix detection of the UAC requests

Use a more generix approach (check VIA2 presence) to see if we deal with a locally generated or proxyed requests.
Fixes #2690, credits go to @bcnewlin for reporting.

(cherry picked from commit abeeb36d77e05df4a4a3fc71af1f0795dc2a7e61)




From noreply at github.com  Tue Dec  7 10:02:53 2021
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Tue, 07 Dec 2021 02:02:53 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e0bac4: drouting: rework
 dr_rules return in case of multip...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/37bf94-e0bac4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e0bac419bcff23f6dcc3a7c92b2f03a1df1d6f2a
      https://github.com/OpenSIPS/opensips/commit/e0bac419bcff23f6dcc3a7c92b2f03a1df1d6f2a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M modules/drouting/drouting.c

  Log Message:
  -----------
  drouting: rework dr_rules return in case of multiple rules tables




From razvan at opensips.org  Wed Dec  8 11:04:01 2021
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Wed, 8 Dec 2021 13:04:01 +0200
Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 3.1.7 and 3.2.4 minor releases
Message-ID: <e7a1523f-3796-057a-4552-b299f860c3c3@opensips.org>

Hello, everyone!

In two weeks starting from today, on Wednesday, 22nd of December 2021, 
we will be releasing two new minor versions of OpenSIPS: 3.17 and 3.2.4.
These new versions will be fully backwards compatible and will consist 
only of bug fixes.
Throughout these two weeks we will put a freeze on commits, just so you 
guys can test as much as possible until the release comes out. Please do 
test and let us know of any problems you are facing.

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


From liviu at opensips.org  Wed Dec  8 11:10:36 2021
From: liviu at opensips.org (Liviu Chircu)
Date: Wed, 8 Dec 2021 13:10:36 +0200
Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 3.1.7 and 3.2.4 minor
 releases
In-Reply-To: <e7a1523f-3796-057a-4552-b299f860c3c3@opensips.org>
References: <e7a1523f-3796-057a-4552-b299f860c3c3@opensips.org>
Message-ID: <539ef1bf-755e-651f-1103-cf184b526efc@opensips.org>

On 08.12.2021 13:04, Răzvan Crainea wrote:
> a freeze on commits

Expanding on this: "a freeze on most new fixes, any further commits 
should typically only address newly discovered regressions in the 
upcoming minor release".

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com



From noreply at github.com  Sat Dec 11 21:51:05 2021
From: noreply at github.com (opensips-github)
Date: Sat, 11 Dec 2021 13:51:05 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f9c19e: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/62d0ed-f9c19e@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f9c19ed333c1808e2c5459dd0225d485d82dd807
      https://github.com/OpenSIPS/opensips/commit/f9c19ed333c1808e2c5459dd0225d485d82dd807
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-11 (Sat, 11 Dec 2021)

  Changed paths:
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml
    M modules/usrloc/README
    M modules/usrloc/doc/contributors.xml

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




From noreply at github.com  Sat Dec 11 22:20:19 2021
From: noreply at github.com (opensips-github)
Date: Sat, 11 Dec 2021 14:20:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8b6e5: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e0bac4-c8b6e5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c8b6e5e16fe07bbf9caa0a5e65b6b752deed6f1a
      https://github.com/OpenSIPS/opensips/commit/c8b6e5e16fe07bbf9caa0a5e65b6b752deed6f1a
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-12 (Sun, 12 Dec 2021)

  Changed paths:
    M modules/drouting/README
    M modules/drouting/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml

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




From noreply at github.com  Mon Dec 13 11:53:32 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 13 Dec 2021 03:53:32 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2e34dc: HP_MALLOC tests: Skip
 all test code if HP_MALLOC i...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c8b6e5-2e34dc@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2e34dc3f78c58ef87e2455387075d048456126c9
      https://github.com/OpenSIPS/opensips/commit/2e34dc3f78c58ef87e2455387075d048456126c9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M mem/test/test_malloc.c
    M mem/test/test_malloc.h
    M test/unit_tests.c

  Log Message:
  -----------
  HP_MALLOC tests: Skip all test code if HP_MALLOC is unavailable

Credits to Vlad Pătrașcu for catching this issue <3




From noreply at github.com  Mon Dec 13 11:58:14 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 13 Dec 2021 03:58:14 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 996d4f: Complete previous
	commit
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2e34dc-996d4f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 996d4ffba30899201a38d64b7bb669862640938f
      https://github.com/OpenSIPS/opensips/commit/996d4ffba30899201a38d64b7bb669862640938f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M test/unit_tests.c

  Log Message:
  -----------
  Complete previous commit

Avoid enabling the malloc test suite by default, as it cost quite a bit
of time and is un-refined for now.




From noreply at github.com  Tue Dec 14 13:18:47 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Dec 2021 05:18:47 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 54bb91: nathelper: Fix bug
 introduced in ecbd9856efb
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/996d4f-54bb91@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 54bb91a373a2457ad5c5ccc22ab70bd4c83c01d8
      https://github.com/OpenSIPS/opensips/commit/54bb91a373a2457ad5c5ccc22ab70bd4c83c01d8
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  nathelper: Fix bug introduced in ecbd9856efb

Credits to Alexey Vasilyev (@vasilevalex) for reviewing the commit and
catching the regression!




From noreply at github.com  Tue Dec 14 13:19:31 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Dec 2021 05:19:31 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cfb6f0: nathelper: Fix bug
 introduced in ecbd9856efb
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/abeeb3-cfb6f0@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cfb6f0c52fd44aa18fa0734c7345d2550eacba8d
      https://github.com/OpenSIPS/opensips/commit/cfb6f0c52fd44aa18fa0734c7345d2550eacba8d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  nathelper: Fix bug introduced in ecbd9856efb

Credits to Alexey Vasilyev (@vasilevalex) for reviewing the commit and
catching the regression!

(cherry picked from commit 54bb91a373a2457ad5c5ccc22ab70bd4c83c01d8)




From noreply at github.com  Tue Dec 14 13:21:02 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Dec 2021 05:21:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fe2e8d: nathelper: Fix bug
 introduced in ecbd9856efb
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/f9c19e-fe2e8d@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fe2e8dfe796d522490a40ddc484f1e3c061bb2d4
      https://github.com/OpenSIPS/opensips/commit/fe2e8dfe796d522490a40ddc484f1e3c061bb2d4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  nathelper: Fix bug introduced in ecbd9856efb

Credits to Alexey Vasilyev (@vasilevalex) for reviewing the commit and
catching the regression!

(cherry picked from commit 54bb91a373a2457ad5c5ccc22ab70bd4c83c01d8)




From noreply at github.com  Tue Dec 14 13:21:59 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 14 Dec 2021 05:21:59 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1a6a2e: nathelper: Fix bug
 introduced in ecbd9856efb
Message-ID: <OpenSIPS/opensips/push/refs/heads/2.4/7ffbd4-1a6a2e@github.com>

  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a6a2e0de2d1ae5adf858291dea9c4e11f92e767
      https://github.com/OpenSIPS/opensips/commit/1a6a2e0de2d1ae5adf858291dea9c4e11f92e767
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M socket_info.h

  Log Message:
  -----------
  nathelper: Fix bug introduced in ecbd9856efb

Credits to Alexey Vasilyev (@vasilevalex) for reviewing the commit and
catching the regression!

(cherry picked from commit 54bb91a373a2457ad5c5ccc22ab70bd4c83c01d8)




From noreply at github.com  Tue Dec 14 17:17:50 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Dec 2021 09:17:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a96ef: Revert
 "[topology-hiding] fix detection of the UAC...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/54bb91-4a96ef@github.com>

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

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Revert "[topology-hiding] fix detection of the UAC requests"

This reverts commit 37bf94df001136bb4e71688995c9ae57f75f9cac.




From noreply at github.com  Tue Dec 14 17:21:13 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Dec 2021 09:21:13 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d60a7b: Revert
 "[topology-hiding] fix detection of the UAC...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/cfb6f0-d60a7b@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d60a7be840acb75e0a483404d858c80ee057c687
      https://github.com/OpenSIPS/opensips/commit/d60a7be840acb75e0a483404d858c80ee057c687
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Revert "[topology-hiding] fix detection of the UAC requests"

This reverts commit abeeb36d77e05df4a4a3fc71af1f0795dc2a7e61.




From noreply at github.com  Tue Dec 14 17:21:50 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Tue, 14 Dec 2021 09:21:50 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 68988b: Revert
 "[topology-hiding] fix detection of the UAC...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/fe2e8d-68988b@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 68988b989a7a3ac01ef3a0d246e0ddc31418aba8
      https://github.com/OpenSIPS/opensips/commit/68988b989a7a3ac01ef3a0d246e0ddc31418aba8
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Revert "[topology-hiding] fix detection of the UAC requests"

This reverts commit 62d0edb18838d10c38abb30834fa4e958fdc8128.




From noreply at github.com  Wed Dec 15 08:04:39 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 15 Dec 2021 00:04:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 02c6ed: Solve the problem of
 recognizing the local SIP msg
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/4a96ef-02c6ed@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 02c6ed9eaa3751623f19ed160dc802e11862df3d
      https://github.com/OpenSIPS/opensips/commit/02c6ed9eaa3751623f19ed160dc802e11862df3d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M modules/tm/t_msgbuilder.h
    M modules/topology_hiding/topo_hiding_logic.c
    M parser/msg_parser.h

  Log Message:
  -----------
  Solve the problem of recognizing the local SIP msg

We need a consistent and solid way to recognize the internanlly generated SIP msg (as a result of t_uac) - these are msg structs resulted from the parsing of buffers with SIP msgs




From noreply at github.com  Wed Dec 15 08:06:39 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 15 Dec 2021 00:06:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f32089: Solve the problem of
 recognizing the local SIP msg
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/d60a7b-f32089@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f32089b8c4bdbc4391c9db9b6c827b4013798854
      https://github.com/OpenSIPS/opensips/commit/f32089b8c4bdbc4391c9db9b6c827b4013798854
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M modules/tm/t_msgbuilder.h
    M modules/topology_hiding/topo_hiding_logic.c
    M parser/msg_parser.h

  Log Message:
  -----------
  Solve the problem of recognizing the local SIP msg

We need a consistent and solid way to recognize the internanlly generated SIP msg (as a result of t_uac) - these are msg structs resulted from the parsing of buffers with SIP msgs

(cherry picked from commit 02c6ed9eaa3751623f19ed160dc802e11862df3d)




From noreply at github.com  Wed Dec 15 08:07:00 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 15 Dec 2021 00:07:00 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5732f6: Solve the problem of
 recognizing the local SIP msg
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/68988b-5732f6@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5732f6b639735016fba28a88fb195aea79df575f
      https://github.com/OpenSIPS/opensips/commit/5732f6b639735016fba28a88fb195aea79df575f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M modules/tm/t_msgbuilder.h
    M modules/topology_hiding/topo_hiding_logic.c
    M parser/msg_parser.h

  Log Message:
  -----------
  Solve the problem of recognizing the local SIP msg

We need a consistent and solid way to recognize the internanlly generated SIP msg (as a result of t_uac) - these are msg structs resulted from the parsing of buffers with SIP msgs

(cherry picked from commit 02c6ed9eaa3751623f19ed160dc802e11862df3d)




From noreply at github.com  Thu Dec 16 13:58:44 2021
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Thu, 16 Dec 2021 05:58:44 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d61b9: siprec: rename
	`media_ip` flag to `media`
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/02c6ed-9d61b9@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d61b9f0b4e0d077a8e68191eab22f1ecb53716b
      https://github.com/OpenSIPS/opensips/commit/9d61b9f0b4e0d077a8e68191eab22f1ecb53716b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M modules/siprec/doc/siprec_admin.xml
    M modules/siprec/siprec_body.c
    M modules/siprec/siprec_sess.c
    M modules/siprec/siprec_sess.h
    M modules/siprec/siprec_var.c

  Log Message:
  -----------
  siprec: rename `media_ip` flag to `media`

Although this old flag is deprecated, it will still be accepted to
preserve backwards-compatibility, but it shall no longer be used.




From noreply at github.com  Sat Dec 18 21:51:19 2021
From: noreply at github.com (opensips-github)
Date: Sat, 18 Dec 2021 13:51:19 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d5645d: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/5732f6-d5645d@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d5645d512de9535a77c2db13f9079e698b38f2a2
      https://github.com/OpenSIPS/opensips/commit/d5645d512de9535a77c2db13f9079e698b38f2a2
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-18 (Sat, 18 Dec 2021)

  Changed paths:
    M modules/tm/README
    M modules/tm/doc/contributors.xml
    M modules/topology_hiding/README
    M modules/topology_hiding/doc/contributors.xml

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




From noreply at github.com  Sat Dec 18 22:21:02 2021
From: noreply at github.com (opensips-github)
Date: Sat, 18 Dec 2021 14:21:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ddad4: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9d61b9-5ddad4@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5ddad416e3da00249e6453f8115fd9b2e369a9e9
      https://github.com/OpenSIPS/opensips/commit/5ddad416e3da00249e6453f8115fd9b2e369a9e9
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-19 (Sun, 19 Dec 2021)

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

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




From noreply at github.com  Mon Dec 20 10:57:28 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 02:57:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c972fe: fraud_detection:
 Properly initialize self-built tm...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/5ddad4-c972fe@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c972fe15b11265efb3b2e0e8e2d8a299c9d8930d
      https://github.com/OpenSIPS/opensips/commit/c972fe15b11265efb3b2e0e8e2d8a299c9d8930d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/fraud_detection/frd_load.c
    M time_rec.c
    M time_rec.h

  Log Message:
  -----------
  fraud_detection: Properly initialize self-built tmrec_t structs

Credits to Adrian Fretwell for reporting this issue!

Fixes #2712




From noreply at github.com  Mon Dec 20 10:58:41 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 02:58:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ffe3b6: aaa_diameter: Fix
 missing lock_release() on error ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/c972fe-ffe3b6@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ffe3b6f34944c75df251c849e1795ba644db5fdf
      https://github.com/OpenSIPS/opensips/commit/ffe3b6f34944c75df251c849e1795ba644db5fdf
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/aaa_diameter/app_opensips/app_opensips.c

  Log Message:
  -----------
  aaa_diameter: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:04:41 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:04:41 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e5dd9: cachedb_local: Fix
 missing lock_release() on error...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ffe3b6-1e5dd9@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1e5dd94dbc3ecf9176e1bf88ec032b7773f2d57e
      https://github.com/OpenSIPS/opensips/commit/1e5dd94dbc3ecf9176e1bf88ec032b7773f2d57e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/cachedb_local/cachedb_local_replication.c

  Log Message:
  -----------
  cachedb_local: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:07:08 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:07:08 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 80eeb5: fraud_detection: Fix
 missing lock_release() on OOM...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/1e5dd9-80eeb5@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 80eeb52bd23ba6e76f48ca38e6cb31fa8eb09c14
      https://github.com/OpenSIPS/opensips/commit/80eeb52bd23ba6e76f48ca38e6cb31fa8eb09c14
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c

  Log Message:
  -----------
  fraud_detection: Fix missing lock_release() on OOM error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:09:26 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:09:26 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ea748: event_routing: Fix
 missing lock_release() on error...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/80eeb5-6ea748@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6ea748c768fe9f77c97840cc0f1fc76950f076d3
      https://github.com/OpenSIPS/opensips/commit/6ea748c768fe9f77c97840cc0f1fc76950f076d3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  event_routing: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:15:51 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:15:51 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3db06b: event_flatstore: Fix
 missing lock_release() on OOM
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/6ea748-3db06b@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3db06b98263a4700720c78cd69fec642d6314d79
      https://github.com/OpenSIPS/opensips/commit/3db06b98263a4700720c78cd69fec642d6314d79
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: Fix missing lock_release() on OOM

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:19:28 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:19:28 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e958b0: event_virtual: Fix
 several missing lock_release() ops
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/3db06b-e958b0@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e958b02a50bc9bbf5acd5aa793dbadaff34bf537
      https://github.com/OpenSIPS/opensips/commit/e958b02a50bc9bbf5acd5aa793dbadaff34bf537
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_virtual/event_virtual.c

  Log Message:
  -----------
  event_virtual: Fix several missing lock_release() ops

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 11:23:07 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 03:23:07 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0ab96: qrouting: Fix missing
 lock_release() on error case
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/e958b0-f0ab96@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f0ab96eb6b08868ec0ec8571a4164378b73ba30b
      https://github.com/OpenSIPS/opensips/commit/f0ab96eb6b08868ec0ec8571a4164378b73ba30b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/qrouting/qr_acc.c

  Log Message:
  -----------
  qrouting: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Mon Dec 20 12:26:21 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 04:26:21 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d2a8d: aaa_diameter: Fix
 missing lock_release() on error ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/f32089-290c3e@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7d2a8de57000d30038bfd31a5eacf54c637f4f72
      https://github.com/OpenSIPS/opensips/commit/7d2a8de57000d30038bfd31a5eacf54c637f4f72
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/aaa_diameter/app_opensips/app_opensips.c

  Log Message:
  -----------
  aaa_diameter: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714

(cherry picked from commit ffe3b6f34944c75df251c849e1795ba644db5fdf)


  Commit: 7be75cdb687b288a0bde113134670c4138c59eb0
      https://github.com/OpenSIPS/opensips/commit/7be75cdb687b288a0bde113134670c4138c59eb0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/cachedb_local/cachedb_local_replication.c

  Log Message:
  -----------
  cachedb_local: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714

(cherry picked from commit 1e5dd94dbc3ecf9176e1bf88ec032b7773f2d57e)


  Commit: 3438cc2ff3d782f3b1c34694ae2a79e1e28bdb0e
      https://github.com/OpenSIPS/opensips/commit/3438cc2ff3d782f3b1c34694ae2a79e1e28bdb0e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/fraud_detection/fraud_detection.c

  Log Message:
  -----------
  fraud_detection: Fix missing lock_release() on OOM error case

Credits to @ryancaicse for the report in #2714

(cherry picked from commit 80eeb52bd23ba6e76f48ca38e6cb31fa8eb09c14)


  Commit: 98bd485863dd8427c3d4dacc331795f4ec4bdc18
      https://github.com/OpenSIPS/opensips/commit/98bd485863dd8427c3d4dacc331795f4ec4bdc18
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_routing/ebr_data.c

  Log Message:
  -----------
  event_routing: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714

(cherry picked from commit 6ea748c768fe9f77c97840cc0f1fc76950f076d3)


  Commit: 6fba783f0fbb6cca99cb38e615ab5f20162506b0
      https://github.com/OpenSIPS/opensips/commit/6fba783f0fbb6cca99cb38e615ab5f20162506b0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_flatstore/event_flatstore.c

  Log Message:
  -----------
  event_flatstore: Fix missing lock_release() on OOM

Credits to @ryancaicse for the report in #2714

(cherry picked from commit 3db06b98263a4700720c78cd69fec642d6314d79)


  Commit: 0b8bf0eb679c8997a7d0815d49be5c4950dc2f95
      https://github.com/OpenSIPS/opensips/commit/0b8bf0eb679c8997a7d0815d49be5c4950dc2f95
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/event_virtual/event_virtual.c

  Log Message:
  -----------
  event_virtual: Fix several missing lock_release() ops

Credits to @ryancaicse for the report in #2714

(cherry picked from commit e958b02a50bc9bbf5acd5aa793dbadaff34bf537)


  Commit: 290c3e613272fbc4729a73bb8a21439abacc4455
      https://github.com/OpenSIPS/opensips/commit/290c3e613272fbc4729a73bb8a21439abacc4455
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/qrouting/qr_acc.c

  Log Message:
  -----------
  qrouting: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714

(cherry picked from commit f0ab96eb6b08868ec0ec8571a4164378b73ba30b)


Compare: https://github.com/OpenSIPS/opensips/compare/f32089b8c4bd...290c3e613272


From noreply at github.com  Mon Dec 20 12:26:30 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 04:26:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a77fe0: fraud_detection:
 Properly initialize self-built tm...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/290c3e-a77fe0@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a77fe018c20d601facf40c85789088ba01de946e
      https://github.com/OpenSIPS/opensips/commit/a77fe018c20d601facf40c85789088ba01de946e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M modules/fraud_detection/frd_load.c
    M time_rec.c
    M time_rec.h

  Log Message:
  -----------
  fraud_detection: Properly initialize self-built tmrec_t structs

Credits to Adrian Fretwell for reporting this issue!

Fixes #2712

(cherry picked from commit c972fe15b11265efb3b2e0e8e2d8a299c9d8930d)




From noreply at github.com  Mon Dec 20 12:29:25 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 04:29:25 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb1e77: time_rec.h: Use a
 global constant for uninitialize...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/f0ab96-fb1e77@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fb1e770a7075e8c5f091bb9d91bd88644fc5fcd9
      https://github.com/OpenSIPS/opensips/commit/fb1e770a7075e8c5f091bb9d91bd88644fc5fcd9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M time_rec.c
    M time_rec.h

  Log Message:
  -----------
  time_rec.h: Use a global constant for uninitialized timestamps




From noreply at github.com  Mon Dec 20 12:29:55 2021
From: noreply at github.com (Liviu Chircu)
Date: Mon, 20 Dec 2021 04:29:55 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20f59a: time_rec.h: Use a
 global constant for uninitialize...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/a77fe0-20f59a@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 20f59af702f07acfd4264f11ee36cebb17b9ee39
      https://github.com/OpenSIPS/opensips/commit/20f59af702f07acfd4264f11ee36cebb17b9ee39
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-20 (Mon, 20 Dec 2021)

  Changed paths:
    M time_rec.c
    M time_rec.h

  Log Message:
  -----------
  time_rec.h: Use a global constant for uninitialized timestamps

(cherry picked from commit fb1e770a7075e8c5f091bb9d91bd88644fc5fcd9)




From noreply at github.com  Tue Dec 21 13:43:02 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 05:43:02 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb1fcc: $route variable: Add
 support for script "callback ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/fb1e77-bb1fcc@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bb1fcc27e279e3021537d197e97bee900fbbae37
      https://github.com/OpenSIPS/opensips/commit/bb1fcc27e279e3021537d197e97bee900fbbae37
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M action.c
    M action.h
    M pvar.c
    M route.c

  Log Message:
  -----------
  $route variable: Add support for script "callback routes"

The idea of "callback routes" was missed during the development of
$route, with this feature having been first introduced in 3.1.

Conceptually, a "callback route" is a contextless route that may be
invoked in a nested fashion, during the processing of a SIP message in
any of the routes.

For example, on a SIP BYE:
    1. route
	1.1 loose_route() (this triggers the "callback route",
	    e.g. see dlg_on_hangup())
	1.2 route "dlg_on_hangup" is run, contextless!
    2. script processing continues! <--- here, $route output was broken

This patch fixes the issue, by adding recursion detection into the
run_top_route() function, such that the $route variable works as
expected regardless of how many (nested) times it is called.

Many thanks to Ben Newlin for catching this issue, as well as providing
a detailed report!

Fixes #2681




From noreply at github.com  Tue Dec 21 14:05:38 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 06:05:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 29ee93: Enable opensips.cfg
 asserts by default in DEV builds
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/bb1fcc-29ee93@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 29ee932e93eb9da324ca166c6023803924117561
      https://github.com/OpenSIPS/opensips/commit/29ee932e93eb9da324ca166c6023803924117561
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M globals.c

  Log Message:
  -----------
  Enable opensips.cfg asserts by default in DEV builds




From noreply at github.com  Tue Dec 21 14:19:34 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 06:19:34 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e2e81: Complete commit
	bb1fcc27e2
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/29ee93-9e2e81@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9e2e817253f35de2718f91d26c2dcf5f59faf182
      https://github.com/OpenSIPS/opensips/commit/9e2e817253f35de2718f91d26c2dcf5f59faf182
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Complete commit bb1fcc27e2




From noreply at github.com  Tue Dec 21 14:20:22 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 06:20:22 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae9d2e: $route variable: Add
 support for script "callback ...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/20f59a-ae9d2e@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ae9d2e2d99922bbf5cdaed1842056e55d6e8f711
      https://github.com/OpenSIPS/opensips/commit/ae9d2e2d99922bbf5cdaed1842056e55d6e8f711
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M action.c
    M action.h
    M pvar.c
    M route.c

  Log Message:
  -----------
  $route variable: Add support for script "callback routes"

The idea of "callback routes" was missed during the development of
$route, with this feature having been first introduced in 3.1.

Conceptually, a "callback route" is a contextless route that may be
invoked in a nested fashion, during the processing of a SIP message in
any of the routes.

For example, on a SIP BYE:
    1. route
	1.1 loose_route() (this triggers the "callback route",
	    e.g. see dlg_on_hangup())
	1.2 route "dlg_on_hangup" is run, contextless!
    2. script processing continues! <--- here, $route output was broken

This patch fixes the issue, by adding recursion detection into the
run_top_route() function, such that the $route variable works as
expected regardless of how many (nested) times it is called.

Many thanks to Ben Newlin for catching this issue, as well as providing
a detailed report!

Fixes #2681

(cherry picked from commit bb1fcc27e279e3021537d197e97bee900fbbae37)




From noreply at github.com  Tue Dec 21 16:44:23 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 21 Dec 2021 08:44:23 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 452d01: b2b_logic: properly
 restore b2b sessions from data...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/9e2e81-452d01@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 452d01dbe8338b53970720cd779678ca31ae9563
      https://github.com/OpenSIPS/opensips/commit/452d01dbe8338b53970720cd779678ca31ae9563
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c

  Log Message:
  -----------
  b2b_logic: properly restore b2b sessions from database

When continuing a b2b session loaded from database, the dedicated
b2b_logic routes would no longer be run for the received request/replies.
Also, fix the detection of the current entity when using the
$b2b_logic.entity variable.




From noreply at github.com  Tue Dec 21 16:44:57 2021
From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=)
Date: Tue, 21 Dec 2021 08:44:57 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16da70: b2b_logic: properly
 restore b2b sessions from data...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/ae9d2e-16da70@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 16da70cbb2db55777efcb0220b5e64719fe16251
      https://github.com/OpenSIPS/opensips/commit/16da70cbb2db55777efcb0220b5e64719fe16251
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M modules/b2b_logic/b2b_logic.c

  Log Message:
  -----------
  b2b_logic: properly restore b2b sessions from database

When continuing a b2b session loaded from database, the dedicated
b2b_logic routes would no longer be run for the received request/replies.
Also, fix the detection of the current entity when using the
$b2b_logic.entity variable.

(cherry picked from commit 452d01dbe8338b53970720cd779678ca31ae9563)




From noreply at github.com  Tue Dec 21 17:00:30 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 09:00:30 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ed4828: httpd: Document
 libmicrohttpd regression between v...
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/452d01-ed4828@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed48286c9bab2cd5eb4a4d5c180859d8d0ee275e
      https://github.com/OpenSIPS/opensips/commit/ed48286c9bab2cd5eb4a4d5c180859d8d0ee275e
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M modules/httpd/doc/httpd_admin.xml

  Log Message:
  -----------
  httpd: Document libmicrohttpd regression between v0.9.53 - v0.9.71




From noreply at github.com  Tue Dec 21 17:01:39 2021
From: noreply at github.com (Liviu Chircu)
Date: Tue, 21 Dec 2021 09:01:39 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 18bb9f: httpd: Document
 libmicrohttpd regression between v...
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/16da70-18bb9f@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 18bb9f607038d67f7cea055f1535c7aaf9fd3df6
      https://github.com/OpenSIPS/opensips/commit/18bb9f607038d67f7cea055f1535c7aaf9fd3df6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M modules/httpd/doc/httpd_admin.xml

  Log Message:
  -----------
  httpd: Document libmicrohttpd regression between v0.9.53 - v0.9.71

(cherry picked from commit ed48286c9bab2cd5eb4a4d5c180859d8d0ee275e)




From noreply at github.com  Wed Dec 22 10:11:03 2021
From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=)
Date: Wed, 22 Dec 2021 02:11:03 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2283f3: tracer: fix cases when
 `trace` was called twice
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/ed4828-2283f3@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2283f31215e30beed56aea4df613fb5e04a7d800
      https://github.com/OpenSIPS/opensips/commit/2283f31215e30beed56aea4df613fb5e04a7d800
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

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

  Log Message:
  -----------
  tracer: fix cases when `trace` was called twice

Reported by Ovidiu Sas and Giovanni Maruzzelli in #2531




From noreply at github.com  Wed Dec 22 13:16:36 2021
From: noreply at github.com (Liviu Chircu)
Date: Wed, 22 Dec 2021 05:16:36 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 64b1b8: presence: Fix missing
 lock_release() on error case
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/2283f3-64b1b8@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 64b1b84fc41cd817a2173e8427474bf723f3ef84
      https://github.com/OpenSIPS/opensips/commit/64b1b84fc41cd817a2173e8427474bf723f3ef84
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M modules/presence/notify.c

  Log Message:
  -----------
  presence: Fix missing lock_release() on error case

Credits to @ryancaicse for the report in #2714




From noreply at github.com  Wed Dec 22 13:24:55 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 22 Dec 2021 05:24:55 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 05212f: [auth_jwt] fix sql raw
 query
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/64b1b8-05212f@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 05212f01291fd939db42c6d16adbf25492a41348
      https://github.com/OpenSIPS/opensips/commit/05212f01291fd939db42c6d16adbf25492a41348
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M modules/auth_jwt/authorize.c

  Log Message:
  -----------
  [auth_jwt] fix sql raw query

Use simple quoting for values and avoid mysql specific time functions - better push the unix timestamp values from opensips side.

Reported by Jonathan Hunter via user's mailing list




From noreply at github.com  Wed Dec 22 13:25:38 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 22 Dec 2021 05:25:38 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ca87a6: [auth_jwt] fix sql raw
 query
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.2/18bb9f-ca87a6@github.com>

  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ca87a6e1d36e4c111ec1e8ef8e8c39a8cf96057a
      https://github.com/OpenSIPS/opensips/commit/ca87a6e1d36e4c111ec1e8ef8e8c39a8cf96057a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M modules/auth_jwt/authorize.c

  Log Message:
  -----------
  [auth_jwt] fix sql raw query

Use simple quoting for values and avoid mysql specific time functions - better push the unix timestamp values from opensips side.

Reported by Jonathan Hunter via user's mailing list

(cherry picked from commit 05212f01291fd939db42c6d16adbf25492a41348)




From noreply at github.com  Wed Dec 22 13:26:06 2021
From: noreply at github.com (Bogdan Andrei IANCU)
Date: Wed, 22 Dec 2021 05:26:06 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c3e46d: [auth_jwt] fix sql raw
 query
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/d5645d-c3e46d@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c3e46d4da42e3cc39a3cee56e32d9674cd13c9d1
      https://github.com/OpenSIPS/opensips/commit/c3e46d4da42e3cc39a3cee56e32d9674cd13c9d1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M modules/auth_jwt/authorize.c

  Log Message:
  -----------
  [auth_jwt] fix sql raw query

Use simple quoting for values and avoid mysql specific time functions - better push the unix timestamp values from opensips side.

Reported by Jonathan Hunter via user's mailing list

(cherry picked from commit 05212f01291fd939db42c6d16adbf25492a41348)




From razvan at opensips.org  Thu Dec 23 14:58:41 2021
From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=)
Date: Thu, 23 Dec 2021 16:58:41 +0200
Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 3.1.7 and 3.2.4 minor
	releases
In-Reply-To: <e7a1523f-3796-057a-4552-b299f860c3c3@opensips.org>
References: <e7a1523f-3796-057a-4552-b299f860c3c3@opensips.org>
Message-ID: <6c82d50a-7567-b20a-ec81-87243405cb45@opensips.org>

Hello, all!

As promissed, OpenSIPS 3.1.7 and 3.2.4 minor releases are out. Check out 
their change logs here[1][2].

[1] https://opensips.org/pub/opensips/3.1.7/ChangeLog
[2] https://opensips.org/pub/opensips/3.2.4/ChangeLog

Happy hacking!

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

On 12/8/21 13:04, Răzvan Crainea wrote:
> Hello, everyone!
> 
> In two weeks starting from today, on Wednesday, 22nd of December 2021, 
> we will be releasing two new minor versions of OpenSIPS: 3.17 and 3.2.4.
> These new versions will be fully backwards compatible and will consist 
> only of bug fixes.
> Throughout these two weeks we will put a freeze on commits, just so you 
> guys can test as much as possible until the release comes out. Please do 
> test and let us know of any problems you are facing.
> 
> Best regards,


From bogdan at opensips.org  Thu Dec 23 15:29:11 2021
From: bogdan at opensips.org (Bogdan-Andrei Iancu)
Date: Thu, 23 Dec 2021 17:29:11 +0200
Subject: [OpenSIPS-Devel] Introducing OpenSIPS 3.3
Message-ID: <6d52d195-2d34-1a0b-68c9-1957dd67bfa4@opensips.org>

Dear OpenSIPS'ers,

We got to that time of year when we start backing a new OpenSIPS major 
version. An new year, a new version, a new topic to be addressed. So let 
me introduce you to the upcoming OpenSIPS 3.3 .

For the upcoming OpenSIPS 3.3 release the main focus is on the */instant 
messaging /*topic, from the Unified Communication and IMS perspectives. 
Shortly said, this mainly (not limited) translates into:

  * MSRP support (relaying and translation to MESSAGE)
  * OmniChannel Queue (or Contact Center)
  * RCS support
  * IM group chatting support (MSRP and MESSAGE)

For the full list with technical description and details, visit :

https://www.opensips.org/Development/Opensips-3-3-Planning


*IMPORTANT*

As community is important to us and we want to align the OpenSIPS 
roadmap with the needs of our users, be part of the shaping and decision 
making for the OpenSIPS 3.3 Dev Plan via this *Feature Survey 
<https://bit.ly/3ySMu7q>* - any feedback is important and it matters to us.


Best regards and enjoy the winter holidays!!

-- 
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

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

From noreply at github.com  Sat Dec 25 21:51:42 2021
From: noreply at github.com (opensips-github)
Date: Sat, 25 Dec 2021 13:51:42 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8e3045: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/3.1/c4122c-8e3045@github.com>

  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8e30459478c7e7fb7a0ea2f3515cf9d98ce48961
      https://github.com/OpenSIPS/opensips/commit/8e30459478c7e7fb7a0ea2f3515cf9d98ce48961
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-25 (Sat, 25 Dec 2021)

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

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




From noreply at github.com  Sat Dec 25 22:21:09 2021
From: noreply at github.com (opensips-github)
Date: Sat, 25 Dec 2021 14:21:09 -0800
Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9c85ef: Rebuild documentation
Message-ID: <OpenSIPS/opensips/push/refs/heads/master/a8509e-9c85ef@github.com>

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c85ef78b02f70de1242816f45f981bbcbe02247
      https://github.com/OpenSIPS/opensips/commit/9c85ef78b02f70de1242816f45f981bbcbe02247
  Author: OpenSIPS <github at opensips.org>
  Date:   2021-12-26 (Sun, 26 Dec 2021)

  Changed paths:
    M modules/aaa_diameter/README
    M modules/aaa_diameter/doc/contributors.xml
    M modules/auth_jwt/README
    M modules/auth_jwt/doc/contributors.xml
    M modules/b2b_logic/README
    M modules/b2b_logic/doc/contributors.xml
    M modules/cachedb_local/README
    M modules/cachedb_local/doc/contributors.xml
    M modules/clusterer/README
    M modules/clusterer/doc/contributors.xml
    M modules/db_text/README
    M modules/db_text/doc/contributors.xml
    M modules/event_flatstore/README
    M modules/event_flatstore/doc/contributors.xml
    M modules/event_routing/README
    M modules/event_routing/doc/contributors.xml
    M modules/event_virtual/README
    M modules/event_virtual/doc/contributors.xml
    M modules/fraud_detection/README
    M modules/fraud_detection/doc/contributors.xml
    M modules/httpd/README
    M modules/httpd/doc/contributors.xml
    M modules/presence/README
    M modules/presence/doc/contributors.xml
    M modules/qrouting/README
    M modules/qrouting/doc/contributors.xml
    M modules/tls_wolfssl/README
    M modules/tls_wolfssl/doc/contributors.xml
    M modules/tracer/README
    M modules/tracer/doc/contributors.xml

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




