From noreply at github.com Mon Jan 4 11:08:00 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 04 Jan 2021 03:08:00 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8cd0e: export _ISOC11_SOURCE to see static_assert macro Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a8cd0ed61868d6115e40e498ae3b1224ec7472b7 https://github.com/OpenSIPS/opensips/commit/a8cd0ed61868d6115e40e498ae3b1224ec7472b7 Author: Razvan Crainea Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M serialize.c Log Message: ----------- export _ISOC11_SOURCE to see static_assert macro From noreply at github.com Mon Jan 4 16:33:44 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 04 Jan 2021 08:33:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65bdd6: tm/async: Handle ASYNC_DONE_CLOSE_FD when switchin... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 65bdd61ca8d7f50507a4fc0bc016e05b92848f1a https://github.com/OpenSIPS/opensips/commit/65bdd61ca8d7f50507a4fc0bc016e05b92848f1a Author: Peter Lemenkov Date: 2020-11-23 (Mon, 23 Nov 2020) Changed paths: M modules/tm/async.c Log Message: ----------- tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync One more place where we have to close file descriptor according to the specification while doing async packet processing. Signed-off-by: Peter Lemenkov Commit: 5b3052f5f52ce6d67690e3d69f5819e9fa916546 https://github.com/OpenSIPS/opensips/commit/5b3052f5f52ce6d67690e3d69f5819e9fa916546 Author: Bogdan Andrei IANCU Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- Merge pull request #2319 from lemenkov/tm_respect_async_close_fd tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync Compare: https://github.com/OpenSIPS/opensips/compare/a8cd0ed61868...5b3052f5f52c From noreply at github.com Mon Jan 4 16:36:41 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 04 Jan 2021 08:36:41 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a1275: Merge pull request #2319 from lemenkov/tm_respect_... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 7a127552b1fc7cc32e2eac35031d3cc8bb04e29d https://github.com/OpenSIPS/opensips/commit/7a127552b1fc7cc32e2eac35031d3cc8bb04e29d Author: Bogdan Andrei IANCU Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- Merge pull request #2319 from lemenkov/tm_respect_async_close_fd tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync (cherry picked from commit 5b3052f5f52ce6d67690e3d69f5819e9fa916546) From noreply at github.com Mon Jan 4 16:37:59 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 04 Jan 2021 08:37:59 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f4b811: Merge pull request #2319 from lemenkov/tm_respect_... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f4b8111d4fde970921f078cb3f4905ef4b8a0b8a https://github.com/OpenSIPS/opensips/commit/f4b8111d4fde970921f078cb3f4905ef4b8a0b8a Author: Bogdan Andrei IANCU Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- Merge pull request #2319 from lemenkov/tm_respect_async_close_fd tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync (cherry picked from commit 5b3052f5f52ce6d67690e3d69f5819e9fa916546) From noreply at github.com Tue Jan 5 09:03:34 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Jan 2021 01:03:34 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7c38d6: dialog: move "No matched dialogs" msg from LM_ERR ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7c38d6281d0915c87d0a802f960a62b6f2462853 https://github.com/OpenSIPS/opensips/commit/7c38d6281d0915c87d0a802f960a62b6f2462853 Author: sergei lavrov <7936874+ccppprogrammer at users.noreply.github.com> Date: 2020-12-31 (Thu, 31 Dec 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- dialog: move "No matched dialogs" msg from LM_ERR to LM_DBG Get rid of spam messages "No matched dialogs" in LM_ERR. We only need these messages in LM_DBG. Commit: 0ad1df3cc8fdcb7bd5472323d480d4814b20b086 https://github.com/OpenSIPS/opensips/commit/0ad1df3cc8fdcb7bd5472323d480d4814b20b086 Author: Bogdan Andrei IANCU Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Merge pull request #2358 from ccppprogrammer/patch-1 dialog: move "No matched dialogs" msg from LM_ERR to LM_DBG Compare: https://github.com/OpenSIPS/opensips/compare/5b3052f5f52c...0ad1df3cc8fd From noreply at github.com Tue Jan 5 09:06:12 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Jan 2021 01:06:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 06dd25: Merge pull request #2358 from ccppprogrammer/patch-1 Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 06dd25c5b2d23b3c14e2779fdee0e49274afc862 https://github.com/OpenSIPS/opensips/commit/06dd25c5b2d23b3c14e2779fdee0e49274afc862 Author: Bogdan Andrei IANCU Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Merge pull request #2358 from ccppprogrammer/patch-1 dialog: move "No matched dialogs" msg from LM_ERR to LM_DBG (cherry picked from commit 0ad1df3cc8fdcb7bd5472323d480d4814b20b086) From noreply at github.com Tue Jan 5 10:57:05 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 02:57:05 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ebbd9: dialog: Fix crash due to a "tmp SDP" race condition Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6ebbd9a2d68772ff840db8a38fcc7f2f786b527b https://github.com/OpenSIPS/opensips/commit/6ebbd9a2d68772ff840db8a38fcc7f2f786b527b Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.h Log Message: ----------- dialog: Fix crash due to a "tmp SDP" race condition This fixes a race condition on the following code which runs, e.g., on a 200 OK to a Re-INVITE (added in d447626c2531): if (dlg->legs[leg].tmp_out_sdp.s) { shm_free(dlg->legs[leg].tmp_out_sdp.s); dlg->legs[leg].tmp_out_sdp.s = 0; <--- we are here dlg->legs[leg].tmp_out_sdp.len = 0; } At this point, if the Re-INVITE is retransmitted and, e.g., dlg_callee_reinv_onreq_out() is run, the code may read a corrupt str value from "tmp_out_sdp" (e.g. {NULL, 172}), which will crash in shm_str_sync(). Many thanks to Ken Rice for the report! From noreply at github.com Tue Jan 5 10:58:23 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 02:58:23 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3ea933: Fix compilation warnings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3ea93397c47254275d593f48b3646262426a78a1 https://github.com/OpenSIPS/opensips/commit/3ea93397c47254275d593f48b3646262426a78a1 Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M parser/test/test_parse_authenticate_body.c M parser/test/test_parse_qop.c Log Message: ----------- Fix compilation warnings From noreply at github.com Tue Jan 5 11:08:12 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 03:08:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 599188: ut.h: Add some helpful comments Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 59918856b98bf85931ac36130c59a648f36c10e1 https://github.com/OpenSIPS/opensips/commit/59918856b98bf85931ac36130c59a648f36c10e1 Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M ut.h Log Message: ----------- ut.h: Add some helpful comments From bogdan at opensips.org Tue Jan 5 11:43:22 2021 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 5 Jan 2021 13:43:22 +0200 Subject: [OpenSIPS-Devel] Introducing OpenSIPS 3.2 In-Reply-To: <365e8246-7634-e81c-8ff5-b02aa7246215@opensips.org> References: <365e8246-7634-e81c-8ff5-b02aa7246215@opensips.org> Message-ID: <648bbc2a-d09b-33b2-f802-2df2774f05e0@opensips.org> A Happy New Year to you all !! Have you filled in the poll for OpenSIPS 3.2 planning ? Time is ticking and the deadline is getting closer, so do it now https://bit.ly/2WDmAlV. Keep in mind thatOpenSIPS is for the community, by the community. So your opinion matters! Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 2020 online https://opensips.org/training/OpenSIPS_eBootcamp_2020/ On 12/23/20 4:27 PM, Bogdan-Andrei Iancu wrote: > > > Well, let's spin the wheel again for a new cycle – one more year, one > more evolution cycle, one more OpenSIPS major release. Even more, a > new topic is to be addressed. So let me introduce you to the upcoming > OpenSIPS 3.2 . > > For the upcoming OpenSIPS 3.2 release the main focus is on the > */in-cloud integration and distribution /*topic. Shortly said, this > translates into: > > * distributed call center / queuing > * clustering support for modules > * Multi-level presence subscription > * RTP stream re-anchoring > * integration with Kafka, MQTT, Prometheus, ElasticSearch > * AWS support - DynamoDB, SSM, SQS, SNS > * script driven Back-2-Back > > For the full list with technical description and details, visit : > > https://www.opensips.org/Development/Opensips-3-2-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.2 Dev Plan via this *Feature Survey > * - 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 Bootcamp 2020 online > https://opensips.org/training/OpenSIPS_eBootcamp_2020/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Tue Jan 5 16:48:28 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 08:48:28 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c82d07: sipmsg_validate(): Allow "(" and ")" in SIP URI us... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c82d074d359777197d119f314dc4892a7738a4ba https://github.com/OpenSIPS/opensips/commit/c82d074d359777197d119f314dc4892a7738a4ba Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- sipmsg_validate(): Allow "(" and ")" in SIP URI usernames According to RFC 3261: mark = "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")" ... so both parantheses are legal within URI usernames. From noreply at github.com Tue Jan 5 16:48:43 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 08:48:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b68c60: sipmsg_validate(): Allow "(" and ")" in SIP URI us... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: b68c604232e109abea47726334a3830e54c064e2 https://github.com/OpenSIPS/opensips/commit/b68c604232e109abea47726334a3830e54c064e2 Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- sipmsg_validate(): Allow "(" and ")" in SIP URI usernames According to RFC 3261: mark = "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")" ... so both parantheses are legal within URI usernames. (cherry picked from commit c82d074d359777197d119f314dc4892a7738a4ba) From noreply at github.com Tue Jan 5 18:02:25 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 10:02:25 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cbc092: sipmsg_validate(): Allow escape sequences in SIP U... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cbc0922bd45101d72a97eda01ef8725da60b2a8e https://github.com/OpenSIPS/opensips/commit/cbc0922bd45101d72a97eda01ef8725da60b2a8e Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c M ut.h Log Message: ----------- sipmsg_validate(): Allow escape sequences in SIP URI usernames This regression was introduced in 269ad7a3f0, where the R-URI, From and To header usernames were no longer accepting escape sequences, e.g. "%23". Many thanks to Nexphone for sponsoring this fix From noreply at github.com Tue Jan 5 18:02:41 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 05 Jan 2021 10:02:41 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] afd51f: sipmsg_validate(): Allow escape sequences in SIP U... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: afd51f756d98d764e7f7505792753195b530e7ad https://github.com/OpenSIPS/opensips/commit/afd51f756d98d764e7f7505792753195b530e7ad Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c M ut.h Log Message: ----------- sipmsg_validate(): Allow escape sequences in SIP URI usernames This regression was introduced in 269ad7a3f0, where the R-URI, From and To header usernames were no longer accepting escape sequences, e.g. "%23". Many thanks to Nexphone for sponsoring this fix (cherry picked from commit cbc0922bd45101d72a97eda01ef8725da60b2a8e) From noreply at github.com Wed Jan 6 13:24:40 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 05:24:40 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 308148: sql_cacher: prevent memory leak for keys not present Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3081483af2e3187db4e7275c77a6e055d4a81709 https://github.com/OpenSIPS/opensips/commit/3081483af2e3187db4e7275c77a6e055d4a81709 Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: prevent memory leak for keys not present From noreply at github.com Wed Jan 6 13:25:01 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 05:25:01 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c4d965: sql_cacher: prevent memory leak for keys not present Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c4d965d5b6482cd3c7201276a18cfcfd465ca662 https://github.com/OpenSIPS/opensips/commit/c4d965d5b6482cd3c7201276a18cfcfd465ca662 Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: prevent memory leak for keys not present (cherry picked from commit 3081483af2e3187db4e7275c77a6e055d4a81709) From noreply at github.com Wed Jan 6 13:25:17 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 05:25:17 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16c133: sql_cacher: prevent memory leak for keys not present Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 16c133f6431e0270f445bbc99df41352ed34c5ab https://github.com/OpenSIPS/opensips/commit/16c133f6431e0270f445bbc99df41352ed34c5ab Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: prevent memory leak for keys not present (cherry picked from commit 3081483af2e3187db4e7275c77a6e055d4a81709) From noreply at github.com Wed Jan 6 16:14:41 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 08:14:41 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b1ce11: dialog: load from DB call looping dialogs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b1ce111bccea8f584076312119e703c42116479b https://github.com/OpenSIPS/opensips/commit/b1ce111bccea8f584076312119e703c42116479b Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: load from DB call looping dialogs When loading a dialog from DB that has the same coordinates (same callid+to-tag+from-tag pair) with a different dialog in memory, we should not ignore it if it comes with a different `hash_id`, as it might be a completely different dialog, resulted from a call looping scenario (call that passes through the same OpenSIPS instance twice), which legitimately creates a new dialog with a new `hash_id`. Thanks go to @perwx3 (GitHub) for reporting it in ticket #2311. Complements commit b26d59e3. Fix #2311. From noreply at github.com Wed Jan 6 16:14:53 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 08:14:53 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 30fad6: dialog: load from DB call looping dialogs Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 30fad6821df00bad7dca5c7495037685575a4029 https://github.com/OpenSIPS/opensips/commit/30fad6821df00bad7dca5c7495037685575a4029 Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: load from DB call looping dialogs When loading a dialog from DB that has the same coordinates (same callid+to-tag+from-tag pair) with a different dialog in memory, we should not ignore it if it comes with a different `hash_id`, as it might be a completely different dialog, resulted from a call looping scenario (call that passes through the same OpenSIPS instance twice), which legitimately creates a new dialog with a new `hash_id`. Thanks go to @perwx3 (GitHub) for reporting it in ticket #2311. Complements commit b26d59e3. Fix #2311. (cherry picked from commit b1ce111bccea8f584076312119e703c42116479b) From noreply at github.com Wed Jan 6 16:15:08 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Jan 2021 08:15:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7f7d26: dialog: load from DB call looping dialogs Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7f7d262bed007f921eefa7754db44eaa1ad120b7 https://github.com/OpenSIPS/opensips/commit/7f7d262bed007f921eefa7754db44eaa1ad120b7 Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: load from DB call looping dialogs When loading a dialog from DB that has the same coordinates (same callid+to-tag+from-tag pair) with a different dialog in memory, we should not ignore it if it comes with a different `hash_id`, as it might be a completely different dialog, resulted from a call looping scenario (call that passes through the same OpenSIPS instance twice), which legitimately creates a new dialog with a new `hash_id`. Thanks go to @perwx3 (GitHub) for reporting it in ticket #2311. Complements commit b26d59e3. Fix #2311. (cherry picked from commit b1ce111bccea8f584076312119e703c42116479b) From noreply at github.com Thu Jan 7 08:46:04 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Jan 2021 00:46:04 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 396a0f: Fix lgtm errors and warnings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 396a0fa92780c92158389f5cffa52c5231ddd5ee https://github.com/OpenSIPS/opensips/commit/396a0fa92780c92158389f5cffa52c5231ddd5ee Author: Razvan Crainea Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M lib/cJSON.h M modules/b2b_entities/dlg.c M modules/b2b_logic/logic.c M modules/b2b_logic_xml/b2b_logic.c M modules/b2b_logic_xml/b2bl_db.c M modules/b2b_logic_xml/logic.c M modules/carrierroute/route_config.c M modules/db_http/http_dbase.c M modules/db_mysql/db_mysql.h M modules/db_mysql/my_con.h M modules/db_sqlite/my_con.h M modules/db_unixodbc/db_con.h M modules/db_unixodbc/db_unixodbc.h M modules/db_virtual/db_virtual.h M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_hash.c M modules/dispatcher/dispatch.c M modules/identity/identity.c M modules/lua/sipluafunc.c M modules/lua/sipmysql.c M modules/msilo/msfuncs.c M modules/osp/timeapi.c M modules/pua/pua.h M modules/sipcapture/sipcapture.c M modules/sipmsgops/sipmsgops.c M modules/siprec/siprec_sess.c M modules/stir_shaken/stir_shaken.c Log Message: ----------- Fix lgtm errors and warnings From noreply at github.com Thu Jan 7 08:59:38 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Jan 2021 00:59:38 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d329e0: freeswitch: esl: use OpenSIPS's cJSON implementati... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d329e00f69bf8936792b74af173ae1dc37ac95fe https://github.com/OpenSIPS/opensips/commit/d329e00f69bf8936792b74af173ae1dc37ac95fe Author: Razvan Crainea Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/freeswitch/esl/src/include/esl_json.h Log Message: ----------- freeswitch: esl: use OpenSIPS's cJSON implementation if available From noreply at github.com Thu Jan 7 11:33:44 2021 From: noreply at github.com (Liviu Chircu) Date: Thu, 07 Jan 2021 03:33:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2e17eb: Improve doc & code quality; Fix typos & inaccuracies Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2e17eb063cb1a6b4f84436329418b0a6ebed42e9 https://github.com/OpenSIPS/opensips/commit/2e17eb063cb1a6b4f84436329418b0a6ebed42e9 Author: Liviu Chircu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M doc/build-contrib.sh M lib/reg/doc/pn_async_func.xml M lib/reg/doc/pn_modparams.xml M lib/reg/doc/supported_rfc.xml M modules/auth/doc/auth_admin.xml M modules/cfgutils/test/cfgutils.c M modules/fraud_detection/doc/fraud_detection_admin.xml M modules/fraud_detection/fraud_detection.c M modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml M modules/gflags/doc/gflags_admin.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/qrouting/doc/qrouting_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/rr/record.c M modules/usrloc/kv_store.c M pvar.c Log Message: ----------- Improve doc & code quality; Fix typos & inaccuracies From bogdan at opensips.org Thu Jan 7 11:47:50 2021 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 7 Jan 2021 13:47:50 +0200 Subject: [OpenSIPS-Devel] [Feature] Script driven B2B with OpenSIPS 3.2 Message-ID: <42087cd3-0cb0-955e-3d10-e71908ccda74@opensips.org> Hi all, The work on 3.2 is already ongoing, and one by one, the new features will emerge. One of the first (actually a continuation from 3.1) is the script driven B2B - shortly said, instead of using the nasty and intricate XML scripts to drive the B2B logic, you can now directly use the OpenSIPS routing script for that. Simpler and more powerful. For more, see https://blog.opensips.org/2021/01/06/the-script-driven-sip-b2bua/ Enjoy it, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Thu Jan 7 16:26:22 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Jan 2021 08:26:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 45b29f: [topology_hiding] consider NOTIFY as an in-dialog ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 45b29f93b420d1e18a32a9b05d9b304e8eb44f65 https://github.com/OpenSIPS/opensips/commit/45b29f93b420d1e18a32a9b05d9b304e8eb44f65 Author: Bogdan-Andrei Iancu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] consider NOTIFY as an in-dialog method When handing in-dialog requests, consider the NOTIFY requests as candidates for TH. Credits go to @nikbyte Fixes #1991 From noreply at github.com Thu Jan 7 16:26:49 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Jan 2021 08:26:49 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8151c: [topology_hiding] consider NOTIFY as an in-dialog ... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c8151cbf9f17537b711228f8afa9d5f58cb80f4b https://github.com/OpenSIPS/opensips/commit/c8151cbf9f17537b711228f8afa9d5f58cb80f4b Author: Bogdan-Andrei Iancu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] consider NOTIFY as an in-dialog method When handing in-dialog requests, consider the NOTIFY requests as candidates for TH. Credits go to @nikbyte Fixes #1991 (cherry picked from commit 45b29f93b420d1e18a32a9b05d9b304e8eb44f65) From noreply at github.com Thu Jan 7 16:27:19 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Jan 2021 08:27:19 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5f09af: [topology_hiding] consider NOTIFY as an in-dialog ... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 5f09af4e15548e2a78a9848ec723754bfe7a8a7a https://github.com/OpenSIPS/opensips/commit/5f09af4e15548e2a78a9848ec723754bfe7a8a7a Author: Bogdan-Andrei Iancu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] consider NOTIFY as an in-dialog method When handing in-dialog requests, consider the NOTIFY requests as candidates for TH. Credits go to @nikbyte Fixes #1991 (cherry picked from commit 45b29f93b420d1e18a32a9b05d9b304e8eb44f65) From noreply at github.com Thu Jan 7 20:11:48 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 07 Jan 2021 12:11:48 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 342e6c: bin_interface: fix crashes due to bad capability l... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 342e6c5da915ba082e5b70a897b6168237b154b3 https://github.com/OpenSIPS/opensips/commit/342e6c5da915ba082e5b70a897b6168237b154b3 Author: Vlad Patrascu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M bin_interface.c Log Message: ----------- bin_interface: fix crashes due to bad capability length From noreply at github.com Fri Jan 8 15:15:49 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 08 Jan 2021 07:15:49 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 647bb6: db_sqlite: fix memory overwrite error when realloc... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 647bb69d248b9fc3a6a0c53a5e9850abc62ee78b https://github.com/OpenSIPS/opensips/commit/647bb69d248b9fc3a6a0c53a5e9850abc62ee78b Author: Razvan Crainea Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/db_sqlite/res.c Log Message: ----------- db_sqlite: fix memory overwrite error when reallocing rows From noreply at github.com Fri Jan 8 15:16:03 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 08 Jan 2021 07:16:03 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7c0e2c: db_sqlite: fix memory overwrite error when realloc... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 7c0e2cb633324969a71c1bd1f07eb1c0611875c4 https://github.com/OpenSIPS/opensips/commit/7c0e2cb633324969a71c1bd1f07eb1c0611875c4 Author: Razvan Crainea Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/db_sqlite/res.c Log Message: ----------- db_sqlite: fix memory overwrite error when reallocing rows (cherry picked from commit 647bb69d248b9fc3a6a0c53a5e9850abc62ee78b) From noreply at github.com Fri Jan 8 15:16:34 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 08 Jan 2021 07:16:34 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 95304e: db_sqlite: fix memory overwrite error when realloc... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 95304e2fd50611b0e3581b6430e56cb797036141 https://github.com/OpenSIPS/opensips/commit/95304e2fd50611b0e3581b6430e56cb797036141 Author: Razvan Crainea Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/db_sqlite/res.c Log Message: ----------- db_sqlite: fix memory overwrite error when reallocing rows (cherry picked from commit 647bb69d248b9fc3a6a0c53a5e9850abc62ee78b) From noreply at github.com Fri Jan 8 15:42:51 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Jan 2021 07:42:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 78909c: [topology_hiding] fix vulnerability in TH decoding Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 78909c344fe4c25718233e6a00f6e2bd19373be3 https://github.com/OpenSIPS/opensips/commit/78909c344fe4c25718233e6a00f6e2bd19373be3 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix vulnerability in TH decoding Extra checks were added to prevent buffer overflow/underflow when decoding the TH information (in non-dialog module) extracted from the Contact hdr. This information may be subject to malicious changes from an external attacker. Credits for reporting and for the fix go to @wdoekes. The suggested fix was re-worked a bit, but the idea is the same. Fixes #2338 From noreply at github.com Fri Jan 8 15:57:27 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Jan 2021 07:57:27 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e9249: [topology_hiding] fix printing formater Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e9249da66b85434a54e6f1a523cd936d7e3e0be https://github.com/OpenSIPS/opensips/commit/0e9249da66b85434a54e6f1a523cd936d7e3e0be Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix printing formater From noreply at github.com Fri Jan 8 16:17:26 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Jan 2021 08:17:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3f3dc8: [cachedb_sql] fixed definition of the "cachedb" table Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3f3dc8a45d44eed76204c1ebc82e8ae6be03b335 https://github.com/OpenSIPS/opensips/commit/3f3dc8a45d44eed76204c1ebc82e8ae6be03b335 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/db_berkeley/opensips/cachedb M scripts/dbtext/opensips/cachedb M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/cachedb_sql-table M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [cachedb_sql] fixed definition of the "cachedb" table In postgres, the tables must have an auto-increment Fix for #2310 From noreply at github.com Fri Jan 8 16:17:50 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Jan 2021 08:17:50 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3f5803: [cachedb_sql] fixed definition of the "cachedb" table Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 3f58031efb18a995ac1b660abf295a47338b1b63 https://github.com/OpenSIPS/opensips/commit/3f58031efb18a995ac1b660abf295a47338b1b63 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/db_berkeley/opensips/cachedb M scripts/dbtext/opensips/cachedb M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/cachedb_sql-table M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [cachedb_sql] fixed definition of the "cachedb" table In postgres, the tables must have an auto-increment Fix for #2310 (cherry picked from commit 3f3dc8a45d44eed76204c1ebc82e8ae6be03b335) From noreply at github.com Fri Jan 8 16:18:06 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Jan 2021 08:18:06 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d38cb: [cachedb_sql] fixed definition of the "cachedb" table Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7d38cb85bc18e9831d7ef507383a9388d73578a6 https://github.com/OpenSIPS/opensips/commit/7d38cb85bc18e9831d7ef507383a9388d73578a6 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/db_berkeley/opensips/cachedb M scripts/dbtext/opensips/cachedb M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/cachedb_sql-table M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [cachedb_sql] fixed definition of the "cachedb" table In postgres, the tables must have an auto-increment Fix for #2310 (cherry picked from commit 3f3dc8a45d44eed76204c1ebc82e8ae6be03b335) From noreply at github.com Sat Jan 9 21:42:54 2021 From: noreply at github.com (opensips-github) Date: Sat, 09 Jan 2021 13:42:54 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c79961: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: c799614971614f822247144d0ffd0a5cb19e5fc1 https://github.com/OpenSIPS/opensips/commit/c799614971614f822247144d0ffd0a5cb19e5fc1 Author: OpenSIPS Date: 2021-01-09 (Sat, 09 Jan 2021) Changed paths: M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/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 Sat Jan 9 22:20:22 2021 From: noreply at github.com (opensips-github) Date: Sat, 09 Jan 2021 14:20:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4165f: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: d4165f09891bf4d9097863a66beae429435ce4c6 https://github.com/OpenSIPS/opensips/commit/d4165f09891bf4d9097863a66beae429435ce4c6 Author: OpenSIPS Date: 2021-01-09 (Sat, 09 Jan 2021) Changed paths: M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/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 Sat Jan 9 22:37:54 2021 From: noreply at github.com (opensips-github) Date: Sat, 09 Jan 2021 14:37:54 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 88a0f7: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 88a0f7d6607116553d7da8392deeecbfec8608d2 https://github.com/OpenSIPS/opensips/commit/88a0f7d6607116553d7da8392deeecbfec8608d2 Author: OpenSIPS Date: 2021-01-10 (Sun, 10 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/carrierroute/README M modules/carrierroute/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/db_http/README M modules/db_http/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/db_unixodbc/README M modules/db_unixodbc/doc/contributors.xml M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/freeswitch/README M modules/freeswitch/doc/contributors.xml M modules/freeswitch_scripting/README M modules/freeswitch_scripting/doc/contributors.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/lua/README M modules/lua/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/msilo/README M modules/msilo/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/pua/README M modules/pua/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rr/README M modules/rr/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/siprec/README M modules/siprec/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/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 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 bogdan at opensips.org Mon Jan 11 07:45:40 2021 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 11 Jan 2021 09:45:40 +0200 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] Introducing OpenSIPS 3.2 In-Reply-To: <648bbc2a-d09b-33b2-f802-2df2774f05e0@opensips.org> References: <365e8246-7634-e81c-8ff5-b02aa7246215@opensips.org> <648bbc2a-d09b-33b2-f802-2df2774f05e0@opensips.org> Message-ID: <91710567-35ac-0224-be65-d373e873b08c@opensips.org> Heads up, today is the last day for collecting your opinions on OpenSIPS 3.2 roadmap. https://bit.ly/2WDmAlV Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Bootcamp 2020 online https://opensips.org/training/OpenSIPS_eBootcamp_2020/ On 1/5/21 1:43 PM, Bogdan-Andrei Iancu wrote: > A Happy New Year to you all !! > > Have you filled in the poll for OpenSIPS 3.2 planning ? Time is > ticking and the deadline is getting closer, so do it now > https://bit.ly/2WDmAlV. > > Keep in mind thatOpenSIPS is for the community, by the community. So > your opinion matters! > > Best regards, > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Bootcamp 2020 online > https://opensips.org/training/OpenSIPS_eBootcamp_2020/ > On 12/23/20 4:27 PM, Bogdan-Andrei Iancu wrote: >> >> >> Well, let's spin the wheel again for a new cycle – one more year, one >> more evolution cycle, one more OpenSIPS major release. Even more, a >> new topic is to be addressed. So let me introduce you to the upcoming >> OpenSIPS 3.2 . >> >> For the upcoming OpenSIPS 3.2 release the main focus is on the >> */in-cloud integration and distribution /*topic. Shortly said, this >> translates into: >> >> * distributed call center / queuing >> * clustering support for modules >> * Multi-level presence subscription >> * RTP stream re-anchoring >> * integration with Kafka, MQTT, Prometheus, ElasticSearch >> * AWS support - DynamoDB, SSM, SQS, SNS >> * script driven Back-2-Back >> >> For the full list with technical description and details, visit : >> >> https://www.opensips.org/Development/Opensips-3-2-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.2 Dev Plan via this *Feature >> Survey * - 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 Bootcamp 2020 online >> https://opensips.org/training/OpenSIPS_eBootcamp_2020/ > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Mon Jan 11 10:39:52 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 11 Jan 2021 02:39:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9b0863: dialog: release cloned leg if failure Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9b0863e9cfc544ccfec2d4c4bfb7f7a51bdb3dd3 https://github.com/OpenSIPS/opensips/commit/9b0863e9cfc544ccfec2d4c4bfb7f7a51bdb3dd3 Author: Razvan Crainea Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: release cloned leg if failure From noreply at github.com Mon Jan 11 12:11:45 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 11 Jan 2021 04:11:45 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 85379e: db_mysql: Properly disable auto-reconnect Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 85379e5ebfc4568c4a44ef35475f52ac170d7143 https://github.com/OpenSIPS/opensips/commit/85379e5ebfc4568c4a44ef35475f52ac170d7143 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/db_mysql/my_con.c Log Message: ----------- db_mysql: Properly disable auto-reconnect According to https://dev.mysql.com/doc/c-api/8.0/en/mysql-options.html, mysql_options() MUST NOT be called after mysql_real_connect(). From noreply at github.com Mon Jan 11 12:30:43 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 11 Jan 2021 04:30:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 97c6bc: tm: Fix t_on_branch() PKG memory leak Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 97c6bc78a34ed7ff47ea993b8bf843f700428cc5 https://github.com/OpenSIPS/opensips/commit/97c6bc78a34ed7ff47ea993b8bf843f700428cc5 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: Fix t_on_branch() PKG memory leak Commit dddf9c253d introduced a regression because add_uac() is sensible to the addresses of the (str *) address provided. "Premature optimization is the root of all evil"... From noreply at github.com Mon Jan 11 12:37:38 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 11 Jan 2021 04:37:38 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9587cb: db_mysql: Properly disable auto-reconnect Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 9587cb90682c8213b48a5bdb54a1bd1257493bf6 https://github.com/OpenSIPS/opensips/commit/9587cb90682c8213b48a5bdb54a1bd1257493bf6 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/db_mysql/my_con.c Log Message: ----------- db_mysql: Properly disable auto-reconnect According to https://dev.mysql.com/doc/c-api/8.0/en/mysql-options.html, mysql_options() MUST NOT be called after mysql_real_connect(). (cherry picked from commit 85379e5ebfc4568c4a44ef35475f52ac170d7143) From noreply at github.com Mon Jan 11 12:37:49 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 11 Jan 2021 04:37:49 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c82a62: tm: Fix t_on_branch() PKG memory leak Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c82a625e9b8e6f657987df9a73a26b917548a8e1 https://github.com/OpenSIPS/opensips/commit/c82a625e9b8e6f657987df9a73a26b917548a8e1 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: Fix t_on_branch() PKG memory leak Commit dddf9c253d introduced a regression because add_uac() is sensible to the addresses of the (str *) address provided. "Premature optimization is the root of all evil"... (cherry picked from commit 97c6bc78a34ed7ff47ea993b8bf843f700428cc5) From noreply at github.com Mon Jan 11 12:45:13 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Jan 2021 04:45:13 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8743d: [drouting] set sort_profile column to default NULL Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c8743de27c926bb4f85d4969956d384d3d9b19c6 https://github.com/OpenSIPS/opensips/commit/c8743de27c926bb4f85d4969956d384d3d9b19c6 Author: Bogdan-Andrei Iancu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M db/schema/dr_rules.xml M scripts/db_berkeley/opensips/dr_rules M scripts/mysql/drouting-create.sql M scripts/oracle/drouting-create.sql M scripts/postgres/drouting-create.sql M scripts/sqlite/drouting-create.sql Log Message: ----------- [drouting] set sort_profile column to default NULL If Quality Routing module is not used (on top of Dynamic Routing), this column is not used, so we do not have to explicitly provision it. From noreply at github.com Mon Jan 11 12:45:43 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Jan 2021 04:45:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bbbff7: [drouting] set sort_profile column to default NULL Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: bbbff7eef6cc7710401573dabfb2db189be8e77a https://github.com/OpenSIPS/opensips/commit/bbbff7eef6cc7710401573dabfb2db189be8e77a Author: Bogdan-Andrei Iancu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M db/schema/dr_rules.xml M scripts/db_berkeley/opensips/dr_rules M scripts/mysql/drouting-create.sql M scripts/oracle/drouting-create.sql M scripts/postgres/drouting-create.sql M scripts/sqlite/drouting-create.sql Log Message: ----------- [drouting] set sort_profile column to default NULL If Quality Routing module is not used (on top of Dynamic Routing), this column is not used, so we do not have to explicitly provision it. (cherry picked from commit c8743de27c926bb4f85d4969956d384d3d9b19c6) From noreply at github.com Mon Jan 11 17:35:14 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 11 Jan 2021 09:35:14 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8959b9: rest_client: Add optional timeouts to all async fu... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8959b9f71c8f8133f05dac3a43ac1ef53a8c9150 https://github.com/OpenSIPS/opensips/commit/8959b9f71c8f8133f05dac3a43ac1ef53a8c9150 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h Log Message: ----------- rest_client: Add optional timeouts to all async functions Fixes #1838 From noreply at github.com Tue Jan 12 10:04:11 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 12 Jan 2021 02:04:11 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dcd46f: Add notification for GitHub Workflows Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dcd46ffb734b3d7fa5bda80a6b7163238e4bd72e https://github.com/OpenSIPS/opensips/commit/dcd46ffb734b3d7fa5bda80a6b7163238e4bd72e Author: Razvan Crainea Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- Add notification for GitHub Workflows From noreply at github.com Tue Jan 12 11:04:10 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 03:04:10 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1104a2: async(): Report an error when using timeouts incor... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1104a21d5a6d84b0dbf20164eabab558e1d3da32 https://github.com/OpenSIPS/opensips/commit/1104a21d5a6d84b0dbf20164eabab558e1d3da32 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- async(): Report an error when using timeouts incorrectly From noreply at github.com Tue Jan 12 11:04:40 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 03:04:40 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c87de: async(): Report an error when using timeouts incor... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 3c87de68b3c78281d9c58641708f583f3c0b889e https://github.com/OpenSIPS/opensips/commit/3c87de68b3c78281d9c58641708f583f3c0b889e Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- async(): Report an error when using timeouts incorrectly (cherry picked from commit 1104a21d5a6d84b0dbf20164eabab558e1d3da32) From bogdan at opensips.org Tue Jan 12 11:43:42 2021 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 12 Jan 2021 13:43:42 +0200 Subject: [OpenSIPS-Devel] OpenSIPS Control Panel 8.3.1 was released Message-ID: Hi all, I know many of you were really anxious, so here we have the release of OpenSIPS Control Panel 8.3.1, compatible with OpenSIPS 3.1 . So, at this point we have the full 3.1 suite in place . The OCP 8.3.1 has the same framework/engine as OCP 8.3.0 / 8.2.4, but it is aligned to the specifics of OpenSIPS 3.1 version: * the "Dynamic Routing" tool was update to fit to the DB changed (related to sort algorithms) * the "Call Center" tool was extended to cope with the new features related to dissuading and wrapup time * the "Load Balancer" tool got the new "Attribute" field * in the "CDRviewer" tool, the CDR filter was improved in terms of user-experience; also massive CDR exports are now supported. Where to check for more or to download it? http://controlpanel.opensips.org Download and enjoy it as it's freshly baked for you, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Tue Jan 12 14:52:22 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 06:52:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8880b5: Fix missing "\n" log line endings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8880b5f339c3f2e1c2c3d6cc6145ec3e165fa8ca https://github.com/OpenSIPS/opensips/commit/8880b5f339c3f2e1c2c3d6cc6145ec3e165fa8ca Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/callops/callops.c M modules/cfgutils/cfgutils.c M modules/mmgeoip/mmgeoip.c M modules/presence_dfks/presence_dfks.c M modules/proto_smpp/smpp.c M modules/qrouting/qr_stats.c M modules/stir_shaken/stir_shaken.c Log Message: ----------- Fix missing "\n" log line endings Credits to Nick Altmann for the hint! From noreply at github.com Tue Jan 12 14:52:55 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 06:52:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7e1c18: Fix missing "\n" log line endings Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 7e1c18961680e6408ecf57f302cc262a99cb1b6a https://github.com/OpenSIPS/opensips/commit/7e1c18961680e6408ecf57f302cc262a99cb1b6a Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/callops/callops.c M modules/cfgutils/cfgutils.c M modules/mmgeoip/mmgeoip.c M modules/presence_dfks/presence_dfks.c M modules/proto_smpp/smpp.c M modules/qrouting/qr_stats.c M modules/stir_shaken/stir_shaken.c Log Message: ----------- Fix missing "\n" log line endings Credits to Nick Altmann for the hint! (cherry picked from commit 8880b5f339c3f2e1c2c3d6cc6145ec3e165fa8ca) From noreply at github.com Tue Jan 12 16:10:52 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 08:10:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 107b6f: usrloc: Fully document the module API Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 107b6fa58d25eac1ead669e6a51bc96ae130624c https://github.com/OpenSIPS/opensips/commit/107b6fa58d25eac1ead669e6a51bc96ae130624c Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/udomain.h M modules/usrloc/ul_callback.c M modules/usrloc/ul_callback.h M modules/usrloc/urecord.c M modules/usrloc/urecord.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Fully document the module API From noreply at github.com Tue Jan 12 16:12:12 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 08:12:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c706a8: usrloc: Fully document the module API Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c706a85988ef39a5fe0b2597ca62d7f3b9a1c513 https://github.com/OpenSIPS/opensips/commit/c706a85988ef39a5fe0b2597ca62d7f3b9a1c513 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/udomain.h M modules/usrloc/ul_callback.c M modules/usrloc/ul_callback.h M modules/usrloc/urecord.c M modules/usrloc/urecord.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Fully document the module API (cherry picked from commit 107b6fa58d25eac1ead669e6a51bc96ae130624c) From noreply at github.com Tue Jan 12 16:32:36 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Jan 2021 08:32:36 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 309fff: [topology_hiding] fix vulnerability in TH decoding Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 309ffff8babb4d4a89f7bc9ad43d7f4c6bbd0be9 https://github.com/OpenSIPS/opensips/commit/309ffff8babb4d4a89f7bc9ad43d7f4c6bbd0be9 Author: Bogdan-Andrei Iancu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix vulnerability in TH decoding Extra checks were added to prevent buffer overflow/underflow when decoding the TH information (in non-dialog module) extracted from the Contact hdr. This information may be subject to malicious changes from an external attacker. Credits for reporting and for the fix go to @wdoekes. The suggested fix was re-worked a bit, but the idea is the same. Fixes #2338 (cherry picked from commit 78909c344fe4c25718233e6a00f6e2bd19373be3) From noreply at github.com Tue Jan 12 16:33:56 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Jan 2021 08:33:56 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0a818e: [topology_hiding] fix vulnerability in TH decoding Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0a818e29f287b58294139301123b140dcce6223a https://github.com/OpenSIPS/opensips/commit/0a818e29f287b58294139301123b140dcce6223a Author: Bogdan-Andrei Iancu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix vulnerability in TH decoding Extra checks were added to prevent buffer overflow/underflow when decoding the TH information (in non-dialog module) extracted from the Contact hdr. This information may be subject to malicious changes from an external attacker. Credits for reporting and for the fix go to @wdoekes. The suggested fix was re-worked a bit, but the idea is the same. Fixes #2338 (cherry picked from commit 78909c344fe4c25718233e6a00f6e2bd19373be3) From noreply at github.com Tue Jan 12 16:34:47 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 08:34:47 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a70dd0: db_mysql: Properly disable auto-reconnect Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a70dd0ac7ed758c2d95a514e5767da3f9d19d1ad https://github.com/OpenSIPS/opensips/commit/a70dd0ac7ed758c2d95a514e5767da3f9d19d1ad Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/db_mysql/my_con.c Log Message: ----------- db_mysql: Properly disable auto-reconnect According to https://dev.mysql.com/doc/c-api/8.0/en/mysql-options.html, mysql_options() MUST NOT be called after mysql_real_connect(). (cherry picked from commit 85379e5ebfc4568c4a44ef35475f52ac170d7143) From noreply at github.com Tue Jan 12 16:37:14 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 08:37:14 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 738fa2: Improve doc & code quality; Fix typos & inaccuracies Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 738fa2dc7da099983295b831d6fe5a8cb3904946 https://github.com/OpenSIPS/opensips/commit/738fa2dc7da099983295b831d6fe5a8cb3904946 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M doc/build-contrib.sh M lib/reg/doc/pn_async_func.xml M lib/reg/doc/pn_modparams.xml M lib/reg/doc/supported_rfc.xml M modules/auth/doc/auth_admin.xml M modules/fraud_detection/doc/fraud_detection_admin.xml M modules/fraud_detection/fraud_detection.c M modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml M modules/gflags/doc/gflags_admin.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/qrouting/doc/qrouting_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/rr/record.c M modules/usrloc/kv_store.c M pvar.c Log Message: ----------- Improve doc & code quality; Fix typos & inaccuracies (cherry picked from commit 2e17eb063cb1a6b4f84436329418b0a6ebed42e9) From noreply at github.com Tue Jan 12 16:51:59 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Jan 2021 08:51:59 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eee990: [core] run post processing callbacks only on SIP t... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: eee990d84a818352a2b653bfab96e7aa9e529072 https://github.com/OpenSIPS/opensips/commit/eee990d84a818352a2b653bfab96e7aa9e529072 Author: Bogdan-Andrei Iancu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M forward.h M ip_addr.h Log Message: ----------- [core] run post processing callbacks only on SIP traffic Credits go to @lemenkov Alternative to #2316 From noreply at github.com Tue Jan 12 17:08:32 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 12 Jan 2021 09:08:32 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ae8ca: clusterer: refactor evi related code into a new file Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9ae8ca78a60183e947b0724e762983ca76e918b2 https://github.com/OpenSIPS/opensips/commit/9ae8ca78a60183e947b0724e762983ca76e918b2 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: refactor evi related code into a new file Commit: 0b7a94a601c61907057ecefc6dcacf90e7073311 https://github.com/OpenSIPS/opensips/commit/0b7a94a601c61907057ecefc6dcacf90e7073311 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/sync.c A modules/clusterer/topology.c A modules/clusterer/topology.h Log Message: ----------- clusterer: refactor topology related code into a new file Commit: eeaf59e4bb811fdc9a8b9f350a4c97e8319869e0 https://github.com/OpenSIPS/opensips/commit/eeaf59e4bb811fdc9a8b9f350a4c97e8319869e0 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/topology.c Log Message: ----------- clusterer: restrict dynamic node joining in db mode Commit: b78ed716bbe772672ba62ee0576f437cb3cf0539 https://github.com/OpenSIPS/opensips/commit/b78ed716bbe772672ba62ee0576f437cb3cf0539 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/topology.c M modules/clusterer/topology.h Log Message: ----------- clusterer: add MI function to remove a node from the cluster Commit: f4262155f559883c3f46c55117bd76bf88153776 https://github.com/OpenSIPS/opensips/commit/f4262155f559883c3f46c55117bd76bf88153776 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: also check source IP for internal BIN packets Commit: db652d89d313771da4cd76d1207f48d622101aa8 https://github.com/OpenSIPS/opensips/commit/db652d89d313771da4cd76d1207f48d622101aa8 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: acquire RW lock for switchable reading only if needed Compare: https://github.com/OpenSIPS/opensips/compare/eee990d84a81...db652d89d313 From noreply at github.com Tue Jan 12 17:30:19 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 09:30:19 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f03a95: cachedb_mongodb: Return DB_STRING strings, not DB_STR Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f03a9584821215531b0078ca2d5227403bfda14b https://github.com/OpenSIPS/opensips/commit/f03a9584821215531b0078ca2d5227403bfda14b Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M ut.h Log Message: ----------- cachedb_mongodb: Return DB_STRING strings, not DB_STR Several modules relying on SQL data do not fully handle the DB_STR data type, e.g. drouting. So when db_cachedb is used on top of cachedb_mongodb, these modules may report errors such as: ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4], accepting only [3] Many thanks to Sasmita Panda for the report and helping with testing! From noreply at github.com Tue Jan 12 17:33:55 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 09:33:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 72c9e1: cachedb_mongodb: Return DB_STRING strings, not DB_STR Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 72c9e127d89ec6cb2b4a0752ea3c496063988bc1 https://github.com/OpenSIPS/opensips/commit/72c9e127d89ec6cb2b4a0752ea3c496063988bc1 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M ut.h Log Message: ----------- cachedb_mongodb: Return DB_STRING strings, not DB_STR Several modules relying on SQL data do not fully handle the DB_STR data type, e.g. drouting. So when db_cachedb is used on top of cachedb_mongodb, these modules may report errors such as: ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4], accepting only [3] Many thanks to Sasmita Panda for the report and helping with testing! (cherry picked from commit f03a9584821215531b0078ca2d5227403bfda14b) From noreply at github.com Tue Jan 12 17:42:44 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 09:42:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc6b47: cachedb_mongodb: Return DB_STRING strings, not DB_STR Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: cc6b47aac6fd2ae3d278dea55e552dbda2f13c78 https://github.com/OpenSIPS/opensips/commit/cc6b47aac6fd2ae3d278dea55e552dbda2f13c78 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M ut.h Log Message: ----------- cachedb_mongodb: Return DB_STRING strings, not DB_STR Several modules relying on SQL data do not fully handle the DB_STR data type, e.g. drouting. So when db_cachedb is used on top of cachedb_mongodb, these modules may report errors such as: ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4], accepting only [3] Many thanks to Sasmita Panda for the report and helping with testing! (cherry picked from commit f03a9584821215531b0078ca2d5227403bfda14b) From noreply at github.com Tue Jan 12 17:55:50 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 09:55:50 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46952b: drouting: Document outdated "W" flag of do_routing() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 46952b01f752858ecbc9305b468513634fc370f6 https://github.com/OpenSIPS/opensips/commit/46952b01f752858ecbc9305b468513634fc370f6 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- drouting: Document outdated "W" flag of do_routing() From noreply at github.com Tue Jan 12 17:56:24 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 09:56:24 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 32b81b: drouting: Document outdated "W" flag of do_routing() Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 32b81ba0dbcb1ebbf16b4842bd04ea17570078fa https://github.com/OpenSIPS/opensips/commit/32b81ba0dbcb1ebbf16b4842bd04ea17570078fa Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- drouting: Document outdated "W" flag of do_routing() (cherry picked from commit 46952b01f752858ecbc9305b468513634fc370f6) From noreply at github.com Tue Jan 12 18:02:54 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 10:02:54 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49eafe: dialog: Fix crash due to a "tmp SDP" race condition Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 49eafeeafd030e1910a4ad9dede1206d212f5d78 https://github.com/OpenSIPS/opensips/commit/49eafeeafd030e1910a4ad9dede1206d212f5d78 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.h Log Message: ----------- dialog: Fix crash due to a "tmp SDP" race condition This fixes a race condition on the following code which runs, e.g., on a 200 OK to a Re-INVITE (added in d447626c2531): if (dlg->legs[leg].tmp_out_sdp.s) { shm_free(dlg->legs[leg].tmp_out_sdp.s); dlg->legs[leg].tmp_out_sdp.s = 0; <--- we are here dlg->legs[leg].tmp_out_sdp.len = 0; } At this point, if the Re-INVITE is retransmitted and, e.g., dlg_callee_reinv_onreq_out() is run, the code may read a corrupt str value from "tmp_out_sdp" (e.g. {NULL, 172}), which will crash in shm_str_sync(). Many thanks to Ken Rice for the report! (cherry picked from commit 6ebbd9a2d68772ff840db8a38fcc7f2f786b527b) From noreply at github.com Tue Jan 12 18:03:09 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 12 Jan 2021 10:03:09 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 71bbd4: clusterer: complete commit 0b7a94a Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 71bbd4caf11b623633a443ba7402e67a7e48a65f https://github.com/OpenSIPS/opensips/commit/71bbd4caf11b623633a443ba7402e67a7e48a65f Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: A modules/clusterer/clusterer_evi.c A modules/clusterer/clusterer_evi.h Log Message: ----------- clusterer: complete commit 0b7a94a From noreply at github.com Tue Jan 12 18:07:59 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 12 Jan 2021 10:07:59 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7c92ff: dialog: Fix crash due to a "tmp SDP" race condition Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 7c92fff2b0ea7c5a1c2934733679e30a4b363330 https://github.com/OpenSIPS/opensips/commit/7c92fff2b0ea7c5a1c2934733679e30a4b363330 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.h Log Message: ----------- dialog: Fix crash due to a "tmp SDP" race condition This fixes a race condition on the following code which runs, e.g., on a 200 OK to a Re-INVITE (added in d447626c2531): if (dlg->legs[leg].tmp_out_sdp.s) { shm_free(dlg->legs[leg].tmp_out_sdp.s); dlg->legs[leg].tmp_out_sdp.s = 0; <--- we are here dlg->legs[leg].tmp_out_sdp.len = 0; } At this point, if the Re-INVITE is retransmitted and, e.g., dlg_callee_reinv_onreq_out() is run, the code may read a corrupt str value from "tmp_out_sdp" (e.g. {NULL, 172}), which will crash in shm_str_sync(). Many thanks to Ken Rice for the report! (cherry picked from commit 6ebbd9a2d68772ff840db8a38fcc7f2f786b527b) From noreply at github.com Wed Jan 13 08:21:22 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 13 Jan 2021 00:21:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b7f502: b2b_entities: b2be_list MI: supress unprintable pa... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b7f5028cd71fc60d2b770d888e7744a0bea1c1ff https://github.com/OpenSIPS/opensips/commit/b7f5028cd71fc60d2b770d888e7744a0bea1c1ff Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/b2b_entities/b2b_entities.c Log Message: ----------- b2b_entities: b2be_list MI: supress unprintable params When the params is not printable (such as the ones created by media_exchange or siprec modules), the output becomes corrupted, resulting in bad output. Instead, we shall no longer print those params, to make sure the entire list is displayed. From noreply at github.com Wed Jan 13 10:43:54 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 13 Jan 2021 02:43:54 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1cc5d6: Add support for Generic Number parameter Message-ID: Branch: refs/heads/coverity_scan Home: https://github.com/OpenSIPS/opensips Commit: 1cc5d62bc3166f41d05dccc6d428d2018bd17b78 https://github.com/OpenSIPS/opensips/commit/1cc5d62bc3166f41d05dccc6d428d2018bd17b78 Author: Rustam Safargalin Date: 2020-06-05 (Fri, 05 Jun 2020) Changed paths: M modules/sip_i/isup.c Log Message: ----------- Add support for Generic Number parameter Commit: 182ceb0ca6126251ca9e872844925c3bf60b1c90 https://github.com/OpenSIPS/opensips/commit/182ceb0ca6126251ca9e872844925c3bf60b1c90 Author: Vlad Patrascu Date: 2020-07-18 (Sat, 18 Jul 2020) Changed paths: M modules/dialog/dialog.c M modules/dialog/doc/dialog_admin.xml Log Message: ----------- dialog: don't allow RE-INVITE and OPTIONS pinging at the same time Enabling both RE-INVITE and OPTIONS pinging for the same endpoint causes issues with the CSEQ value in: * ACK (incremented value compared to the corresponding INVITE) * INVITE and OPTIONS (decreasing values between the requests), in case races occur between computing the new CSEQ values and sending the messages. Commit: 3b6d0de16d68815b571cebca6bf4c9124f59f06b https://github.com/OpenSIPS/opensips/commit/3b6d0de16d68815b571cebca6bf4c9124f59f06b Author: Bogdan-Andrei Iancu Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/load_balancer/lb_parser.c Log Message: ----------- [load_balancer] Spelling over log messages Commit: 8e0d3981e52aa2144ea772892333b8736681c609 https://github.com/OpenSIPS/opensips/commit/8e0d3981e52aa2144ea772892333b8736681c609 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/presence/presence.c Log Message: ----------- presence: fix passing large structure Fixes Coverity CID #40791 Commit: 507cffda1c33c8b81a6de2bd612eb1ba03dc07a6 https://github.com/OpenSIPS/opensips/commit/507cffda1c33c8b81a6de2bd612eb1ba03dc07a6 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/mi_fifo/fifo_fnc.c Log Message: ----------- mi_fifo: fix concatenated commands Fixes Coverity CID #199915 Commit: 6a73b79fedf613c5e7c4062bb061c1eda359ea95 https://github.com/OpenSIPS/opensips/commit/6a73b79fedf613c5e7c4062bb061c1eda359ea95 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- drouting: remove useles code Fixes Coverity CID #199955 Commit: 083383c4bfa4fcd7b727f737c76c16380c6ce58d https://github.com/OpenSIPS/opensips/commit/083383c4bfa4fcd7b727f737c76c16380c6ce58d Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/db_berkeley/bdb_lib.c Log Message: ----------- db_berkeley: prevent possible overflow Fixes Coverity CID #40868 Commit: 44d14d6e19134fe4b25dd4116817e0dd31aa3610 https://github.com/OpenSIPS/opensips/commit/44d14d6e19134fe4b25dd4116817e0dd31aa3610 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: proper distinction between types and flags/scope Fixes coverity CID #199984 Commit: 888a135c353b0d58021e7dde89c56dae471e7699 https://github.com/OpenSIPS/opensips/commit/888a135c353b0d58021e7dde89c56dae471e7699 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: fix possible null dereference Fixes Coverity CID #199929 and #200006 Commit: 8d3bab5208047d410b10ce0818f4f911784b8ad3 https://github.com/OpenSIPS/opensips/commit/8d3bab5208047d410b10ce0818f4f911784b8ad3 Author: Razvan Crainea Date: 2020-07-20 (Mon, 20 Jul 2020) Changed paths: M modules/cgrates/cgrates_acc.c Log Message: ----------- cgrates: fix useless null check Fixes Coverity CID #200007 and #200082 Commit: d0641318ff238b01506e18bd4aa7422fb3cfeab7 https://github.com/OpenSIPS/opensips/commit/d0641318ff238b01506e18bd4aa7422fb3cfeab7 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M modules/rtpengine/doc/rtpengine_admin.xml M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix offer vs answer detection for replies When late negociation is not used, rtpengine_manage() should send an answer command, not an offer one. Commit: 06f7297065f079ebd4201055079a02e69dde2cc5 https://github.com/OpenSIPS/opensips/commit/06f7297065f079ebd4201055079a02e69dde2cc5 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M modules/rtpengine/rtpengine.c M parser/msg_parser.h Log Message: ----------- rtpengine: fix late negociation detection of rtpengine_manage() When a reply is received, do not look into the request if it has body, since that could lead to headers parsing in pkg - that might leak. Thanks go to @bogdan-iancu for spotting the issue Commit: 804c9a0492940fe779e3dd1d4b4fe9f8cba57cf4 https://github.com/OpenSIPS/opensips/commit/804c9a0492940fe779e3dd1d4b4fe9f8cba57cf4 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M modules/tm/cluster.c M receive.c Log Message: ----------- tm: use msg_flags to indicate message is replicated Commit: 33dc0320ae41caa9e66a2a0f7ec2ca069095add4 https://github.com/OpenSIPS/opensips/commit/33dc0320ae41caa9e66a2a0f7ec2ca069095add4 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M time_rec.c Log Message: ----------- time_rec: use safe localtime_r function instead of localtime Commit: 44a4b5a2450664969a7b39b6c444e2a92abc7b17 https://github.com/OpenSIPS/opensips/commit/44a4b5a2450664969a7b39b6c444e2a92abc7b17 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M statistics.c Log Message: ----------- statistics: rework internal functions to use str instead of char * Commit: aaf99dc6bc3808069e31381b00f562622434d3f9 https://github.com/OpenSIPS/opensips/commit/aaf99dc6bc3808069e31381b00f562622434d3f9 Author: Razvan Crainea Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: A .lgtm.yml Log Message: ----------- add lgtm file Commit: 7d0df27a40d9bd0207637ec08e5deb662c45bbf6 https://github.com/OpenSIPS/opensips/commit/7d0df27a40d9bd0207637ec08e5deb662c45bbf6 Author: Liviu Chircu Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M ut.h Log Message: ----------- ut.h: Fix str_casematch() implementation Since str's have a known length, we should not stop the iteration at '\0'. Commit: c13786c43c0123cfbd7dd310c41d7ba17604014c https://github.com/OpenSIPS/opensips/commit/c13786c43c0123cfbd7dd310c41d7ba17604014c Author: Liviu Chircu Date: 2020-07-21 (Tue, 21 Jul 2020) Changed paths: M route.c Log Message: ----------- Expression evaluator: Improve code performance * evaluate comparisons against network addresses (NET_ST) last, since they are rarer than string / int comparisons * use switch instead of if/else if/else if * speed up comp_s2s() code Commit: 5a094bfeb136f56d468f3cfae7c8e6732a2e9d9e https://github.com/OpenSIPS/opensips/commit/5a094bfeb136f56d468f3cfae7c8e6732a2e9d9e Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/carrierroute/route_fifo.c Log Message: ----------- carrieroute: fix possible buffer overflow Fixes Coverity CID #40876 Commit: f38dec26fbb1825d20f0840b3c3f33ccda26fd14 https://github.com/OpenSIPS/opensips/commit/f38dec26fbb1825d20f0840b3c3f33ccda26fd14 Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/presence_xml/notify_body.c Log Message: ----------- presence_xml: fix possible buffer overflow Fixes Coverity CID #40877 Commit: 108a5d4b75d39ce3c3149a060210a6c0cae53f77 https://github.com/OpenSIPS/opensips/commit/108a5d4b75d39ce3c3149a060210a6c0cae53f77 Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/ldap/iniparser.c Log Message: ----------- ldap: prevent possible buffer overflow Fixes Coverity CID #40879 Commit: 7e8120da16e6735f5b2413951e42ca20124f528d https://github.com/OpenSIPS/opensips/commit/7e8120da16e6735f5b2413951e42ca20124f528d Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/permissions/parse_config.c Log Message: ----------- permissions: fix possible buffer overflow Fixes Coverity CID #40880 Commit: 859f0e025c63b5bf88fc2e8a81795c0a4b2e7ed7 https://github.com/OpenSIPS/opensips/commit/859f0e025c63b5bf88fc2e8a81795c0a4b2e7ed7 Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/cpl_c/cpl_nonsig.c Log Message: ----------- cpl_c: prevent possible buffer overflow Fixes Coverity CID #40882 Commit: d7ad0b7bd0192ca044417072afe2bd5335cb0873 https://github.com/OpenSIPS/opensips/commit/d7ad0b7bd0192ca044417072afe2bd5335cb0873 Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/carrierroute/route_func.c M modules/jabber/xjab_wlist.c M modules/media_exchange/media_utils.c M modules/mi_fifo/fifo_fnc.c M modules/sipmsgops/sipmsgops.c M modules/snmpstats/openserSIPRegUserLookupTable.c M modules/snmpstats/openserSIPStatusCodesTable.c Log Message: ----------- fix some unused values Fixes Coverity CID #40940, #40943, #40944, #40947, #40948, #211385, #211395, #211382 Commit: f868191cf006eaa5e7c889f85a27c13607514b44 https://github.com/OpenSIPS/opensips/commit/f868191cf006eaa5e7c889f85a27c13607514b44 Author: Razvan Crainea Date: 2020-07-22 (Wed, 22 Jul 2020) Changed paths: M modules/dispatcher/dispatcher.c Log Message: ----------- dispatcher: prevent possibl uninitialized access Commit: 1da7da1c57122f4e5a7550ab21df5fc5d79c3b12 https://github.com/OpenSIPS/opensips/commit/1da7da1c57122f4e5a7550ab21df5fc5d79c3b12 Author: Bogdan-Andrei Iancu Date: 2020-07-28 (Tue, 28 Jul 2020) Changed paths: M pvar.c Log Message: ----------- [core] fix missing data type flags for $socket_in(af) Reported by @hamid-elaosta Closes #2185 Commit: 0294b2680c4d80a9413412c5c3a03b109637f745 https://github.com/OpenSIPS/opensips/commit/0294b2680c4d80a9413412c5c3a03b109637f745 Author: Vlad Patrascu Date: 2020-07-28 (Tue, 28 Jul 2020) Changed paths: M evi/evi_transport.c Log Message: ----------- event interface: fix crash when raising event with no params Reported by Mark Allen on the mailing list. (cherry picked from commit 123d9ccb1d956837cc06f8bd871cc6c40dbdad94) Commit: c7dcc779e195f9c41a5fbebbb8287e23ea51b7ec https://github.com/OpenSIPS/opensips/commit/c7dcc779e195f9c41a5fbebbb8287e23ea51b7ec Author: Vlad Patrascu Date: 2020-07-28 (Tue, 28 Jul 2020) Changed paths: M evi/evi_transport.c Log Message: ----------- event_interface: don't include a null 'id' field in notifications The use of a NULL value for the 'id' member in a JSON-RPC notification is unncessary and also discouraged by the specification. (cherry picked from commit 31dae10a8b08f1fb8148e6063f76c39a068cd416) Commit: 8e4a477906bfe855975051d6bdbf090dde15729c https://github.com/OpenSIPS/opensips/commit/8e4a477906bfe855975051d6bdbf090dde15729c Author: Vlad Patrascu Date: 2020-07-29 (Wed, 29 Jul 2020) Changed paths: M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml M modules/event_rabbitmq/event_rabbitmq.c Log Message: ----------- event_rabbitmq: remove unused modparam (cherry picked from commit 0734be9dc7eb11d420b00a52591d3736b7009aae) Commit: 294926bc6c81265f662a2440906003c134d898c8 https://github.com/OpenSIPS/opensips/commit/294926bc6c81265f662a2440906003c134d898c8 Author: Vlad Patrascu Date: 2020-07-29 (Wed, 29 Jul 2020) Changed paths: M modules/event_datagram/doc/event_datagram_admin.xml M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml M modules/event_stream/doc/event_stream_admin.xml Log Message: ----------- Cleanup null "id" from doc examples for evi transport modules Commit: 7a0f5991de5387b2496b1229f949353b568ad10c https://github.com/OpenSIPS/opensips/commit/7a0f5991de5387b2496b1229f949353b568ad10c Author: Fabian Gast Date: 2020-07-29 (Wed, 29 Jul 2020) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- Fix command in documentation for clusterer_list_cap Commit: 3bf2b9890b1e5fae6c69241c963ca2bbad66af85 https://github.com/OpenSIPS/opensips/commit/3bf2b9890b1e5fae6c69241c963ca2bbad66af85 Author: Vlad Patrascu Date: 2020-07-29 (Wed, 29 Jul 2020) Changed paths: M modules/stir_shaken/stir_shaken.c Log Message: ----------- stir_shaken: fix compilation with openssl < 1.1.1 Commit: f9fd982beec461cf15bd3001df744066e42af625 https://github.com/OpenSIPS/opensips/commit/f9fd982beec461cf15bd3001df744066e42af625 Author: Liviu Chircu Date: 2020-07-30 (Thu, 30 Jul 2020) Changed paths: M modules/userblacklist/db.c Log Message: ----------- userblacklist: Be compatible with db_cachedb over MongoDB Issue reported by Ryan Embgrets Commit: a9e78b44677153319c00970bd02256d187d75167 https://github.com/OpenSIPS/opensips/commit/a9e78b44677153319c00970bd02256d187d75167 Author: Vlad Patrascu Date: 2020-07-30 (Thu, 30 Jul 2020) Changed paths: M modules/stir_shaken/stir_shaken.c Log Message: ----------- stir_shaken: complete fix in commit 3bf2b98 Commit: c1464a1c7286696b956d5c8e016d8c4f21e8c04a https://github.com/OpenSIPS/opensips/commit/c1464a1c7286696b956d5c8e016d8c4f21e8c04a Author: Liviu Chircu Date: 2020-07-30 (Thu, 30 Jul 2020) Changed paths: M db/schema/fraud_detection.xml M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_events.c M scripts/db_berkeley/opensips/fraud_detection M scripts/mysql/fraud_detection-create.sql M scripts/oracle/fraud_detection-create.sql M scripts/postgres/fraud_detection-create.sql M scripts/sqlite/fraud_detection-create.sql Log Message: ----------- fraud_detection: Add the possibility to disable stats A (0) value for any of the fraud detection thresholds now means: "ignore this threshold", instead of: "raise an event on each call for this threshold?!". Although (0) values could, in theory, have been useful for event generation testing purposes before this patch, this is a small price to pay in order to gain the ability to disable a stat. Developers can now add 1 more CPS and still keep testing with a new (1) value :) Although the DB schema changes slightly, due to the added "DEFAULT 0", it is fully backwards-compatible with the previous one, except fraud_detection row INSERTs will now be more quiet, generating no more warnings from the backend (e.g. "Column does not have a default value..." -> but still defaults to 0, thanks to non-strict mode, leading to strange warnings from the module). Fixes #890 (cherry picked from commit 214f105ae52593bd53aef83f4426e1bbb0a09666) Commit: 5ba1e90cf20c8579de9ba077f48963788442b2cb https://github.com/OpenSIPS/opensips/commit/5ba1e90cf20c8579de9ba077f48963788442b2cb Author: Liviu Chircu Date: 2020-07-31 (Fri, 31 Jul 2020) Changed paths: M lib/reg/pn.c Log Message: ----------- SIP PN Support: Start OpenSIPS with PURR + topology hiding pn_process_purr() has yet to be extensively tested with topology_hiding(), but it should work in theory, at least! (cherry picked from commit 6f26ea1e70299b7939de0807252f15d026a95127) Commit: 724a3cbf1d388c9b116ffb8bd310036b7ade66d1 https://github.com/OpenSIPS/opensips/commit/724a3cbf1d388c9b116ffb8bd310036b7ade66d1 Author: Razvan Crainea Date: 2020-08-03 (Mon, 03 Aug 2020) Changed paths: M modules/presence/subscribe.c Log Message: ----------- presence: reset delete prepare statement when delete not performed Commit: adfa0d63a2a30b40f8dbe1a5df582eebaf36ef35 https://github.com/OpenSIPS/opensips/commit/adfa0d63a2a30b40f8dbe1a5df582eebaf36ef35 Author: Fabian Gast Date: 2020-08-03 (Mon, 03 Aug 2020) Changed paths: M modules/httpd/doc/httpd_admin.xml M modules/httpd/httpd.c M modules/httpd/httpd_proc.c Log Message: ----------- Add TLS support to module/httpd Commit: 2404b96c87982387071cea63f5fc42d9169d8798 https://github.com/OpenSIPS/opensips/commit/2404b96c87982387071cea63f5fc42d9169d8798 Author: Liviu Chircu Date: 2020-08-03 (Mon, 03 Aug 2020) Changed paths: M modules/dialog/dlg_cb.h M modules/fraud_detection/fraud_detection.c Log Message: ----------- fraud_detection: Improve accuracy for 'concurrent calls' Avoid using the DLGCB_FAILED callback, since it has no protection against the "408 Request Timeout / 200 OK" race condition, and simply use DLGCB_DESTROY in order to decrement the concurrent calls counter. This fixes a bug where a "408 Timeout / 200 OK" call would cause a concurrent calls value of 4294967295, due to an extra decrement. Fixes #2079 Commit: 4dba112130651ca6013c7ebc931fc744b3776774 https://github.com/OpenSIPS/opensips/commit/4dba112130651ca6013c7ebc931fc744b3776774 Author: Liviu Chircu Date: 2020-08-03 (Mon, 03 Aug 2020) Changed paths: M modules/fraud_detection/doc/fraud_detection_admin.xml Log Message: ----------- fraud_detection: Fix misleading 'show_fraud_stats' docs * the 'fraud_profile' MI command parameter is both invalid and not at all required by the current code * document the "stale statistics" limitation of this function Commit: 689531e6fc3b9724c72aeb2a77b2f86b35040389 https://github.com/OpenSIPS/opensips/commit/689531e6fc3b9724c72aeb2a77b2f86b35040389 Author: Liviu Chircu Date: 2020-08-04 (Tue, 04 Aug 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- drouting: Do not start with NULL DB connections Force all DB connection objects to be created right from the start, otherwise strange, hard to diagnose errors may _occasionally_ pop up during runtime: ERROR:core:db_use_table: invalid parameter value (nil), 0x7ff31329a108 ERROR:drouting:dr_state_flusher: cannot select table "dr_gateways" ... or: INFO:drouting:dr_reload_cmd: dr_reload MI command received! CRITICAL:core:db_table_version: invalid parameter value ERROR:core:db_check_table_version: querying version for table dr_gateways CRITICAL:drouting:dr_reload_data_head: failed to load routing info CRITICAL:drouting:dr_reload_cmd: Failed to load data head (cherry picked from commit 8a9a396d4d1a7025a1fe93d564f1ebe5150961b4) (cherry picked from commit e2e989ddb851b98ef1419c146d857ab7da1b4800) (cherry picked from commit c10248b88b3f227e0f6dd40fd7ec4f643824ab33) Commit: 94cec754036861be9ed4281bd3f04b1fbe516ea4 https://github.com/OpenSIPS/opensips/commit/94cec754036861be9ed4281bd3f04b1fbe516ea4 Author: Răzvan Crainea Date: 2020-08-05 (Wed, 05 Aug 2020) Changed paths: M modules/httpd/doc/httpd_admin.xml M modules/httpd/httpd.c M modules/httpd/httpd_proc.c Log Message: ----------- Merge pull request #2193 from fgast/httpd_https Add TLS support to module/httpd Commit: b5bcf0463049e75a70a9c9db38d8936f25ddf076 https://github.com/OpenSIPS/opensips/commit/b5bcf0463049e75a70a9c9db38d8936f25ddf076 Author: Bogdan-Andrei Iancu Date: 2020-08-06 (Thu, 06 Aug 2020) Changed paths: M receive.c Log Message: ----------- Supply a processing context to error route. When the error is triggered outside the context of another route, be sure it also have a processing context Closes #2187 (cherry picked from commit d17d0ed6cd36dd358c9260eb091ef2002198737d) (cherry picked from commit a69377484018f194836b2aa2633238f52cbaa4d1) Commit: ebd6f8b651b177b24f81d1416fc7f34f0c973d04 https://github.com/OpenSIPS/opensips/commit/ebd6f8b651b177b24f81d1416fc7f34f0c973d04 Author: Vlad Patrascu Date: 2020-08-07 (Fri, 07 Aug 2020) Changed paths: M modules/tls_mgm/tls_domain.c Log Message: ----------- tls_mgm: fix crashes with db_text and null string values Closes #2192 (cherry picked from commit 3d26747cc309d7f5c461e3be49fb30db78bc3591) Commit: 8f702a688b6b758e5fb76af216ed9740ef991ca5 https://github.com/OpenSIPS/opensips/commit/8f702a688b6b758e5fb76af216ed9740ef991ca5 Author: Vlad Paiu Date: 2020-08-07 (Fri, 07 Aug 2020) Changed paths: M transformations.c M transformations.h Log Message: ----------- Added s.eval transformation eg. $var(format) = "limit-$si-$tU"; xlog("Expanded format is $(var(format){s.eval}) \n"); prints Expanded format is limit-127.0.0.1-vlad Commit: 1feaed46549ca1dcc2c4ab16f8d86dc863dedd29 https://github.com/OpenSIPS/opensips/commit/1feaed46549ca1dcc2c4ab16f8d86dc863dedd29 Author: Vlad Patrascu Date: 2020-08-07 (Fri, 07 Aug 2020) Changed paths: M core_cmds.c Log Message: ----------- core: fix parameter type for cache_raw_query() Reported in #2198 (cherry picked from commit 81d079958e813f47551da39b21e9f57fc7a53c8a) Commit: a75dd210600374c7358c7b2ee0c33a3b6d00b4c2 https://github.com/OpenSIPS/opensips/commit/a75dd210600374c7358c7b2ee0c33a3b6d00b4c2 Author: Andriy Pylypenko Date: 2020-08-12 (Wed, 12 Aug 2020) Changed paths: M modules/stir_shaken/stir_shaken.c Log Message: ----------- Wipe out the pointer to already destroyed data so a later error does not cause a crash. Commit: 1f1414a3806649cb459542900ae8647c210f61a1 https://github.com/OpenSIPS/opensips/commit/1f1414a3806649cb459542900ae8647c210f61a1 Author: Bogdan-Andrei Iancu Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M core_cmds.c Log Message: ----------- Fix optional param for forward() If missing, there is nothing to be done for the parameter. Closes #2210 (cherry picked from commit 5206467cfff481c62ad23147cca86db64d770c20) Commit: ad178c5754bc70ce6a406e9517e559c62625dfe4 https://github.com/OpenSIPS/opensips/commit/ad178c5754bc70ce6a406e9517e559c62625dfe4 Author: Bogdan-Andrei Iancu Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M modules/tm/t_reply.c Log Message: ----------- [tm] run the per-branch on reply route also as ONREPLY type Closes #2201 Commit: 4f414366ee0fcc52fa2d18c59be0c5d753047934 https://github.com/OpenSIPS/opensips/commit/4f414366ee0fcc52fa2d18c59be0c5d753047934 Author: Liviu Chircu Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_events.c M modules/fraud_detection/frd_events.h M modules/fraud_detection/frd_stats.c M modules/fraud_detection/frd_stats.h Log Message: ----------- fraud_detection: Fix a bug causing negative CC/CPM Following a reset of the statistics for a (user, dialed_number) pair, skip any pending subtraction operations scheduled during a previous interval (e.g. a dialog which started during fraud detection interval A and ended in interval B should not decrement CC anymore if it has already been reset to 0 in the meantime during a more recent check_fraud() call). Many thanks to Inderjeet Sharma (@inderjeetsharma) for reporting and helping track down this bug. Fixes #2079 Commit: 4ffb3d2fe5eadf71e645b76903f925786b0c2df1 https://github.com/OpenSIPS/opensips/commit/4ffb3d2fe5eadf71e645b76903f925786b0c2df1 Author: Razvan Crainea Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M .lgtm.yml Log Message: ----------- lgtm: fix before_index node No way to test this, we need to get this confirmed later on. Thanks go to @fgast for reporing it in #2194 Commit: 1f9b433fd68889c3e692e249d54ea8dbb2d576d3 https://github.com/OpenSIPS/opensips/commit/1f9b433fd68889c3e692e249d54ea8dbb2d576d3 Author: Razvan Crainea Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: handle PRACK for answer Thanks go to @nikbyte for the report. Close #2208 Commit: 7b3a482aa2eb0bcf9990b100579e8e051c130665 https://github.com/OpenSIPS/opensips/commit/7b3a482aa2eb0bcf9990b100579e8e051c130665 Author: Liviu Chircu Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M net/trans.h M socket_info.c Log Message: ----------- hep_udp listener: Fix "use_children" regression Commit 899f65c8f4 introduced a regression where "use_children" would be ignored for the HEP UDP protocol, possibly leading to extra forked workers after an OpenSIPS upgrade, failed restarts due to exceeded MySQL max connections, etc. (cherry picked from commit 2801fae6f88bd6b4c958b76ecb96c7cd7ba80d72) Commit: 775b9d97dbc38fa6c66d1ed7d15acf6018afd47e https://github.com/OpenSIPS/opensips/commit/775b9d97dbc38fa6c66d1ed7d15acf6018afd47e Author: Liviu Chircu Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M net/trans.h M socket_info.c Log Message: ----------- Rework previous commit Although the protocols listed in the @proto array "seem" to be initialized, they are still missing some essential data, which is only later provided by trans_load(), during the startup phase. (cherry picked from commit 7f5480ceb7d2b13b4aa2ed1e90f741e11b8c4876) (cherry picked from commit 7ee0bf40db428d8b8b0daf39b949b29f8c6f4cf0) Commit: d447626c253185d2e1dc13dc196d04889f630c7a https://github.com/OpenSIPS/opensips/commit/d447626c253185d2e1dc13dc196d04889f630c7a Author: Razvan Crainea Date: 2020-08-18 (Tue, 18 Aug 2020) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h Log Message: ----------- dialog: do not update SDP on rejected INVITE/UPDATEs Reported by @nikbyte in #2177 Commit: 6f71f3f065fa78a65ee021931207aded5903c909 https://github.com/OpenSIPS/opensips/commit/6f71f3f065fa78a65ee021931207aded5903c909 Author: Eric Green Date: 2020-08-19 (Wed, 19 Aug 2020) Changed paths: M modules/db_sqlite/dbase.c Log Message: ----------- sqlite - fix upsert in db_insert_update Commit: 2c008cd9225dc9a60df2fbf2e37d032ce6f27db0 https://github.com/OpenSIPS/opensips/commit/2c008cd9225dc9a60df2fbf2e37d032ce6f27db0 Author: Liviu Chircu Date: 2020-08-20 (Thu, 20 Aug 2020) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: Avoid creating a shared DB conn at mod_init() Many thanks to Adrien Martin (@adrien-martin) for the immense help in reporting, troubleshooting and helping close this one out. Fixes #2161 Commit: ff17c8f0b885ac157b306cad4e0c1c1c63a03bdd https://github.com/OpenSIPS/opensips/commit/ff17c8f0b885ac157b306cad4e0c1c1c63a03bdd Author: Zero King Date: 2020-08-22 (Sat, 22 Aug 2020) Changed paths: M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 Log Message: ----------- Fix tls_method typo in cfg templates Commit: e21beb40cfc55a9d4d21e5480fdb10acabb5c0b0 https://github.com/OpenSIPS/opensips/commit/e21beb40cfc55a9d4d21e5480fdb10acabb5c0b0 Author: Liviu Chircu Date: 2020-08-26 (Wed, 26 Aug 2020) Changed paths: M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 Log Message: ----------- Merge pull request #2222 from l2dy/cfg Fix tls_method typo in cfg templates Commit: 948c43915a9e91daeec51d271503f518e870dc1c https://github.com/OpenSIPS/opensips/commit/948c43915a9e91daeec51d271503f518e870dc1c Author: Razvan Crainea Date: 2020-08-26 (Wed, 26 Aug 2020) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: parse contact in separate structure This avoids concurrent access to the contact header's parsed structure in request messages saved in shm - addresses ticket #2095 (cherry picked from commit df68e3b191a4bc3565d9bc7bc3f6275d41921e88) Commit: 68f8f9d5c7f43af0a6fb914883ad700a93048835 https://github.com/OpenSIPS/opensips/commit/68f8f9d5c7f43af0a6fb914883ad700a93048835 Author: Razvan Crainea Date: 2020-08-26 (Wed, 26 Aug 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix order of specified interface flags When both 'external' and 'internal' flags were specified, 'internal' was always assigned as iniface, and 'external' as outiface. This commit makes sure that the order they are specified in is respected. Commit: 18f9f7873330b7e5d7c1e31828062d80a6268402 https://github.com/OpenSIPS/opensips/commit/18f9f7873330b7e5d7c1e31828062d80a6268402 Author: Zero King Date: 2020-08-27 (Thu, 27 Aug 2020) Changed paths: M modules/emergency/post_curl.c Log Message: ----------- emergency: fix memory leak on error Commit: f5d1b55aa213e448f2716751227234e073277855 https://github.com/OpenSIPS/opensips/commit/f5d1b55aa213e448f2716751227234e073277855 Author: Zero King Date: 2020-08-27 (Thu, 27 Aug 2020) Changed paths: M parser/parse_body.c Log Message: ----------- Accept single \r as EOH in multipart This completes commit 3ec9d1b25430715f2b800c455c8518104a243f49. Commit: c4c7a3e975c10ffcca8c9326729c8b88593079d8 https://github.com/OpenSIPS/opensips/commit/c4c7a3e975c10ffcca8c9326729c8b88593079d8 Author: Liviu Chircu Date: 2020-08-27 (Thu, 27 Aug 2020) Changed paths: M .lgtm.yml Log Message: ----------- .lgtm.yml: Fix libjson package name (Ubuntu, not Red Hat) Commit: 968063d9f3d652e94c2895d9dee46b7843c875b5 https://github.com/OpenSIPS/opensips/commit/968063d9f3d652e94c2895d9dee46b7843c875b5 Author: Liviu Chircu Date: 2020-08-27 (Thu, 27 Aug 2020) Changed paths: M modules/rtpengine/doc/rtpengine_admin.xml Log Message: ----------- rtpengine: Fix docs for `extra_id_pv` Suggested by Nick Altmann Commit: aa53fe6c7fe8c8c3b4302d6e599c19d41c22cded https://github.com/OpenSIPS/opensips/commit/aa53fe6c7fe8c8c3b4302d6e599c19d41c22cded Author: Liviu Chircu Date: 2020-08-27 (Thu, 27 Aug 2020) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- Merge pull request #2188 from fgast/fix-doc-clustere_list_cap Fix command in documentation for clusterer_list_cap Commit: f597319faff0bcc7aa9dfa1a5d50b46503dcdb10 https://github.com/OpenSIPS/opensips/commit/f597319faff0bcc7aa9dfa1a5d50b46503dcdb10 Author: Vlad Patrascu Date: 2020-08-28 (Fri, 28 Aug 2020) Changed paths: M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h Log Message: ----------- tls_mgm: fix crash when setting an unsupported TLS method Closes #2204 Closes #2213 (cherry picked from commit 6ee7b856b7e3257d8b7451cbffe32fe7c1cada31) Commit: 488c56b4cafb7e4bc58c5a5cc02afee828aca135 https://github.com/OpenSIPS/opensips/commit/488c56b4cafb7e4bc58c5a5cc02afee828aca135 Author: Vlad Patrascu Date: 2020-08-28 (Fri, 28 Aug 2020) Changed paths: M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h Log Message: ----------- tls_mgm: fix setting TLS method from DB Fixes #2226 (cherry picked from commit 1f896fa044aa8aa2f54c442bb40bb51c13f06022) Commit: 5a6b3abe41a2eaed961a530675f6441a692e8640 https://github.com/OpenSIPS/opensips/commit/5a6b3abe41a2eaed961a530675f6441a692e8640 Author: Walter Doekes Date: 2020-08-31 (Mon, 31 Aug 2020) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- Fix next_hop crash (seen in nathelper nh_timer) due to reading reused mem Problem: - get_domain_db_ucontacts (through get_domain_ucontacts) was handing out (next_hop) pointers to memory that was unused. This resulted in a crash when this memory was reused before the invalid pointer was reused. Relevant issues and commits: - #1652 [OpenSIPS crashes since of child that serves rtpproxy] - e162f5f10 [fix 1652: usrloc: make next_hop point within the shared buffer] - #1710 [nathelper next_hop off by one for usrloc path] - 0300eb1d5 [fix 1710 / revert 1652: usrloc: fix next hop compute for ...] That is: e162f5f10 fixes this exact problem in get_domain_db_ucontacts, in get_domain_mem_ucontacts and in get_domain_cdb_ucontacts (cdb_pack_ping_data). But in 0300eb1d5 it is reverted for only get_domain_db_ucontacts. This fix: - Rewrites the fix for get_domain_db_ucontacts and get_domain_cdb_ucontacts, making it less fragile/bug-prone. - Adds comments about fragility to get_domain_mem_ucontacts - Fixed unaligned memcpy that might affect non-intel CPUs: `((struct proxy_l *)cp)->name.s = next_hop_host` Bug reported and fix tested by Jasper Hafkenscheid @hafkensite (VoIPGRID). Commit: 9ee8c06484dc8fa50a8c9ab44a6a9e7e7aa40e21 https://github.com/OpenSIPS/opensips/commit/9ee8c06484dc8fa50a8c9ab44a6a9e7e7aa40e21 Author: Peter Lemenkov Date: 2020-09-01 (Tue, 01 Sep 2020) Changed paths: M evi/evi_transport.c M modules/event_datagram/event_datagram.c M modules/event_rabbitmq/event_rabbitmq.c M modules/event_stream/stream_send.c Log Message: ----------- evi: More verbose about which param caused crash When using evi interface sometimes we need to know exactly which parameter led to failure. At least we need its name and event's name. Signed-off-by: Peter Lemenkov Commit: b801f04c4acc970e4c37bae736d0c0518ab0958b https://github.com/OpenSIPS/opensips/commit/b801f04c4acc970e4c37bae736d0c0518ab0958b Author: Peter Lemenkov Date: 2020-09-01 (Tue, 01 Sep 2020) Changed paths: M evi/evi_transport.c Log Message: ----------- evi: Str params can contain NULL values. NULL value as a str param is totally fine according to JSON specification. So let's not crash when adding str parameter with NULL value. Signed-off-by: Peter Lemenkov Commit: bbcace7821d95cd52919c472398793c9cc9f51a3 https://github.com/OpenSIPS/opensips/commit/bbcace7821d95cd52919c472398793c9cc9f51a3 Author: Vlad Pătrașcu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M evi/evi_transport.c M modules/event_datagram/event_datagram.c M modules/event_rabbitmq/event_rabbitmq.c M modules/event_stream/stream_send.c Log Message: ----------- Merge pull request #2212 from lemenkov/verbose_events Fix NULL values for str params in EVI API Commit: 234e508fd4d07296c5e0eaa6835e5c9d3a917677 https://github.com/OpenSIPS/opensips/commit/234e508fd4d07296c5e0eaa6835e5c9d3a917677 Author: Vlad Pătrașcu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M modules/stir_shaken/stir_shaken.c Log Message: ----------- Merge pull request #2209 from bambyster/master A crash in stir_shaken module. Commit: 5ec53788c776b55908657c7891f0b3ac831e5560 https://github.com/OpenSIPS/opensips/commit/5ec53788c776b55908657c7891f0b3ac831e5560 Author: Bogdan-Andrei Iancu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M modules/permissions/hash.c Log Message: ----------- [permissions] Fixed mem leak on pattern field Closes #2197 (cherry picked from commit d6f3424d1fe71de94a545a36d0e14fbd9ecd3b3f) Commit: 4d81a7f55441b4a9c8833e7769b4e445cb2f5d05 https://github.com/OpenSIPS/opensips/commit/4d81a7f55441b4a9c8833e7769b4e445cb2f5d05 Author: Liviu Chircu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- Merge pull request #2233 from wdoekes/wjd-fix-next_hop-reading-freed-mem Fix next_hop crash (seen in nathelper nh_timer) due to reading reused mem Commit: fc1c3ec32fa285e90cea457096f557e1088b1031 https://github.com/OpenSIPS/opensips/commit/fc1c3ec32fa285e90cea457096f557e1088b1031 Author: Walter Doekes Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: Update doxygen comment about packing get_all_ucontacts Commit: 7c19af348ee77b6c06ae12bd55ad2d2bc53087fb https://github.com/OpenSIPS/opensips/commit/7c19af348ee77b6c06ae12bd55ad2d2bc53087fb Author: Liviu Chircu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- Merge pull request #2237 from wdoekes/wjd-fix-comment usrloc: Update doxygen comment about packing get_all_ucontacts Commit: 3af502dc4f045815a8a225b21dc77c5488bba2fc https://github.com/OpenSIPS/opensips/commit/3af502dc4f045815a8a225b21dc77c5488bba2fc Author: Liviu Chircu Date: 2020-09-02 (Wed, 02 Sep 2020) Changed paths: M parser/parse_body.c Log Message: ----------- Merge pull request #2229 from l2dy/parser-r Accept single \r as EOH in multipart Commit: 9c4f6c1c7f7ac88e19ff78b5169c33b17b1d8d38 https://github.com/OpenSIPS/opensips/commit/9c4f6c1c7f7ac88e19ff78b5169c33b17b1d8d38 Author: Zero King Date: 2020-09-03 (Thu, 03 Sep 2020) Changed paths: M modules/rtpengine/bencode.h Log Message: ----------- rtpengine: fix single-bit field type Commit: 5c8f8c027aa4874896ec2fc962e5878ee465fdfd https://github.com/OpenSIPS/opensips/commit/5c8f8c027aa4874896ec2fc962e5878ee465fdfd Author: Liviu Chircu Date: 2020-09-03 (Thu, 03 Sep 2020) Changed paths: M modules/load_balancer/lb_data.c Log Message: ----------- load_balancer: Fix AB/BA deadlock in lb_start() Assuming we have resources A, B, before this patch we would have the following lock grab order on the corresponding resource locks: (see lb_data.c +743): lb_start(): A, B lb_next(): B, A This patch fixes this type of deadlock by inverting the resource AVP elements, such that both functions grab the array locks identically: lb_start(): A, B lb_next(): A, B (cherry picked from commit f4d5d31e9217b6c270f693d847fd714f019f2bb1) Commit: ef7a6801c483ece3ea8ab07275fcec7aa051a3f8 https://github.com/OpenSIPS/opensips/commit/ef7a6801c483ece3ea8ab07275fcec7aa051a3f8 Author: Liviu Chircu Date: 2020-09-04 (Fri, 04 Sep 2020) Changed paths: M doc/build-contrib.sh Log Message: ----------- List new / missing contributors Commit: d29d45f7830aa64688a8b256f5f3a8ceab2cdfa8 https://github.com/OpenSIPS/opensips/commit/d29d45f7830aa64688a8b256f5f3a8ceab2cdfa8 Author: Liviu Chircu Date: 2020-09-04 (Fri, 04 Sep 2020) Changed paths: M modules/rtpengine/bencode.h Log Message: ----------- Merge pull request #2239 from l2dy/rtpengine-signed rtpengine: fix single-bit field type Commit: e74829d443da599a24a14ac3ee4cd46ae09d79c6 https://github.com/OpenSIPS/opensips/commit/e74829d443da599a24a14ac3ee4cd46ae09d79c6 Author: Liviu Chircu Date: 2020-09-07 (Mon, 07 Sep 2020) Changed paths: M modules/nathelper/sip_pinger.h Log Message: ----------- nathelper: Do not crash on bad ping reply Credits to Alexey Vasilyev for the report! Fixes #2242 (cherry picked from commit fb34cbc51405d7928dac0768be4ad912f1bb0bed) Commit: 2efaeee24c69841e9776e360960bc8d644081ff9 https://github.com/OpenSIPS/opensips/commit/2efaeee24c69841e9776e360960bc8d644081ff9 Author: Ovidiu Sas Date: 2020-09-07 (Mon, 07 Sep 2020) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: fix/reformat some logs Commit: 6ddfe6221940a8c71cfd118dd36c022251e1100b https://github.com/OpenSIPS/opensips/commit/6ddfe6221940a8c71cfd118dd36c022251e1100b Author: Alexey Vasilyev Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M cfg_pp.c Log Message: ----------- Reset config errors counter on every config parsing Commit: 926d7c71564d71c6eec207a811ab0ee68f860499 https://github.com/OpenSIPS/opensips/commit/926d7c71564d71c6eec207a811ab0ee68f860499 Author: Bogdan Andrei IANCU Date: 2020-09-08 (Tue, 08 Sep 2020) Changed paths: M cfg_pp.c Log Message: ----------- Merge pull request #2244 from vasilevalex/cfg_parse Reset config errors counter on every config parsing Commit: e0704c7bf32863452fc1567fd8defe211d28dcae https://github.com/OpenSIPS/opensips/commit/e0704c7bf32863452fc1567fd8defe211d28dcae Author: Vlad Patrascu Date: 2020-09-10 (Thu, 10 Sep 2020) Changed paths: M lib/cJSON.c Log Message: ----------- cJSON lib: fix double free in case of string parsing error Fixes #1977 (cherry picked from commit a53f3bd689a01c495809214823d07bfc3cab512a) Commit: e2aa23ba82456b927e6a3f50e9bf527e49b163ea https://github.com/OpenSIPS/opensips/commit/e2aa23ba82456b927e6a3f50e9bf527e49b163ea Author: Bogdan-Andrei Iancu Date: 2020-09-15 (Tue, 15 Sep 2020) Changed paths: M lib/path.c Log Message: ----------- [core] fix building path hdr for IPv6 IPv6 addresses in path received parameter are not enclosed in brackes Credits go to @hafkensite / Jasper Hafkenscheid Closes #2247 (cherry picked from commit 58bead88852993877237984e32d4da47f01a7ba9) Commit: 3f053873f05b5b6eaf15670083f6f0a4fc938544 https://github.com/OpenSIPS/opensips/commit/3f053873f05b5b6eaf15670083f6f0a4fc938544 Author: Bogdan-Andrei Iancu Date: 2020-09-15 (Tue, 15 Sep 2020) Changed paths: M lib/path.c Log Message: ----------- [core] fix limited support for transport vals in PATH The transport of the received parameter was limited to TPC/TLS/SCTP (no WS or WSS) (cherry picked from commit e1347ebe47984492f5a7d383ef00559ce41da8be) Commit: 97d074207b8ded150c7199e12e9c5b79fd2119eb https://github.com/OpenSIPS/opensips/commit/97d074207b8ded150c7199e12e9c5b79fd2119eb Author: Bogdan-Andrei Iancu Date: 2020-09-15 (Tue, 15 Sep 2020) Changed paths: M lib/path.h Log Message: ----------- [core] missing file from e1347ebe4 (cherry picked from commit 72e4b9d4f85ed5f8a745811fd47f6a2d02a6a993) Commit: 807c13b59f7a2a3bd3731e1db69e15904b06459c https://github.com/OpenSIPS/opensips/commit/807c13b59f7a2a3bd3731e1db69e15904b06459c Author: Bogdan-Andrei Iancu Date: 2020-09-15 (Tue, 15 Sep 2020) Changed paths: M modules/load_balancer/load_balancer.c Log Message: ----------- [load_balancer] Fix wrong param name on MI lb_resize Correct the name of the MI lb_resize command parameter used for the new capacity of the destination Credits go to @zhanghaiming Closes #2246 (cherry picked from commit 411f456606d55c40ce98511222c8231fbb57a18d) Commit: f17737985e65e88d416b102f6f3f5503f918768f https://github.com/OpenSIPS/opensips/commit/f17737985e65e88d416b102f6f3f5503f918768f Author: Razvan Crainea Date: 2020-09-16 (Wed, 16 Sep 2020) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: fix bug when "state" was not shown by dlg_list Commit d883a0d72a introduced a bug in the dialog module that was no longer printing the "state" node in the MI output; this commit fixes the bug. Commit: 156460ee9658802823e184911ae62339562f2926 https://github.com/OpenSIPS/opensips/commit/156460ee9658802823e184911ae62339562f2926 Author: Maksym Sobolyev Date: 2020-09-17 (Thu, 17 Sep 2020) Changed paths: M parser/digest/digest_parser.c Log Message: ----------- Fix a rather obscure copy-n-paste bug in the digest parser causing "Digestn" to be accepted just as well as "Digest" would, however if the header happens to overflow to the next line right after that, i.e.: Authorization: Digest[CRLF] username="opensipit2020"... The header would fail to be parsed at LF. Use is_ws() macro here, don't reinvent a wheel. Commit: 659b32939d16c318fa21b9ce4b33b25b99312ca7 https://github.com/OpenSIPS/opensips/commit/659b32939d16c318fa21b9ce4b33b25b99312ca7 Author: Maksym Sobolyev Date: 2020-09-17 (Thu, 17 Sep 2020) Changed paths: M trim.h M ut.h Log Message: ----------- Use is_ws() in two more places where appropriate. Commit: d3b071a2d7792b7e6091dea11b36d9edba8c8bc7 https://github.com/OpenSIPS/opensips/commit/d3b071a2d7792b7e6091dea11b36d9edba8c8bc7 Author: Maksym Sobolyev Date: 2020-09-17 (Thu, 17 Sep 2020) Changed paths: M trim.h Log Message: ----------- Steal highly optimizable and smart algorithm to do LWS detection invented by the clang project. It does LWS detection in just a handful instructions and no branches, as compared to the dozen instructions and 4 branches currently. Some info on how it works here: https://pdimov.github.io/blog/2020/07/19/llvm-and-memchr/ ==== C code === int is_ws_original(char cp) { return ((cp == ' ') || (cp == '\r') || (cp == 'n') || (cp == '\t') || (cp == ',')); } int is_ws_new(unsigned char ch) { const unsigned int mask = (1 << (' ' - 1)) | (1 << ('\r' - 1)) | (1 << ('\n' - 1)) | (1 << ('\t' - 1)); ch--; return ch < ' ' && ((1 << ch) & mask); } ==== Compiled, latest clang/trunk, -O2, x86_64 ==== is_ws_original: # @is_ws_original mov eax, 1 cmp dil, 32 ja .LBB6_1 movzx ecx, dil movabs rdx, 4294976000 bt rdx, rcx jb .LBB6_4 .LBB6_1: cmp dil, 110 jne .LBB6_2 .LBB6_4: ret .LBB6_2: xor eax, eax cmp dil, 44 sete al ret is_ws_new: # @is_ws_new add dil, -1 cmp dil, 32 setb al movzx ecx, dil mov edx, -2147478784 bt edx, ecx setb cl and cl, al movzx eax, cl ret ==== Commit: baddd32e2fd6cb43dd8b55f8a9f494fbd506d403 https://github.com/OpenSIPS/opensips/commit/baddd32e2fd6cb43dd8b55f8a9f494fbd506d403 Author: Liviu Chircu Date: 2020-09-18 (Fri, 18 Sep 2020) Changed paths: M parser/digest/digest_parser.c M trim.h M ut.h Log Message: ----------- Merge pull request #2253 from sippy/master_2020 Fix a rather obscure copy-n-paste bug in the digest parser Commit: 14cce667e1c4396c6e57ba40c9af6fc1366f66fe https://github.com/OpenSIPS/opensips/commit/14cce667e1c4396c6e57ba40c9af6fc1366f66fe Author: Vlad Patrascu Date: 2020-09-18 (Fri, 18 Sep 2020) Changed paths: M modules/presence_dfks/doc/presence_dfks_admin.xml Log Message: ----------- presence_dfks: fix dfks_set_feature doc example Commit: 6ad5d4e9eb440e60e8a512d0a5aebe576798bb69 https://github.com/OpenSIPS/opensips/commit/6ad5d4e9eb440e60e8a512d0a5aebe576798bb69 Author: Vlad Patrascu Date: 2020-09-18 (Fri, 18 Sep 2020) Changed paths: M modules/stir_shaken/stir_shaken.c Log Message: ----------- stir_shaken: improve debug and error logs Commit: bf379955492ba0c058843600ba1b5a932d34a30d https://github.com/OpenSIPS/opensips/commit/bf379955492ba0c058843600ba1b5a932d34a30d Author: Maksym Sobolyev Date: 2020-09-21 (Mon, 21 Sep 2020) Changed paths: M parser/parse_authenticate.c M parser/parse_authenticate.h Log Message: ----------- Fix parse_qop_value() to not access memory outside of the qop value region. Noticed by: liviuchircu Use is_ws(), not isspace() while I am here. Commit: b30ac6be3348059684ed8e79d01183784f4cb5f5 https://github.com/OpenSIPS/opensips/commit/b30ac6be3348059684ed8e79d01183784f4cb5f5 Author: Liviu Chircu Date: 2020-09-22 (Tue, 22 Sep 2020) Changed paths: M evi/evi_params.c Log Message: ----------- EVI: Improve debug logs Commit: 6757f56cdb982bc8a15519d6af0eb34188fa6951 https://github.com/OpenSIPS/opensips/commit/6757f56cdb982bc8a15519d6af0eb34188fa6951 Author: Liviu Chircu Date: 2020-09-22 (Tue, 22 Sep 2020) Changed paths: M lib/reg/pn.c M modules/registrar/save.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_timer.c M modules/usrloc/usrloc.h Log Message: ----------- SIP PN Support: Add the "reason" param in E_UL_CONTACT_REFRESH This gives developers the ability to distinguish between the different types of Push Notifications (e.g. binding refresh, incoming call, etc.). Commit: 4755826f7318a7e6e036a86aa28d7983a87bdbd6 https://github.com/OpenSIPS/opensips/commit/4755826f7318a7e6e036a86aa28d7983a87bdbd6 Author: Liviu Chircu Date: 2020-09-22 (Tue, 22 Sep 2020) Changed paths: M lib/reg/pn.c Log Message: ----------- Fix gcc warning Commit: b2602658971214327a28f1c4ea7c9fcce82f7497 https://github.com/OpenSIPS/opensips/commit/b2602658971214327a28f1c4ea7c9fcce82f7497 Author: Maksym Sobolyev Date: 2020-09-22 (Tue, 22 Sep 2020) Changed paths: M evi/evi_params.c M lib/reg/pn.c M modules/registrar/save.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_timer.c M modules/usrloc/usrloc.h Log Message: ----------- Merge remote-tracking branch 'upstream/master' into master_fix_parse_qop_value Commit: eb5a900622e93f4c10213affb9602dcde16cf69c https://github.com/OpenSIPS/opensips/commit/eb5a900622e93f4c10213affb9602dcde16cf69c Author: Liviu Chircu Date: 2020-09-23 (Wed, 23 Sep 2020) Changed paths: M modules/gflags/gflags.c Log Message: ----------- gflags: Allow functions to be called from any route Reported by Jeff Pyle Commit: 7741da5af94f1074e0e29fd1bef5e5a028e3bd8a https://github.com/OpenSIPS/opensips/commit/7741da5af94f1074e0e29fd1bef5e5a028e3bd8a Author: Maksym Sobolyev Date: 2020-09-23 (Wed, 23 Sep 2020) Changed paths: A parser/test/test_oob.c A parser/test/test_oob.h M parser/test/test_parse_qop.c Log Message: ----------- o Make test_parse_qop working with the new parse_qop_value() API; o Add few more checks for error handling; o Organize the code better; o Add out-of-buffer testing API, which verifies that FUT is not accessing memory before supplied buffer or after. The API is fairly generic, so it might be used in other unit tests too. Commit: a100b7ad8cd3aefc42794a340e45c6e3ddabebe3 https://github.com/OpenSIPS/opensips/commit/a100b7ad8cd3aefc42794a340e45c6e3ddabebe3 Author: Liviu Chircu Date: 2020-09-24 (Thu, 24 Sep 2020) Changed paths: M modules/cfgutils/test/cfgutils.c Log Message: ----------- cfgutils: Add initial test suite for multi time rec Commit: dc9b295d03af6ba91bee2dea9745c04143cedcbe https://github.com/OpenSIPS/opensips/commit/dc9b295d03af6ba91bee2dea9745c04143cedcbe Author: Liviu Chircu Date: 2020-09-24 (Thu, 24 Sep 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cpl_c/cpl_switches.h M modules/dialplan/dp_repl.c M modules/drouting/prefix_tree.c M time_rec.c M time_rec.h Log Message: ----------- time rec support: Remove dead code * simplify "always false" if conditions * get rid of redundant (duplicate) memset() operations Commit: 285550d0bcfa7f223cf500f0cad7a2a6063ed0c6 https://github.com/OpenSIPS/opensips/commit/285550d0bcfa7f223cf500f0cad7a2a6063ed0c6 Author: Liviu Chircu Date: 2020-09-24 (Thu, 24 Sep 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/test/cfgutils.c Log Message: ----------- cfgutils: Prepare for multi time-rec support * differentiate error codes (no match, bad input, internal error) * refactor into a validation function for a simple time rec Commit: 8338276fc3921f096015b5a6061f2049be133553 https://github.com/OpenSIPS/opensips/commit/8338276fc3921f096015b5a6061f2049be133553 Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/test/cfgutils.c Log Message: ----------- cfgutils: Enhance check_time_rec() with multi-rec support This gives developers the ability to combine multiple time recurrences into a compact, easy-to-evaluate string expressing a complex schedule. The linking is done using the logical operators: AND ("&"), OR ("/") and NEG ("!"). Assuming A, B and C are vanilla check_time_rec() time recurrence strings, here are some example expressions that now become available: A & B A / B (A & B) / C A & !B !((A / B) & C) / D Commit: d4383f4c505748cf6633aeef700a496c98ea7fc0 https://github.com/OpenSIPS/opensips/commit/d4383f4c505748cf6633aeef700a496c98ea7fc0 Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/doc/cfgutils_admin.xml Log Message: ----------- cfgutils: Update check_time_rec() docs Commit: da73077965eeedeb47fa3480bbe1e0aca3c54ee3 https://github.com/OpenSIPS/opensips/commit/da73077965eeedeb47fa3480bbe1e0aca3c54ee3 Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/doc/cfgutils_admin.xml M modules/cfgutils/test/cfgutils.c M modules/cpl_c/cpl_switches.h M modules/dialplan/dp_repl.c M modules/drouting/prefix_tree.c M time_rec.c M time_rec.h Log Message: ----------- Merge branch 'feature/multi-time-rec' Commit: b532509db39d8dac54ca22981038dc1928b88b37 https://github.com/OpenSIPS/opensips/commit/b532509db39d8dac54ca22981038dc1928b88b37 Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M parser/parse_authenticate.c M parser/parse_authenticate.h A parser/test/test_oob.c A parser/test/test_oob.h M parser/test/test_parse_qop.c Log Message: ----------- Merge branch 'master_fix_parse_qop_value' of https://github.com/sippy/opensips into sippy-master_fix_parse_qop_value Commit: ad55f654e81935bccd2a488dcf3c65f053b5525d https://github.com/OpenSIPS/opensips/commit/ad55f654e81935bccd2a488dcf3c65f053b5525d Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M parser/parse_authenticate.c Log Message: ----------- parse_qop_value(): Simplify trimming code Commit: 6a63f35ca40d944a8b0d3ec1df55f85bfe726ad3 https://github.com/OpenSIPS/opensips/commit/6a63f35ca40d944a8b0d3ec1df55f85bfe726ad3 Author: Liviu Chircu Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M modules/db_sqlite/dbase.c Log Message: ----------- Merge pull request #2217 from egreenmachine/dev-sqlite Fix db_insert_update (upsert) in sqlite Commit: 30ef0c6888ad4bcdd4e48c0996dee0e14fc986a0 https://github.com/OpenSIPS/opensips/commit/30ef0c6888ad4bcdd4e48c0996dee0e14fc986a0 Author: Maksym Sobolyev Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M parser/parse_authenticate.c M parser/parse_authenticate.h Log Message: ----------- Rework parse_authenticate_body to be more clear. Fix issue always accessing body.s[0] even if the length is 0. Commit: 382757cd27de363319ff26e8d22081ab5d8b3f12 https://github.com/OpenSIPS/opensips/commit/382757cd27de363319ff26e8d22081ab5d8b3f12 Author: Maksym Sobolyev Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: A parser/test/test_parse_authenticate_body.c A parser/test/test_parse_authenticate_body.h M parser/test/test_parser.c Log Message: ----------- Add unit test for the parse_authenticate_body(). Commit: 080f34d3cafabd90bb59480f00ddbacea74c6ec0 https://github.com/OpenSIPS/opensips/commit/080f34d3cafabd90bb59480f00ddbacea74c6ec0 Author: Maksym Sobolyev Date: 2020-09-25 (Fri, 25 Sep 2020) Changed paths: M parser/test/test_oob.c M parser/test/test_oob.h M parser/test/test_parse_qop.c Log Message: ----------- Improve OOB test to provide a direction hint, so we can have a more useful debug output. Commit: a298b6779adaed67c2fa280d577c6af19969963d https://github.com/OpenSIPS/opensips/commit/a298b6779adaed67c2fa280d577c6af19969963d Author: Ovidiu Sas Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M modules/presence/doc/presence_admin.xml Log Message: ----------- presence: update docs for cluster_federation_mode param - completes commit d4e82ea2beb24666201fe731b46f350708192c81 Commit: 92cf30bb1184c86da2ad21867378265122bd18b9 https://github.com/OpenSIPS/opensips/commit/92cf30bb1184c86da2ad21867378265122bd18b9 Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M modules/presence/doc/presence_admin.xml Log Message: ----------- Merge remote-tracking branch 'upstream/master' into fix_parse_authenticate_body Commit: b0997b1fb56d6f518a26b9fe32e45cb16b9a0284 https://github.com/OpenSIPS/opensips/commit/b0997b1fb56d6f518a26b9fe32e45cb16b9a0284 Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M parser/parse_authenticate.c Log Message: ----------- Use body->len as the only authoritative way to check if the provided body is empty or not. Commit: 20090c44e8df809944fe50a7ca8a3fd0d77cb1a8 https://github.com/OpenSIPS/opensips/commit/20090c44e8df809944fe50a7ca8a3fd0d77cb1a8 Author: Liviu Chircu Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M parser/parse_authenticate.c Log Message: ----------- Merge pull request #2261 from sippy/fab_oob Fix empty body check in the parse_authenticate_body(). Commit: b0612c10fe610a76499e9d8170ad392f63d4396f https://github.com/OpenSIPS/opensips/commit/b0612c10fe610a76499e9d8170ad392f63d4396f Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M test/1.sh M test/11.sh M test/12.sh M test/13.sh M test/14.sh M test/15.sh M test/16.sh M test/18.sh M test/19.sh M test/2.sh M test/20.sh M test/21.sh M test/22.sh M test/23.sh M test/25.sh M test/26.sh M test/27.sh M test/28.sh M test/29.sh M test/30.sh M test/31.sh M test/32.sh M test/33.sh M test/34.sh M test/35.sh M test/4.sh M test/5.sh M test/6.sh M test/7.sh M test/Makefile Log Message: ----------- o Don't assume bash lives in /bin; o fix arguments ordering while calling head to work correctly on non-GNU systems. Commit: b8d86380b95d47d5759a9d0967ec4eb1b9932985 https://github.com/OpenSIPS/opensips/commit/b8d86380b95d47d5759a9d0967ec4eb1b9932985 Author: Liviu Chircu Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M test/1.sh M test/11.sh M test/12.sh M test/13.sh M test/14.sh M test/15.sh M test/16.sh M test/18.sh M test/19.sh M test/2.sh M test/20.sh M test/21.sh M test/22.sh M test/23.sh M test/25.sh M test/26.sh M test/27.sh M test/28.sh M test/29.sh M test/30.sh M test/31.sh M test/32.sh M test/33.sh M test/34.sh M test/35.sh M test/4.sh M test/5.sh M test/6.sh M test/7.sh M test/Makefile Log Message: ----------- Merge pull request #2262 from sippy/test_freebsd_fix Few FreeBSD fixes into test system. Commit: 7bb1206129aaff4695bcd7b6a3aae40eb076c42f https://github.com/OpenSIPS/opensips/commit/7bb1206129aaff4695bcd7b6a3aae40eb076c42f Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M test/1.sh M test/11.sh M test/12.sh M test/13.sh M test/14.sh M test/15.sh M test/16.sh M test/18.sh M test/19.sh M test/2.sh M test/20.sh M test/21.sh M test/22.sh M test/23.sh M test/25.sh M test/26.sh M test/27.sh M test/28.sh M test/29.sh M test/30.sh M test/31.sh M test/32.sh M test/33.sh M test/34.sh M test/35.sh M test/4.sh M test/5.sh M test/6.sh M test/7.sh M test/Makefile Log Message: ----------- Merge branch 'master' of github.com:OpenSIPS/opensips into fix_parse_authenticate_body Commit: a76e4421a621b41216c7c6e501497680dbe91ecd https://github.com/OpenSIPS/opensips/commit/a76e4421a621b41216c7c6e501497680dbe91ecd Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M parser/test/test_oob.c M parser/test/test_oob.h M parser/test/test_parse_authenticate_body.c M parser/test/test_parse_qop.c Log Message: ----------- Rename enum members: o OOB_PRE -> OOB_UNDERFLOW; o OOB_POST -> OOB_OVERFLOW. Convert repeating debug expression into a resuable macro. Suggested by: @liviuchircu Commit: 025463a909bd3519da30f497414ece8431658494 https://github.com/OpenSIPS/opensips/commit/025463a909bd3519da30f497414ece8431658494 Author: Maksym Sobolyev Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M parser/test/test_parse_authenticate_body.c Log Message: ----------- Move test data struct out of test function and format it a bit better. Suggested by: @liviuchircu Commit: 1faf7664296b195aab29d9886042bc08acc1cddd https://github.com/OpenSIPS/opensips/commit/1faf7664296b195aab29d9886042bc08acc1cddd Author: Liviu Chircu Date: 2020-09-28 (Mon, 28 Sep 2020) Changed paths: M parser/parse_authenticate.c M parser/parse_authenticate.h M parser/test/test_oob.c M parser/test/test_oob.h A parser/test/test_parse_authenticate_body.c A parser/test/test_parse_authenticate_body.h M parser/test/test_parse_qop.c M parser/test/test_parser.c Log Message: ----------- Merge pull request #2260 from sippy/fix_parse_authenticate_body Clean up parse_authenticate_body(), fix small bug. Add Unit Test. Improve OOB test. Commit: 7ba72d434aee3db949c351a46970122f41a7c50a https://github.com/OpenSIPS/opensips/commit/7ba72d434aee3db949c351a46970122f41a7c50a Author: Razvan Crainea Date: 2020-09-29 (Tue, 29 Sep 2020) Changed paths: M modules/sipcapture/sipcapture.c M net/trans_trace.c Log Message: ----------- sipcapture: fix overlapping function name the build_dummy_msg() function being used without the static identifier causes confusion for some compilers. An example is the AL2 compiler, which instead of using the module's implementation, it uses the core's one, hence resulting in broken behavior. Credit goes to @ghmj2417 (GitHub) for reporting this in ticket #2255 Close #2255 Commit: dcd15129a9bc9087360f3168f5fc36eca4730a54 https://github.com/OpenSIPS/opensips/commit/dcd15129a9bc9087360f3168f5fc36eca4730a54 Author: Maksym Sobolyev Date: 2020-09-30 (Wed, 30 Sep 2020) Changed paths: A Makefile.openssl M modules/identity/Makefile M modules/osp/Makefile M modules/proto_tls/Makefile M modules/proto_wss/Makefile M modules/tls_mgm/Makefile Log Message: ----------- Move the same openssl make-foo code that has been copied and pasted around into a central location and include it from there. Commit: 936bb99bf2827e0512cbab756b3ddd8a9b1723ea https://github.com/OpenSIPS/opensips/commit/936bb99bf2827e0512cbab756b3ddd8a9b1723ea Author: Maksym Sobolyev Date: 2020-09-30 (Wed, 30 Sep 2020) Changed paths: M parser/digest/digest_parser.c Log Message: ----------- Cleanup digest_parser code a bit: o replace another implementation of is_ws() with a is_ws call; o use str.len as the primary and the only way to see if string has zero lengh. Depending on how algorithm works, str.s might be non-NULL even if str.len == 0. Commit: 7dc3a4fb58ffc38d07d0e96d419a2e2e2d6777f8 https://github.com/OpenSIPS/opensips/commit/7dc3a4fb58ffc38d07d0e96d419a2e2e2d6777f8 Author: Maksym Sobolyev Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: M modules/uac_auth/auth.c M parser/parse_authenticate.c M parser/parse_authenticate.h M parser/test/test_parse_authenticate_body.c Log Message: ----------- Re-use alg_t from "digest/digest_parser.h" and get rid of the duplicate AUTHENTICATE_MD5 and AUTHENTICATE_MD5SESS definitions. Commit: c036539f33365b5f1a24ccf03c862df9213de168 https://github.com/OpenSIPS/opensips/commit/c036539f33365b5f1a24ccf03c862df9213de168 Author: Liviu Chircu Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: M modules/uac_auth/auth.c M parser/parse_authenticate.c M parser/parse_authenticate.h M parser/test/test_parse_authenticate_body.c Log Message: ----------- Merge branch 'sippy-use_alg_t_luke' Commit: f97470deb5b105f690ebd8408e6fea6ed18f11b7 https://github.com/OpenSIPS/opensips/commit/f97470deb5b105f690ebd8408e6fea6ed18f11b7 Author: Liviu Chircu Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: M parser/digest/digest_parser.c Log Message: ----------- Merge pull request #2270 from sippy/pr_fix_digest_parser Cleanup digest_parser code a bit. Commit: bd33a4e4d937a437df1548fbfd2c14fa797040d5 https://github.com/OpenSIPS/opensips/commit/bd33a4e4d937a437df1548fbfd2c14fa797040d5 Author: Bogdan Andrei IANCU Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: A Makefile.openssl M modules/identity/Makefile M modules/osp/Makefile M modules/proto_tls/Makefile M modules/proto_wss/Makefile M modules/tls_mgm/Makefile Log Message: ----------- Merge pull request #2269 from sippy/unify_openssl_makefoo Unify openssl make-foo Commit: 3a05dc1de32e7403cde3e65de2d0ca9ce2513900 https://github.com/OpenSIPS/opensips/commit/3a05dc1de32e7403cde3e65de2d0ca9ce2513900 Author: Vlad Patrascu Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: M modules/cachedb_local/cachedb_local_replication.c Log Message: ----------- cachedb_local: fix an ERR log when syncing from cluster Commit: 466f96eeb024706a2e0fc467608e552b6b01316f https://github.com/OpenSIPS/opensips/commit/466f96eeb024706a2e0fc467608e552b6b01316f Author: Vlad Patrascu Date: 2020-10-01 (Thu, 01 Oct 2020) Changed paths: M modules/cachedb_local/cachedb_local.h M modules/cachedb_local/cachedb_local_replication.c M modules/cachedb_local/hash.c M modules/cachedb_local/hash.h Log Message: ----------- cachedb_local: fix processing of replication and sync packets Fixes #2092 Commit: fc3978d488c4eb6f30161b9875a60111ae56f235 https://github.com/OpenSIPS/opensips/commit/fc3978d488c4eb6f30161b9875a60111ae56f235 Author: Flavio E Goncalves Date: 2020-10-04 (Sun, 04 Oct 2020) Changed paths: M menuconfig/configs/opensips_residential.m4 Log Message: ----------- Fix in the residential script. Does not make sense to send a plus character to drouting who does not support the plus in a prefix Commit: f82d3b107969724484465cc1e982c6cc5c8cf39f https://github.com/OpenSIPS/opensips/commit/f82d3b107969724484465cc1e982c6cc5c8cf39f Author: Flavio E. Goncalves Date: 2020-10-04 (Sun, 04 Oct 2020) Changed paths: M modules/rtpengine/README M modules/rtpengine/doc/rtpengine_admin.xml Log Message: ----------- Fix in the parameters trust-address and SIP-source-address of the rtpengine Commit: 903c24c0d211183da40de80d75a552c1be61130c https://github.com/OpenSIPS/opensips/commit/903c24c0d211183da40de80d75a552c1be61130c Author: Bogdan Andrei IANCU Date: 2020-10-06 (Tue, 06 Oct 2020) Changed paths: M menuconfig/configs/opensips_residential.m4 M modules/rtpengine/README M modules/rtpengine/doc/rtpengine_admin.xml Log Message: ----------- Merge pull request #2272 from flaviogoncalves/flavio Fix in the residential script. Does not make sense to send a plus cha… Commit: c299d1403b1f87e1230d20810cb6aaef68e49206 https://github.com/OpenSIPS/opensips/commit/c299d1403b1f87e1230d20810cb6aaef68e49206 Author: Liviu Chircu Date: 2020-10-06 (Tue, 06 Oct 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/doc/cfgutils_admin.xml M modules/cfgutils/test/cfgutils.c M time_rec.c M time_rec.h Log Message: ----------- check_time_rec(): Move the tz into the recurrence string This allows full control over each time recurrence's timezone, when combining multiple such recurrences into logical expressions (see the recently added multi-rec support). Commit: 6e1c01c960dc73deb51277ec2532eaa21f8426a4 https://github.com/OpenSIPS/opensips/commit/6e1c01c960dc73deb51277ec2532eaa21f8426a4 Author: Liviu Chircu Date: 2020-10-06 (Tue, 06 Oct 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/test/cfgutils.c M modules/cpl_c/cpl_switches.h M modules/dialplan/dialplan.h M modules/dialplan/dp_db.c M modules/dialplan/dp_repl.c M modules/drouting/dr_api.h M modules/drouting/dr_api_internal.c M modules/drouting/dr_load.c M modules/drouting/prefix_tree.c M modules/drouting/prefix_tree.h M modules/drouting/routing.c M modules/drouting/routing.h M modules/fraud_detection/frd_load.c M time_rec.c M time_rec.h Log Message: ----------- Add a time rec expression parsing & checking API ... as a continuation of 8338276fc39. Also integrate all of this with: * drouting (added time rec expr support) * dialplan (added time rec expr support) * fraud_detection (just so it compiles) * cpl_c (just so it compiles) Commit: 9dcff69df77aee4a3167d0ed8d2dc052740312ee https://github.com/OpenSIPS/opensips/commit/9dcff69df77aee4a3167d0ed8d2dc052740312ee Author: Maksym Sobolyev Date: 2020-10-06 (Tue, 06 Oct 2020) Changed paths: M modules/auth/challenge.c M modules/auth/common.c M modules/auth/common.h Log Message: ----------- Clean up UAS auth code a bit before I dive into RFC8760 rework. o Get rid of the XYZ_LEN constants; o normalize parameters to not pass char * + len, pass str * instead; o add const where appropriate; o GC stale _PRINT_MD5 section, it's going to be replaced with the new code really soon; o avoid calling strlen() when the string lenth is well known. No functional changes (I hope). Commit: 36e0281b7309e2be39e478c96575cadf9a35260b https://github.com/OpenSIPS/opensips/commit/36e0281b7309e2be39e478c96575cadf9a35260b Author: Maksym Sobolyev Date: 2020-10-06 (Tue, 06 Oct 2020) Changed paths: M str.h Log Message: ----------- Extend STR_NULL and str_init() to set a type explicitly. This allows those macros to be used elsewhere in the function body, not only in variable declaration(s), i.e.: void foobar(int baz) { str localstr; if (random() == 42) { localstr = str_init(I_STR LUCKY_STR FIN_STR); } else { localstr = str_init(I_STR UNLUCKY_STR FIN_STR); } some_api(&localstr); } Commit: f235ad2e3c63cc20e44bf520d9d4f2ae990ed928 https://github.com/OpenSIPS/opensips/commit/f235ad2e3c63cc20e44bf520d9d4f2ae990ed928 Author: Liviu Chircu Date: 2020-10-07 (Wed, 07 Oct 2020) Changed paths: M modules/registrar/lookup.c Log Message: ----------- usrloc is_contact_registered(): Add useful debug logs (cherry picked from commit 64c3724faa3b90918bda4c95ee716d487a3f0f1f) Commit: cfe658653a478458a139affa53b1b5f60a9fe357 https://github.com/OpenSIPS/opensips/commit/cfe658653a478458a139affa53b1b5f60a9fe357 Author: Liviu Chircu Date: 2020-10-08 (Thu, 08 Oct 2020) Changed paths: M modules/emergency/post_curl.c Log Message: ----------- Merge pull request #2228 from l2dy/emergency emergency: fix memory leak on error Commit: f91c13af1fa9ee55071bd99b249902360c8def65 https://github.com/OpenSIPS/opensips/commit/f91c13af1fa9ee55071bd99b249902360c8def65 Author: Liviu Chircu Date: 2020-10-08 (Thu, 08 Oct 2020) Changed paths: M modules/emergency/post_curl.c Log Message: ----------- emergency: Remove bogus curl_global_cleanup() at runtime Suggested by Walter Doekes (@wdoekes) Commit: c9e0f70e8cc9f86552a82dacde5349ddf803fc7b https://github.com/OpenSIPS/opensips/commit/c9e0f70e8cc9f86552a82dacde5349ddf803fc7b Author: Maksym Sobolyev Date: 2020-10-08 (Thu, 08 Oct 2020) Changed paths: M modules/signaling/signaling.c M modules/signaling/signaling.h M modules/sl/sl_api.h M modules/sl/sl_funcs.c M modules/sl/sl_funcs.h M modules/tm/t_reply.c M modules/tm/t_reply.h M msg_translator.c M msg_translator.h Log Message: ----------- Mark "text", i.e. status message argument of the build_res_buf_from_sip_req() as "const *" and propagate it into relevant functions of tm, sl and signalling modules. Commit: d9574358d1670391c2b1cbe1d7ccbe37eb4defca https://github.com/OpenSIPS/opensips/commit/d9574358d1670391c2b1cbe1d7ccbe37eb4defca Author: Maksym Sobolyev Date: 2020-10-08 (Thu, 08 Oct 2020) Changed paths: M modules/auth/doc/auth_admin.xml Log Message: ----------- Improve auth module examples: o Use $var(xyz) consistently. $avp's take shared resources and aren't really justified in this use case; o fix www_challenge / proxy_challenge second argument to match reality. Commit: 899a89f52282e42ed65f1d614c2daf0db35f3922 https://github.com/OpenSIPS/opensips/commit/899a89f52282e42ed65f1d614c2daf0db35f3922 Author: Liviu Chircu Date: 2020-10-09 (Fri, 09 Oct 2020) Changed paths: M modules/auth/doc/auth_admin.xml Log Message: ----------- Merge pull request #2279 from sippy/pr_auth_doc_fix Improve auth module examples Commit: e8dd676f9693b25defe00076720cd5d5563cbc63 https://github.com/OpenSIPS/opensips/commit/e8dd676f9693b25defe00076720cd5d5563cbc63 Author: Liviu Chircu Date: 2020-10-09 (Fri, 09 Oct 2020) Changed paths: M modules/auth/challenge.c M modules/auth/common.c M modules/auth/common.h M modules/signaling/signaling.c M modules/signaling/signaling.h M modules/sl/sl_api.h M modules/sl/sl_funcs.c M modules/sl/sl_funcs.h M modules/tm/t_reply.c M modules/tm/t_reply.h M msg_translator.c M msg_translator.h M str.h Log Message: ----------- Merge pull request #2277 from sippy/pr_str_improve2 Clean up UAS auth code a bit before I dive into RFC8760 rework. Commit: 8ce9eb22e1ead5b0afeff367b01d0b510650cdc5 https://github.com/OpenSIPS/opensips/commit/8ce9eb22e1ead5b0afeff367b01d0b510650cdc5 Author: Liviu Chircu Date: 2020-10-09 (Fri, 09 Oct 2020) Changed paths: M modules/auth/doc/auth_admin.xml Log Message: ----------- auth: Fix doc regression in d9574358d :) Although $var() variables are awesome, some module params (e.g. the "rpid_avp") really mandate an AVP and won't settle on anything else. Commit: a66164811e1afbee0e5c80cf9106bfca61fb4f30 https://github.com/OpenSIPS/opensips/commit/a66164811e1afbee0e5c80cf9106bfca61fb4f30 Author: Razvan Crainea Date: 2020-10-12 (Mon, 12 Oct 2020) Changed paths: M modules/ratelimit/ratelimit_helper.c Log Message: ----------- ratelimit: fix displaying pipes in rl_list This fix solves the problem where only one pipe per hash were listed by the rl_list command, resulting in missing pipes. Reported by Alain Bieuzent on users list and Robert Moss Commit: c45c71411f0acb2d7853297c5ad4fff2c7f04072 https://github.com/OpenSIPS/opensips/commit/c45c71411f0acb2d7853297c5ad4fff2c7f04072 Author: Razvan Crainea Date: 2020-10-13 (Tue, 13 Oct 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix start and stop forwarding Credits go to Roman Kokorev for reporing and fixing in ticket #2281. Close #2281 Commit: 312fd3f52edef8d240d3d26784f97748f05c85a2 https://github.com/OpenSIPS/opensips/commit/312fd3f52edef8d240d3d26784f97748f05c85a2 Author: Liviu Chircu Date: 2020-10-13 (Tue, 13 Oct 2020) Changed paths: M modules/cfgutils/test/cfgutils.c M time_rec.c Log Message: ----------- cfgutils: Fix a timezone parsing bug in expressions The timezone's "/" middle-part and the "/" (OR operator) were conflicting from the parser's PoV, and there were no tests to emphasize this issue. Credits to Bogdan-Andrei Iancu for the catch! Commit: 56e941130c5f8f84e1986bc8ffb1dad6f275adc4 https://github.com/OpenSIPS/opensips/commit/56e941130c5f8f84e1986bc8ffb1dad6f275adc4 Author: Razvan Crainea Date: 2020-10-13 (Tue, 13 Oct 2020) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: restore SDP and advertised contacts Reported by @jpyle490 on GitHub. Close #2275 Commit: 25e55f10c7d690230e3e1060958d8b5f0621b540 https://github.com/OpenSIPS/opensips/commit/25e55f10c7d690230e3e1060958d8b5f0621b540 Author: Razvan Crainea Date: 2020-10-13 (Tue, 13 Oct 2020) Changed paths: M packaging/debian/control M packaging/redhat_fedora/opensips.spec Log Message: ----------- packaging: fix typo in emergency module description Thank you @SB-JohnK for reporting it! Close #2263 Commit: 956916043b18e1c5c1f2a09b11b88666818ba12d https://github.com/OpenSIPS/opensips/commit/956916043b18e1c5c1f2a09b11b88666818ba12d Author: Maksym Sobolyev Date: 2020-10-14 (Wed, 14 Oct 2020) Changed paths: M .gitignore M Makefile M Makefile.defs A Makefile.misclibs M Makefile.rules A scripts/build/linkstatic.sh Log Message: ----------- Add ability to build various static supporting libraries to contain code that is shared between several modules. Discussed with @liviuchircu & @bogdan-iancu. Commit: 6101cf9b2c9db5d47177ff1cc3c1e39a55e196df https://github.com/OpenSIPS/opensips/commit/6101cf9b2c9db5d47177ff1cc3c1e39a55e196df Author: Maksym Sobolyev Date: 2020-10-14 (Wed, 14 Oct 2020) Changed paths: A lib/reg/Makefile M modules/mid_registrar/Makefile M modules/registrar/Makefile Log Message: ----------- Build / use libreg.a. Commit: 0e5377c640296051ab46bd50820bb21b6b819223 https://github.com/OpenSIPS/opensips/commit/0e5377c640296051ab46bd50820bb21b6b819223 Author: Razvan Crainea Date: 2020-10-15 (Thu, 15 Oct 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- drouting: fix printing gw list for dr_number_routing Thanks go to Kirill Galinurov for reporting it on Slack Commit: b7dcc4aa9925b9db9fff0d2623052db66e1c13fc https://github.com/OpenSIPS/opensips/commit/b7dcc4aa9925b9db9fff0d2623052db66e1c13fc Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M .travis.yml Log Message: ----------- Switch to bionic (aka Ubuntu 18) as main test vehicle and add bunch of extra jobs: o Build with GCC 7 @ Ubuntu 18; o Build with GCC 9 @ Ubuntu 18; o Build with GCC 10 @ Ubuntu 18; o Build with Clang 7 @ Ubuntu 18; o Build with Clang 9 @ Ubuntu 18; o Build with Clang 10 @ Ubuntu 18; o Build with GCC 7 @ Ubuntu 18 (ARM); o Build with Clang 7 @ Ubuntu 18 (ARM); o Build Core with GCC 7 @ Ubuntu 18 (i386); o Build Core with Clang 7 @ Ubuntu 18 (i386). Fix Travis warnings: o GC sudo, fixes "root: deprecated key sudo (The key `sudo` has no effect anymore.)"; o add dist into global; o add os. Commit: 736163f0edfbe93fd08eec8e51377d456c4c9cb4 https://github.com/OpenSIPS/opensips/commit/736163f0edfbe93fd08eec8e51377d456c4c9cb4 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M resolve.c Log Message: ----------- Fix warning converting from int to float with Clang 10: resolve.c:1454:34: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion] Commit: 18f4c3d9b34583c7464eba2e5ca8fe24f72e9fc9 https://github.com/OpenSIPS/opensips/commit/18f4c3d9b34583c7464eba2e5ca8fe24f72e9fc9 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: R atomic.h M statistics.c M statistics.h Log Message: ----------- Use stdatomic.h, which is part of C standard since C11. Commit: c20bb225a6a00cdf5ae5f5756714e48844104797 https://github.com/OpenSIPS/opensips/commit/c20bb225a6a00cdf5ae5f5756714e48844104797 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M cfg_pp.c M db/db_val.h M mem/rpm_mem.c M parser/sdp/sdp.c M reactor.c M time_rec.c Log Message: ----------- Fix printf-style formats to match argument when building on 32-bit arches. Commit: cb2ba2ad8c1b0dcc4134bbbc294915387709c355 https://github.com/OpenSIPS/opensips/commit/cb2ba2ad8c1b0dcc4134bbbc294915387709c355 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M parser/parse_privacy.c Log Message: ----------- Make identation consistent to not upset Clang 10: parser/parse_privacy.c:161:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] Commit: 541d832c6cef7538c33a4b594ee6936ba4c272ba https://github.com/OpenSIPS/opensips/commit/541d832c6cef7538c33a4b594ee6936ba4c272ba Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/mi_html/http_fnc.c Log Message: ----------- Fix Clang 9 warning: http_fnc.c:679:22: error: adding 'int' to a string does not append to the string Commit: 42f6c3601564ade0a0003a6f67f82710e64ada92 https://github.com/OpenSIPS/opensips/commit/42f6c3601564ade0a0003a6f67f82710e64ada92 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/drouting/drouting.c M modules/qrouting/qr_sort.c Log Message: ----------- Fix another instance of the implicit conversion from 'int' to 'float' Clang 10 warning. Commit: 2f18d8a768a43daaa509d8860fcf68cf5796483d https://github.com/OpenSIPS/opensips/commit/2f18d8a768a43daaa509d8860fcf68cf5796483d Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/b2b_logic/b2b_logic.c Log Message: ----------- Fix logic error picked up by Cang 10: b2b_logic.c:1789:14: error: overlapping comparisons always evaluate to false [-Werror,-Wtautological-overlap-compare] Commit: 7330ce09fab8309506ad5f6f1c09a77a993663d7 https://github.com/OpenSIPS/opensips/commit/7330ce09fab8309506ad5f6f1c09a77a993663d7 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/drouting/prefix_tree.c Log Message: ----------- Fix warning compiling with Clang 7 on ARM64: prefix_tree.c:158:8: error: result of comparison of constant -1 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare] Commit: 08617f262b1701aa7936df1b62f9534d4a7c68db https://github.com/OpenSIPS/opensips/commit/08617f262b1701aa7936df1b62f9534d4a7c68db Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/rest_client/rest_methods.c Log Message: ----------- Avoid warning on ARM64 when compiled with Clang 7: rest_methods.c:575:21: error: result of comparison of constant -3 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare] Commit: 27634ffef4ca3d5d12770fb7b7f2d2559ad5b998 https://github.com/OpenSIPS/opensips/commit/27634ffef4ca3d5d12770fb7b7f2d2559ad5b998 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/cpl_c/cpl_parser.c M modules/sql_cacher/sql_cacher.h Log Message: ----------- Use int, not char, which could be either signed or unsigned. Commit: bd7aca676d5f9f5f6b7faa615e2669e06e3416c2 https://github.com/OpenSIPS/opensips/commit/bd7aca676d5f9f5f6b7faa615e2669e06e3416c2 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M Makefile.defs Log Message: ----------- Treat both clang and gcc the same for the purpose of figuring out CC_ARCH. Also use -m32 when linking on i386 with clang. Commit: ba42823549cc26fdd1a84eb197c506680c51b414 https://github.com/OpenSIPS/opensips/commit/ba42823549cc26fdd1a84eb197c506680c51b414 Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M mem/q_malloc.c Log Message: ----------- Make definitions of the ST_CHECK_PATTERN, END_CHECK_PATTERN1 and END_CHECK_PATTERN2 independent of sizeof(long). Commit: 74bf0bcdf1eaef81a9ce02f083219da75a9af4be https://github.com/OpenSIPS/opensips/commit/74bf0bcdf1eaef81a9ce02f083219da75a9af4be Author: Maksym Sobolyev Date: 2020-10-16 (Fri, 16 Oct 2020) Changed paths: M modules/rabbitmq/Makefile M modules/rabbitmq_consumer/Makefile Log Message: ----------- If CC_NAME is set to gcc, CC could be anything, like gcc-X. Commit: dff186948a201f4848fde344a96f4fe1341b509c https://github.com/OpenSIPS/opensips/commit/dff186948a201f4848fde344a96f4fe1341b509c Author: rance Date: 2020-10-21 (Wed, 21 Oct 2020) Changed paths: M modules/freeswitch/esl/src/esl.c Log Message: ----------- Fix Memory leak in Freeswitch ESL module. (cherry picked from commit 294e8c489c22fce345450e0441dfbc5a79205d94) Commit: cdcac5bb3b3cc8a7e659a7a58474b2d58995a118 https://github.com/OpenSIPS/opensips/commit/cdcac5bb3b3cc8a7e659a7a58474b2d58995a118 Author: Liviu Chircu Date: 2020-10-21 (Wed, 21 Oct 2020) Changed paths: M .gitignore M Makefile M Makefile.defs A Makefile.misclibs M Makefile.rules A lib/reg/Makefile M modules/mid_registrar/Makefile M modules/registrar/Makefile A scripts/build/linkstatic.sh Log Message: ----------- Merge pull request #2286 from sippy/pr_misclibs Add ability to build various static supporting libraries to contain code that is shared between several modules. Commit: 0e430d803f2acef21c584f70cd36c8bf58c0a525 https://github.com/OpenSIPS/opensips/commit/0e430d803f2acef21c584f70cd36c8bf58c0a525 Author: Liviu Chircu Date: 2020-10-21 (Wed, 21 Oct 2020) Changed paths: M .travis.yml M Makefile.defs R atomic.h M cfg_pp.c M db/db_val.h M mem/q_malloc.c M mem/rpm_mem.c M modules/b2b_logic/b2b_logic.c M modules/cpl_c/cpl_parser.c M modules/drouting/drouting.c M modules/drouting/prefix_tree.c M modules/mi_html/http_fnc.c M modules/qrouting/qr_sort.c M modules/rabbitmq/Makefile M modules/rabbitmq_consumer/Makefile M modules/rest_client/rest_methods.c M modules/sql_cacher/sql_cacher.h M parser/parse_privacy.c M parser/sdp/sdp.c M reactor.c M resolve.c M statistics.c M statistics.h M time_rec.c Log Message: ----------- Merge pull request #2289 from sippy/pr_travis_bionic Expand Travis setup, add 10 more build variants. Fix many issues. Commit: 33d4743e5c9f614a1632fa9fd57cecc690191e0f https://github.com/OpenSIPS/opensips/commit/33d4743e5c9f614a1632fa9fd57cecc690191e0f Author: Liviu Chircu Date: 2020-10-22 (Thu, 22 Oct 2020) Changed paths: M modules/cfgutils/test/cfgutils.c M time_rec.c M time_rec.h Log Message: ----------- check_time_rec(): Also set the tz during matching, not just parsing Commit: aba6edf241428934ca7fc0838a4b0bcc4597263f https://github.com/OpenSIPS/opensips/commit/aba6edf241428934ca7fc0838a4b0bcc4597263f Author: Razvan Crainea Date: 2020-10-23 (Fri, 23 Oct 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: ignore trace_on flag for dynamic entries Thanks go to Alexey Vasilyev (@vasilevalex) for reporting this. Fixes #2240 Commit: dacfef760e66962407481f8b38cd0882bf13c0e5 https://github.com/OpenSIPS/opensips/commit/dacfef760e66962407481f8b38cd0882bf13c0e5 Author: Liviu Chircu Date: 2020-10-25 (Sun, 25 Oct 2020) Changed paths: M modules/dispatcher/doc/dispatcher_admin.xml Log Message: ----------- dispatcher: Fix doc build Commit: b0b825b09133990b1e7934a4164d14e48e2a0514 https://github.com/OpenSIPS/opensips/commit/b0b825b09133990b1e7934a4164d14e48e2a0514 Author: Liviu Chircu Date: 2020-10-26 (Mon, 26 Oct 2020) Changed paths: M modules/registrar/save.c Log Message: ----------- registrar: Fix possible crash with save("o") flag Similar problem as in b3bdf7ce29d Commit: 32f739b0d97b94f05838445fd77acb96d96047a2 https://github.com/OpenSIPS/opensips/commit/32f739b0d97b94f05838445fd77acb96d96047a2 Author: Razvan Crainea Date: 2020-10-28 (Wed, 28 Oct 2020) Changed paths: M modules/tls_mgm/tls_conn_ops.h Log Message: ----------- tls_mgm: log error when SSL_new() fails Commit: 87e17276a79cc01ddef9334f0bf21256a6c21606 https://github.com/OpenSIPS/opensips/commit/87e17276a79cc01ddef9334f0bf21256a6c21606 Author: Razvan Crainea Date: 2020-10-28 (Wed, 28 Oct 2020) Changed paths: M modules/event_rabbitmq/rabbitmq_send.c Log Message: ----------- event_rabbitmq: cleanup connection after creating the socket Reported by @ycxwoo in ticket #2230 Commit: f4ef3cc45a55a66aa7d9c5602b73e962d17e6568 https://github.com/OpenSIPS/opensips/commit/f4ef3cc45a55a66aa7d9c5602b73e962d17e6568 Author: Razvan Crainea Date: 2020-10-28 (Wed, 28 Oct 2020) Changed paths: M modules/proto_smpp/smpp.c Log Message: ----------- proto_smpp: escape from and to users Reported by Johan De Clercq (@johandeclercqdemocon) in #2085 Commit: 2ea8f86813bfbf87b4b0ab61c9f3e852ce777f4c https://github.com/OpenSIPS/opensips/commit/2ea8f86813bfbf87b4b0ab61c9f3e852ce777f4c Author: Razvan Crainea Date: 2020-10-29 (Thu, 29 Oct 2020) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- topo_hiding: always allocate space for DID in user When contact could not be parsed, the new Contact's prefix was not allocating bytes in buffer for storing for the dialog ID in the user part. However, the DID was appended to the prefix without any error checks, resulting in a memory corruption. This commit always allocates spaces for storing the Dialog ID, even if the contact could not be parsed. This fixes all uses of the topology_hiding() function with the `D` flag. Thanks a lot Sergei Lavrov (@ccppprogrammer) for reporting this in ticket #2285 and for offering information for figure it out. Close #2285 Commit: 6f4165f18297af2d03ac5aaed27dd6e5a54d042e https://github.com/OpenSIPS/opensips/commit/6f4165f18297af2d03ac5aaed27dd6e5a54d042e Author: Liviu Chircu Date: 2020-10-30 (Fri, 30 Oct 2020) Changed paths: M action.c Log Message: ----------- 'max_while_loops': Bump to 10000; Improve error log Commit: e64006eec06f8d34eed27cdec6f28f76ed29eb38 https://github.com/OpenSIPS/opensips/commit/e64006eec06f8d34eed27cdec6f28f76ed29eb38 Author: Liviu Chircu Date: 2020-10-30 (Fri, 30 Oct 2020) Changed paths: M time_rec.c Log Message: ----------- time_rec.c: Remove superflous checks Commit: 4942bfca4dc481a84af2e2a8c78c55dcdd962679 https://github.com/OpenSIPS/opensips/commit/4942bfca4dc481a84af2e2a8c78c55dcdd962679 Author: Liviu Chircu Date: 2020-10-31 (Sat, 31 Oct 2020) Changed paths: M modules/cfgutils/test/cfgutils.c M time_rec.c M time_rec.h Log Message: ----------- RFC 5445 time rec: Fix several "byxxx" bugs * fix incorrect quick-exit returning always "true" even though there are "byxxx" rules within the recurrence which restrict the matching * BYMONTH, BYWEEKNO, BYYEARDAY: - accept 1-indexed input instead of 0-indexed (per RFC 5445) * BYDAY: - fix off-by-one bugs and inaccurate logic Commit: e1381357c6af834c942ca3a275e45275f3a14021 https://github.com/OpenSIPS/opensips/commit/e1381357c6af834c942ca3a275e45275f3a14021 Author: OpenSIPS Date: 2020-11-01 (Sun, 01 Nov 2020) Changed paths: M modules/aaa_radius/README M modules/aaa_radius/doc/contributors.xml M modules/acc/README M modules/acc/doc/contributors.xml M modules/alias_db/README M modules/alias_db/doc/contributors.xml M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_sca/README M modules/b2b_sca/doc/contributors.xml M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/cachedb_sql/README M modules/cachedb_sql/doc/contributors.xml M modules/call_center/README M modules/call_center/doc/contributors.xml M modules/call_control/README M modules/call_control/doc/contributors.xml M modules/callops/README M modules/callops/doc/contributors.xml M modules/carrierroute/README M modules/carrierroute/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/cgrates/README M modules/cgrates/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/compression/README M modules/compression/doc/contributors.xml M modules/cpl_c/README M modules/cpl_c/doc/contributors.xml M modules/db_berkeley/README M modules/db_berkeley/doc/contributors.xml M modules/db_http/README M modules/db_http/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dialplan/README M modules/dialplan/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/enum/README M modules/enum/doc/contributors.xml M modules/event_datagram/README M modules/event_datagram/doc/contributors.xml M modules/event_flatstore/README M modules/event_flatstore/doc/contributors.xml M modules/event_rabbitmq/README M modules/event_rabbitmq/doc/contributors.xml M modules/event_route/README M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/event_stream/README M modules/event_stream/doc/contributors.xml M modules/exec/README M modules/exec/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/freeswitch/README M modules/freeswitch/doc/contributors.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/h350/README M modules/h350/doc/contributors.xml M modules/httpd/README M modules/httpd/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/jabber/README M modules/jabber/doc/contributors.xml M modules/json/README M modules/json/doc/contributors.xml M modules/ldap/README M modules/ldap/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/lua/README M modules/lua/doc/contributors.xml M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml M modules/mi_datagram/README M modules/mi_datagram/doc/contributors.xml M modules/mi_fifo/README M modules/mi_fifo/doc/contributors.xml M modules/mi_html/README M modules/mi_html/doc/contributors.xml M modules/mi_xmlrpc_ng/README M modules/mi_xmlrpc_ng/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/msilo/README M modules/msilo/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/perl/README M modules/permissions/README M modules/permissions/doc/contributors.xml M modules/pi_http/README M modules/pi_http/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/presence_xml/README M modules/presence_xml/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_sctp/README M modules/proto_sctp/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/pua/README M modules/pua/doc/contributors.xml M modules/pua_bla/README M modules/pua_bla/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml M modules/pua_xmpp/README M modules/pua_xmpp/doc/contributors.xml M modules/qos/README M modules/qos/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/rabbitmq_consumer/README M modules/rabbitmq_consumer/doc/contributors.xml M modules/rate_cacher/README M modules/rate_cacher/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rls/README M modules/rls/doc/contributors.xml M modules/rr/README M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/signaling/README M modules/signaling/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/sl/README M modules/sl/doc/contributors.xml M modules/snmpstats/README M modules/snmpstats/doc/contributors.xml M modules/speeddial/README M modules/speeddial/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/sst/README M modules/sst/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/tls_mgm/README M modules/tls_mgm/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/topology_hiding/README M modules/topology_hiding/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml M modules/uac/README M modules/uac/doc/contributors.xml M modules/uac_auth/README M modules/uac_auth/doc/contributors.xml M modules/userblacklist/README M modules/userblacklist/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml M modules/xml/README M modules/xml/doc/contributors.xml M modules/xmpp/README M modules/xmpp/doc/contributors.xml M net/proto_tcp/README M net/proto_udp/README Log Message: ----------- Rebuild documentation Commit: 4207074decc5a5240da8a108eae7d1da633f1c4e https://github.com/OpenSIPS/opensips/commit/4207074decc5a5240da8a108eae7d1da633f1c4e Author: Liviu Chircu Date: 2020-11-02 (Mon, 02 Nov 2020) Changed paths: M modules/cfgutils/test/cfgutils.c M time_rec.c Log Message: ----------- RFC 5445 (time rec): Fix BYDAY + YEARLY frequency Commit: 7ad6af074d1e56b11fb245dd6a82f9c615749e09 https://github.com/OpenSIPS/opensips/commit/7ad6af074d1e56b11fb245dd6a82f9c615749e09 Author: Liviu Chircu Date: 2020-11-02 (Mon, 02 Nov 2020) Changed paths: M modules/usrloc/doc/usrloc_admin.xml Log Message: ----------- usrloc: Improve E_UL_CONTACT_REFRESH docs This event will not be raised for non-RFC 8599 contacts. Commit: 55eae8f4dde6749f72dcdd67ef775797614ff32e https://github.com/OpenSIPS/opensips/commit/55eae8f4dde6749f72dcdd67ef775797614ff32e Author: Liviu Chircu Date: 2020-11-03 (Tue, 03 Nov 2020) Changed paths: M lib/reg/pn.c M modules/mid_registrar/save.c M modules/registrar/save.c M parser/parse_uri.c M parser/test/test_parser.c Log Message: ----------- SIP PN support: Add detection for pn-* params with no value This is a client-side error condition and the server must reply with "400 Bad Request". Commit: 79a55786e7921b16db9164c7d35a41796ec6d84b https://github.com/OpenSIPS/opensips/commit/79a55786e7921b16db9164c7d35a41796ec6d84b Author: Liviu Chircu Date: 2020-11-03 (Tue, 03 Nov 2020) Changed paths: M Makefile.rules M Makefile.sources M modules/mid_registrar/Makefile M modules/registrar/Makefile Log Message: ----------- registrars: Re-link the .so file after a lib/reg change Before this commit, the registrars were not getting rebuilt after making changes in the lib/reg source code. Commit: 5b868337e60f0e9d503d6233409412abd27d2818 https://github.com/OpenSIPS/opensips/commit/5b868337e60f0e9d503d6233409412abd27d2818 Author: Liviu Chircu Date: 2020-11-04 (Wed, 04 Nov 2020) Changed paths: M modules/acc/acc.c Log Message: ----------- acc: Fix prepared statements for the missed/acc tables Commit 4bc134fe3b introduced a regression where the reused PS for the "missed_calls" table (9 fields) would no longer match the PS for the "acc" table (11 fields). By reusing the former PS array, which is shorter than required, the code would segfault. Example scenario: * simple call from A -> B with: * do_accounting("db", "missed|failed") * call failure (e.g. 408 Request Timeout) * code crashes as soon as the "failed" acc entry is written Many thanks to Nexphone for sponsoring this fix Commit: a67b74d4e1322654da798138a4ad39c09ea0506b https://github.com/OpenSIPS/opensips/commit/a67b74d4e1322654da798138a4ad39c09ea0506b Author: Liviu Chircu Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M modules/dialplan/dialplan.c M modules/dialplan/dialplan.h M modules/dialplan/dp_db.c Log Message: ----------- dialplan: Fix startup with a single, non-default partition Commit: e21e31ce7eff03844a3bd38686a87bbbfc0f12b9 https://github.com/OpenSIPS/opensips/commit/e21e31ce7eff03844a3bd38686a87bbbfc0f12b9 Author: Liviu Chircu Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M modules/dialplan/dialplan.c Log Message: ----------- dialplan: Fix broken MI 'dp_show_partition' cmd and output Commit: 52e6c425b101ce56d7eb35cb413faacbb9309f1a https://github.com/OpenSIPS/opensips/commit/52e6c425b101ce56d7eb35cb413faacbb9309f1a Author: Razvan Crainea Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: update contact & SDPs for replicated updates Commit: 6330ba656136dd71e4f15e0b6a9699cc3435b185 https://github.com/OpenSIPS/opensips/commit/6330ba656136dd71e4f15e0b6a9699cc3435b185 Author: Razvan Crainea Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- dialog: lower info when dialog not found in profile When calling unset_dlg_profile() for a dialog that is not in that profile, or there's no matching value, warn (instead of error) and add the name of the affected profile. Commit: 699832c98460aada6ed839847a9973cabad80fc5 https://github.com/OpenSIPS/opensips/commit/699832c98460aada6ed839847a9973cabad80fc5 Author: Razvan Crainea Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: enhance errors when dlg cannot be inserted in db Commit: 1f3e56fbfffd0ebedd3a91df4c187166f824568c https://github.com/OpenSIPS/opensips/commit/1f3e56fbfffd0ebedd3a91df4c187166f824568c Author: Liviu Chircu Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 M utils/vim/opensips.vim Log Message: ----------- default opensips.cfg: Explicitly set the "xlog_level" It is easy to forget about or be completely unaware of this recently introduced setting (spring 2019), then start troubleshooting why some of your xlog() statements are not working. Commit: d68757ed557b91cdf61de389a4329273c5a176ad https://github.com/OpenSIPS/opensips/commit/d68757ed557b91cdf61de389a4329273c5a176ad Author: Maksym Sobolyev Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: A globals.c M main.c Log Message: ----------- Split out globals from main into a separate file. No functional changes at this point. Commit: fac187f7293b9a597391d052441db13e0e382d04 https://github.com/OpenSIPS/opensips/commit/fac187f7293b9a597391d052441db13e0e382d04 Author: Maksym Sobolyev Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M cfg.y M globals.c M globals.h M modules/dialog/dlg_hash.c M modules/nathelper/sip_pinger.h M modules/tm/t_msgbuilder.c M msg_translator.c M msg_translator.h M receive.c M socket_info.c M test/unit_tests.c Log Message: ----------- Convert global str parameters into str * const. This allows globals.h to be used without str.h. Commit: ad9db90677b37a10e1ada7f5718142d228e44411 https://github.com/OpenSIPS/opensips/commit/ad9db90677b37a10e1ada7f5718142d228e44411 Author: Maksym Sobolyev Date: 2020-11-05 (Thu, 05 Nov 2020) Changed paths: M globals.h M main.c M pt.h A shutdown.c A shutdown.h A signals.c A signals.h Log Message: ----------- Split out signal handling routines and shutdown-related routines out of giantic main.c TU to make it more manageable. Commit: 9943f59656bb2081eeed1f2fe300d1b142da0928 https://github.com/OpenSIPS/opensips/commit/9943f59656bb2081eeed1f2fe300d1b142da0928 Author: Liviu Chircu Date: 2020-11-06 (Fri, 06 Nov 2020) Changed paths: M evi/evi_params.c Log Message: ----------- EVI: Small optimization Commit: e78f0d05e78c14e464e3f8e50a0dad622b8b41e6 https://github.com/OpenSIPS/opensips/commit/e78f0d05e78c14e464e3f8e50a0dad622b8b41e6 Author: Liviu Chircu Date: 2020-11-06 (Fri, 06 Nov 2020) Changed paths: M lib/reg/pn.c Log Message: ----------- SIP PN Support: Change harmless log to DEBUG Empty (non-set) EVI parameters are possible and should be ignored. Commit: 0d88fa9092d9f060e8f885f63d0cca8fbeaa5d2d https://github.com/OpenSIPS/opensips/commit/0d88fa9092d9f060e8f885f63d0cca8fbeaa5d2d Author: Liviu Chircu Date: 2020-11-06 (Fri, 06 Nov 2020) Changed paths: M modules/usrloc/ul_evi.c Log Message: ----------- usrloc: Re-structure contact events; Remove useless globals Commit: 0b7d4d1fa27db61a15f826085aec0bd44b594c79 https://github.com/OpenSIPS/opensips/commit/0b7d4d1fa27db61a15f826085aec0bd44b594c79 Author: Liviu Chircu Date: 2020-11-06 (Fri, 06 Nov 2020) Changed paths: M lib/reg/lookup.c M lib/reg/pn.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_timer.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Add the "req_callid" field to contact refresh events Providing the Call-ID of the pending SIP request during the Push Notification event_route execution gives the ability to load the dialog context of the pending INVITE. From here onwards, data can be freely passed between the two execution contexts and included in the Push Notification body (e.g.: caller ID, callee number, dialog Call-ID, etc.) Credits to Răzvan Crainea for suggesting this concept Commit: d9fba77764474a52800764571084f5a1c8bbfc6e https://github.com/OpenSIPS/opensips/commit/d9fba77764474a52800764571084f5a1c8bbfc6e Author: Liviu Chircu Date: 2020-11-06 (Fri, 06 Nov 2020) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- dialog docs: Fix missing quote (") in example Commit: 05fc15e6ee328cf6bed67623f9814145c95885db https://github.com/OpenSIPS/opensips/commit/05fc15e6ee328cf6bed67623f9814145c95885db Author: OpenSIPS Date: 2020-11-08 (Sun, 08 Nov 2020) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dialplan/README M modules/dialplan/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 1a231008ad9a3a7fcca0b8a1f87b8c3cd72069b6 https://github.com/OpenSIPS/opensips/commit/1a231008ad9a3a7fcca0b8a1f87b8c3cd72069b6 Author: Liviu Chircu Date: 2020-11-09 (Mon, 09 Nov 2020) Changed paths: M modules/dialplan/dialplan.c Log Message: ----------- dialplan: Fix MI 'dp_translate' with 3 parameters 'partition' should be last, not first. (cherry picked from commit ac01ed5e02c5a1d96e2021df9cc5feb223041dc7) Commit: af19d50733be3adde756f07845756f3c7f3ca0df https://github.com/OpenSIPS/opensips/commit/af19d50733be3adde756f07845756f3c7f3ca0df Author: Vlad Patrascu Date: 2020-11-09 (Mon, 09 Nov 2020) Changed paths: M modules/b2b_entities/b2be_db.c M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix DB serialization of the entity storage The entity storage written to DB was always either a NULL value or bogus data. Commit: dd237c001791be0b3b071d07b36057221f6ed3f6 https://github.com/OpenSIPS/opensips/commit/dd237c001791be0b3b071d07b36057221f6ed3f6 Author: Vlad Patrascu Date: 2020-11-09 (Mon, 09 Nov 2020) Changed paths: M modules/b2b_entities/b2be_db.c Log Message: ----------- b2b_entities: fix restoring of DB persisted server entities Server entities restored from DB would not use the original To tag due to regenerating the timestamp part of the entity key. Commit: fccb5bfdfeb0615b47291b9379fe6d87e199d0c2 https://github.com/OpenSIPS/opensips/commit/fccb5bfdfeb0615b47291b9379fe6d87e199d0c2 Author: Liviu Chircu Date: 2020-11-10 (Tue, 10 Nov 2020) Changed paths: M modules/mid_registrar/save.c M modules/tm/t_hooks.h M modules/tm/tm_load.h Log Message: ----------- mid_registrar_save(): Fix shm memleak with no t_relay() Since mid_registrar_save() is stateful by definition, it needs the SIP transaction to properly function, so always forcing its creation if the REGISTER is about to be forwarded is not that significant of a change, if any at all. Thus, this patch fixes a SHM memleak on the following type of logic: mid_registrar_save(); # script terminates without having created the transaction, # so mid_registrar's "prepped" data does not get freed on T deletion exit; (cherry picked from commit b14a7eaff60b719c8b80af4f8bfdffe2bc7e995b) Commit: 3a25c0b28f9bffc5e6942a7a3f5484ef903e28f6 https://github.com/OpenSIPS/opensips/commit/3a25c0b28f9bffc5e6942a7a3f5484ef903e28f6 Author: Liviu Chircu Date: 2020-11-11 (Wed, 11 Nov 2020) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: Fix transaction leakage with global onreply_route Given that the opensips.cfg execution order for replies is: 1) onreply_route (global) 2) reply_received(), i.e. "tm" module scope 2.1) onreply_route (branch) 2.2) onreply_route (transaction) ... this patch fixes some transaction leaks where if the script developer matches the current transaction within global onreply_route, e.g. with a random statement such as xlog("$T_reply_code\n"), it would cause an extra ref after a transaction matching operation would be performed yet again (??) within reply_received(), as the "tm" scope begins executing. The fix is to simply avoid transaction lookups when evaluating tm variables within the non-transactional, global SIP reply route. Credits to Bogdan-Andrei Iancu for suggesting this solution Commit: 55c8669c0679ddcf9686a379caf885a1326f7179 https://github.com/OpenSIPS/opensips/commit/55c8669c0679ddcf9686a379caf885a1326f7179 Author: Bogdan-Andrei Iancu Date: 2020-11-12 (Thu, 12 Nov 2020) Changed paths: M modules/event_route/route_send.c Log Message: ----------- [event_route] fix reseting the dummy sip msg after each usage (cherry picked from commit ef5073d9da5da6880bbb5ed033642eed6a36bf7d) Commit: cfcac3db3ac1bf614b18eecccd5ec6f58ee1555d https://github.com/OpenSIPS/opensips/commit/cfcac3db3ac1bf614b18eecccd5ec6f58ee1555d Author: Bogdan-Andrei Iancu Date: 2020-11-12 (Thu, 12 Nov 2020) Changed paths: M modules/tm/tm.c Log Message: ----------- [tm] fix mem leak when passing a proxy to t_relay() The actual proxy structure needs to be also freed. Reported by @Sigmast-Michael Closes #2304 (cherry picked from commit 1cd5d2be2696d72192d07efa388ad1f255c92762) Commit: 9dacffd696efcefe93e020adec0f25bb91aaeab7 https://github.com/OpenSIPS/opensips/commit/9dacffd696efcefe93e020adec0f25bb91aaeab7 Author: Peter Lemenkov Date: 2020-11-12 (Thu, 12 Nov 2020) Changed paths: M packaging/debian/copyright Log Message: ----------- packaging: We no longer have atomic.h This file was replaced by stdatomic.h in commit 18f4c3d9b34583c7464eba2e5ca8fe24f72e9fc9. Signed-off-by: Peter Lemenkov Commit: 4ed5ba188a969ab02829bbbb33bd5c87ac457b19 https://github.com/OpenSIPS/opensips/commit/4ed5ba188a969ab02829bbbb33bd5c87ac457b19 Author: Maksym Sobolyev Date: 2020-11-12 (Thu, 12 Nov 2020) Changed paths: M mem/module_info.c Log Message: ----------- Fix last reference to atomic_set() (replace with atomic_init). This one got missed from the PR#2289. Commit: f82d09ad55d9a20fd66e7e406d9d9a61c8880d4f https://github.com/OpenSIPS/opensips/commit/f82d09ad55d9a20fd66e7e406d9d9a61c8880d4f Author: Liviu Chircu Date: 2020-11-13 (Fri, 13 Nov 2020) Changed paths: M packaging/debian/copyright Log Message: ----------- Merge pull request #2307 from lemenkov/no_longer_have_atomic_h packaging: We no longer have atomic.h Commit: 11750c2b9f1be3291d95575698e6227567f94fdb https://github.com/OpenSIPS/opensips/commit/11750c2b9f1be3291d95575698e6227567f94fdb Author: Liviu Chircu Date: 2020-11-13 (Fri, 13 Nov 2020) Changed paths: M mem/module_info.c Log Message: ----------- Merge pull request #2308 from sippy/pr_fix_atomic_set Fix last reference to atomic_set() (replace with atomic_init). Commit: 582170270c3e0e41d539108b640552ae3cb23cfd https://github.com/OpenSIPS/opensips/commit/582170270c3e0e41d539108b640552ae3cb23cfd Author: Vlad Patrascu Date: 2020-11-13 (Fri, 13 Nov 2020) Changed paths: M modules/proto_tls/proto_tls.c M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_conn_ops.h Log Message: ----------- tls: fix certificate matching when reusing connections The SSL_CTX pointers may not be equal for the same SSL pointer (connection) after the rework that changed the storage of the context to be per-process. The tls_domain saved in the SSL extra storage will now be used for matching the certificates instead. Commit: 0d20cd55d1981b56795d44d02d46bd02329dad8e https://github.com/OpenSIPS/opensips/commit/0d20cd55d1981b56795d44d02d46bd02329dad8e Author: Vlad Patrascu Date: 2020-11-13 (Fri, 13 Nov 2020) Changed paths: M modules/pua_mi/doc/pua_mi_admin.xml M modules/pua_mi/mi_func.c Log Message: ----------- pua_mi: fix parameter name in pua_subscribe MI command Also improve the docs for pua_subscribe by adding an usage example and proper indexing. Commit: 3b6862068743bd48eb2638e4f9f9086099b74143 https://github.com/OpenSIPS/opensips/commit/3b6862068743bd48eb2638e4f9f9086099b74143 Author: OpenSIPS Date: 2020-11-15 (Sun, 15 Nov 2020) Changed paths: M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/dialplan/README M modules/dialplan/doc/contributors.xml M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/pua_mi/README M modules/pua_mi/doc/contributors.xml M modules/tls_mgm/README M modules/tls_mgm/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: c2cb01734c997e9a1ba348bc0e77fc44b66832f2 https://github.com/OpenSIPS/opensips/commit/c2cb01734c997e9a1ba348bc0e77fc44b66832f2 Author: Ovidiu Sas Date: 2020-11-16 (Mon, 16 Nov 2020) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: fix -Wmaybe-uninitialized compiler warning Commit: 99479fa956b731b23db814393780f3e5fc09047e https://github.com/OpenSIPS/opensips/commit/99479fa956b731b23db814393780f3e5fc09047e Author: Vlad Patrascu Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: fix dlg_list[_ctx] MI output when passing identifier params Reported by Mark on the mailing list. Commit: 7648b78d133d71cf0d123a2e3c0b350d67fbab50 https://github.com/OpenSIPS/opensips/commit/7648b78d133d71cf0d123a2e3c0b350d67fbab50 Author: Vlad Patrascu Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: A modules/b2b_logic_xml/Makefile A modules/b2b_logic_xml/README A modules/b2b_logic_xml/b2b_load.h A modules/b2b_logic_xml/b2b_logic.c A modules/b2b_logic_xml/b2b_logic.h A modules/b2b_logic_xml/b2bl_db.c A modules/b2b_logic_xml/b2bl_db.h A modules/b2b_logic_xml/doc/b2b_logic_xml.xml A modules/b2b_logic_xml/doc/b2b_logic_xml_admin.xml A modules/b2b_logic_xml/doc/b2b_logic_xml_devel.xml A modules/b2b_logic_xml/doc/contributors.xml A modules/b2b_logic_xml/entity_storage.c A modules/b2b_logic_xml/entity_storage.h A modules/b2b_logic_xml/logic.c A modules/b2b_logic_xml/pidf.c A modules/b2b_logic_xml/pidf.h A modules/b2b_logic_xml/records.c A modules/b2b_logic_xml/records.h Log Message: ----------- Duplicate b2b_logic code to a deprecated b2b_logic_xml module Commit: d446796d2ed489f57d3ed6e404234b9fe2eb8fbc https://github.com/OpenSIPS/opensips/commit/d446796d2ed489f57d3ed6e404234b9fe2eb8fbc Author: Vlad Patrascu Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M db/schema/b2b_logic.xml M modules/b2b_logic/Makefile M modules/b2b_logic/b2b_load.h M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2b_logic.h M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/doc/b2b_logic_admin.xml M modules/b2b_logic/entity_storage.c M modules/b2b_logic/logic.c R modules/b2b_logic/pidf.c R modules/b2b_logic/pidf.h M modules/b2b_logic/records.c M modules/b2b_logic/records.h M modules/call_center/call_center.c M modules/call_center/doc/call_center_admin.xml M scripts/db_berkeley/opensips/b2b_logic M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/b2b_logic M scripts/dbtext/opensips/version M scripts/mysql/b2b-create.sql M scripts/oracle/b2b-create.sql M scripts/pi_http/b2b-mod M scripts/pi_http/b2b-table M scripts/pi_http/pi_framework.xml M scripts/postgres/b2b-create.sql M scripts/sqlite/b2b-create.sql Log Message: ----------- b2b_logic: rework the method of controlling the B2B logic This commit removes the XML scenario files in favor of native OpenSIPS scripting in order to control the B2B logic. The B2B scenarios will now be implemented mostly in dedicated b2b_logic routes, using specific script functions for actions in a B2B context. Commit: 0f8bfb9539d8cbcf732744ef8aed688cadd5b510 https://github.com/OpenSIPS/opensips/commit/0f8bfb9539d8cbcf732744ef8aed688cadd5b510 Author: Maksym Sobolyev Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: A lib/dassert.h Log Message: ----------- Add file to define optional assertions. Commit: 0d7a71b2f922a3334862a63b3ae9c9bb11115037 https://github.com/OpenSIPS/opensips/commit/0d7a71b2f922a3334862a63b3ae9c9bb11115037 Author: Maksym Sobolyev Date: 2020-11-17 (Tue, 17 Nov 2020) Changed paths: M modules/rtpproxy/doc/rtpproxy_admin.xml A modules/rtpproxy/rtppn_connect.c A modules/rtpproxy/rtppn_connect.h M modules/rtpproxy/rtpproxy.c M modules/rtpproxy/rtpproxy.h M modules/rtpproxy/rtpproxy_stream.c A modules/rtpproxy/rtpproxy_vcmd.h Log Message: ----------- Add TCP and TCPv6 communication modes for control sockets. Those modes are supported on RTPProxy end since 2.0 and are getting popular recently due to Kubrenetes and Docker's networking shenanigans and peculiarities. As discussed with @razvancrainea in the scope of the PR#2309, shuffling elements of the iovec command structure might have some unintended consequences with regards to the multiple nodes / failover. As such, it ended up in rabbit hole of refactoring messaging mechanism to automatically extend user-supplied buffer with some pre/post elements. Provide sub-set of allocated vectors and expose it as "vu" member. Only send_rtpp_command() is allowed to access "vs" part. Code conversion is helped by some script and basic functionality tested here: https://travis-ci.com/github/sippy/voiptests/builds/202257620 Commit: b9f013ff2a3e4670d2d1da1291fc5f5cd4179654 https://github.com/OpenSIPS/opensips/commit/b9f013ff2a3e4670d2d1da1291fc5f5cd4179654 Author: Vlad Patrascu Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M modules/tm/cluster.c Log Message: ----------- tm: fix crash when having an anycast listener and no replication (cherry picked from commit c57d62be4101dfc41d1031ff4e583c8efa50155e) Commit: 8b8ac4f89529908966b11618f0fc4550bd82f963 https://github.com/OpenSIPS/opensips/commit/8b8ac4f89529908966b11618f0fc4550bd82f963 Author: Vlad Patrascu Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M modules/tm/cluster.c Log Message: ----------- tm: support interface tags for local socket when replicating (cherry picked from commit 1dbea20409ac1063f62db04873ac5dad193e0638) Commit: 498dd2af8896393924d4095dddec4775aec4786b https://github.com/OpenSIPS/opensips/commit/498dd2af8896393924d4095dddec4775aec4786b Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- - mips inline asm gcc 3.x warnings fixed - mips2 NOSMP mode (skip sync) - minor x86 & mips optimizations Commit: c84bee61a130b25c797da84c0b12438deb1ef690 https://github.com/OpenSIPS/opensips/commit/c84bee61a130b25c797da84c0b12438deb1ef690 Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- - support for mips cpu which don't implement full mips isa2, but do support ll and sc Commit: 722fd2bd6a72a43c84cbfb8f36cfa588c7215037 https://github.com/OpenSIPS/opensips/commit/722fd2bd6a72a43c84cbfb8f36cfa588c7215037 Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- - fastlock: minor fixes Commit: 7ad38e5cb148d8e1ecda612510dfcd189920b6d7 https://github.com/OpenSIPS/opensips/commit/7ad38e5cb148d8e1ecda612510dfcd189920b6d7 Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- - x86/x86_64 lock optimizations: spinning on a lock should be friendlier now for the other cpus caches (at the extra cost of a cmp mem + jump) ; tried to arrange a little better the instructions to allow for some parallel execution. - x86 unlocks with xchg by default (since some x86s reorder stores, so a simple mov is unsafe) Commit: 6871464c47a52e67f319dfa19aff3fa916aa4a33 https://github.com/OpenSIPS/opensips/commit/6871464c47a52e67f319dfa19aff3fa916aa4a33 Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- - ppc fixes (s/stw/stwx/, s/lwz/lwzx) - missing early clobbers added for x86, sparc*, armv6, ppc*, alpha Commit: d986daa83bce55801b0d39e0fcbad5bb1b8f1531 https://github.com/OpenSIPS/opensips/commit/d986daa83bce55801b0d39e0fcbad5bb1b8f1531 Author: Maksym Sobolyev Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- Small arm optimization from the d3da8467113. Commit: 30329f67b9603df45973f4608841ac8d4384e65f https://github.com/OpenSIPS/opensips/commit/30329f67b9603df45973f4608841ac8d4384e65f Author: Andrei Pelinescu-Onciul Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h A sched_yield.h Log Message: ----------- - moved sched_yield() wrapper into sched_yield.h at Miklos's request. Commit: 6924b5b5dbb3f1c6d26ade2d1509e1dd18b49c70 https://github.com/OpenSIPS/opensips/commit/6924b5b5dbb3f1c6d26ade2d1509e1dd18b49c70 Author: Maksym Sobolyev Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M fastlock.h Log Message: ----------- Reduce diff to a83e261254. Merge few more ARM/Sparc fixes from the d3da8467113. Commit: 323896a65be5b5775f89d374668c1fc3c0b92cda https://github.com/OpenSIPS/opensips/commit/323896a65be5b5775f89d374668c1fc3c0b92cda Author: Maksym Sobolyev Date: 2020-11-19 (Thu, 19 Nov 2020) Changed paths: M .travis.yml Log Message: ----------- Add MIPS64 cross-build. Commit: 29db5674f0b811a59dbdbf69cd09121f6f481546 https://github.com/OpenSIPS/opensips/commit/29db5674f0b811a59dbdbf69cd09121f6f481546 Author: Vlad Patrascu Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M modules/cachedb_local/doc/cachedb_local_admin.xml Log Message: ----------- cachedb_local: fix outdated docs for cache_remove_chunk MI cmd Commit: 1ca7ca8c04fa1d0d3c4187cc4e3d6f816f131c9f https://github.com/OpenSIPS/opensips/commit/1ca7ca8c04fa1d0d3c4187cc4e3d6f816f131c9f Author: Vlad Patrascu Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M modules/db_mysql/doc/db_mysql_admin.xml Log Message: ----------- db_mysql: fix doc example for use_tls modparam Commit: 7112cf4eb14504feeef87cff2b3864081912ef46 https://github.com/OpenSIPS/opensips/commit/7112cf4eb14504feeef87cff2b3864081912ef46 Author: Vlad Patrascu Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M modules/tm/cluster.c Log Message: ----------- tm: fix crash when receiving replicated CANCELs This commit fixes a crash on replicated CANCELs when doing pre-RFC3261 transaction matching. (cherry picked from commit 15d1d612077b0311aed179972afa199f38e74e00) Commit: d48008a5b9f39503ad2143bf85d6318f215f935d https://github.com/OpenSIPS/opensips/commit/d48008a5b9f39503ad2143bf85d6318f215f935d Author: Vlad Patrascu Date: 2020-11-20 (Fri, 20 Nov 2020) Changed paths: M modules/tm/cluster.c M modules/tm/tm.c Log Message: ----------- tm: fix transaction leakage when receiving replicated CANCELs (cherry picked from commit 82b8d20f20914654938630e59edd0ca29e4e9e36) Commit: 711bbd72dcfa9a5a1f09d59d53e7144e038ba93e https://github.com/OpenSIPS/opensips/commit/711bbd72dcfa9a5a1f09d59d53e7144e038ba93e Author: OpenSIPS Date: 2020-11-22 (Sun, 22 Nov 2020) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/call_center/README M modules/call_center/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 65bdd61ca8d7f50507a4fc0bc016e05b92848f1a https://github.com/OpenSIPS/opensips/commit/65bdd61ca8d7f50507a4fc0bc016e05b92848f1a Author: Peter Lemenkov Date: 2020-11-23 (Mon, 23 Nov 2020) Changed paths: M modules/tm/async.c Log Message: ----------- tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync One more place where we have to close file descriptor according to the specification while doing async packet processing. Signed-off-by: Peter Lemenkov Commit: e02a5563ff5648b81260baca5a925a31243a420b https://github.com/OpenSIPS/opensips/commit/e02a5563ff5648b81260baca5a925a31243a420b Author: Razvan Crainea Date: 2020-11-23 (Mon, 23 Nov 2020) Changed paths: A lib/hash.c A lib/hash.h Log Message: ----------- add support for generic hash table Commit: 5f8361179526bf06638b8fd3622cbb0c17c8fd11 https://github.com/OpenSIPS/opensips/commit/5f8361179526bf06638b8fd3622cbb0c17c8fd11 Author: Liviu Chircu Date: 2020-11-24 (Tue, 24 Nov 2020) Changed paths: M route.c Log Message: ----------- Missing route on startup: Lower severity from ALERT to ERROR Commit: 85a484eabf58b29d767de4963a2aebabf8f2516c https://github.com/OpenSIPS/opensips/commit/85a484eabf58b29d767de4963a2aebabf8f2516c Author: Vlad Patrascu Date: 2020-11-24 (Tue, 24 Nov 2020) Changed paths: M modules/tm/cluster.c M modules/tm/tm.c Log Message: ----------- tm: simplify the fix in commit 82b8d20 Just unref the transactions and avoid the extra checks done by do_t_cleanup(). (cherry picked from commit e8a7cadd7e265f71d13c11682043814dbdd8caf6) Commit: 7790bf929147dedd13edcb58e3ab3e9269c8ba0e https://github.com/OpenSIPS/opensips/commit/7790bf929147dedd13edcb58e3ab3e9269c8ba0e Author: Liviu Chircu Date: 2020-11-25 (Wed, 25 Nov 2020) Changed paths: M .travis.yml M fastlock.h A sched_yield.h Log Message: ----------- Merge pull request #2301 from sippy/pr_fastlock_merge Fix MIPS64, add MIPS64 cross-build for travis, merge updates into fastlocks.h Commit: 0ed7a0ace961985ad5156c3f7b646ba9d0304715 https://github.com/OpenSIPS/opensips/commit/0ed7a0ace961985ad5156c3f7b646ba9d0304715 Author: Liviu Chircu Date: 2020-11-25 (Wed, 25 Nov 2020) Changed paths: M action.c M action.h M async.c M cfg.y M modules/b2b_entities/dlg.c M modules/b2b_logic/logic.c M modules/cpl_c/cpl_sig.c M modules/dialog/dlg_handlers.c M modules/dispatcher/dispatch.c M modules/drouting/drouting.c M modules/event_route/event_route.c M modules/event_route/route_send.c M modules/event_route/route_send.h M modules/event_routing/ebr_data.c M modules/pike/pike_funcs.c M modules/presence_dfks/presence_dfks.c M modules/script_helper/script_helper.c M modules/sipcapture/sipcapture.c M modules/tm/async.c M modules/tm/t_fwd.c M modules/tm/t_reply.c M modules/tm/uac.c M net/trans_trace.c M pvar.c M pvar.h M receive.c M route.c M route.h M str.h M timer.c Log Message: ----------- Add the `$route` variable (current route call stack) The new $route variable offers access to the current route call stack. Assuming a call stack of "route > route[FOO] > route[BAR]", we have: Positive indexing: * $route == $(route[0]) == "route[BAR]" * $(route[1]) == "route[FOO]" * $(route[2]) == "route" * $(route[3]) == "" Negative indexing: * $(route[-1]) == "route" * $(route[-2]) == "route[FOO]" * $(route[-3]) == "route[BAR]" * $(route[-4]) == "" Full printing: * $(route[*]) == "route > route[FOO] > route[BAR]" Closes #1963 Commit: 971431a416e3cf4bc914457988b7e65b423254c1 https://github.com/OpenSIPS/opensips/commit/971431a416e3cf4bc914457988b7e65b423254c1 Author: Liviu Chircu Date: 2020-11-25 (Wed, 25 Nov 2020) Changed paths: M modules/cfgutils/cfgutils.c M modules/cfgutils/doc/cfgutils_admin.xml M modules/cfgutils/shvar.c M modules/cfgutils/shvar.h Log Message: ----------- cfgutils: Add support for dynamic shared vars ($shv) OpenSIPS script developers now have the ability to use dynamic names for the $shv variables (e.g. "$shv($avp(customer_id))"), rather than be constrained to work with the statically-named $shv variables defined throughout the script. Moreover, shared variables may now be dynamically created and read via the well-known MI commands: "shv_set" and "shv_get". Closes #2140 Commit: cff27be9c1ec9fd875484ed27d7cd2e567db02ce https://github.com/OpenSIPS/opensips/commit/cff27be9c1ec9fd875484ed27d7cd2e567db02ce Author: Bogdan-Andrei Iancu Date: 2020-11-25 (Wed, 25 Nov 2020) Changed paths: M modules/tm/doc/tm_admin.xml M modules/tm/t_fwd.c M modules/tm/t_fwd.h M modules/tm/t_reply.c M modules/tm/tm.c Log Message: ----------- [tm] Added ways to control the branches to be waited In order to cotrol for how many branches you want to wait to be injected, we have now: * you can pass to t_wait_for_new_branches(), as optional param, the max no of branches to wait * in t_inject_branch() you can pass the "l" flag to instruct that this is the last injected branch, not more further waiting Closes #1811 Commit: 75cfd7e0ae8f7e9ce1bd51e21f07dc04a260a21a https://github.com/OpenSIPS/opensips/commit/75cfd7e0ae8f7e9ce1bd51e21f07dc04a260a21a Author: Răzvan Crainea Date: 2020-11-25 (Wed, 25 Nov 2020) Changed paths: A lib/dassert.h M modules/rtpproxy/doc/rtpproxy_admin.xml A modules/rtpproxy/rtppn_connect.c A modules/rtpproxy/rtppn_connect.h M modules/rtpproxy/rtpproxy.c M modules/rtpproxy/rtpproxy.h M modules/rtpproxy/rtpproxy_stream.c A modules/rtpproxy/rtpproxy_vcmd.h Log Message: ----------- Merge pull request #2309 from sippy/pr_rtpproxy_tcp46 Add TCP and TCPv6 communication modes for RTPProxy control sockets. Commit: 4db94131619702a32566e35b4b5847dae8ef6f18 https://github.com/OpenSIPS/opensips/commit/4db94131619702a32566e35b4b5847dae8ef6f18 Author: Vlad Patrascu Date: 2020-11-26 (Thu, 26 Nov 2020) Changed paths: M core_cmds.c Log Message: ----------- Fix detection of forward() usage when called without parameter This would cause stateless replies to no be forwared even though the forward function was used. (cherry picked from commit 8aab9f2218a083dc43bc7a7e282e26e63d3beee3) Commit: 4d672aeb80735d8a2ae601afb5bcf56fdddedc5e https://github.com/OpenSIPS/opensips/commit/4d672aeb80735d8a2ae601afb5bcf56fdddedc5e Author: Vlad Patrascu Date: 2020-11-26 (Thu, 26 Nov 2020) Changed paths: M cachedb/cachedb_id.c Log Message: ----------- cachedb: allow empty database name in URLs Commit: b82b85b6acc870c099c9411bb525a1fc09aff928 https://github.com/OpenSIPS/opensips/commit/b82b85b6acc870c099c9411bb525a1fc09aff928 Author: Vlad Patrascu Date: 2020-11-26 (Thu, 26 Nov 2020) Changed paths: M cachedb/cachedb_id.h M modules/cachedb_redis/Makefile M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_redis/cachedb_redis_dbase.c M modules/cachedb_redis/cachedb_redis_dbase.h M modules/cachedb_redis/cachedb_redis_utils.c M modules/cachedb_redis/doc/cachedb_redis_admin.xml Log Message: ----------- cachedb_redis: add TLS support Closes #2264 Commit: 2f3ee99c6a21498d4d42904162b4fd2195bff9ab https://github.com/OpenSIPS/opensips/commit/2f3ee99c6a21498d4d42904162b4fd2195bff9ab Author: Vlad Patrascu Date: 2020-11-27 (Fri, 27 Nov 2020) Changed paths: M mod_fix.c Log Message: ----------- Fix crash when calling script functions with omitted optional params The crash would happen if the script function is exported with the CMD_PARAM_FIX_NULL flag and does not actually change the parameter value. Currently, only forward() uses the flag in this manner and is the only function affected by this crash. (cherry picked from commit 278c1646451ab75196e0440c15047d25a7b4b2f4) Commit: 2ad1e1590787c19274c2dfd2893b7fafa1e1a31c https://github.com/OpenSIPS/opensips/commit/2ad1e1590787c19274c2dfd2893b7fafa1e1a31c Author: Vlad Patrascu Date: 2020-11-27 (Fri, 27 Nov 2020) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: abort startup if DB connections/queries tests fail Commit: 99a5e77d26c2022e353ce0b927873de8c6efb57a https://github.com/OpenSIPS/opensips/commit/99a5e77d26c2022e353ce0b927873de8c6efb57a Author: OpenSIPS Date: 2020-11-29 (Sun, 29 Nov 2020) 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/cachedb_redis/README M modules/cachedb_redis/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/cpl_c/README M modules/cpl_c/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/pike/README M modules/pike/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/script_helper/README M modules/script_helper/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: a4b23f35055fe1a97d1bd613437aa4db32427622 https://github.com/OpenSIPS/opensips/commit/a4b23f35055fe1a97d1bd613437aa4db32427622 Author: Maksym Sobolyev Date: 2020-11-28 (Sat, 28 Nov 2020) Changed paths: A .github/workflows/main.yml M .travis.yml M README.md A scripts/build/build.conf.sub A scripts/build/do_build.sh A scripts/build/install_depends.sh Log Message: ----------- o Add GitHub Actions CI workflow to supplement / replace TravisCI which is now in "money scavenging mode". Turns out, Actions are actually much better, flexible and faster platform. Unify core of CI jobs configuration, so we are not repeating the same code. o Add ARM32 build and bunch of Ubuntu-20 builds on Actions now that we can. o Add missing libmaxminddb-dev package to be installed. Commit: 3fad84723208ca9546828141941b4726161d5d4d https://github.com/OpenSIPS/opensips/commit/3fad84723208ca9546828141941b4726161d5d4d Author: Maksym Sobolyev Date: 2020-11-28 (Sat, 28 Nov 2020) Changed paths: M Makefile.defs Log Message: ----------- Recognize ARM64 (aka aarch64) in the cross-compile mode. Commit: 6a072927a8d11914a9985aae9173ce96747ee2cc https://github.com/OpenSIPS/opensips/commit/6a072927a8d11914a9985aae9173ce96747ee2cc Author: Maksym Sobolyev Date: 2020-11-28 (Sat, 28 Nov 2020) Changed paths: M lock_alloc.h Log Message: ----------- Refactor lock_set_alloc() to not trigger unaligned access warning on arm32: net/../lock_alloc.h: In function lock_set_alloc net/../lock_alloc.h:70:13: warning: cast increases required alignment of target type [-Wcast-align] This also produces cleaner code and it might be also bit faster too. Commit: 22f8efa947ebec67baf22130368ac9d945378469 https://github.com/OpenSIPS/opensips/commit/22f8efa947ebec67baf22130368ac9d945378469 Author: Maksym Sobolyev Date: 2020-11-28 (Sat, 28 Nov 2020) Changed paths: M evi/evi_params.c Log Message: ----------- Refactor evi_dup_shm_params() to not break platform alignment requirements by interleaving fixed-length structures with variable-lenth string buffers that those structures are referring to. This sort of works on X86, however the performance is likely to be so-so, but it would blow up on ARM and other arches with strong alignment requirements. Commit: fff57ac9557b544b8ca8354d051a8a881644e7f5 https://github.com/OpenSIPS/opensips/commit/fff57ac9557b544b8ca8354d051a8a881644e7f5 Author: Maksym Sobolyev Date: 2020-11-28 (Sat, 28 Nov 2020) Changed paths: M bin_interface.c M bin_interface.h M context.h M db/db_insertq.c M db/db_res.c M ip_addr.c M ip_addr.h M lib/container.h M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/q_malloc.c M mem/q_malloc.h M mem/q_malloc_dyn.h M resolve.c M serialize.c M socket_info.c M xlog.c Log Message: ----------- Fix a lot of "cast increases required alignment of target data type" which is particularly bad in ARM32 (aka armhf). Straighten the code where possible, drop in (void *) to break alignment "chain" in other cases. This hopefully will make ARM32 build for core warning-free. Commit: 8786217695948dc7bc8f74dcaf6964b7eafcfc72 https://github.com/OpenSIPS/opensips/commit/8786217695948dc7bc8f74dcaf6964b7eafcfc72 Author: Aron Podrigal Date: 2020-11-29 (Sun, 29 Nov 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Fixed double release of read_lock in dr_match Commit: 5e5fc98ad07889c6d285a913aee7caf769c2878b https://github.com/OpenSIPS/opensips/commit/5e5fc98ad07889c6d285a913aee7caf769c2878b Author: Razvan Crainea Date: 2020-12-02 (Wed, 02 Dec 2020) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: parse from & to structs if they aren't This fix aims to solve a crash in case the from/to headers are not parsed (yet). We are parsing them in a different structure, to make sure it doesn't overlap with any ongoing processing of the request Commit: 6f6906636c2265ecc70832e5bdd49566133707e4 https://github.com/OpenSIPS/opensips/commit/6f6906636c2265ecc70832e5bdd49566133707e4 Author: Bogdan-Andrei Iancu Date: 2020-12-03 (Thu, 03 Dec 2020) Changed paths: M db/schema/opensips-authjwt.xml Log Message: ----------- Fixed copy paste error in module name (cherry picked from commit 0888db78a543292e9281eca437a43233497e147e) Commit: fb5178da4e8d0ff5e464f9008034537f61a539e4 https://github.com/OpenSIPS/opensips/commit/fb5178da4e8d0ff5e464f9008034537f61a539e4 Author: Nick Altmann Date: 2020-12-03 (Thu, 03 Dec 2020) Changed paths: M packaging/debian/rules M packaging/redhat_fedora/opensips.spec Log Message: ----------- Packaging: b2b_logic_xml module Commit: 5f965a68b5f4013e91c2225042dc297db3a7a856 https://github.com/OpenSIPS/opensips/commit/5f965a68b5f4013e91c2225042dc297db3a7a856 Author: Vlad Patrascu Date: 2020-12-03 (Thu, 03 Dec 2020) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: remove unused variable Commit: 84d1bad2c41b4b58170c0943edd837b08d15012f https://github.com/OpenSIPS/opensips/commit/84d1bad2c41b4b58170c0943edd837b08d15012f Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M action.c M action.h Log Message: ----------- Add proper support for dummy sip msg's The dummy sip messages are used when there is the need of running a script route, but without actually having a real SIP msg, like for event_routes, startup routes, timer routes, etc. This new support is solving two problems: * the dummy message is actually a proper/complete SIP message, with all the mandatory sip headers. This prevents crashing when "reading" something (that is expected to be there, like the callid) from this SIP message. * this is a global support, meant to be used from all the places, replacing the local implementation (from like 4 different modules/places) Commit: 63107bddb88389b17ead2e460adc65390c1016e4 https://github.com/OpenSIPS/opensips/commit/63107bddb88389b17ead2e460adc65390c1016e4 Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M modules/event_route/route_send.c Log Message: ----------- [event_route] Migrated to the global DUMMY SIP msg support Commit: be15273558bbd345f99762d8baa070cfb753ad4c https://github.com/OpenSIPS/opensips/commit/be15273558bbd345f99762d8baa070cfb753ad4c Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M modules/event_routing/ebr_data.c Log Message: ----------- [event_routing] Migrated to the global DUMMY SIP msg support Commit: 81618cf75e99ad05119a38d3d221d81b45254830 https://github.com/OpenSIPS/opensips/commit/81618cf75e99ad05119a38d3d221d81b45254830 Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M modules/sipcapture/sipcapture.c Log Message: ----------- [sipcapture] Migrated to the global DUMMY SIP msg support Commit: 7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846 https://github.com/OpenSIPS/opensips/commit/7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846 Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h Log Message: ----------- [dialog] Migrated to the global DUMMY SIP msg support Commit: 28c95c1345757797b67d2041a9d864cadaef0e70 https://github.com/OpenSIPS/opensips/commit/28c95c1345757797b67d2041a9d864cadaef0e70 Author: Bogdan-Andrei Iancu Date: 2020-12-04 (Fri, 04 Dec 2020) Changed paths: M modules/presence_dfks/presence_dfks.c Log Message: ----------- [presence_dfks] Migrated to the global DUMMY SIP msg support Commit: f623b9e514162c979997cb0da9bacf7b4ce775dc https://github.com/OpenSIPS/opensips/commit/f623b9e514162c979997cb0da9bacf7b4ce775dc Author: OpenSIPS Date: 2020-12-06 (Sun, 06 Dec 2020) Changed paths: M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 50a794c182221ff09de263c9c479ee9a8ccb6aca https://github.com/OpenSIPS/opensips/commit/50a794c182221ff09de263c9c479ee9a8ccb6aca Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M modules/usrloc/ucontact.h Log Message: ----------- usrloc: Fix `matching_mode` regression in 3aae7e652d2d Commit 3aae7e652d did too many things at once, including the refactoring of CT_MATCH_NONE from -1 to 0 (along with all other enum members!), causing a mismatch of this module parameter with its documentation, and leading to failed startup checks under ul_init_globals(). Credits to @98oi98 for the report! Fixes #2337 (cherry picked from commit dc8cfe85abd7f38e476a02a47862a034c2a272ce) Commit: 2eda596a243eb1a457c0d73ff3f741f6b7df4883 https://github.com/OpenSIPS/opensips/commit/2eda596a243eb1a457c0d73ff3f741f6b7df4883 Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #2327 from ar45/patch-2 Fixed double release of read_lock in dr_match Commit: b95c2ed5a3cf0ced2ccb7f5fbe739cbbb2875f29 https://github.com/OpenSIPS/opensips/commit/b95c2ed5a3cf0ced2ccb7f5fbe739cbbb2875f29 Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M action.c M xlog.c M xlog.h Log Message: ----------- xlog(): Remove unused function parameter Commit: e229e18e613c127105ccad70e6fd2256a51ad839 https://github.com/OpenSIPS/opensips/commit/e229e18e613c127105ccad70e6fd2256a51ad839 Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M packaging/debian/copyright Log Message: ----------- Revert "packaging: We no longer have atomic.h" This reverts commit 9dacffd696efcefe93e020adec0f25bb91aaeab7. Commit: 670b203f2d7b4ebd6533062537167129609d08e3 https://github.com/OpenSIPS/opensips/commit/670b203f2d7b4ebd6533062537167129609d08e3 Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M mem/module_info.c Log Message: ----------- Revert "Fix last reference to atomic_set() (replace with atomic_init)." This reverts commit 4ed5ba188a969ab02829bbbb33bd5c87ac457b19. Commit: dd417cb7e84ccb704d73eaa4450f7e8795dea8bb https://github.com/OpenSIPS/opensips/commit/dd417cb7e84ccb704d73eaa4450f7e8795dea8bb Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: A atomic.h M statistics.c M statistics.h Log Message: ----------- Revert "Use stdatomic.h, which is part of C standard since C11." This reverts commit 18f4c3d9b34583c7464eba2e5ca8fe24f72e9fc9. Commit: cff06b07f606537fb2976296cd6ee5c6705dae9a https://github.com/OpenSIPS/opensips/commit/cff06b07f606537fb2976296cd6ee5c6705dae9a Author: Liviu Chircu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M atomic.h Log Message: ----------- atomic.h: Add a deprecation notice Commit: 80eecb92f24a7cd477d050313bdc30ef8ae1d084 https://github.com/OpenSIPS/opensips/commit/80eecb92f24a7cd477d050313bdc30ef8ae1d084 Author: Vlad Patrascu Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- dialog docs: fix examples for dlg_list MI function Commit: 745fe0c0d081e1e374ba624e8d653322cbbf1bd6 https://github.com/OpenSIPS/opensips/commit/745fe0c0d081e1e374ba624e8d653322cbbf1bd6 Author: Maksym Sobolyev Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M mem/module_info.c Log Message: ----------- Revert "Revert "Fix last reference to atomic_set() (replace with atomic_init)."" This reverts commit 670b203f2d7b4ebd6533062537167129609d08e3. Commit: a91ab9c7007dcd36e9fba58bc990dcfc68f2270d https://github.com/OpenSIPS/opensips/commit/a91ab9c7007dcd36e9fba58bc990dcfc68f2270d Author: Maksym Sobolyev Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M statistics.c M statistics.h Log Message: ----------- Revert "Revert "Use stdatomic.h, which is part of C standard since C11."" This reverts commit dd417cb7e84ccb704d73eaa4450f7e8795dea8bb. Commit: c9d924274e7927388a3c453c81822e5cb56b0c0d https://github.com/OpenSIPS/opensips/commit/c9d924274e7927388a3c453c81822e5cb56b0c0d Author: Maksym Sobolyev Date: 2020-12-09 (Wed, 09 Dec 2020) Changed paths: M Makefile.defs M atomic.h M mem/module_info.c M statistics.c M statistics.h Log Message: ----------- Put back stdatomic to be used by default if compiler supports it. Keep old, non-portable atomic.h and use that as poor-man's stdatomic when it's not available. Add some wrappers to make API more like stdatomics. Auto-detect if stdatomic.h is available. Commit: 2442f67f26bc24a4b79281407befa96b52e401d9 https://github.com/OpenSIPS/opensips/commit/2442f67f26bc24a4b79281407befa96b52e401d9 Author: Liviu Chircu Date: 2020-12-10 (Thu, 10 Dec 2020) Changed paths: M Makefile.defs M atomic.h M mem/module_info.c M statistics.c M statistics.h Log Message: ----------- Merge pull request #2339 from sippy/pr_stdatomic_strikes_back Re-introduce using stdatomics for the purposes of core stats. Commit: b7bcfd310ead33c73d2a64a93f7e3bf092d44e97 https://github.com/OpenSIPS/opensips/commit/b7bcfd310ead33c73d2a64a93f7e3bf092d44e97 Author: Liviu Chircu Date: 2020-12-10 (Thu, 10 Dec 2020) Changed paths: M xlog.c Log Message: ----------- HEP logging: Fix a bug causing all xlog()'s to be L_ERROR Many thanks to Artiom Druz (@Shkiperon) for reporting this issue and helping with testing. Fixes #2329 Closes #2331 Commit: c9a4681a02fb55209e4503ff54897f66897eaf23 https://github.com/OpenSIPS/opensips/commit/c9a4681a02fb55209e4503ff54897f66897eaf23 Author: Vlad Patrascu Date: 2020-12-11 (Fri, 11 Dec 2020) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: improve error reporting when loading info Print openssl's error stack when failing to load ceritificates, private keys, CAs and CRLs. Commit: 113ecf49983073f764399eecac683bda30fc3658 https://github.com/OpenSIPS/opensips/commit/113ecf49983073f764399eecac683bda30fc3658 Author: Vlad Patrascu Date: 2020-12-11 (Fri, 11 Dec 2020) Changed paths: M modules/tls_mgm/api.h A modules/tls_mgm/tls_ctx_ops.c M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: add API functions for operations with a SSL_CTX Add API functions to set the CAs, certificate and private key for a given SSL_CTX (with a different SSL_CTX, or a file in case of private keys, as a source). These functions can be used from modules which require some TLS operations but without having to link with openssl directly. Commit: 472ae546c0b64171caa0ae6ba0e9801931911560 https://github.com/OpenSIPS/opensips/commit/472ae546c0b64171caa0ae6ba0e9801931911560 Author: Vlad Patrascu Date: 2020-12-11 (Fri, 11 Dec 2020) Changed paths: M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml M modules/event_rabbitmq/event_rabbitmq.c M modules/event_rabbitmq/event_rabbitmq.h M modules/event_rabbitmq/rabbitmq_send.c M modules/rabbitmq/doc/rabbitmq_admin.xml M modules/rabbitmq/rabbitmq.c M modules/rabbitmq/rmq_servers.c M modules/rabbitmq/rmq_servers.h M modules/rabbitmq_consumer/doc/rabbitmq_consumer_admin.xml M modules/rabbitmq_consumer/rabbitmq_consumer.c M modules/rabbitmq_consumer/rmq_connection.c M modules/rabbitmq_consumer/rmq_connection.h Log Message: ----------- rabbitmq modules: add TLS support Closes #2306 Commit: 6073cdd05b4cc8e61cbdfe5859609123019cf3b4 https://github.com/OpenSIPS/opensips/commit/6073cdd05b4cc8e61cbdfe5859609123019cf3b4 Author: Maksym Sobolyev Date: 2020-12-11 (Fri, 11 Dec 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Fix "off-by-one" error sizing vstat. Commit: 370d74b10d130aac45d70265f4b71ebff0202a16 https://github.com/OpenSIPS/opensips/commit/370d74b10d130aac45d70265f4b71ebff0202a16 Author: Maksym Sobolyev Date: 2020-12-11 (Fri, 11 Dec 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- When ECONNRESET has been received calling connect() try one more time. This has observed to be happening on some of our voiptests runs and we've got this patch since 2017: https://github.com/sippy/voiptests/commits/master/install_depends/opensips/mod.rtpproxy_retry.diff Commit: e56751a673ee74e82b7cb28f292a6093ad7f3dc2 https://github.com/OpenSIPS/opensips/commit/e56751a673ee74e82b7cb28f292a6093ad7f3dc2 Author: OpenSIPS Date: 2020-12-13 (Sun, 13 Dec 2020) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/event_rabbitmq/README M modules/event_rabbitmq/doc/contributors.xml M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/rabbitmq_consumer/README M modules/rabbitmq_consumer/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/tls_mgm/README M modules/tls_mgm/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 0a7d74123014c389e4c6a87742868cc75147ea0a https://github.com/OpenSIPS/opensips/commit/0a7d74123014c389e4c6a87742868cc75147ea0a Author: Zero King Date: 2020-12-13 (Sun, 13 Dec 2020) Changed paths: M menuconfig/configs/opensips_residential.m4 Log Message: ----------- opensips_residential.m4: Limit rtpproxy function calls to messages with an SDP body Fix for "ERROR:rtpproxy:force_rtp_proxy: Unable to parse body". Commit: f7877f9cc351c554de2aacde3068933354c6395c https://github.com/OpenSIPS/opensips/commit/f7877f9cc351c554de2aacde3068933354c6395c Author: Vlad Patrascu Date: 2020-12-14 (Mon, 14 Dec 2020) Changed paths: M modules/rabbitmq/rabbitmq.c M modules/rabbitmq/rmq_servers.c M modules/rabbitmq/rmq_servers.h Log Message: ----------- rabbitmq: fix build for librabbitmq versions < 0.9 Address the openssl multiprocess issues with librabbitmq versions that don't provide access to the lib's SSL_CTX, by serializing the CA, certificate and key loading. Commit: 176e28ebc4497e57e8b66a1a478bac3421004bd9 https://github.com/OpenSIPS/opensips/commit/176e28ebc4497e57e8b66a1a478bac3421004bd9 Author: Vlad Patrascu Date: 2020-12-14 (Mon, 14 Dec 2020) Changed paths: M modules/rabbitmq/rmq_servers.c Log Message: ----------- rabbitmq: complete fix in commit f7877f9 Commit: 600cd1c3d881ff8f6f0d35a66780e7ae7db53887 https://github.com/OpenSIPS/opensips/commit/600cd1c3d881ff8f6f0d35a66780e7ae7db53887 Author: Vlad Patrascu Date: 2020-12-15 (Tue, 15 Dec 2020) Changed paths: M modules/sql_cacher/doc/sql_cacher_admin.xml M modules/sql_cacher/sql_cacher.c M modules/sql_cacher/sql_cacher.h Log Message: ----------- sql_cacher: properly support integer caching keys Add a new parameter "key_type" to the caching entries configuration that specifies an integer or string data type for the caching key. Fixes #2335 Commit: 4ff9437b4509ef292f174394ed12a878a3e6ddf3 https://github.com/OpenSIPS/opensips/commit/4ff9437b4509ef292f174394ed12a878a3e6ddf3 Author: Zero King Date: 2020-12-16 (Wed, 16 Dec 2020) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: fix use of uninitialized pointer Commit: 6f62e23facec2cc50d6dcb529cf0c2addf285aa9 https://github.com/OpenSIPS/opensips/commit/6f62e23facec2cc50d6dcb529cf0c2addf285aa9 Author: Maksym Sobolyev Date: 2020-12-15 (Tue, 15 Dec 2020) Changed paths: M cfg.y A globals.c M globals.h M main.c M modules/dialog/dlg_hash.c M modules/nathelper/sip_pinger.h M modules/tm/t_msgbuilder.c M msg_translator.c M msg_translator.h M pt.h M receive.c A shutdown.c A shutdown.h A signals.c A signals.h M socket_info.c M test/unit_tests.c Log Message: ----------- Merge pull request #2300 from sippy/pr_split_main Split out gigantic main.c into 3 more TUs: globals.c, shutdown.c and signals.c. This is to allow unit tests to be build and executed outside of the main OpenSIPS executable. Commit: b528652e6f37c12eae39ad57e93946f61496a39c https://github.com/OpenSIPS/opensips/commit/b528652e6f37c12eae39ad57e93946f61496a39c Author: Maksym Sobolyev Date: 2020-12-15 (Tue, 15 Dec 2020) Changed paths: M menuconfig/configs/opensips_residential.m4 Log Message: ----------- Merge pull request #2341 from l2dy/residential opensips_residential.m4: Limit rtpproxy function calls to messages with an SDP body Commit: 07eedd064df9628dd5a2f6ec0263c6d015f85c2b https://github.com/OpenSIPS/opensips/commit/07eedd064df9628dd5a2f6ec0263c6d015f85c2b Author: Razvan Crainea Date: 2020-12-16 (Wed, 16 Dec 2020) Changed paths: M modules/signaling/signaling.c Log Message: ----------- signaling: fix sig_local_totag pvar name length Commit: 539958944c328d1fe600c4d64faae0270edf7b28 https://github.com/OpenSIPS/opensips/commit/539958944c328d1fe600c4d64faae0270edf7b28 Author: Bogdan-Andrei Iancu Date: 2020-12-16 (Wed, 16 Dec 2020) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- [proto_tcp] Fix cleaning an un-init'ed conn When handling a TCP accept event, if there is an error on dispatching the conn to the TCP workers, the conn is cleaned and destroied, without ever actually being initialised So, we need to be sure we can clean conns which were not init'ed. (cherry picked from commit 46d0b75243372375162ab64ca66aff42cdd7b547) Commit: b8dee70e179e96825e6471a72a1d26501cf44878 https://github.com/OpenSIPS/opensips/commit/b8dee70e179e96825e6471a72a1d26501cf44878 Author: Razvan Crainea Date: 2020-12-16 (Wed, 16 Dec 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: initiate cancel_bm in t_inject_branch Make sure we're not canceling unwanted branches if there is some garbage in the cancel_bm mask Thanks go to Bogdan Iancu for debugging and fixing Commit: 58b0190a132c5a7bd62af3aa5a47eea555b1ebfe https://github.com/OpenSIPS/opensips/commit/58b0190a132c5a7bd62af3aa5a47eea555b1ebfe Author: Maksym Sobolyev Date: 2020-12-16 (Wed, 16 Dec 2020) Changed paths: M Makefile.defs M action.c M action.h A atomic.h M cachedb/cachedb_id.c M cachedb/cachedb_id.h M cfg.y M core_cmds.c M db/schema/opensips-authjwt.xml A globals.c M globals.h M main.c M mem/module_info.c M menuconfig/configs/opensips_residential.m4 M mod_fix.c M modules/b2b_entities/README M modules/b2b_entities/dlg.c M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/cachedb_redis/Makefile M modules/cachedb_redis/README M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_redis/cachedb_redis_dbase.c M modules/cachedb_redis/cachedb_redis_dbase.h M modules/cachedb_redis/cachedb_redis_utils.c M modules/cachedb_redis/doc/cachedb_redis_admin.xml M modules/cachedb_redis/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/cpl_c/README M modules/cpl_c/doc/contributors.xml M modules/dialog/README M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/doc/contributors.xml M modules/dialog/doc/dialog_admin.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/drouting/drouting.c M modules/event_rabbitmq/README M modules/event_rabbitmq/doc/contributors.xml M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml M modules/event_rabbitmq/event_rabbitmq.c M modules/event_rabbitmq/event_rabbitmq.h M modules/event_rabbitmq/rabbitmq_send.c M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/event_route/route_send.c M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/event_routing/ebr_data.c M modules/nathelper/sip_pinger.h M modules/pike/README M modules/pike/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/presence_dfks/presence_dfks.c M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/rabbitmq/doc/rabbitmq_admin.xml M modules/rabbitmq/rabbitmq.c M modules/rabbitmq/rmq_servers.c M modules/rabbitmq/rmq_servers.h M modules/rabbitmq_consumer/README M modules/rabbitmq_consumer/doc/contributors.xml M modules/rabbitmq_consumer/doc/rabbitmq_consumer_admin.xml M modules/rabbitmq_consumer/rabbitmq_consumer.c M modules/rabbitmq_consumer/rmq_connection.c M modules/rabbitmq_consumer/rmq_connection.h M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/rtpproxy/rtpproxy.c M modules/script_helper/README M modules/script_helper/doc/contributors.xml M modules/signaling/signaling.c M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sipcapture/sipcapture.c M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/sql_cacher/doc/sql_cacher_admin.xml M modules/sql_cacher/sql_cacher.c M modules/sql_cacher/sql_cacher.h M modules/tls_mgm/README M modules/tls_mgm/api.h M modules/tls_mgm/doc/contributors.xml A modules/tls_mgm/tls_ctx_ops.c M modules/tls_mgm/tls_mgm.c M modules/tm/README M modules/tm/doc/contributors.xml M modules/tm/t_fwd.c M modules/tm/t_msgbuilder.c M modules/usrloc/README M modules/usrloc/doc/contributors.xml M modules/usrloc/ucontact.h M msg_translator.c M msg_translator.h M net/proto_tcp/proto_tcp.c M packaging/debian/copyright M packaging/debian/rules M packaging/redhat_fedora/opensips.spec M pt.h M receive.c A shutdown.c A shutdown.h A signals.c A signals.h M socket_info.c M statistics.c M statistics.h M test/unit_tests.c M xlog.c M xlog.h Log Message: ----------- Merge remote-tracking branch 'upstream/master' into pr_github_actions Commit: 6766a47e3ab45e6b4aa846a889bec0ac060d1c35 https://github.com/OpenSIPS/opensips/commit/6766a47e3ab45e6b4aa846a889bec0ac060d1c35 Author: Vlad Pătrașcu Date: 2020-12-17 (Thu, 17 Dec 2020) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- Merge pull request #2345 from l2dy/b2b_logic b2b_logic: fix use of uninitialized pointer Commit: 2835fe065904a271b3d431ecc4e17380bc90999f https://github.com/OpenSIPS/opensips/commit/2835fe065904a271b3d431ecc4e17380bc90999f Author: Vlad Pătrașcu Date: 2020-12-17 (Thu, 17 Dec 2020) Changed paths: M modules/sip_i/isup.c Log Message: ----------- Merge pull request #2133 from SIfoxDevTeam/sip_i_generic_number Add support for Generic Number parameter into sip_i Commit: 454f7db04be9ba38595c463b2df96e343ae2a5bd https://github.com/OpenSIPS/opensips/commit/454f7db04be9ba38595c463b2df96e343ae2a5bd Author: Vlad Patrascu Date: 2020-12-17 (Thu, 17 Dec 2020) Changed paths: M modules/sip_i/isup.c Log Message: ----------- sip_i: fix setting of Generic number parameter Commit: 82c4f9466fddca4f42e57281a5244fde375e08de https://github.com/OpenSIPS/opensips/commit/82c4f9466fddca4f42e57281a5244fde375e08de Author: Vlad Patrascu Date: 2020-12-17 (Thu, 17 Dec 2020) Changed paths: M modules/sip_i/isup.c Log Message: ----------- sip_i: fix setting of Subsequent number parameter Commit: 12ae86900fd16699239a1884386e44404d5346f2 https://github.com/OpenSIPS/opensips/commit/12ae86900fd16699239a1884386e44404d5346f2 Author: Vlad Patrascu Date: 2020-12-17 (Thu, 17 Dec 2020) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: fix a memory leak when using topology hiding Credits to Anton Mosin for troubleshooting this. Fixes #2346. (cherry picked from commit fd0e4b7e4ae4853a27b6dcbf4a8b825aeae16b79) Commit: dd1446bb002ad7601d61dbb3d9167c2a3741a1f7 https://github.com/OpenSIPS/opensips/commit/dd1446bb002ad7601d61dbb3d9167c2a3741a1f7 Author: Razvan Crainea Date: 2020-12-18 (Fri, 18 Dec 2020) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c Log Message: ----------- cachedb_mongodb: treat case when counter is missing Commit: ef9ab051cf665538e919fa233677b578e694143d https://github.com/OpenSIPS/opensips/commit/ef9ab051cf665538e919fa233677b578e694143d Author: Razvan Crainea Date: 2020-12-18 (Fri, 18 Dec 2020) Changed paths: M cachedb/cachedb.h Log Message: ----------- cachedb: document return values of get_counter() Commit: 5835780b3fec3d22af5dabbb9a782a8c9ecc561f https://github.com/OpenSIPS/opensips/commit/5835780b3fec3d22af5dabbb9a782a8c9ecc561f Author: Razvan Crainea Date: 2020-12-18 (Fri, 18 Dec 2020) Changed paths: M README.md Log Message: ----------- Migrate repo to travis-ci.com Commit: 0b94a2c7e401ee885f2245e9a427ca032511bb2c https://github.com/OpenSIPS/opensips/commit/0b94a2c7e401ee885f2245e9a427ca032511bb2c Author: Razvan Crainea Date: 2020-12-18 (Fri, 18 Dec 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: provide code to rtpengine_play_dtmf command Thanks go to Slava Bendersky for reporting it. Close #2349 Commit: a611127f153286020bf1401afb8ea2dda6f933fa https://github.com/OpenSIPS/opensips/commit/a611127f153286020bf1401afb8ea2dda6f933fa Author: OpenSIPS Date: 2020-12-20 (Sun, 20 Dec 2020) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/signaling/README M modules/signaling/doc/contributors.xml M modules/sip_i/README M modules/sip_i/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 9621cac2033308e1d386103a229702750ffb005b https://github.com/OpenSIPS/opensips/commit/9621cac2033308e1d386103a229702750ffb005b Author: Razvan Crainea Date: 2020-12-22 (Tue, 22 Dec 2020) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- ratelimit: keep only local values in pipe->counter for SBT Up until this commit, the SBT algorithm would keep in pipe->counter the sum between its local value, as well as the values gathered from the other servers in the cluster. This means that it would replicate the other's counters as well, leading to a broken behavior. This fix makes sure that the SBT algorithm only stores the local counter in the pipe->counter field, therefore it will not replicate other's counters. Commit: b7368f4c0b33c80f2aee7ae550d75249da8f33f8 https://github.com/OpenSIPS/opensips/commit/b7368f4c0b33c80f2aee7ae550d75249da8f33f8 Author: OpenSIPS Date: 2020-12-27 (Sun, 27 Dec 2020) Changed paths: M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 2b25cddbd7769c8ea63092a7ea87d4a902daa33c https://github.com/OpenSIPS/opensips/commit/2b25cddbd7769c8ea63092a7ea87d4a902daa33c Author: Maksym Sobolyev Date: 2020-12-27 (Sun, 27 Dec 2020) Changed paths: M README.md M cachedb/cachedb.h M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic/logic.c M modules/cachedb_mongodb/README M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/cachedb_mongodb/doc/contributors.xml M modules/dialog/README M modules/dialog/dlg_handlers.c M modules/dialog/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/ratelimit/ratelimit.c M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/rtpengine/rtpengine.c M modules/signaling/README M modules/signaling/doc/contributors.xml M modules/sip_i/README M modules/sip_i/doc/contributors.xml M modules/sip_i/isup.c M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Merge branch 'master' into pr_github_actions Commit: b1e6f2a4a39f5a1339f1f7098bea1340baf952f2 https://github.com/OpenSIPS/opensips/commit/b1e6f2a4a39f5a1339f1f7098bea1340baf952f2 Author: Maksym Sobolyev Date: 2020-12-27 (Sun, 27 Dec 2020) Changed paths: A .github/workflows/main.yml M .travis.yml M Makefile.defs M README.md M bin_interface.c M bin_interface.h M context.h M db/db_insertq.c M db/db_res.c M evi/evi_params.c M ip_addr.c M ip_addr.h M lib/container.h M lock_alloc.h M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/q_malloc.c M mem/q_malloc.h M mem/q_malloc_dyn.h M resolve.c A scripts/build/build.conf.sub A scripts/build/do_build.sh A scripts/build/install_depends.sh M serialize.c M socket_info.c M xlog.c Log Message: ----------- Merge pull request #2324 from sippy/pr_github_actions Move main CI action to GitHub Actions, put TraviCI to a backburner. Commit: f16897c901c0e064ae68c3772a3a26b84222d12b https://github.com/OpenSIPS/opensips/commit/f16897c901c0e064ae68c3772a3a26b84222d12b Author: Nick Altmann Date: 2020-12-28 (Mon, 28 Dec 2020) Changed paths: M packaging/redhat_fedora/opensips.spec Log Message: ----------- RPM spec: fix source path Commit: 7c38d6281d0915c87d0a802f960a62b6f2462853 https://github.com/OpenSIPS/opensips/commit/7c38d6281d0915c87d0a802f960a62b6f2462853 Author: sergei lavrov <7936874+ccppprogrammer at users.noreply.github.com> Date: 2020-12-31 (Thu, 31 Dec 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- dialog: move "No matched dialogs" msg from LM_ERR to LM_DBG Get rid of spam messages "No matched dialogs" in LM_ERR. We only need these messages in LM_DBG. Commit: a8cd0ed61868d6115e40e498ae3b1224ec7472b7 https://github.com/OpenSIPS/opensips/commit/a8cd0ed61868d6115e40e498ae3b1224ec7472b7 Author: Razvan Crainea Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M serialize.c Log Message: ----------- export _ISOC11_SOURCE to see static_assert macro Commit: 5b3052f5f52ce6d67690e3d69f5819e9fa916546 https://github.com/OpenSIPS/opensips/commit/5b3052f5f52ce6d67690e3d69f5819e9fa916546 Author: Bogdan Andrei IANCU Date: 2021-01-04 (Mon, 04 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- Merge pull request #2319 from lemenkov/tm_respect_async_close_fd tm/async: Handle ASYNC_DONE_CLOSE_FD when switching to sync Commit: 0ad1df3cc8fdcb7bd5472323d480d4814b20b086 https://github.com/OpenSIPS/opensips/commit/0ad1df3cc8fdcb7bd5472323d480d4814b20b086 Author: Bogdan Andrei IANCU Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Merge pull request #2358 from ccppprogrammer/patch-1 dialog: move "No matched dialogs" msg from LM_ERR to LM_DBG Commit: 6ebbd9a2d68772ff840db8a38fcc7f2f786b527b https://github.com/OpenSIPS/opensips/commit/6ebbd9a2d68772ff840db8a38fcc7f2f786b527b Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.h Log Message: ----------- dialog: Fix crash due to a "tmp SDP" race condition This fixes a race condition on the following code which runs, e.g., on a 200 OK to a Re-INVITE (added in d447626c2531): if (dlg->legs[leg].tmp_out_sdp.s) { shm_free(dlg->legs[leg].tmp_out_sdp.s); dlg->legs[leg].tmp_out_sdp.s = 0; <--- we are here dlg->legs[leg].tmp_out_sdp.len = 0; } At this point, if the Re-INVITE is retransmitted and, e.g., dlg_callee_reinv_onreq_out() is run, the code may read a corrupt str value from "tmp_out_sdp" (e.g. {NULL, 172}), which will crash in shm_str_sync(). Many thanks to Ken Rice for the report! Commit: 3ea93397c47254275d593f48b3646262426a78a1 https://github.com/OpenSIPS/opensips/commit/3ea93397c47254275d593f48b3646262426a78a1 Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M parser/test/test_parse_authenticate_body.c M parser/test/test_parse_qop.c Log Message: ----------- Fix compilation warnings Commit: 59918856b98bf85931ac36130c59a648f36c10e1 https://github.com/OpenSIPS/opensips/commit/59918856b98bf85931ac36130c59a648f36c10e1 Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M ut.h Log Message: ----------- ut.h: Add some helpful comments Commit: c82d074d359777197d119f314dc4892a7738a4ba https://github.com/OpenSIPS/opensips/commit/c82d074d359777197d119f314dc4892a7738a4ba Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- sipmsg_validate(): Allow "(" and ")" in SIP URI usernames According to RFC 3261: mark = "-" / "_" / "." / "!" / "~" / "*" / "'" / "(" / ")" ... so both parantheses are legal within URI usernames. Commit: cbc0922bd45101d72a97eda01ef8725da60b2a8e https://github.com/OpenSIPS/opensips/commit/cbc0922bd45101d72a97eda01ef8725da60b2a8e Author: Liviu Chircu Date: 2021-01-05 (Tue, 05 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c M ut.h Log Message: ----------- sipmsg_validate(): Allow escape sequences in SIP URI usernames This regression was introduced in 269ad7a3f0, where the R-URI, From and To header usernames were no longer accepting escape sequences, e.g. "%23". Many thanks to Nexphone for sponsoring this fix Commit: 3081483af2e3187db4e7275c77a6e055d4a81709 https://github.com/OpenSIPS/opensips/commit/3081483af2e3187db4e7275c77a6e055d4a81709 Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/sql_cacher/sql_cacher.c Log Message: ----------- sql_cacher: prevent memory leak for keys not present Commit: b1ce111bccea8f584076312119e703c42116479b https://github.com/OpenSIPS/opensips/commit/b1ce111bccea8f584076312119e703c42116479b Author: Razvan Crainea Date: 2021-01-06 (Wed, 06 Jan 2021) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: load from DB call looping dialogs When loading a dialog from DB that has the same coordinates (same callid+to-tag+from-tag pair) with a different dialog in memory, we should not ignore it if it comes with a different `hash_id`, as it might be a completely different dialog, resulted from a call looping scenario (call that passes through the same OpenSIPS instance twice), which legitimately creates a new dialog with a new `hash_id`. Thanks go to @perwx3 (GitHub) for reporting it in ticket #2311. Complements commit b26d59e3. Fix #2311. Commit: 396a0fa92780c92158389f5cffa52c5231ddd5ee https://github.com/OpenSIPS/opensips/commit/396a0fa92780c92158389f5cffa52c5231ddd5ee Author: Razvan Crainea Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M lib/cJSON.h M modules/b2b_entities/dlg.c M modules/b2b_logic/logic.c M modules/b2b_logic_xml/b2b_logic.c M modules/b2b_logic_xml/b2bl_db.c M modules/b2b_logic_xml/logic.c M modules/carrierroute/route_config.c M modules/db_http/http_dbase.c M modules/db_mysql/db_mysql.h M modules/db_mysql/my_con.h M modules/db_sqlite/my_con.h M modules/db_unixodbc/db_con.h M modules/db_unixodbc/db_unixodbc.h M modules/db_virtual/db_virtual.h M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_hash.c M modules/dispatcher/dispatch.c M modules/identity/identity.c M modules/lua/sipluafunc.c M modules/lua/sipmysql.c M modules/msilo/msfuncs.c M modules/osp/timeapi.c M modules/pua/pua.h M modules/sipcapture/sipcapture.c M modules/sipmsgops/sipmsgops.c M modules/siprec/siprec_sess.c M modules/stir_shaken/stir_shaken.c Log Message: ----------- Fix lgtm errors and warnings Commit: d329e00f69bf8936792b74af173ae1dc37ac95fe https://github.com/OpenSIPS/opensips/commit/d329e00f69bf8936792b74af173ae1dc37ac95fe Author: Razvan Crainea Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/freeswitch/esl/src/include/esl_json.h Log Message: ----------- freeswitch: esl: use OpenSIPS's cJSON implementation if available Commit: 2e17eb063cb1a6b4f84436329418b0a6ebed42e9 https://github.com/OpenSIPS/opensips/commit/2e17eb063cb1a6b4f84436329418b0a6ebed42e9 Author: Liviu Chircu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M doc/build-contrib.sh M lib/reg/doc/pn_async_func.xml M lib/reg/doc/pn_modparams.xml M lib/reg/doc/supported_rfc.xml M modules/auth/doc/auth_admin.xml M modules/cfgutils/test/cfgutils.c M modules/fraud_detection/doc/fraud_detection_admin.xml M modules/fraud_detection/fraud_detection.c M modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml M modules/gflags/doc/gflags_admin.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/qrouting/doc/qrouting_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/rr/record.c M modules/usrloc/kv_store.c M pvar.c Log Message: ----------- Improve doc & code quality; Fix typos & inaccuracies Commit: 45b29f93b420d1e18a32a9b05d9b304e8eb44f65 https://github.com/OpenSIPS/opensips/commit/45b29f93b420d1e18a32a9b05d9b304e8eb44f65 Author: Bogdan-Andrei Iancu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] consider NOTIFY as an in-dialog method When handing in-dialog requests, consider the NOTIFY requests as candidates for TH. Credits go to @nikbyte Fixes #1991 Commit: 342e6c5da915ba082e5b70a897b6168237b154b3 https://github.com/OpenSIPS/opensips/commit/342e6c5da915ba082e5b70a897b6168237b154b3 Author: Vlad Patrascu Date: 2021-01-07 (Thu, 07 Jan 2021) Changed paths: M bin_interface.c Log Message: ----------- bin_interface: fix crashes due to bad capability length Commit: 647bb69d248b9fc3a6a0c53a5e9850abc62ee78b https://github.com/OpenSIPS/opensips/commit/647bb69d248b9fc3a6a0c53a5e9850abc62ee78b Author: Razvan Crainea Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/db_sqlite/res.c Log Message: ----------- db_sqlite: fix memory overwrite error when reallocing rows Commit: 78909c344fe4c25718233e6a00f6e2bd19373be3 https://github.com/OpenSIPS/opensips/commit/78909c344fe4c25718233e6a00f6e2bd19373be3 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix vulnerability in TH decoding Extra checks were added to prevent buffer overflow/underflow when decoding the TH information (in non-dialog module) extracted from the Contact hdr. This information may be subject to malicious changes from an external attacker. Credits for reporting and for the fix go to @wdoekes. The suggested fix was re-worked a bit, but the idea is the same. Fixes #2338 Commit: 0e9249da66b85434a54e6f1a523cd936d7e3e0be https://github.com/OpenSIPS/opensips/commit/0e9249da66b85434a54e6f1a523cd936d7e3e0be Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M modules/topology_hiding/topo_hiding_logic.c Log Message: ----------- [topology_hiding] fix printing formater Commit: 7d38cb85bc18e9831d7ef507383a9388d73578a6 https://github.com/OpenSIPS/opensips/commit/7d38cb85bc18e9831d7ef507383a9388d73578a6 Author: Bogdan-Andrei Iancu Date: 2021-01-08 (Fri, 08 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/db_berkeley/opensips/cachedb M scripts/dbtext/opensips/cachedb M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/cachedb_sql-table M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [cachedb_sql] fixed definition of the "cachedb" table In postgres, the tables must have an auto-increment Fix for #2310 (cherry picked from commit 3f3dc8a45d44eed76204c1ebc82e8ae6be03b335) Commit: 88a0f7d6607116553d7da8392deeecbfec8608d2 https://github.com/OpenSIPS/opensips/commit/88a0f7d6607116553d7da8392deeecbfec8608d2 Author: OpenSIPS Date: 2021-01-10 (Sun, 10 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/carrierroute/README M modules/carrierroute/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/db_http/README M modules/db_http/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/db_unixodbc/README M modules/db_unixodbc/doc/contributors.xml M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/freeswitch/README M modules/freeswitch/doc/contributors.xml M modules/freeswitch_scripting/README M modules/freeswitch_scripting/doc/contributors.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/lua/README M modules/lua/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/msilo/README M modules/msilo/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/pua/README M modules/pua/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rr/README M modules/rr/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/siprec/README M modules/siprec/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/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 M modules/topology_hiding/README M modules/topology_hiding/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation Commit: 9b0863e9cfc544ccfec2d4c4bfb7f7a51bdb3dd3 https://github.com/OpenSIPS/opensips/commit/9b0863e9cfc544ccfec2d4c4bfb7f7a51bdb3dd3 Author: Razvan Crainea Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: release cloned leg if failure Commit: 85379e5ebfc4568c4a44ef35475f52ac170d7143 https://github.com/OpenSIPS/opensips/commit/85379e5ebfc4568c4a44ef35475f52ac170d7143 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/db_mysql/my_con.c Log Message: ----------- db_mysql: Properly disable auto-reconnect According to https://dev.mysql.com/doc/c-api/8.0/en/mysql-options.html, mysql_options() MUST NOT be called after mysql_real_connect(). Commit: 97c6bc78a34ed7ff47ea993b8bf843f700428cc5 https://github.com/OpenSIPS/opensips/commit/97c6bc78a34ed7ff47ea993b8bf843f700428cc5 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: Fix t_on_branch() PKG memory leak Commit dddf9c253d introduced a regression because add_uac() is sensible to the addresses of the (str *) address provided. "Premature optimization is the root of all evil"... Commit: c8743de27c926bb4f85d4969956d384d3d9b19c6 https://github.com/OpenSIPS/opensips/commit/c8743de27c926bb4f85d4969956d384d3d9b19c6 Author: Bogdan-Andrei Iancu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M db/schema/dr_rules.xml M scripts/db_berkeley/opensips/dr_rules M scripts/mysql/drouting-create.sql M scripts/oracle/drouting-create.sql M scripts/postgres/drouting-create.sql M scripts/sqlite/drouting-create.sql Log Message: ----------- [drouting] set sort_profile column to default NULL If Quality Routing module is not used (on top of Dynamic Routing), this column is not used, so we do not have to explicitly provision it. Commit: 8959b9f71c8f8133f05dac3a43ac1ef53a8c9150 https://github.com/OpenSIPS/opensips/commit/8959b9f71c8f8133f05dac3a43ac1ef53a8c9150 Author: Liviu Chircu Date: 2021-01-11 (Mon, 11 Jan 2021) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h Log Message: ----------- rest_client: Add optional timeouts to all async functions Fixes #1838 Commit: dcd46ffb734b3d7fa5bda80a6b7163238e4bd72e https://github.com/OpenSIPS/opensips/commit/dcd46ffb734b3d7fa5bda80a6b7163238e4bd72e Author: Razvan Crainea Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- Add notification for GitHub Workflows Commit: 1104a21d5a6d84b0dbf20164eabab558e1d3da32 https://github.com/OpenSIPS/opensips/commit/1104a21d5a6d84b0dbf20164eabab558e1d3da32 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/tm/async.c Log Message: ----------- async(): Report an error when using timeouts incorrectly Commit: 8880b5f339c3f2e1c2c3d6cc6145ec3e165fa8ca https://github.com/OpenSIPS/opensips/commit/8880b5f339c3f2e1c2c3d6cc6145ec3e165fa8ca Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/callops/callops.c M modules/cfgutils/cfgutils.c M modules/mmgeoip/mmgeoip.c M modules/presence_dfks/presence_dfks.c M modules/proto_smpp/smpp.c M modules/qrouting/qr_stats.c M modules/stir_shaken/stir_shaken.c Log Message: ----------- Fix missing "\n" log line endings Credits to Nick Altmann for the hint! Commit: 107b6fa58d25eac1ead669e6a51bc96ae130624c https://github.com/OpenSIPS/opensips/commit/107b6fa58d25eac1ead669e6a51bc96ae130624c Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/udomain.h M modules/usrloc/ul_callback.c M modules/usrloc/ul_callback.h M modules/usrloc/urecord.c M modules/usrloc/urecord.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Fully document the module API Commit: eee990d84a818352a2b653bfab96e7aa9e529072 https://github.com/OpenSIPS/opensips/commit/eee990d84a818352a2b653bfab96e7aa9e529072 Author: Bogdan-Andrei Iancu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M forward.h M ip_addr.h Log Message: ----------- [core] run post processing callbacks only on SIP traffic Credits go to @lemenkov Alternative to #2316 Commit: 9ae8ca78a60183e947b0724e762983ca76e918b2 https://github.com/OpenSIPS/opensips/commit/9ae8ca78a60183e947b0724e762983ca76e918b2 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: refactor evi related code into a new file Commit: 0b7a94a601c61907057ecefc6dcacf90e7073311 https://github.com/OpenSIPS/opensips/commit/0b7a94a601c61907057ecefc6dcacf90e7073311 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/sync.c A modules/clusterer/topology.c A modules/clusterer/topology.h Log Message: ----------- clusterer: refactor topology related code into a new file Commit: eeaf59e4bb811fdc9a8b9f350a4c97e8319869e0 https://github.com/OpenSIPS/opensips/commit/eeaf59e4bb811fdc9a8b9f350a4c97e8319869e0 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/topology.c Log Message: ----------- clusterer: restrict dynamic node joining in db mode Commit: b78ed716bbe772672ba62ee0576f437cb3cf0539 https://github.com/OpenSIPS/opensips/commit/b78ed716bbe772672ba62ee0576f437cb3cf0539 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/topology.c M modules/clusterer/topology.h Log Message: ----------- clusterer: add MI function to remove a node from the cluster Commit: f4262155f559883c3f46c55117bd76bf88153776 https://github.com/OpenSIPS/opensips/commit/f4262155f559883c3f46c55117bd76bf88153776 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: also check source IP for internal BIN packets Commit: db652d89d313771da4cd76d1207f48d622101aa8 https://github.com/OpenSIPS/opensips/commit/db652d89d313771da4cd76d1207f48d622101aa8 Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: acquire RW lock for switchable reading only if needed Commit: f03a9584821215531b0078ca2d5227403bfda14b https://github.com/OpenSIPS/opensips/commit/f03a9584821215531b0078ca2d5227403bfda14b Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M ut.h Log Message: ----------- cachedb_mongodb: Return DB_STRING strings, not DB_STR Several modules relying on SQL data do not fully handle the DB_STR data type, e.g. drouting. So when db_cachedb is used on top of cachedb_mongodb, these modules may report errors such as: ERROR:drouting:dr_load_routing_info: column gwid has a bad type [4], accepting only [3] Many thanks to Sasmita Panda for the report and helping with testing! Commit: 46952b01f752858ecbc9305b468513634fc370f6 https://github.com/OpenSIPS/opensips/commit/46952b01f752858ecbc9305b468513634fc370f6 Author: Liviu Chircu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- drouting: Document outdated "W" flag of do_routing() Commit: 71bbd4caf11b623633a443ba7402e67a7e48a65f https://github.com/OpenSIPS/opensips/commit/71bbd4caf11b623633a443ba7402e67a7e48a65f Author: Vlad Patrascu Date: 2021-01-12 (Tue, 12 Jan 2021) Changed paths: A modules/clusterer/clusterer_evi.c A modules/clusterer/clusterer_evi.h Log Message: ----------- clusterer: complete commit 0b7a94a Commit: 9cbe42af950b1847b09657246ee53f04d0211532 https://github.com/OpenSIPS/opensips/commit/9cbe42af950b1847b09657246ee53f04d0211532 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: A .github/workflows/main.yml M .gitignore M .travis.yml M Makefile M Makefile.defs A Makefile.misclibs A Makefile.openssl M Makefile.rules M Makefile.sources M README.md M action.c M action.h M async.c M atomic.h M bin_interface.c M bin_interface.h M cachedb/cachedb.h M cachedb/cachedb_id.c M cachedb/cachedb_id.h M cfg.y M cfg_pp.c M context.h M core_cmds.c M db/db_insertq.c M db/db_res.c M db/db_val.h M db/schema/b2b_logic.xml M db/schema/cachedb_sql.xml M db/schema/dr_rules.xml M db/schema/fraud_detection.xml M db/schema/opensips-authjwt.xml M doc/build-contrib.sh M etc/opensips.cfg M evi/evi_params.c M evi/evi_transport.c M fastlock.h M forward.h A globals.c M globals.h M ip_addr.c M ip_addr.h M lib/cJSON.c M lib/cJSON.h M lib/container.h A lib/dassert.h A lib/hash.c A lib/hash.h M lib/path.c M lib/path.h A lib/reg/Makefile M lib/reg/doc/pn_async_func.xml M lib/reg/doc/pn_modparams.xml M lib/reg/doc/supported_rfc.xml M lib/reg/lookup.c M lib/reg/pn.c M lock_alloc.h M main.c M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/module_info.c M mem/q_malloc.c M mem/q_malloc.h M mem/q_malloc_dyn.h M mem/rpm_mem.c M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 M mod_fix.c M modules/aaa_radius/README M modules/aaa_radius/doc/contributors.xml M modules/acc/README M modules/acc/acc.c M modules/acc/doc/contributors.xml M modules/alias_db/README M modules/alias_db/doc/contributors.xml M modules/auth/README M modules/auth/challenge.c M modules/auth/common.c M modules/auth/common.h M modules/auth/doc/auth_admin.xml M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/b2be_db.c M modules/b2b_entities/dlg.c M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/Makefile M modules/b2b_logic/README M modules/b2b_logic/b2b_load.h M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2b_logic.h M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/doc/b2b_logic_admin.xml M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic/entity_storage.c M modules/b2b_logic/logic.c R modules/b2b_logic/pidf.c R modules/b2b_logic/pidf.h M modules/b2b_logic/records.c M modules/b2b_logic/records.h A modules/b2b_logic_xml/Makefile A modules/b2b_logic_xml/README A modules/b2b_logic_xml/b2b_load.h A modules/b2b_logic_xml/b2b_logic.c A modules/b2b_logic_xml/b2b_logic.h A modules/b2b_logic_xml/b2bl_db.c A modules/b2b_logic_xml/b2bl_db.h A modules/b2b_logic_xml/doc/b2b_logic_xml.xml A modules/b2b_logic_xml/doc/b2b_logic_xml_admin.xml A modules/b2b_logic_xml/doc/b2b_logic_xml_devel.xml A modules/b2b_logic_xml/doc/contributors.xml A modules/b2b_logic_xml/entity_storage.c A modules/b2b_logic_xml/entity_storage.h A modules/b2b_logic_xml/logic.c A modules/b2b_logic_xml/pidf.c A modules/b2b_logic_xml/pidf.h A modules/b2b_logic_xml/records.c A modules/b2b_logic_xml/records.h M modules/b2b_sca/README M modules/b2b_sca/doc/contributors.xml M modules/cachedb_local/README M modules/cachedb_local/cachedb_local.h M modules/cachedb_local/cachedb_local_replication.c M modules/cachedb_local/doc/cachedb_local_admin.xml M modules/cachedb_local/doc/contributors.xml M modules/cachedb_local/hash.c M modules/cachedb_local/hash.h M modules/cachedb_mongodb/README M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/cachedb_mongodb/doc/contributors.xml M modules/cachedb_redis/Makefile M modules/cachedb_redis/README M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_redis/cachedb_redis_dbase.c M modules/cachedb_redis/cachedb_redis_dbase.h M modules/cachedb_redis/cachedb_redis_utils.c M modules/cachedb_redis/doc/cachedb_redis_admin.xml M modules/cachedb_redis/doc/contributors.xml M modules/cachedb_sql/README M modules/cachedb_sql/doc/contributors.xml M modules/call_center/README M modules/call_center/call_center.c M modules/call_center/doc/call_center_admin.xml M modules/call_center/doc/contributors.xml M modules/call_control/README M modules/call_control/doc/contributors.xml M modules/callops/README M modules/callops/callops.c M modules/callops/doc/contributors.xml M modules/carrierroute/README M modules/carrierroute/doc/contributors.xml M modules/carrierroute/route_config.c M modules/cfgutils/README M modules/cfgutils/cfgutils.c M modules/cfgutils/doc/cfgutils_admin.xml M modules/cfgutils/doc/contributors.xml M modules/cfgutils/shvar.c M modules/cfgutils/shvar.h M modules/cfgutils/test/cfgutils.c M modules/cgrates/README M modules/cgrates/doc/contributors.xml M modules/clusterer/README M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h A modules/clusterer/clusterer_evi.c A modules/clusterer/clusterer_evi.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/doc/contributors.xml M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/sync.c A modules/clusterer/topology.c A modules/clusterer/topology.h M modules/compression/README M modules/compression/doc/contributors.xml M modules/cpl_c/README M modules/cpl_c/cpl_parser.c M modules/cpl_c/cpl_sig.c M modules/cpl_c/cpl_switches.h M modules/cpl_c/doc/contributors.xml M modules/db_berkeley/README M modules/db_berkeley/doc/contributors.xml M modules/db_http/README M modules/db_http/doc/contributors.xml M modules/db_http/http_dbase.c M modules/db_mysql/README M modules/db_mysql/db_mysql.h M modules/db_mysql/doc/contributors.xml M modules/db_mysql/doc/db_mysql_admin.xml M modules/db_mysql/my_con.c M modules/db_mysql/my_con.h M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/dbase.c M modules/db_sqlite/doc/contributors.xml M modules/db_sqlite/my_con.h M modules/db_sqlite/res.c M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/db_unixodbc/README M modules/db_unixodbc/db_con.h M modules/db_unixodbc/db_unixodbc.h M modules/db_unixodbc/doc/contributors.xml M modules/db_virtual/README M modules/db_virtual/db_virtual.h M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/dialog.c M modules/dialog/dlg_cb.h M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/doc/contributors.xml M modules/dialog/doc/dialog_admin.xml M modules/dialplan/README M modules/dialplan/dialplan.c M modules/dialplan/dialplan.h M modules/dialplan/doc/contributors.xml M modules/dialplan/dp_db.c M modules/dialplan/dp_repl.c M modules/dispatcher/README M modules/dispatcher/dispatch.c M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/contributors.xml M modules/dispatcher/doc/dispatcher_admin.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/drouting/doc/drouting_admin.xml M modules/drouting/dr_api.h M modules/drouting/dr_api_internal.c M modules/drouting/dr_load.c M modules/drouting/drouting.c M modules/drouting/prefix_tree.c M modules/drouting/prefix_tree.h M modules/drouting/routing.c M modules/drouting/routing.h M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/emergency/post_curl.c M modules/enum/README M modules/enum/doc/contributors.xml M modules/event_datagram/README M modules/event_datagram/doc/contributors.xml M modules/event_datagram/doc/event_datagram_admin.xml M modules/event_datagram/event_datagram.c M modules/event_flatstore/README M modules/event_flatstore/doc/contributors.xml M modules/event_rabbitmq/README M modules/event_rabbitmq/doc/contributors.xml M modules/event_rabbitmq/doc/event_rabbitmq_admin.xml M modules/event_rabbitmq/event_rabbitmq.c M modules/event_rabbitmq/event_rabbitmq.h M modules/event_rabbitmq/rabbitmq_send.c M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/event_route/event_route.c M modules/event_route/route_send.c M modules/event_route/route_send.h M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/event_routing/ebr_data.c M modules/event_stream/README M modules/event_stream/doc/contributors.xml M modules/event_stream/doc/event_stream_admin.xml M modules/event_stream/stream_send.c M modules/exec/README M modules/exec/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/fraud_detection/doc/fraud_detection_admin.xml M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_events.c M modules/fraud_detection/frd_events.h M modules/fraud_detection/frd_load.c M modules/fraud_detection/frd_stats.c M modules/fraud_detection/frd_stats.h M modules/freeswitch/README M modules/freeswitch/doc/contributors.xml M modules/freeswitch/esl/src/esl.c M modules/freeswitch/esl/src/include/esl_json.h M modules/freeswitch_scripting/README M modules/freeswitch_scripting/doc/contributors.xml M modules/freeswitch_scripting/doc/freeswitch_scripting_admin.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/gflags/doc/gflags_admin.xml M modules/gflags/gflags.c M modules/h350/README M modules/h350/doc/contributors.xml M modules/httpd/README M modules/httpd/doc/contributors.xml M modules/httpd/doc/httpd_admin.xml M modules/httpd/httpd.c M modules/httpd/httpd_proc.c M modules/identity/Makefile M modules/identity/README M modules/identity/doc/contributors.xml M modules/identity/identity.c M modules/jabber/README M modules/jabber/doc/contributors.xml M modules/json/README M modules/json/doc/contributors.xml M modules/ldap/README M modules/ldap/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/load_balancer/lb_data.c M modules/load_balancer/load_balancer.c M modules/lua/README M modules/lua/doc/contributors.xml M modules/lua/sipluafunc.c M modules/lua/sipmysql.c M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml M modules/mi_datagram/README M modules/mi_datagram/doc/contributors.xml M modules/mi_fifo/README M modules/mi_fifo/doc/contributors.xml M modules/mi_html/README M modules/mi_html/doc/contributors.xml M modules/mi_html/http_fnc.c M modules/mi_xmlrpc_ng/README M modules/mi_xmlrpc_ng/doc/contributors.xml M modules/mid_registrar/Makefile M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/mid_registrar/save.c M modules/mmgeoip/mmgeoip.c M modules/msilo/README M modules/msilo/doc/contributors.xml M modules/msilo/msfuncs.c M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/nathelper/sip_pinger.h M modules/osp/Makefile M modules/osp/README M modules/osp/doc/contributors.xml M modules/osp/timeapi.c M modules/perl/README M modules/permissions/README M modules/permissions/doc/contributors.xml M modules/permissions/hash.c M modules/pi_http/README M modules/pi_http/doc/contributors.xml M modules/pike/README M modules/pike/doc/contributors.xml M modules/pike/pike_funcs.c M modules/presence/README M modules/presence/doc/contributors.xml M modules/presence/doc/presence_admin.xml M modules/presence/subscribe.c M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/presence_dfks/doc/presence_dfks_admin.xml M modules/presence_dfks/presence_dfks.c M modules/presence_xml/README M modules/presence_xml/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_sctp/README M modules/proto_sctp/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/proto_smpp/smpp.c M modules/proto_tls/Makefile M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/Makefile M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/proto_wss/proto_wss.c M modules/pua/README M modules/pua/doc/contributors.xml M modules/pua/pua.h M modules/pua_bla/README M modules/pua_bla/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml M modules/pua_mi/README M modules/pua_mi/doc/contributors.xml M modules/pua_mi/doc/pua_mi_admin.xml M modules/pua_mi/mi_func.c M modules/pua_xmpp/README M modules/pua_xmpp/doc/contributors.xml M modules/qos/README M modules/qos/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/qrouting/doc/qrouting_admin.xml M modules/qrouting/qr_sort.c M modules/qrouting/qr_stats.c M modules/rabbitmq/Makefile M modules/rabbitmq/README M modules/rabbitmq/doc/contributors.xml M modules/rabbitmq/doc/rabbitmq_admin.xml M modules/rabbitmq/rabbitmq.c M modules/rabbitmq/rmq_servers.c M modules/rabbitmq/rmq_servers.h M modules/rabbitmq_consumer/Makefile M modules/rabbitmq_consumer/README M modules/rabbitmq_consumer/doc/contributors.xml M modules/rabbitmq_consumer/doc/rabbitmq_consumer_admin.xml M modules/rabbitmq_consumer/rabbitmq_consumer.c M modules/rabbitmq_consumer/rmq_connection.c M modules/rabbitmq_consumer/rmq_connection.h M modules/rate_cacher/README M modules/rate_cacher/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/ratelimit/ratelimit.c M modules/ratelimit/ratelimit_helper.c M modules/registrar/Makefile M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c M modules/registrar/save.c M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rest_client/doc/rest_client_admin.xml M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h M modules/rls/README M modules/rls/doc/contributors.xml M modules/rr/README M modules/rr/doc/contributors.xml M modules/rr/record.c M modules/rtpengine/README M modules/rtpengine/bencode.h M modules/rtpengine/doc/contributors.xml M modules/rtpengine/doc/rtpengine_admin.xml M modules/rtpengine/rtpengine.c M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/rtpproxy/doc/rtpproxy_admin.xml A modules/rtpproxy/rtppn_connect.c A modules/rtpproxy/rtppn_connect.h M modules/rtpproxy/rtpproxy.c M modules/rtpproxy/rtpproxy.h M modules/rtpproxy/rtpproxy_stream.c A modules/rtpproxy/rtpproxy_vcmd.h M modules/script_helper/README M modules/script_helper/doc/contributors.xml M modules/script_helper/script_helper.c M modules/signaling/README M modules/signaling/doc/contributors.xml M modules/signaling/signaling.c M modules/signaling/signaling.h M modules/sip_i/README M modules/sip_i/doc/contributors.xml M modules/sip_i/isup.c M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sipcapture/sipcapture.c M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/sipmsgops/sipmsgops.c M modules/siprec/README M modules/siprec/doc/contributors.xml M modules/siprec/siprec_sess.c M modules/sl/README M modules/sl/doc/contributors.xml M modules/sl/sl_api.h M modules/sl/sl_funcs.c M modules/sl/sl_funcs.h M modules/snmpstats/README M modules/snmpstats/doc/contributors.xml M modules/speeddial/README M modules/speeddial/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/sql_cacher/doc/sql_cacher_admin.xml M modules/sql_cacher/sql_cacher.c M modules/sql_cacher/sql_cacher.h M modules/sst/README M modules/sst/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/stir_shaken/stir_shaken.c M modules/tls_mgm/Makefile M modules/tls_mgm/README M modules/tls_mgm/api.h M modules/tls_mgm/doc/contributors.xml M modules/tls_mgm/tls_conn_ops.h A modules/tls_mgm/tls_ctx_ops.c M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_params.c M modules/tls_mgm/tls_params.h M modules/tm/README M modules/tm/async.c M modules/tm/cluster.c M modules/tm/doc/contributors.xml M modules/tm/doc/tm_admin.xml M modules/tm/t_fwd.c M modules/tm/t_fwd.h M modules/tm/t_hooks.h M modules/tm/t_msgbuilder.c M modules/tm/t_reply.c M modules/tm/t_reply.h M modules/tm/tm.c M modules/tm/tm_load.h M modules/tm/uac.c M modules/topology_hiding/README M modules/topology_hiding/doc/contributors.xml M modules/topology_hiding/topo_hiding_logic.c M modules/tracer/README M modules/tracer/doc/contributors.xml M modules/tracer/tracer.c M modules/uac/README M modules/uac/doc/contributors.xml M modules/uac_auth/README M modules/uac_auth/auth.c M modules/uac_auth/doc/contributors.xml M modules/userblacklist/README M modules/userblacklist/db.c M modules/userblacklist/doc/contributors.xml M modules/usrloc/README M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/doc/contributors.xml M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/kv_store.c M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/udomain.h M modules/usrloc/ul_callback.c M modules/usrloc/ul_callback.h M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_timer.c M modules/usrloc/urecord.c M modules/usrloc/urecord.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h M modules/xml/README M modules/xml/doc/contributors.xml M modules/xmpp/README M modules/xmpp/doc/contributors.xml M msg_translator.c M msg_translator.h M net/proto_tcp/README M net/proto_tcp/proto_tcp.c M net/proto_udp/README M net/trans.h M net/trans_trace.c M packaging/debian/control M packaging/debian/rules M packaging/redhat_fedora/opensips.spec M parser/digest/digest_parser.c M parser/parse_authenticate.c M parser/parse_authenticate.h M parser/parse_body.c M parser/parse_privacy.c M parser/parse_uri.c M parser/sdp/sdp.c A parser/test/test_oob.c A parser/test/test_oob.h A parser/test/test_parse_authenticate_body.c A parser/test/test_parse_authenticate_body.h M parser/test/test_parse_qop.c M parser/test/test_parser.c M pt.h M pvar.c M pvar.h M reactor.c M receive.c M resolve.c M route.c M route.h A sched_yield.h A scripts/build/build.conf.sub A scripts/build/do_build.sh A scripts/build/install_depends.sh A scripts/build/linkstatic.sh M scripts/db_berkeley/opensips/b2b_logic M scripts/db_berkeley/opensips/cachedb M scripts/db_berkeley/opensips/dr_rules M scripts/db_berkeley/opensips/fraud_detection M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/b2b_logic M scripts/dbtext/opensips/cachedb M scripts/dbtext/opensips/version M scripts/mysql/b2b-create.sql M scripts/mysql/cachedb_sql-create.sql M scripts/mysql/drouting-create.sql M scripts/mysql/fraud_detection-create.sql M scripts/oracle/b2b-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/oracle/drouting-create.sql M scripts/oracle/fraud_detection-create.sql M scripts/pi_http/b2b-mod M scripts/pi_http/b2b-table M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/cachedb_sql-table M scripts/pi_http/pi_framework.xml M scripts/postgres/b2b-create.sql M scripts/postgres/cachedb_sql-create.sql M scripts/postgres/drouting-create.sql M scripts/postgres/fraud_detection-create.sql M scripts/sqlite/b2b-create.sql M scripts/sqlite/cachedb_sql-create.sql M scripts/sqlite/drouting-create.sql M scripts/sqlite/fraud_detection-create.sql M serialize.c A shutdown.c A shutdown.h A signals.c A signals.h M socket_info.c M statistics.c M statistics.h M str.h M test/1.sh M test/11.sh M test/12.sh M test/13.sh M test/14.sh M test/15.sh M test/16.sh M test/18.sh M test/19.sh M test/2.sh M test/20.sh M test/21.sh M test/22.sh M test/23.sh M test/25.sh M test/26.sh M test/27.sh M test/28.sh M test/29.sh M test/30.sh M test/31.sh M test/32.sh M test/33.sh M test/34.sh M test/35.sh M test/4.sh M test/5.sh M test/6.sh M test/7.sh M test/Makefile M test/unit_tests.c M time_rec.c M time_rec.h M timer.c M transformations.c M transformations.h M trim.h M ut.h M utils/vim/opensips.vim M xlog.c M xlog.h Log Message: ----------- Merge branch 'master' into coverity_scan Compare: https://github.com/OpenSIPS/opensips/compare/2552ade170ef...9cbe42af950b From noreply at github.com Wed Jan 13 12:41:06 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 13 Jan 2021 04:41:06 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6106aa: cachedb_cassandra: prevent logging NULL at threash... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6106aac02df2ed673c1b99eb53e01764f706bfd9 https://github.com/OpenSIPS/opensips/commit/6106aac02df2ed673c1b99eb53e01764f706bfd9 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/cachedb_cassandra/cachedb_cassandra_dbase.c Log Message: ----------- cachedb_cassandra: prevent logging NULL at threashold expire Commit: dcb4571ebe94d73ddd1af5135eb73c182553a07c https://github.com/OpenSIPS/opensips/commit/dcb4571ebe94d73ddd1af5135eb73c182553a07c Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: R obsolete_modules/auth_diameter/Makefile R obsolete_modules/auth_diameter/README R obsolete_modules/auth_diameter/auth_diameter.c R obsolete_modules/auth_diameter/auth_diameter.h R obsolete_modules/auth_diameter/authorize.c R obsolete_modules/auth_diameter/authorize.h R obsolete_modules/auth_diameter/avp.c R obsolete_modules/auth_diameter/defs.h R obsolete_modules/auth_diameter/diameter_msg.h R obsolete_modules/auth_diameter/doc/auth_diameter.xml R obsolete_modules/auth_diameter/doc/auth_diameter_admin.xml R obsolete_modules/auth_diameter/message.c R obsolete_modules/auth_diameter/tcp_comm.c R obsolete_modules/auth_diameter/tcp_comm.h R obsolete_modules/auth_diameter/user_in.c R obsolete_modules/closeddial/Makefile R obsolete_modules/closeddial/README R obsolete_modules/closeddial/cdlookup.c R obsolete_modules/closeddial/cdlookup.h R obsolete_modules/closeddial/closeddial.c R obsolete_modules/closeddial/closeddial.h R obsolete_modules/closeddial/doc/closeddial.xml R obsolete_modules/closeddial/doc/closeddial_admin.xml R obsolete_modules/mi_xmlrpc/Makefile R obsolete_modules/mi_xmlrpc/README R obsolete_modules/mi_xmlrpc/abyss.h R obsolete_modules/mi_xmlrpc/abyss_conf.c R obsolete_modules/mi_xmlrpc/abyss_conn.c R obsolete_modules/mi_xmlrpc/abyss_conn.h R obsolete_modules/mi_xmlrpc/abyss_data.c R obsolete_modules/mi_xmlrpc/abyss_data.h R obsolete_modules/mi_xmlrpc/abyss_date.c R obsolete_modules/mi_xmlrpc/abyss_date.h R obsolete_modules/mi_xmlrpc/abyss_file.c R obsolete_modules/mi_xmlrpc/abyss_file.h R obsolete_modules/mi_xmlrpc/abyss_http.c R obsolete_modules/mi_xmlrpc/abyss_http.h R obsolete_modules/mi_xmlrpc/abyss_info.h R obsolete_modules/mi_xmlrpc/abyss_mallocvar.h R obsolete_modules/mi_xmlrpc/abyss_response.c R obsolete_modules/mi_xmlrpc/abyss_server.c R obsolete_modules/mi_xmlrpc/abyss_server.h R obsolete_modules/mi_xmlrpc/abyss_session.c R obsolete_modules/mi_xmlrpc/abyss_session.h R obsolete_modules/mi_xmlrpc/abyss_socket.c R obsolete_modules/mi_xmlrpc/abyss_socket.h R obsolete_modules/mi_xmlrpc/abyss_socket_unix.c R obsolete_modules/mi_xmlrpc/abyss_socket_unix.h R obsolete_modules/mi_xmlrpc/abyss_thread.h R obsolete_modules/mi_xmlrpc/abyss_thread_fork.c R obsolete_modules/mi_xmlrpc/abyss_token.c R obsolete_modules/mi_xmlrpc/abyss_token.h R obsolete_modules/mi_xmlrpc/abyss_trace.c R obsolete_modules/mi_xmlrpc/abyss_trace.h R obsolete_modules/mi_xmlrpc/abyss_xmlrpc_int.h R obsolete_modules/mi_xmlrpc/abyss_xmlrpc_server.c R obsolete_modules/mi_xmlrpc/doc/mi_xmlrpc.cfg R obsolete_modules/mi_xmlrpc/doc/mi_xmlrpc.xml R obsolete_modules/mi_xmlrpc/doc/mi_xmlrpc_admin.xml R obsolete_modules/mi_xmlrpc/mi_xmlrpc.c R obsolete_modules/mi_xmlrpc/mi_xmlrpc.h R obsolete_modules/mi_xmlrpc/xr_parser.c R obsolete_modules/mi_xmlrpc/xr_parser.h R obsolete_modules/mi_xmlrpc/xr_parser_lib.h R obsolete_modules/mi_xmlrpc/xr_server.c R obsolete_modules/mi_xmlrpc/xr_server.h R obsolete_modules/mi_xmlrpc/xr_writer.c R obsolete_modules/mi_xmlrpc/xr_writer.h R obsolete_modules/pdt/Makefile R obsolete_modules/pdt/README R obsolete_modules/pdt/doc/pdt.cfg R obsolete_modules/pdt/doc/pdt.xml R obsolete_modules/pdt/doc/pdt_admin.xml R obsolete_modules/pdt/doc/pdt_fifo_add.sh R obsolete_modules/pdt/doc/pdt_fifo_delete.sh R obsolete_modules/pdt/doc/pdt_fifo_list.sh R obsolete_modules/pdt/pdt.c R obsolete_modules/pdt/pdtree.c R obsolete_modules/pdt/pdtree.h R obsolete_modules/pdt/scripts/db_berkeley/pdt R obsolete_modules/pdt/scripts/dbtext/pdt R obsolete_modules/pdt/scripts/mysql/pdt-create.sql R obsolete_modules/pdt/scripts/opensips-pdt.xml R obsolete_modules/pdt/scripts/oracle/pdt-create.sql R obsolete_modules/pdt/scripts/pdt.xml R obsolete_modules/pdt/scripts/pi_http/pdt-mod R obsolete_modules/pdt/scripts/pi_http/pdt-table R obsolete_modules/pdt/scripts/postgres/pdt-create.sql R obsolete_modules/seas/Makefile R obsolete_modules/seas/README R obsolete_modules/seas/cluster.c R obsolete_modules/seas/cluster.h R obsolete_modules/seas/doc/contributors.xml R obsolete_modules/seas/doc/images/image005.gif R obsolete_modules/seas/doc/images/image007.gif R obsolete_modules/seas/doc/images/image010.gif R obsolete_modules/seas/doc/images/image016.gif R obsolete_modules/seas/doc/images/image018.gif R obsolete_modules/seas/doc/images/image020.gif R obsolete_modules/seas/doc/images/image021.gif R obsolete_modules/seas/doc/images/image024.png R obsolete_modules/seas/doc/images/image025.gif R obsolete_modules/seas/doc/images/image026.png R obsolete_modules/seas/doc/images/image029.gif R obsolete_modules/seas/doc/images/image031.gif R obsolete_modules/seas/doc/images/image032.png R obsolete_modules/seas/doc/images/image034.png R obsolete_modules/seas/doc/images/image037.gif R obsolete_modules/seas/doc/images/image038.png R obsolete_modules/seas/doc/images/image041.gif R obsolete_modules/seas/doc/images/image043.gif R obsolete_modules/seas/doc/images/image044.gif R obsolete_modules/seas/doc/images/image045.png R obsolete_modules/seas/doc/images/image052.gif R obsolete_modules/seas/doc/images/image054.gif R obsolete_modules/seas/doc/images/image056.gif R obsolete_modules/seas/doc/images/image058.gif R obsolete_modules/seas/doc/images/image059.gif R obsolete_modules/seas/doc/images/image060.gif R obsolete_modules/seas/doc/images/image062.gif R obsolete_modules/seas/doc/images/image064.gif R obsolete_modules/seas/doc/images/image065.gif R obsolete_modules/seas/doc/images/image066.gif R obsolete_modules/seas/doc/images/image067.gif R obsolete_modules/seas/doc/images/image068.gif R obsolete_modules/seas/doc/images/image069.gif R obsolete_modules/seas/doc/images/image100.gif R obsolete_modules/seas/doc/images/image101.gif R obsolete_modules/seas/doc/images/image102.gif R obsolete_modules/seas/doc/images/image103.gif R obsolete_modules/seas/doc/images/image104.gif R obsolete_modules/seas/doc/images/image105.gif R obsolete_modules/seas/doc/images/image106.gif R obsolete_modules/seas/doc/images/image107.gif R obsolete_modules/seas/doc/images/image108.gif R obsolete_modules/seas/doc/images/image109.gif R obsolete_modules/seas/doc/images/image110.gif R obsolete_modules/seas/doc/images/image111.gif R obsolete_modules/seas/doc/seas.xml R obsolete_modules/seas/doc/seas_admin.xml R obsolete_modules/seas/doc/seas_devel.xml R obsolete_modules/seas/doc/xml2sgml.sh R obsolete_modules/seas/encode_allow.c R obsolete_modules/seas/encode_allow.h R obsolete_modules/seas/encode_contact.c R obsolete_modules/seas/encode_contact.h R obsolete_modules/seas/encode_content_disposition.c R obsolete_modules/seas/encode_content_disposition.h R obsolete_modules/seas/encode_content_length.c R obsolete_modules/seas/encode_content_length.h R obsolete_modules/seas/encode_content_type.c R obsolete_modules/seas/encode_content_type.h R obsolete_modules/seas/encode_cseq.c R obsolete_modules/seas/encode_cseq.h R obsolete_modules/seas/encode_digest.c R obsolete_modules/seas/encode_digest.h R obsolete_modules/seas/encode_expires.c R obsolete_modules/seas/encode_expires.h R obsolete_modules/seas/encode_header.c R obsolete_modules/seas/encode_header.h R obsolete_modules/seas/encode_msg.c R obsolete_modules/seas/encode_msg.h R obsolete_modules/seas/encode_parameters.c R obsolete_modules/seas/encode_parameters.h R obsolete_modules/seas/encode_route.c R obsolete_modules/seas/encode_route.h R obsolete_modules/seas/encode_to_body.c R obsolete_modules/seas/encode_to_body.h R obsolete_modules/seas/encode_uri.c R obsolete_modules/seas/encode_uri.h R obsolete_modules/seas/encode_via.c R obsolete_modules/seas/encode_via.h R obsolete_modules/seas/event_dispatcher.c R obsolete_modules/seas/event_dispatcher.h R obsolete_modules/seas/ha.c R obsolete_modules/seas/ha.h R obsolete_modules/seas/seas.c R obsolete_modules/seas/seas.h R obsolete_modules/seas/seas_action.c R obsolete_modules/seas/seas_action.h R obsolete_modules/seas/seas_error.h R obsolete_modules/seas/statistics.c R obsolete_modules/seas/statistics.h R obsolete_modules/seas/utils.c R obsolete_modules/seas/utils.h R obsolete_modules/seas/xaddress.h R obsolete_modules/sms/Makefile R obsolete_modules/sms/README R obsolete_modules/sms/doc/contributors.xml R obsolete_modules/sms/doc/sms.xml R obsolete_modules/sms/doc/sms_admin.xml R obsolete_modules/sms/doc/sms_devel.xml R obsolete_modules/sms/libsms_charset.c R obsolete_modules/sms/libsms_charset.h R obsolete_modules/sms/libsms_getsms.c R obsolete_modules/sms/libsms_modem.c R obsolete_modules/sms/libsms_modem.h R obsolete_modules/sms/libsms_putsms.c R obsolete_modules/sms/libsms_sms.h R obsolete_modules/sms/sms.c R obsolete_modules/sms/sms_funcs.c R obsolete_modules/sms/sms_funcs.h R obsolete_modules/sms/sms_report.c R obsolete_modules/sms/sms_report.h Log Message: ----------- remove obsolete modules Commit: a5da4b138bba4fd3664e3d95a25217a632cef481 https://github.com/OpenSIPS/opensips/commit/a5da4b138bba4fd3664e3d95a25217a632cef481 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/ldap/iniparser.c Log Message: ----------- ldap: fix copying value in smaller buffers Commit: 7514a57a3bd01632b64ad45d1d7dab91600b8843 https://github.com/OpenSIPS/opensips/commit/7514a57a3bd01632b64ad45d1d7dab91600b8843 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/lua/sipmemcache.c Log Message: ----------- lua: init uninitalized value Commit: 46e4d83261de6a18ded582727bae4cf12b4f8888 https://github.com/OpenSIPS/opensips/commit/46e4d83261de6a18ded582727bae4cf12b4f8888 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/nathelper/sip_pinger.h Log Message: ----------- nathelper: prevent memory overwritten during pinging Commit: 62a8b3c5736526235c1751876f2f26905f1c16d8 https://github.com/OpenSIPS/opensips/commit/62a8b3c5736526235c1751876f2f26905f1c16d8 Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/httpd/httpd_proc.c M modules/httpd/httpd_proc.h Log Message: ----------- httpd: adapt implementation to microhttpd v0.9.71 Commit: a00353429ccda8b62e82180bcc1c1f9f363a361a https://github.com/OpenSIPS/opensips/commit/a00353429ccda8b62e82180bcc1c1f9f363a361a Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/python/python_mod.c Log Message: ----------- python: remove deprecated PyEval_InitThreads call since python v3.7 Commit: 588b1f55e58718bb3a0765e19b89d60ef59803aa https://github.com/OpenSIPS/opensips/commit/588b1f55e58718bb3a0765e19b89d60ef59803aa Author: Razvan Crainea Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/uac_auth/auth.c Log Message: ----------- uac_auth: fix gcc uninitialized warning Compare: https://github.com/OpenSIPS/opensips/compare/71bbd4caf11b...588b1f55e587 From noreply at github.com Wed Jan 13 12:45:05 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Jan 2021 04:45:05 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f2b469: Add proper support for dummy sip msg's Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f2b46975ede352a9ab5ee88fd10351f610e4f331 https://github.com/OpenSIPS/opensips/commit/f2b46975ede352a9ab5ee88fd10351f610e4f331 Author: Bogdan-Andrei Iancu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M action.c M action.h Log Message: ----------- Add proper support for dummy sip msg's The dummy sip messages are used when there is the need of running a script route, but without actually having a real SIP msg, like for event_routes, startup routes, timer routes, etc. This new support is solving two problems: * the dummy message is actually a proper/complete SIP message, with all the mandatory sip headers. This prevents crashing when "reading" something (that is expected to be there, like the callid) from this SIP message. * this is a global support, meant to be used from all the places, replacing the local implementation (from like 4 different modules/places) Backported from public master 84d1bad2c41b4b58170c0943edd837b08d15012f Commit: 3f75fff01eb6a68620e425276cc71f8f6bb01503 https://github.com/OpenSIPS/opensips/commit/3f75fff01eb6a68620e425276cc71f8f6bb01503 Author: Bogdan-Andrei Iancu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/event_route/route_send.c Log Message: ----------- Migrated to the global DUMMY SIP msg support backported from public trunk 63107bddb88389b17ead2e460adc65390c1016e4 Commit: 5c8c5ab379630eb35a66c59b0396fecbf47409fd https://github.com/OpenSIPS/opensips/commit/5c8c5ab379630eb35a66c59b0396fecbf47409fd Author: Bogdan-Andrei Iancu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/event_routing/ebr_data.c Log Message: ----------- Migrated to the global DUMMY SIP msg support backport from public trunk be15273558bbd345f99762d8baa070cfb753ad4c Commit: 0e2303b75deffd06ab6774ffb43560c483f175eb https://github.com/OpenSIPS/opensips/commit/0e2303b75deffd06ab6774ffb43560c483f175eb Author: Bogdan-Andrei Iancu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/sipcapture/sipcapture.c Log Message: ----------- Migrated to the global DUMMY SIP msg support backport from public trunk 81618cf75e99ad05119a38d3d221d81b45254830 Commit: cf064e9e241353673026ce1e9e3f185bacb2fc57 https://github.com/OpenSIPS/opensips/commit/cf064e9e241353673026ce1e9e3f185bacb2fc57 Author: Bogdan-Andrei Iancu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h Log Message: ----------- [dialog] Migrated to the global DUMMY SIP msg support backport from public trunk 7d4db24c42b6ddcf2bf4e70d6d082b7cb8e65846 Compare: https://github.com/OpenSIPS/opensips/compare/b7f5028cd71f...cf064e9e2413 From noreply at github.com Wed Jan 13 16:32:18 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 08:32:18 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8b28d: mid_registrar: Add extra startup/runtime checks; R... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c8b28d417be8a407c90a8dcc9dce308d7950ca99 https://github.com/OpenSIPS/opensips/commit/c8b28d417be8a407c90a8dcc9dce308d7950ca99 Author: Liviu Chircu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/mid_registrar/mid_registrar.c Log Message: ----------- mid_registrar: Add extra startup/runtime checks; Re-org code From noreply at github.com Wed Jan 13 16:33:45 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 08:33:45 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 386f1c: mid_registrar: Fix the runtime override of "outgoi... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 386f1cd7c5e8670460fc807dc7cc28f0013a1212 https://github.com/OpenSIPS/opensips/commit/386f1cd7c5e8670460fc807dc7cc28f0013a1212 Author: Liviu Chircu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix the runtime override of "outgoing_expires" Fixes #2350 From noreply at github.com Wed Jan 13 16:35:51 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 08:35:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 42ef68: mid_registrar: Add extra startup/runtime checks; R... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 42ef683b653f4f89db487db84325d4ab4af4ee70 https://github.com/OpenSIPS/opensips/commit/42ef683b653f4f89db487db84325d4ab4af4ee70 Author: Liviu Chircu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/mid_registrar/mid_registrar.c Log Message: ----------- mid_registrar: Add extra startup/runtime checks; Re-org code (cherry picked from commit c8b28d417be8a407c90a8dcc9dce308d7950ca99) Commit: 2c1492bd57272ba06969b9c5b2162d22b0ef8cfb https://github.com/OpenSIPS/opensips/commit/2c1492bd57272ba06969b9c5b2162d22b0ef8cfb Author: Liviu Chircu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix the runtime override of "outgoing_expires" Fixes #2350 (cherry picked from commit 386f1cd7c5e8670460fc807dc7cc28f0013a1212) Compare: https://github.com/OpenSIPS/opensips/compare/49eafeeafd03...2c1492bd5727 From noreply at github.com Wed Jan 13 16:41:02 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 08:41:02 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 210295: mid_registrar: Fix the runtime override of "outgoi... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 210295f5e14e34ef51eeaa1361aa6e286bc3f82e https://github.com/OpenSIPS/opensips/commit/210295f5e14e34ef51eeaa1361aa6e286bc3f82e Author: Liviu Chircu Date: 2021-01-13 (Wed, 13 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix the runtime override of "outgoing_expires" Fixes #2350 (cherry picked from commit 386f1cd7c5e8670460fc807dc7cc28f0013a1212) From noreply at github.com Thu Jan 14 07:32:25 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 23:32:25 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46553a: registrars: Correctly reply on all save() edge-cases Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 46553a9aad6ab00d14a787a81300fd01599751f0 https://github.com/OpenSIPS/opensips/commit/46553a9aad6ab00d14a787a81300fd01599751f0 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M lib/reg/rerrno.c M lib/reg/rerrno.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- registrars: Correctly reply on all save() edge-cases This patch fixes several corner-cases when calling [mid_registrar]_save(), where: * the registrar would not send a reply * the registrar would send a bad reply (e.g. 200 OK on an error!) Commit: e4708c2aaf0ce1b0d87223407417679b5d6b4b29 https://github.com/OpenSIPS/opensips/commit/e4708c2aaf0ce1b0d87223407417679b5d6b4b29 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_residential.m4 Log Message: ----------- Sample opensips.cfg: Avoid double-replying after save() Commit: 6cd76760ece9665a88e5eaa5971777961e5b2806 https://github.com/OpenSIPS/opensips/commit/6cd76760ece9665a88e5eaa5971777961e5b2806 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/mid_registrar/save.c M modules/registrar/save.c M modules/usrloc/ul_cluster.c M parser/test/test_parser.c Log Message: ----------- registrars: Do not save() AoR URIs with no 'username' Also add some protection on the receiving end of the cluster communication for such strings which could crash the server. Fixes #2232 Compare: https://github.com/OpenSIPS/opensips/compare/386f1cd7c5e8...6cd76760ece9 From noreply at github.com Thu Jan 14 07:40:06 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 23:40:06 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d5f51d: registrars: Correctly reply on all save() edge-cases Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: d5f51ddf3e5107a181ad0f087e833b9d27211948 https://github.com/OpenSIPS/opensips/commit/d5f51ddf3e5107a181ad0f087e833b9d27211948 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M lib/reg/rerrno.c M lib/reg/rerrno.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- registrars: Correctly reply on all save() edge-cases This patch fixes several corner-cases when calling [mid_registrar]_save(), where: * the registrar would not send a reply * the registrar would send a bad reply (e.g. 200 OK on an error!) (cherry picked from commit 46553a9aad6ab00d14a787a81300fd01599751f0) Commit: 36e606f0dab3a205e17ae1d395d8fdb9e329a021 https://github.com/OpenSIPS/opensips/commit/36e606f0dab3a205e17ae1d395d8fdb9e329a021 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_residential.m4 Log Message: ----------- Sample opensips.cfg: Avoid double-replying after save() (cherry picked from commit e4708c2aaf0ce1b0d87223407417679b5d6b4b29) Commit: 0701082ae1a83ae9067d6f4a8d417e203c9eb471 https://github.com/OpenSIPS/opensips/commit/0701082ae1a83ae9067d6f4a8d417e203c9eb471 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/mid_registrar/save.c M modules/registrar/save.c M modules/usrloc/ul_cluster.c M parser/test/test_parser.c Log Message: ----------- registrars: Do not save() AoR URIs with no 'username' Also add some protection on the receiving end of the cluster communication for such strings which could crash the server. Fixes #2232 (cherry picked from commit 6cd76760ece9665a88e5eaa5971777961e5b2806) Compare: https://github.com/OpenSIPS/opensips/compare/2c1492bd5727...0701082ae1a8 From noreply at github.com Thu Jan 14 07:47:12 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Jan 2021 23:47:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b36ed2: registrars: Correctly reply on all save() edge-cases Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b36ed2f680e33c46f61716def1f025a8895c156f https://github.com/OpenSIPS/opensips/commit/b36ed2f680e33c46f61716def1f025a8895c156f Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M lib/reg/rerrno.c M lib/reg/rerrno.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- registrars: Correctly reply on all save() edge-cases This patch fixes several corner-cases when calling [mid_registrar]_save(), where: * the registrar would not send a reply * the registrar would send a bad reply (e.g. 200 OK on an error!) (cherry picked from commit 46553a9aad6ab00d14a787a81300fd01599751f0) Commit: 863d55f90a213a020657fd1603e48926e89d5f80 https://github.com/OpenSIPS/opensips/commit/863d55f90a213a020657fd1603e48926e89d5f80 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M etc/opensips.cfg M menuconfig/configs/opensips_residential.m4 Log Message: ----------- Sample opensips.cfg: Avoid double-replying after save() (cherry picked from commit e4708c2aaf0ce1b0d87223407417679b5d6b4b29) Commit: 4238c35712ab35da290c7498388999c5a50128bc https://github.com/OpenSIPS/opensips/commit/4238c35712ab35da290c7498388999c5a50128bc Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/mid_registrar/save.c M modules/registrar/save.c M modules/usrloc/ureplication.c Log Message: ----------- registrars: Do not save() AoR URIs with no 'username' Also add some protection on the receiving end of the cluster communication for such strings which could crash the server. Fixes #2232 (cherry picked from commit 6cd76760ece9665a88e5eaa5971777961e5b2806) Compare: https://github.com/OpenSIPS/opensips/compare/210295f5e14e...4238c35712ab From noreply at github.com Thu Jan 14 11:47:51 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 14 Jan 2021 03:47:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2d02dc: [auth] Proper auth username check Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8 https://github.com/OpenSIPS/opensips/commit/2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8 Author: Bogdan-Andrei Iancu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- [auth] Proper auth username check As when populating the credentials from script the username var contains only a username part, check only against "user" part of the auth username extracted from the SIP request (as the auth username may contain a domain part also). Fixes #2356 From noreply at github.com Thu Jan 14 11:52:31 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 14 Jan 2021 03:52:31 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 71b0aa: [auth] Proper auth username check Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 71b0aa50372b944b299acf5ad3d498bf0f9cd437 https://github.com/OpenSIPS/opensips/commit/71b0aa50372b944b299acf5ad3d498bf0f9cd437 Author: Bogdan-Andrei Iancu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- [auth] Proper auth username check As when populating the credentials from script the username var contains only a username part, check only against "user" part of the auth username extracted from the SIP request (as the auth username may contain a domain part also). Fixes #2356 (cherry picked from commit 2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8) From noreply at github.com Thu Jan 14 11:55:24 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 14 Jan 2021 03:55:24 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2aa4a5: [auth] Proper auth username check Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2aa4a53ce6427c94a2fea71fde97c3bc7af56485 https://github.com/OpenSIPS/opensips/commit/2aa4a53ce6427c94a2fea71fde97c3bc7af56485 Author: Bogdan-Andrei Iancu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- [auth] Proper auth username check As when populating the credentials from script the username var contains only a username part, check only against "user" part of the auth username extracted from the SIP request (as the auth username may contain a domain part also). Fixes #2356 (cherry picked from commit 2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8) From noreply at github.com Thu Jan 14 12:39:23 2021 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Jan 2021 04:39:23 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b03cb4: Export is_username_char() to core and reuse it Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b03cb41a3155623ba15bbde582e46f1f55864f70 https://github.com/OpenSIPS/opensips/commit/b03cb41a3155623ba15bbde582e46f1f55864f70 Author: Liviu Chircu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M modules/sipmsgops/sipmsgops.c M parser/parse_uri.h M parser/test/test_parser.c M strcommon.c Log Message: ----------- Export is_username_char() to core and reuse it Also remove the duplicate IS_ALPHANUM() module macro while at it. Work in progress for #2367 From noreply at github.com Thu Jan 14 13:29:15 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 14 Jan 2021 05:29:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7dc20e: Fix wrong memcpy() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7dc20e471bf89eef0e4586adae26744d38c38c01 https://github.com/OpenSIPS/opensips/commit/7dc20e471bf89eef0e4586adae26744d38c38c01 Author: Bogdan-Andrei Iancu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M xlog.c Log Message: ----------- Fix wrong memcpy() To get the memcpy working correctly, we should have: memcpy(&xlp, &lev, sizeof(xl_level_p)); NOTE: xl_level_p == xl_level_t * The above change was introduced in fff57ac955 But I prefer to try to use an extra cast (via 'void*') here (following the initial model), let's see if this holds on ARM From noreply at github.com Fri Jan 15 12:48:26 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 15 Jan 2021 04:48:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dc4199: mi: include more details in invalid params errors Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dc4199b15047e924e71efc5e76def92822f28a66 https://github.com/OpenSIPS/opensips/commit/dc4199b15047e924e71efc5e76def92822f28a66 Author: Vlad Patrascu Date: 2021-01-14 (Thu, 14 Jan 2021) Changed paths: M mi/item.c M mi/item.h M mi/mi.c M mi/mi.h Log Message: ----------- mi: include more details in invalid params errors Commit: e9627e9dc4f1002a8980980aea0bfdfb1fa05e8b https://github.com/OpenSIPS/opensips/commit/e9627e9dc4f1002a8980980aea0bfdfb1fa05e8b Author: Vlad Patrascu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M mi/mi.c M mi/mi.h Log Message: ----------- mi: further improve invalid params errors * handle an unexpected param as error when receiving named params and get rid of the "ambigous call" error for named params * return appropriate error for bad number of params even when receiving named params / no params at all * include a hint when returning "ambigous call" error for positional params Commit: aad28f39c502944f810a7418563fb76e13a9e012 https://github.com/OpenSIPS/opensips/commit/aad28f39c502944f810a7418563fb76e13a9e012 Author: Vlad Patrascu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M mi/item.c M mi/mi.c M mi/mi.h Log Message: ----------- mi: improve error message for generic server errors Compare: https://github.com/OpenSIPS/opensips/compare/7dc20e471bf8...aad28f39c502 From noreply at github.com Fri Jan 15 13:24:20 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 15 Jan 2021 05:24:20 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ba3e34: Completely migrate repo to travis-ci.com Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ba3e349dbc7470465d12b502858e2d0d438cfd7a https://github.com/OpenSIPS/opensips/commit/ba3e349dbc7470465d12b502858e2d0d438cfd7a Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M README.md Log Message: ----------- Completely migrate repo to travis-ci.com Commit: 06d2bc6bfebbad6293a4984514dae71a56744724 https://github.com/OpenSIPS/opensips/commit/06d2bc6bfebbad6293a4984514dae71a56744724 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/cgrates/cgrates_engine.c M modules/jsonrpc/jsonrpc.c M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_smpp/proto_smpp.c M modules/proto_smpp/proto_smpp.h M modules/proto_smpp/smpp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M net/net_tcp.c M net/net_tcp.h M net/proto_tcp/proto_tcp.c A net/tcp_common.c A net/tcp_common.h Log Message: ----------- tcp: merge similar code in a common tcp file First steps towards #1511 Commit: 46a3b428a963fe6296127bc0296352dc859073a1 https://github.com/OpenSIPS/opensips/commit/46a3b428a963fe6296127bc0296352dc859073a1 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M net/api_proto_net.h M net/net_tcp.c M net/proto_tcp/proto_tcp.c M net/tcp_common.c M net/tcp_common.h M net/tcp_conn_defs.h Log Message: ----------- net: merge async chunks in core Next steps towards #1511 Commit: 7d12ba18b282b75acc10dcb2fb2dd8cf025e320f https://github.com/OpenSIPS/opensips/commit/7d12ba18b282b75acc10dcb2fb2dd8cf025e320f Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_smpp/smpp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/ws_common.h M modules/proto_wss/proto_wss.c M net/net_tcp.c M net/net_tcp.h M net/proto_tcp/proto_tcp.c M net/tcp_common.c M net/tcp_common.h Log Message: ----------- net: allow tcp connection creation without sending to main This is needed by proto WS and WSS Commit: 806221f8ede4b063885df1aa73e895a60b1724f5 https://github.com/OpenSIPS/opensips/commit/806221f8ede4b063885df1aa73e895a60b1724f5 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_conn_ops.h M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls: add async support for proto_tls Commit: 5078517606e75b1d77248b8700599ae3058a676e https://github.com/OpenSIPS/opensips/commit/5078517606e75b1d77248b8700599ae3058a676e Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_tls/proto_tls.c M modules/tls_mgm/tls_conn_ops.h Log Message: ----------- proto_tls: if chunk cannot be written, postpone it Commit: 77f6ec8ba3d5d8f232e9fdf663bf900df8cbce51 https://github.com/OpenSIPS/opensips/commit/77f6ec8ba3d5d8f232e9fdf663bf900df8cbce51 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: add more information about the error Commit: 296f3cb4ae3976b8a00714a19a029d9eada84959 https://github.com/OpenSIPS/opensips/commit/296f3cb4ae3976b8a00714a19a029d9eada84959 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_tls/proto_tls.c Log Message: ----------- tls: update fd for async writing Compare: https://github.com/OpenSIPS/opensips/compare/aad28f39c502...296f3cb4ae39 From noreply at github.com Fri Jan 15 13:45:12 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 15 Jan 2021 05:45:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9a77cc: proto_tls: fix unsigned return handling in proto_t... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9a77ccc0a205489dca30af6ca8a30bbf6b8f3e48 https://github.com/OpenSIPS/opensips/commit/9a77ccc0a205489dca30af6ca8a30bbf6b8f3e48 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/proto_tls/proto_tls.c Log Message: ----------- proto_tls: fix unsigned return handling in proto_tls_send Commit: a3892587a1aa86475707b4343852a688b7b5bf27 https://github.com/OpenSIPS/opensips/commit/a3892587a1aa86475707b4343852a688b7b5bf27 Author: Razvan Crainea Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- github/workflows: use #devel channel on slack Compare: https://github.com/OpenSIPS/opensips/compare/296f3cb4ae39...a3892587a1aa From noreply at github.com Fri Jan 15 16:02:41 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 08:02:41 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 34b16d: Revert "[auth] Proper auth username check" Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 34b16db256887124287d146c5cc367c9daff502a https://github.com/OpenSIPS/opensips/commit/34b16db256887124287d146c5cc367c9daff502a Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- Revert "[auth] Proper auth username check" This reverts commit 2d02dc85a3fbf168bb8457d5e5b6827092fb8cc8. From noreply at github.com Fri Jan 15 16:03:15 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 08:03:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 593800: Revert "[auth] Proper auth username check" Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 5938004f7b6d3b0b044b6ab2dc15d37778b8985b https://github.com/OpenSIPS/opensips/commit/5938004f7b6d3b0b044b6ab2dc15d37778b8985b Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- Revert "[auth] Proper auth username check" This reverts commit 71b0aa50372b944b299acf5ad3d498bf0f9cd437. From noreply at github.com Fri Jan 15 16:03:58 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 08:03:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6c2e0: Revert "[auth] Proper auth username check" Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f6c2e0398bcef58171567808e4f592f89633c81d https://github.com/OpenSIPS/opensips/commit/f6c2e0398bcef58171567808e4f592f89633c81d Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/auth/auth_mod.c Log Message: ----------- Revert "[auth] Proper auth username check" This reverts commit 2aa4a53ce6427c94a2fea71fde97c3bc7af56485. From noreply at github.com Fri Jan 15 16:23:50 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 08:23:50 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6c5953: mid_registrar: Fix "Expires" edge-case in AoR thro... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6c5953033f67589b3da07751c8746f3c99861c4b https://github.com/OpenSIPS/opensips/commit/6c5953033f67589b3da07751c8746f3c99861c4b Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix "Expires" edge-case in AoR throttling mode This fixes a bug where the mid-registrar, in mode == 2, would not correctly process REGISTER requests containing both: * an ";expires=" Contact param * an "Expires" header field Specifically, the "Expires" header would incorrectly transit "as is", without being changed. Related to #2350 From noreply at github.com Fri Jan 15 16:25:12 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 08:25:12 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a95838: mid_registrar: Fix "Expires" edge-case in AoR thro... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: a958382016e9825c4d2363157f29ea356b57d67a https://github.com/OpenSIPS/opensips/commit/a958382016e9825c4d2363157f29ea356b57d67a Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix "Expires" edge-case in AoR throttling mode This fixes a bug where the mid-registrar, in mode == 2, would not correctly process REGISTER requests containing both: * an ";expires=" Contact param * an "Expires" header field Specifically, the "Expires" header would incorrectly transit "as is", without being changed. Related to #2350 (cherry picked from commit 6c5953033f67589b3da07751c8746f3c99861c4b) From noreply at github.com Fri Jan 15 16:25:29 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 08:25:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3f34a3: mid_registrar: Fix "Expires" edge-case in AoR thro... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3f34a304df1aa5b49549fde7ef242539f5c74022 https://github.com/OpenSIPS/opensips/commit/3f34a304df1aa5b49549fde7ef242539f5c74022 Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix "Expires" edge-case in AoR throttling mode This fixes a bug where the mid-registrar, in mode == 2, would not correctly process REGISTER requests containing both: * an ";expires=" Contact param * an "Expires" header field Specifically, the "Expires" header would incorrectly transit "as is", without being changed. Related to #2350 (cherry picked from commit 6c5953033f67589b3da07751c8746f3c99861c4b) From noreply at github.com Fri Jan 15 17:29:07 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 09:29:07 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bcdb41: mid_registrar: Complete the 386f1cd fix (more edge... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bcdb417d53d6b258f69f8f8c3c087a6c5a2e23cc https://github.com/OpenSIPS/opensips/commit/bcdb417d53d6b258f69f8f8c3c087a6c5a2e23cc Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Complete the 386f1cd fix (more edge-cases) The runtime-defined "outgoing_expires" would still not be honored when either: * the UAC uses a larger expiration than "outgoing_expires" itself * the UAC uses Contact ";expires=" instead of "Expires" hf Fixes #2350 (for good) From noreply at github.com Fri Jan 15 17:29:27 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 09:29:27 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b8f32f: mid_registrar: Complete the 386f1cd fix (more edge... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: b8f32f9b950bdcab4bf13d072dbbf9c8f7b69745 https://github.com/OpenSIPS/opensips/commit/b8f32f9b950bdcab4bf13d072dbbf9c8f7b69745 Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Complete the 386f1cd fix (more edge-cases) The runtime-defined "outgoing_expires" would still not be honored when either: * the UAC uses a larger expiration than "outgoing_expires" itself * the UAC uses Contact ";expires=" instead of "Expires" hf Fixes #2350 (for good) (cherry picked from commit bcdb417d53d6b258f69f8f8c3c087a6c5a2e23cc) From noreply at github.com Fri Jan 15 17:29:39 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Jan 2021 09:29:39 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 060c1a: mid_registrar: Complete the 386f1cd fix (more edge... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 060c1a6105ae943efee8fa46708991a1975a5cd7 https://github.com/OpenSIPS/opensips/commit/060c1a6105ae943efee8fa46708991a1975a5cd7 Author: Liviu Chircu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Complete the 386f1cd fix (more edge-cases) The runtime-defined "outgoing_expires" would still not be honored when either: * the UAC uses a larger expiration than "outgoing_expires" itself * the UAC uses Contact ";expires=" instead of "Expires" hf Fixes #2350 (for good) (cherry picked from commit bcdb417d53d6b258f69f8f8c3c087a6c5a2e23cc) From noreply at github.com Fri Jan 15 17:50:13 2021 From: noreply at github.com (Maksym Sobolyev) Date: Fri, 15 Jan 2021 09:50:13 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7eb191: There is no god reasons to limit GitHub Actions t... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7eb191d2db191f650721c700b67c8dd325933e3c https://github.com/OpenSIPS/opensips/commit/7eb191d2db191f650721c700b67c8dd325933e3c Author: Maksym Sobolyev Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- There is no god reasons to limit GitHub Actions to master branch only. Most of the work is done (hopefully) in custom branches, so we need to make sure contributors can see any breakage before PR is submitted. Commit: 84d6ccb27e317472e9290e805d73c518952b6b65 https://github.com/OpenSIPS/opensips/commit/84d6ccb27e317472e9290e805d73c518952b6b65 Author: Maksym Sobolyev Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M .github/workflows/main.yml Log Message: ----------- Only notify Slack about failures when github.repository == 'OpenSIPS/opensips'. Commit: b9e71e89c8b786784cfcd93730dad75b2b3c9ec3 https://github.com/OpenSIPS/opensips/commit/b9e71e89c8b786784cfcd93730dad75b2b3c9ec3 Author: Maksym Sobolyev Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- Merge branch 'master' of github.com:OpenSIPS/opensips into fix_workflow_on Compare: https://github.com/OpenSIPS/opensips/compare/bcdb417d53d6...b9e71e89c8b7 From noreply at github.com Fri Jan 15 21:06:28 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 13:06:28 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cdcfe4: [drouting] proper ending of fallbacks at last cycle Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: cdcfe4435c5d30446593bec5ce679c72333c6ecb https://github.com/OpenSIPS/opensips/commit/cdcfe4435c5d30446593bec5ce679c72333c6ecb Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/drouting/drouting.c Log Message: ----------- [drouting] proper ending of fallbacks at last cycle From noreply at github.com Fri Jan 15 21:07:37 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 13:07:37 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7148: [drouting] proper ending of fallbacks at last cycle Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 8a714842d19181853184a2a2be98f7891805f10e https://github.com/OpenSIPS/opensips/commit/8a714842d19181853184a2a2be98f7891805f10e Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/drouting/drouting.c Log Message: ----------- [drouting] proper ending of fallbacks at last cycle (cherry picked from commit cdcfe4435c5d30446593bec5ce679c72333c6ecb) From noreply at github.com Fri Jan 15 21:07:55 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 13:07:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ca2b08: [drouting] proper ending of fallbacks at last cycle Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ca2b087a0099db7f584bc5aca4e24f7b0446b6b1 https://github.com/OpenSIPS/opensips/commit/ca2b087a0099db7f584bc5aca4e24f7b0446b6b1 Author: Bogdan-Andrei Iancu Date: 2021-01-15 (Fri, 15 Jan 2021) Changed paths: M modules/drouting/drouting.c Log Message: ----------- [drouting] proper ending of fallbacks at last cycle (cherry picked from commit cdcfe4435c5d30446593bec5ce679c72333c6ecb) From noreply at github.com Fri Jan 15 22:08:42 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Jan 2021 14:08:42 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 606d27: [b2b_logic_xml] Fix extracting URI from hdr Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 606d278dd665a763ddea4b6a5bf1e580d58d84c0 https://github.com/OpenSIPS/opensips/commit/606d278dd665a763ddea4b6a5bf1e580d58d84c0 Author: Bogdan-Andrei Iancu Date: 2021-01-16 (Sat, 16 Jan 2021) Changed paths: M modules/b2b_logic_xml/logic.c Log Message: ----------- [b2b_logic_xml] Fix extracting URI from hdr When extracting a new URI from a SIP hdr, expect a NAME ADDR format, not a just a URI. The From/To/PAI/PPI/Refer hdrs do follow the NAME ADDR format Thanks to @nikbyte Alternative to #2371 From noreply at github.com Sat Jan 16 21:42:55 2021 From: noreply at github.com (opensips-github) Date: Sat, 16 Jan 2021 13:42:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 460163: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 46016361017970b3a205f59164da208bbf48ee3f https://github.com/OpenSIPS/opensips/commit/46016361017970b3a205f59164da208bbf48ee3f Author: OpenSIPS Date: 2021-01-16 (Sat, 16 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/event_route/README M modules/event_route/doc/contributors.xml M modules/event_routing/README M modules/event_routing/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/topology_hiding/README M modules/topology_hiding/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 16 22:02:04 2021 From: noreply at github.com (opensips-github) Date: Sat, 16 Jan 2021 14:02:04 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb70c2: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: fb70c29c50be25a43a3a2b18e4b24c4f64bafef9 https://github.com/OpenSIPS/opensips/commit/fb70c29c50be25a43a3a2b18e4b24c4f64bafef9 Author: OpenSIPS Date: 2021-01-16 (Sat, 16 Jan 2021) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 16 22:20:26 2021 From: noreply at github.com (opensips-github) Date: Sat, 16 Jan 2021 14:20:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 15d053: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 15d05306db8b503f4bf35c537c4b56df3a07342c https://github.com/OpenSIPS/opensips/commit/15d05306db8b503f4bf35c537c4b56df3a07342c Author: OpenSIPS Date: 2021-01-16 (Sat, 16 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/contributors.xml M modules/callops/README M modules/callops/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/freeswitch_scripting/README M modules/freeswitch_scripting/doc/contributors.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/mmgeoip/README M modules/mmgeoip/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rr/README M modules/rr/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 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 Jan 16 22:37:55 2021 From: noreply at github.com (opensips-github) Date: Sat, 16 Jan 2021 14:37:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0f367e: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f367e593a3b6e328603e8e423781ccfc55058fb https://github.com/OpenSIPS/opensips/commit/0f367e593a3b6e328603e8e423781ccfc55058fb Author: OpenSIPS Date: 2021-01-17 (Sun, 17 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/cachedb_cassandra/README M modules/cachedb_cassandra/doc/contributors.xml M modules/cachedb_mongodb/README M modules/cachedb_mongodb/doc/contributors.xml M modules/callops/README M modules/callops/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/cgrates/README M modules/cgrates/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/httpd/README M modules/httpd/doc/contributors.xml M modules/jsonrpc/README M modules/jsonrpc/doc/contributors.xml M modules/ldap/README M modules/ldap/doc/contributors.xml M modules/lua/README M modules/lua/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/mmgeoip/README M modules/mmgeoip/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/proto_bin/README M modules/proto_bin/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/python/README M modules/python/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/tls_mgm/README M modules/tls_mgm/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/uac_auth/README M modules/uac_auth/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Jan 18 19:48:08 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 11:48:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2854af: Added proto function for extra conn matching. Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2854afbf87c16f26f1018ee4566491aa3d3c1522 https://github.com/OpenSIPS/opensips/commit/2854afbf87c16f26f1018ee4566491aa3d3c1522 Author: Bogdan-Andrei Iancu Date: 2021-01-17 (Sun, 17 Jan 2021) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/doc/proto_wss_admin.xml M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_conn_ops.h M modules/tls_mgm/tls_select.c M net/api_proto_net.h M net/net_tcp.c M net/net_tcp.h M net/proto_tcp/proto_tcp.c Log Message: ----------- Added proto function for extra conn matching. A TCP-based protocol may export an API function for performing extra checks when comes to matching and re-using existing connections. For now the SSL using modules (TLS & WSS) are using the function to perform SSL cert matching, to avoid re-using connections with wrong SSL certificate. Fixes #1651 (cherry picked from commit e41465513c01a61b3ed33ad4eb71f91585a391a4) Commit: 58f42976e44c3dfeaaab209ae1aec4f430b719d3 https://github.com/OpenSIPS/opensips/commit/58f42976e44c3dfeaaab209ae1aec4f430b719d3 Author: Vlad Patrascu Date: 2021-01-17 (Sun, 17 Jan 2021) Changed paths: M modules/proto_tls/proto_tls.c M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_config_helper.h M modules/tls_mgm/tls_conn_ops.h Log Message: ----------- tls: fix certificate matching when reusing connections The SSL_CTX pointers may not be equal for the same SSL pointer (connection) after the rework that changed the storage of the context to be per-process. The tls_domain saved in the SSL extra storage will now be used for matching the certificates instead. (cherry picked from commit 582170270c3e0e41d539108b640552ae3cb23cfd) Compare: https://github.com/OpenSIPS/opensips/compare/460163610179...58f42976e44c From noreply at github.com Mon Jan 18 19:58:43 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 11:58:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2fe15b: proto_tcp: fix possible crash when looking up conn... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2fe15bb20aec5e4dabe4f3d2f5c5c9e903e34881 https://github.com/OpenSIPS/opensips/commit/2fe15bb20aec5e4dabe4f3d2f5c5c9e903e34881 Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- proto_tcp: fix possible crash when looking up connection Reported by Adrien Martin in #2369 From noreply at github.com Mon Jan 18 19:59:44 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 11:59:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8ec5a1: proto_tcp: fix possible crash when looking up conn... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 8ec5a12a91561579d3445684576407456d9996af https://github.com/OpenSIPS/opensips/commit/8ec5a12a91561579d3445684576407456d9996af Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- proto_tcp: fix possible crash when looking up connection Reported by Adrien Martin in #2369 (cherry picked from commit 2fe15bb20aec5e4dabe4f3d2f5c5c9e903e34881) From noreply at github.com Mon Jan 18 20:00:11 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 12:00:11 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8e70e: proto_tcp: fix possible crash when looking up conn... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a8e70e1b2dcb285e51b5738803c6dd9b791d7076 https://github.com/OpenSIPS/opensips/commit/a8e70e1b2dcb285e51b5738803c6dd9b791d7076 Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- proto_tcp: fix possible crash when looking up connection Reported by Adrien Martin in #2369 (cherry picked from commit 2fe15bb20aec5e4dabe4f3d2f5c5c9e903e34881) From noreply at github.com Mon Jan 18 20:00:32 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 12:00:32 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 07bdb5: proto_tcp: fix possible crash when looking up conn... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 07bdb586cca69d6f7358c8f70fbd3bbd6d21a23d https://github.com/OpenSIPS/opensips/commit/07bdb586cca69d6f7358c8f70fbd3bbd6d21a23d Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M net/proto_tcp/proto_tcp.c Log Message: ----------- proto_tcp: fix possible crash when looking up connection Reported by Adrien Martin in #2369 (cherry picked from commit 2fe15bb20aec5e4dabe4f3d2f5c5c9e903e34881) From noreply at github.com Mon Jan 18 20:19:39 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 12:19:39 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 41b9bc: Fix for : uac_registrant using same call id for tw... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 41b9bc57564a86ba9ca663e0de3a84f644a06c24 https://github.com/OpenSIPS/opensips/commit/41b9bc57564a86ba9ca663e0de3a84f644a06c24 Author: sagarmalam <47811226+sagarmalam at users.noreply.github.com> Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M modules/uac_registrant/reg_records.c Log Message: ----------- Fix for : uac_registrant using same call id for two different registrants sharing same sip credentials uac registrant was using AOR to generate call ID each time due to which two registrants have same AOR will always have same Call ID. To fix this issue i have appended timestamp at the end of the AOR before passing it to MD5string array. Commit: 47576e0de55efe19e8b19f3d183b5724426163a7 https://github.com/OpenSIPS/opensips/commit/47576e0de55efe19e8b19f3d183b5724426163a7 Author: Vlad Pătrașcu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M modules/uac_registrant/reg_records.c Log Message: ----------- Merge pull request #2375 from sagarmalam/patch-1 Fix for : uac_registrant using same call id for two different registrants Compare: https://github.com/OpenSIPS/opensips/compare/2fe15bb20aec...47576e0de55e From noreply at github.com Mon Jan 18 21:07:52 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Jan 2021 13:07:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01fc1b: uac_registrant DB schema: extend unique index with... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 01fc1bd55815a3ae944b842cc2f7352fef07dad4 https://github.com/OpenSIPS/opensips/commit/01fc1bd55815a3ae944b842cc2f7352fef07dad4 Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M db/schema/registrant.xml M scripts/mysql/registrant-create.sql M scripts/oracle/registrant-create.sql M scripts/postgres/registrant-create.sql M scripts/sqlite/registrant-create.sql Log Message: ----------- uac_registrant DB schema: extend unique index with contact, registrar Commit: 5b551ba35fbf9d5e50be90ae4ec238331381c43e https://github.com/OpenSIPS/opensips/commit/5b551ba35fbf9d5e50be90ae4ec238331381c43e Author: Vlad Patrascu Date: 2021-01-18 (Mon, 18 Jan 2021) Changed paths: M db/schema/registrant.xml M lib/sliblist.c M lib/sliblist.h M modules/uac_registrant/README M modules/uac_registrant/doc/uac_registrant_admin.xml M modules/uac_registrant/reg_db_handler.c M modules/uac_registrant/reg_db_handler.h M modules/uac_registrant/reg_records.c M modules/uac_registrant/reg_records.h M modules/uac_registrant/registrant.c M scripts/db_berkeley/opensips/registrant M scripts/dbtext/opensips/registrant M scripts/mysql/registrant-create.sql M scripts/oracle/registrant-create.sql M scripts/pi_http/pi_framework.xml M scripts/pi_http/registrant-mod M scripts/pi_http/registrant-table M scripts/postgres/registrant-create.sql M scripts/sqlite/registrant-create.sql Log Message: ----------- uac_registrant: improve managing of registrants through MI Add MI functions to enable or disable a particular registrant. Also improve the reg_list and reg_reload MI functions in order to list/reload a specific registrant. Compare: https://github.com/OpenSIPS/opensips/compare/47576e0de55e...5b551ba35fbf From noreply at github.com Tue Jan 19 12:12:13 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 19 Jan 2021 04:12:13 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0043bb: dialog: store dialog in transaction in dlg_onroute Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0043bb0e6084e60fbda88269c0ddd8f0301444fd https://github.com/OpenSIPS/opensips/commit/0043bb0e6084e60fbda88269c0ddd8f0301444fd Author: Razvan Crainea Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: store dialog in transaction in dlg_onroute When the transaction is created before matching the dialog, there is was no callback to store the dialog in the transaction - as a consequence, the acc cdr callbacks were not able to find the dialog, thus no longer generate dialogs. This commit fixes this bevavior. From noreply at github.com Tue Jan 19 12:12:34 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 19 Jan 2021 04:12:34 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0925ca: dialog: store dialog in transaction in dlg_onroute Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 0925ca3fae29486f9e0d11fad17927d15e129ec8 https://github.com/OpenSIPS/opensips/commit/0925ca3fae29486f9e0d11fad17927d15e129ec8 Author: Razvan Crainea Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: store dialog in transaction in dlg_onroute When the transaction is created before matching the dialog, there is was no callback to store the dialog in the transaction - as a consequence, the acc cdr callbacks were not able to find the dialog, thus no longer generate dialogs. This commit fixes this bevavior. (cherry picked from commit 0043bb0e6084e60fbda88269c0ddd8f0301444fd) From noreply at github.com Tue Jan 19 12:14:05 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 19 Jan 2021 04:14:05 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 70d350: dialog: store dialog in transaction in dlg_onroute Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 70d350894777a30519178f8764b4c51169901e23 https://github.com/OpenSIPS/opensips/commit/70d350894777a30519178f8764b4c51169901e23 Author: Razvan Crainea Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: store dialog in transaction in dlg_onroute When the transaction is created before matching the dialog, there is was no callback to store the dialog in the transaction - as a consequence, the acc cdr callbacks were not able to find the dialog, thus no longer generate dialogs. This commit fixes this bevavior. (cherry picked from commit 0043bb0e6084e60fbda88269c0ddd8f0301444fd) From noreply at github.com Tue Jan 19 15:36:04 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Jan 2021 07:36:04 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6191f2: $json set: Correctly interpret the content of pv_v... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6191f278a4542cc0ea4d588e093e2edaa6a48bbe https://github.com/OpenSIPS/opensips/commit/6191f278a4542cc0ea4d588e093e2edaa6a48bbe Author: Liviu Chircu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/json/json.c M pvar.h Log Message: ----------- $json set: Correctly interpret the content of pv_value_t From noreply at github.com Tue Jan 19 17:21:38 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Jan 2021 09:21:38 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 621271: [b2b_logic] Fix extracting URI from hdr Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 62127194a5751fb028da135d795aee06351b8fb2 https://github.com/OpenSIPS/opensips/commit/62127194a5751fb028da135d795aee06351b8fb2 Author: Bogdan-Andrei Iancu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- [b2b_logic] Fix extracting URI from hdr When extracting a new URI from a SIP hdr, expect a NAME ADDR format, not a just a URI. The From/To/PAI/PPI/Refer hdrs do follow the NAME ADDR format Thanks to @nikbyte Alternative to #2371 Cherry-pick (manual) from 606d278dd665a763ddea4b6a5bf1e580d58d84c0 From noreply at github.com Tue Jan 19 17:22:15 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Jan 2021 09:22:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f936c4: [b2b_logic] Fix extracting URI from hdr Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f936c4d9b635ac9ed3a09862ea3b0b9eaf3a8a2d https://github.com/OpenSIPS/opensips/commit/f936c4d9b635ac9ed3a09862ea3b0b9eaf3a8a2d Author: Bogdan-Andrei Iancu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- [b2b_logic] Fix extracting URI from hdr When extracting a new URI from a SIP hdr, expect a NAME ADDR format, not a just a URI. The From/To/PAI/PPI/Refer hdrs do follow the NAME ADDR format Thanks to @nikbyte Alternative to #2371 Cherry-pick (manual) from 606d278dd665a763ddea4b6a5bf1e580d58d84c0 (cherry picked from commit 62127194a5751fb028da135d795aee06351b8fb2) From noreply at github.com Tue Jan 19 17:24:26 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Jan 2021 09:24:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec1f4c: $json set: Correctly interpret the content of pv_v... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: ec1f4ccce3f02e056c4191892eb6d51b12fd3110 https://github.com/OpenSIPS/opensips/commit/ec1f4ccce3f02e056c4191892eb6d51b12fd3110 Author: Liviu Chircu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/json/json.c M pvar.h Log Message: ----------- $json set: Correctly interpret the content of pv_value_t (cherry picked from commit 6191f278a4542cc0ea4d588e093e2edaa6a48bbe) From noreply at github.com Tue Jan 19 17:33:08 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Jan 2021 09:33:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 589608: [core] run post processing callbacks only on SIP t... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 5896084efd381a93c0871b2d75b02d85dd2b0065 https://github.com/OpenSIPS/opensips/commit/5896084efd381a93c0871b2d75b02d85dd2b0065 Author: Bogdan-Andrei Iancu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M forward.h M ip_addr.h Log Message: ----------- [core] run post processing callbacks only on SIP traffic Credits go to @lemenkov Alternative to #2316 (cherry picked from commit eee990d84a818352a2b653bfab96e7aa9e529072) From noreply at github.com Tue Jan 19 17:34:38 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Jan 2021 09:34:38 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c4aff: [core] run post processing callbacks only on SIP t... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0c4aff270691be345827e613f58f201b2f6b813b https://github.com/OpenSIPS/opensips/commit/0c4aff270691be345827e613f58f201b2f6b813b Author: Bogdan-Andrei Iancu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M forward.h M ip_addr.h Log Message: ----------- [core] run post processing callbacks only on SIP traffic Credits go to @lemenkov Alternative to #2316 (cherry picked from commit eee990d84a818352a2b653bfab96e7aa9e529072) From noreply at github.com Tue Jan 19 20:15:05 2021 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 19 Jan 2021 12:15:05 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0bb57b: Use str_init("abc") instead of {"abc", (sizeof("ab... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0bb57b49a43af81d2c977eb2d2d334c781f678dc https://github.com/OpenSIPS/opensips/commit/0bb57b49a43af81d2c977eb2d2d334c781f678dc Author: Maksym Sobolyev Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M pvar.c Log Message: ----------- Use str_init("abc") instead of {"abc", (sizeof("abc")-1)}. No functional changes (confirmed by md5sum pvar.o). From noreply at github.com Tue Jan 19 20:33:42 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 19 Jan 2021 12:33:42 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eb3341: b2b_logic: fix deadlock in b2b_bridge_request() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: eb3341ae62e099f766b42115c163a281fd73cdea https://github.com/OpenSIPS/opensips/commit/eb3341ae62e099f766b42115c163a281fd73cdea Author: Vlad Patrascu Date: 2021-01-19 (Tue, 19 Jan 2021) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: fix deadlock in b2b_bridge_request() Do not re-aquire the same lock when the entity storage callback is called for a delete event. Fixes #2373 From noreply at github.com Wed Jan 20 10:34:28 2021 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Jan 2021 02:34:28 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a3a10: fraud_detection: Optimize time-recurrences which a... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2a3a1050e8e04f40d0500a8eb5d5e1429344077f https://github.com/OpenSIPS/opensips/commit/2a3a1050e8e04f40d0500a8eb5d5e1429344077f Author: Liviu Chircu Date: 2021-01-20 (Wed, 20 Jan 2021) Changed paths: M modules/fraud_detection/frd_load.c Log Message: ----------- fraud_detection: Optimize time-recurrences which always match Rather than always (re)evaluating a time rec which matches 100% of the time, just set it to NULL, so drouting quickly skips the check. From noreply at github.com Wed Jan 20 11:07:55 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 20 Jan 2021 03:07:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0625fa: [dbschema] remove bogus second primary key Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0625fa0dfd10e444b9c1ccfa36401d794ab445fb https://github.com/OpenSIPS/opensips/commit/0625fa0dfd10e444b9c1ccfa36401d794ab445fb Author: Bogdan-Andrei Iancu Date: 2021-01-20 (Wed, 20 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [dbschema] remove bogus second primary key Issue introduced with 7d38cb85bc18e9831d7ef507383a9388d73578a6 Reported by @kuuse Closes #2379 From noreply at github.com Wed Jan 20 11:10:08 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 20 Jan 2021 03:10:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b7cf71: [dbschema] remove bogus second primary key Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: b7cf71712f28d8247b8acc5c2c3a2d4d827c468a https://github.com/OpenSIPS/opensips/commit/b7cf71712f28d8247b8acc5c2c3a2d4d827c468a Author: Bogdan-Andrei Iancu Date: 2021-01-20 (Wed, 20 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [dbschema] remove bogus second primary key Issue introduced with 0625fa0dfd10e444b9c1ccfa36401d794ab445fb Reported by @kuuse Closes #2379 From noreply at github.com Wed Jan 20 11:11:55 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 20 Jan 2021 03:11:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d800f0: [dbschema] remove bogus second primary key Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d800f05c983f4ee31b701271bf709f0823bfbaab https://github.com/OpenSIPS/opensips/commit/d800f05c983f4ee31b701271bf709f0823bfbaab Author: Bogdan-Andrei Iancu Date: 2021-01-20 (Wed, 20 Jan 2021) Changed paths: M db/schema/cachedb_sql.xml M scripts/mysql/cachedb_sql-create.sql M scripts/oracle/cachedb_sql-create.sql M scripts/pi_http/cachedb_sql-mod M scripts/pi_http/pi_framework.xml M scripts/postgres/cachedb_sql-create.sql M scripts/sqlite/cachedb_sql-create.sql Log Message: ----------- [dbschema] remove bogus second primary key Issue introduced with 3f3dc8a45d44eed76204c1ebc82e8ae6be03b335 Reported by @kuuse Closes #2379 From noreply at github.com Thu Jan 21 22:26:57 2021 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 21 Jan 2021 14:26:57 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9cf484: Add immutable version of the struct str - str_cons... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9cf4843401ceca9e11744b323f793cca4bf3abec https://github.com/OpenSIPS/opensips/commit/9cf4843401ceca9e11744b323f793cca4bf3abec Author: Maksym Sobolyev Date: 2021-01-21 (Thu, 21 Jan 2021) Changed paths: M str.h Log Message: ----------- Add immutable version of the struct str - str_const and associated helper macros (STR_NULL_const, str_const_init() and str2const()). Commit: 985f1e6b5cf48b19db96c47ccfa32a8782284fa6 https://github.com/OpenSIPS/opensips/commit/985f1e6b5cf48b19db96c47ccfa32a8782284fa6 Author: Maksym Sobolyev Date: 2021-01-21 (Thu, 21 Jan 2021) Changed paths: M flags.c M flags.h M modules/acc/acc_vars.c M modules/acc/acc_vars.h M modules/b2b_logic/b2b_logic.c M modules/b2b_logic_xml/b2b_logic.c M modules/cfgutils/env_var.c M modules/cfgutils/env_var.h M modules/cfgutils/shvar.c M modules/cfgutils/shvar.h M modules/cgrates/cgrates.c M modules/clusterer/sharing_tags.c M modules/clusterer/sharing_tags.h M modules/dialog/dlg_vals.c M modules/dialog/dlg_vals.h M modules/json/json.c M modules/nat_traversal/nat_traversal.c M modules/presence_dfks/presence_dfks.c M modules/ratelimit/ratelimit.c M modules/rtpengine/rtpengine.c M modules/sip_i/sip_i.c M modules/sipcapture/sipcapture.c M modules/sql_cacher/sql_cacher.c M modules/statistics/statistics.c M modules/stir_shaken/stir_shaken.c M modules/xml/xml.c M pvar.c M pvar.h M script_var.c M script_var.h M statistics.c M statistics.h M usr_avp.c M usr_avp.h M ut.h M xlog.c M xlog.h Log Message: ----------- Cleanup pvar.c code a bit: o mark bunch of functions not used anywhere else static; o make lots of str * arguments "const" (overflows to some modules). Two modules in particular abused API by writing into str *in directly: modules/sipcapture/sipcapture.c modules/acc/acc_vars.c o make some of pv_spec_p arguments "const"; o make _pv_names_table[] const. Compare: https://github.com/OpenSIPS/opensips/compare/0625fa0dfd10...985f1e6b5cf4 From noreply at github.com Sat Jan 23 21:43:02 2021 From: noreply at github.com (opensips-github) Date: Sat, 23 Jan 2021 13:43:02 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cdbacb: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: cdbacb984fc4767dc4b669b39de2caa03c7bad2f https://github.com/OpenSIPS/opensips/commit/cdbacb984fc4767dc4b669b39de2caa03c7bad2f Author: OpenSIPS Date: 2021-01-23 (Sat, 23 Jan 2021) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/proto_bin/README M modules/proto_bin/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/tls_mgm/README M modules/tls_mgm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 23 22:20:55 2021 From: noreply at github.com (opensips-github) Date: Sat, 23 Jan 2021 14:20:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 22271e: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 22271edcae573af4ca2ccd25b28dbbdefbbdea83 https://github.com/OpenSIPS/opensips/commit/22271edcae573af4ca2ccd25b28dbbdefbbdea83 Author: OpenSIPS Date: 2021-01-23 (Sat, 23 Jan 2021) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/json/README M modules/json/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 23 22:38:33 2021 From: noreply at github.com (opensips-github) Date: Sat, 23 Jan 2021 14:38:33 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 57d313: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 57d313d0595ad685cf3667ccc9520cdb1210d171 https://github.com/OpenSIPS/opensips/commit/57d313d0595ad685cf3667ccc9520cdb1210d171 Author: OpenSIPS Date: 2021-01-24 (Sun, 24 Jan 2021) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/cgrates/README M modules/cgrates/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/json/README M modules/json/doc/contributors.xml M modules/nat_traversal/README M modules/nat_traversal/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/sip_i/README M modules/sip_i/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/uac_registrant/README M modules/uac_registrant/doc/contributors.xml M modules/xml/README M modules/xml/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Jan 25 11:17:27 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 03:17:27 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3fd880: fraud_detection: Optimize time-recurrences which a... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 3fd880ab52b79bab5147403c4cfe994ae5114f4b https://github.com/OpenSIPS/opensips/commit/3fd880ab52b79bab5147403c4cfe994ae5114f4b Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/fraud_detection/frd_load.c Log Message: ----------- fraud_detection: Optimize time-recurrences which always match Rather than always (re)evaluating a time rec which matches 100% of the time, just set it to NULL, so drouting quickly skips the check. (cherry picked from commit 2a3a1050e8e04f40d0500a8eb5d5e1429344077f) From noreply at github.com Mon Jan 25 11:18:35 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 03:18:35 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9b96e8: fraud_detection: Optimize time-recurrences which a... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 9b96e857ac618fef58bfb3816040134ef5508580 https://github.com/OpenSIPS/opensips/commit/9b96e857ac618fef58bfb3816040134ef5508580 Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/fraud_detection/frd_load.c Log Message: ----------- fraud_detection: Optimize time-recurrences which always match Rather than always (re)evaluating a time rec which matches 100% of the time, just set it to NULL, so drouting quickly skips the check. (cherry picked from commit 2a3a1050e8e04f40d0500a8eb5d5e1429344077f) (cherry picked from commit 3fd880ab52b79bab5147403c4cfe994ae5114f4b) From noreply at github.com Mon Jan 25 16:17:29 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 08:17:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8fcb97: cachedb_local: Improve "cache_collections" docs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8fcb97e4f39f91d70b62ad53e76b9d864201f0a4 https://github.com/OpenSIPS/opensips/commit/8fcb97e4f39f91d70b62ad53e76b9d864201f0a4 Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/cachedb_local/doc/cachedb_local_admin.xml Log Message: ----------- cachedb_local: Improve "cache_collections" docs The "default" collection always gets created, even when not included in the list of collections. From noreply at github.com Mon Jan 25 16:18:15 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 08:18:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 68e9d5: cachedb_local: Improve "cache_collections" docs Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 68e9d557895c48883e08fc696f219bf60fcfa75e https://github.com/OpenSIPS/opensips/commit/68e9d557895c48883e08fc696f219bf60fcfa75e Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/cachedb_local/doc/cachedb_local_admin.xml Log Message: ----------- cachedb_local: Improve "cache_collections" docs The "default" collection always gets created, even when not included in the list of collections. (cherry picked from commit 8fcb97e4f39f91d70b62ad53e76b9d864201f0a4) From noreply at github.com Mon Jan 25 16:18:37 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 08:18:37 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 47eea4: cachedb_local: Improve "cache_collections" docs Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 47eea40de3b0934fd7f93f993dd9f646cbd3f5bc https://github.com/OpenSIPS/opensips/commit/47eea40de3b0934fd7f93f993dd9f646cbd3f5bc Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/cachedb_local/doc/cachedb_local_admin.xml Log Message: ----------- cachedb_local: Improve "cache_collections" docs The "default" collection always gets created, even when not included in the list of collections. (cherry picked from commit 8fcb97e4f39f91d70b62ad53e76b9d864201f0a4) From noreply at github.com Mon Jan 25 16:18:46 2021 From: noreply at github.com (Liviu Chircu) Date: Mon, 25 Jan 2021 08:18:46 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aadd70: cachedb_local: Improve "cache_collections" docs Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: aadd708313f9c8b947f103d508878d066c271f11 https://github.com/OpenSIPS/opensips/commit/aadd708313f9c8b947f103d508878d066c271f11 Author: Liviu Chircu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/cachedb_local/doc/cachedb_local_admin.xml Log Message: ----------- cachedb_local: Improve "cache_collections" docs The "default" collection always gets created, even when not included in the list of collections. (cherry picked from commit 8fcb97e4f39f91d70b62ad53e76b9d864201f0a4) From noreply at github.com Mon Jan 25 16:26:52 2021 From: noreply at github.com (Maksym Sobolyev) Date: Mon, 25 Jan 2021 08:26:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 81523d: o Simplify str2const() using the fact that struct ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 81523d0c6c26c13bda3396d8807343a2e9f5db22 https://github.com/OpenSIPS/opensips/commit/81523d0c6c26c13bda3396d8807343a2e9f5db22 Author: Maksym Sobolyev Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M str.h Log Message: ----------- o Simplify str2const() using the fact that struct __str and struct __str_const have the same structure. Make sure that (void *)str2const(p) == (void *)p. o Check that argument of str2const() is either str * or const str *. Commit: 87b9286fb8a052dda0319c31df8bd034fe150880 https://github.com/OpenSIPS/opensips/commit/87b9286fb8a052dda0319c31df8bd034fe150880 Author: Maksym Sobolyev Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/b2b_entities/client.c M modules/cachedb_local/hash.c M modules/dialog/dlg_hash.h M modules/emergency/emergency_methods.c M modules/emergency/http_emergency.c M modules/emergency/notifier_emergency.c M modules/emergency/subscriber_emergency.c M modules/nathelper/sip_pinger.h M modules/permissions/hash.c M modules/presence/hash.c M modules/presence_callinfo/sca_hash.c M modules/rate_cacher/rate_cacher.c M modules/uac_auth/auth.c M modules/usrloc/udomain.c M modules/usrloc/urecord.c M statistics.c Log Message: ----------- Use core_hash(x, NULL, y), not core_hash(x, 0, y). Compare: https://github.com/OpenSIPS/opensips/compare/8fcb97e4f39f...87b9286fb8a0 From noreply at github.com Mon Jan 25 19:30:48 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 25 Jan 2021 11:30:48 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ff81f: b2b_logic: check if script functions are used from... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9ff81fe323db947fa77b946f3bda3b2abdfcd781 https://github.com/OpenSIPS/opensips/commit/9ff81fe323db947fa77b946f3bda3b2abdfcd781 Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2b_logic.h M modules/b2b_logic/logic.c M modules/b2b_logic/records.h Log Message: ----------- b2b_logic: check if script functions are used from the proper routes Commit: a8da45c87e3e1e5676327f8b68a0a6ab5f72b3ea https://github.com/OpenSIPS/opensips/commit/a8da45c87e3e1e5676327f8b68a0a6ab5f72b3ea Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/b2b_logic/b2b_load.h M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/doc/b2b_logic_admin.xml M modules/b2b_logic/entity_storage.c M modules/b2b_logic/logic.c M modules/b2b_logic/records.h M modules/call_center/call_center.c Log Message: ----------- b2b_logic: add an optional outbound proxy parameter to client_new() Add a new optional parameter to the client_new() script function to allow choosing an outbound proxy to send the INVITE to. Closes #2374 Commit: 73e63eed9b658882ce407b1fde68aa4715d8388b https://github.com/OpenSIPS/opensips/commit/73e63eed9b658882ce407b1fde68aa4715d8388b Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/clusterer/api.h M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml M modules/clusterer/node_info.c M modules/clusterer/node_info.h M modules/clusterer/topology.c Log Message: ----------- clusterer: allow disabling a specific node with clusterer_set_status Compare: https://github.com/OpenSIPS/opensips/compare/87b9286fb8a0...73e63eed9b65 From noreply at github.com Mon Jan 25 19:41:26 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 25 Jan 2021 11:41:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 090088: clusterer: properly persist MI changed node state ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 090088155b6ab4e8ad4832900e51c19ee153fe68 https://github.com/OpenSIPS/opensips/commit/090088155b6ab4e8ad4832900e51c19ee153fe68 Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly persist MI changed node state in DB From noreply at github.com Mon Jan 25 19:41:34 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 25 Jan 2021 11:41:34 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8bab0d: clusterer: properly persist MI changed node state ... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 8bab0da7bf8377784d11efbb6d3d2405dae77090 https://github.com/OpenSIPS/opensips/commit/8bab0da7bf8377784d11efbb6d3d2405dae77090 Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly persist MI changed node state in DB (cherry picked from commit 090088155b6ab4e8ad4832900e51c19ee153fe68) From noreply at github.com Mon Jan 25 19:41:43 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 25 Jan 2021 11:41:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d379a: clusterer: properly persist MI changed node state ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 6d379a5fdf0bf1d77037a47f11c4c56df16a9cc9 https://github.com/OpenSIPS/opensips/commit/6d379a5fdf0bf1d77037a47f11c4c56df16a9cc9 Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly persist MI changed node state in DB (cherry picked from commit 090088155b6ab4e8ad4832900e51c19ee153fe68) From noreply at github.com Mon Jan 25 19:41:53 2021 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 25 Jan 2021 11:41:53 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8f5af: clusterer: properly persist MI changed node state ... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d8f5af7782c026dbe55e35c35a44be6fdbf31335 https://github.com/OpenSIPS/opensips/commit/d8f5af7782c026dbe55e35c35a44be6fdbf31335 Author: Vlad Patrascu Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M modules/clusterer/node_info.c Log Message: ----------- clusterer: properly persist MI changed node state in DB (cherry picked from commit 090088155b6ab4e8ad4832900e51c19ee153fe68) From noreply at github.com Mon Jan 25 22:44:04 2021 From: noreply at github.com (Maksym Sobolyev) Date: Mon, 25 Jan 2021 14:44:04 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1d261f: o Reorder includes, put system ones first, opensip... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1d261f0a2d0b0143202b9b86fd8a24e457c26a00 https://github.com/OpenSIPS/opensips/commit/1d261f0a2d0b0143202b9b86fd8a24e457c26a00 Author: Maksym Sobolyev Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M db/db_insertq.c M db/db_ut.c Log Message: ----------- o Reorder includes, put system ones first, opensips core next and local the last, not the other way around, this fixes some weird compilation errors after adding assert.h into str.h. o Add missing include time.h and define _XOPEN_SOURCE to get strptime(3) going on linux. Fixes: https://github.com/sippy/opensips/runs/1753076545?check_suite_focus=true#step:4:212 Commit: b1343990f372ff4e99ae57c27de4d166468fc812 https://github.com/OpenSIPS/opensips/commit/b1343990f372ff4e99ae57c27de4d166468fc812 Author: Maksym Sobolyev Date: 2021-01-25 (Mon, 25 Jan 2021) Changed paths: M str.h Log Message: ----------- Simplify str2const() some more and make sure that type of the str2const((const str *)x) is "const str_const *", not just "str_const *". This prevents "promoting" const str * into [non-const]str_const * when passing it via that macro. Compare: https://github.com/OpenSIPS/opensips/compare/090088155b6a...b1343990f372 From noreply at github.com Tue Jan 26 09:33:10 2021 From: noreply at github.com (Liviu Chircu) Date: Tue, 26 Jan 2021 01:33:10 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2cb4e8: Fix build on CentOS 7 Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2cb4e8fa7726e03dac55312e3cd166b825839d4a https://github.com/OpenSIPS/opensips/commit/2cb4e8fa7726e03dac55312e3cd166b825839d4a Author: Liviu Chircu Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M db/db_ut.c Log Message: ----------- Fix build on CentOS 7 Completes commit 1d261f0a2. From noreply at github.com Tue Jan 26 14:47:01 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Jan 2021 06:47:01 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 87f235: [proto_hep] Fix payload extraction for HEP2 Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 87f235a1e6e3bc66eb1bc29954d18b0cfa476727 https://github.com/OpenSIPS/opensips/commit/87f235a1e6e3bc66eb1bc29954d18b0cfa476727 Author: Bogdan-Andrei Iancu Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M modules/proto_hep/hep.c Log Message: ----------- [proto_hep] Fix payload extraction for HEP2 If time is present, offset the "payload" buffer accordingly, as "start" and "length". Reported by JP Hindin From noreply at github.com Tue Jan 26 14:48:11 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Jan 2021 06:48:11 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56c5aa: [proto_hep] Fix payload extraction for HEP2 Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 56c5aa0708cc2ede0ebf29d862d0dc4214e111a2 https://github.com/OpenSIPS/opensips/commit/56c5aa0708cc2ede0ebf29d862d0dc4214e111a2 Author: Bogdan-Andrei Iancu Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M modules/proto_hep/hep.c Log Message: ----------- [proto_hep] Fix payload extraction for HEP2 If time is present, offset the "payload" buffer accordingly, as "start" and "length". Reported by JP Hindin (cherry picked from commit 87f235a1e6e3bc66eb1bc29954d18b0cfa476727) From noreply at github.com Tue Jan 26 14:49:07 2021 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Jan 2021 06:49:07 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad67fb: [proto_hep] Fix payload extraction for HEP2 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ad67fb7422faccbab19d428afbe3ebf93b10756a https://github.com/OpenSIPS/opensips/commit/ad67fb7422faccbab19d428afbe3ebf93b10756a Author: Bogdan-Andrei Iancu Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M modules/proto_hep/hep.c Log Message: ----------- [proto_hep] Fix payload extraction for HEP2 If time is present, offset the "payload" buffer accordingly, as "start" and "length". Reported by JP Hindin (cherry picked from commit 87f235a1e6e3bc66eb1bc29954d18b0cfa476727) From noreply at github.com Tue Jan 26 16:51:19 2021 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 26 Jan 2021 08:51:19 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5ce95: o Fix escape_common(), unescape_common(), unescape... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f5ce9537cc4d611166e5d9f94df8f4ac618fc46a https://github.com/OpenSIPS/opensips/commit/f5ce9537cc4d611166e5d9f94df8f4ac618fc46a Author: Maksym Sobolyev Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M strcommon.c M strcommon.h Log Message: ----------- o Fix escape_common(), unescape_common(), unescape_xml() and compute_md5() to take "const char *src", not "char *src"; o Extend escape_user(), unescape_user(), escape_param() and unescape_param() to take either "const str *src" or "const str_const *src". This is to allow other code to use either. Commit: 5e04676e3a557ee4a62c8969ad4ba39376036cf5 https://github.com/OpenSIPS/opensips/commit/5e04676e3a557ee4a62c8969ad4ba39376036cf5 Author: Maksym Sobolyev Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M ut.h Log Message: ----------- Extend str_strcmp(a, b) to take any combination of const str * and const str_const *. Commit: 7c6d6182805e5b389e84f5d9e5260693457cf321 https://github.com/OpenSIPS/opensips/commit/7c6d6182805e5b389e84f5d9e5260693457cf321 Author: Maksym Sobolyev Date: 2021-01-26 (Tue, 26 Jan 2021) Changed paths: M flags.c M flags.h M modules/usrloc/dlist.c M modules/usrloc/udomain.c M pvar.c Log Message: ----------- Convert flag_list_to_bitmask() to use const str_const *. Compare: https://github.com/OpenSIPS/opensips/compare/87f235a1e6e3...7c6d6182805e From noreply at github.com Wed Jan 27 16:22:45 2021 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 27 Jan 2021 08:22:45 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2f554c: Unbreak build on legacy arches (i.e. CentOS), turn... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2f554c80a659b34c3e3105f654792fee50115156 https://github.com/OpenSIPS/opensips/commit/2f554c80a659b34c3e3105f654792fee50115156 Author: Maksym Sobolyev Date: 2021-01-27 (Wed, 27 Jan 2021) Changed paths: M strcommon.c M strcommon.h M ut.h Log Message: ----------- Unbreak build on legacy arches (i.e. CentOS), turns out we are not ready to use _Generic(), which is C11 feature. :( Reported by: @liviuchircu Revert "o Fix escape_common(), unescape_common(), unescape_xml() and compute_md5()" Revert "Extend str_strcmp(a, b) to take any combination of const str * and" This reverts commits f5ce9537cc and 5e04676e3a5. Commit: cab6edbf80044272ce0325a41a1341e28603f104 https://github.com/OpenSIPS/opensips/commit/cab6edbf80044272ce0325a41a1341e28603f104 Author: Maksym Sobolyev Date: 2021-01-27 (Wed, 27 Jan 2021) Changed paths: M flags.c M ut.h Log Message: ----------- Add strSC_strcmp() to compare const str * to const str_const * and use it to undo damage the reversal of the 5e04676e3a5 did. Compare: https://github.com/OpenSIPS/opensips/compare/7c6d6182805e...cab6edbf8004 From noreply at github.com Wed Jan 27 18:48:51 2021 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 27 Jan 2021 10:48:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66feee: Revert "Add strSC_strcmp() to compare const str * ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 66feeea592374262a0d28ca75269f5f1e661d67f https://github.com/OpenSIPS/opensips/commit/66feeea592374262a0d28ca75269f5f1e661d67f Author: Maksym Sobolyev Date: 2021-01-27 (Wed, 27 Jan 2021) Changed paths: M flags.c M strcommon.c M strcommon.h M ut.h Log Message: ----------- Revert "Add strSC_strcmp() to compare const str * to const str_const *" This reverts commit cab6edbf80044272ce0325a41a1341e28603f104. Revert "Unbreak build on legacy arches (i.e. CentOS), turns out we are not ready to use _Generic()," This reverts commit 2f554c80a659b34c3e3105f654792fee50115156. Commit: 5af4f120245a033ca193a4840ac5be95f53f4ef9 https://github.com/OpenSIPS/opensips/commit/5af4f120245a033ca193a4840ac5be95f53f4ef9 Author: Maksym Sobolyev Date: 2021-01-27 (Wed, 27 Jan 2021) Changed paths: M Makefile.defs Log Message: ----------- Test if _Generic() is supported and set HAVE_GENERICS if so. Commit: a14c74f605c4c6bede3ea450574bc126d8069bb3 https://github.com/OpenSIPS/opensips/commit/a14c74f605c4c6bede3ea450574bc126d8069bb3 Author: Maksym Sobolyev Date: 2021-01-27 (Wed, 27 Jan 2021) Changed paths: A lib/str2const.h M str.h M strcommon.h M ut.h Log Message: ----------- Move all _Generic() statements into lib/str2const.h, so that we can have a less-typesafe callback for older compilers. Provide a fallback if HAVE_GENERICS is not definedi (e.g. CentOS 7). Compare: https://github.com/OpenSIPS/opensips/compare/cab6edbf8004...a14c74f605c4 From alain.bieuzent at free.fr Thu Jan 28 13:12:48 2021 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Thu, 28 Jan 2021 14:12:48 +0100 Subject: [OpenSIPS-Devel] not enough free pkg memory In-Reply-To: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> References: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> Message-ID: <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> Hi All, Since we migrate from opensips 3,0 to the latest 3.1, after around 1 week of uptime we find a a certain number of message in logs (around 15,000 per day) like « ERROR:core:fm_malloc: not enough free pkg memory (11184320 bytes left, need 536), please increase the "-M" command line parameter! » We already increased P_MEMORY (from 16 to 32 then 32 to 128) but it didn’t help. root at lbsip-owf-out02 /var/log opensips -V version: opensips 3.1.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 229ec0793 main.c compiled on 17:41:56 Jan 4 2021 with gcc 6.3.0 root at lbsip-owf-out02 /var/log cat /etc/default/opensips RUN_OPENSIPS=yes USER=opensips GROUP=opensips S_MEMORY=3072 P_MEMORY=128 DUMP_CORE=yes OPTIONS="-a Q_MALLOC_DBG" I followed the following guide to activate the memory dump : https://opensips.org/Documentation/TroubleShooting-OutOfMem As I am unable to analyze the memory dump myself, find here the link to download the logs (when the proxy stops) : https://www.maniterm.com/public/html/memory_dump.log.zip Tell me if you need more information’s ? Many thanks Alain -------------- next part -------------- An HTML attachment was scrubbed... URL: From liviu at opensips.org Thu Jan 28 13:21:35 2021 From: liviu at opensips.org (Liviu Chircu) Date: Thu, 28 Jan 2021 15:21:35 +0200 Subject: [OpenSIPS-Devel] not enough free pkg memory In-Reply-To: <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> References: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> Message-ID: <2ed6d3db-a347-4f68-efde-ebcada0590f7@opensips.org> On 28.01.2021 15:12, Alain Bieuzent wrote: > > Since we migrate from opensips 3,0 to the latest 3.1, after around 1 > week of uptime we find a a certain number of message in logs (around > 15,000 per day) like « ERROR:core:fm_malloc: not enough free pkg > memory (11184320 bytes left, need 536), please increase the "-M" > command line parameter! » > > We already increasedP_MEMORY (from 16 to 32 then 32 to 128) but it > didn’t help. > > root at lbsip-owf-out02 /var/log  opensips -V > > version: opensips 3.1.1 (x86_64/linux) > > flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, > Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT > > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535 > > poll method support: poll, epoll, sigio_rt, select. > > git revision: 229ec0793 > > main.c compiled on 17:41:56 Jan  4 2021 with gcc 6.3.0 > Hi, There was a significant PKG memory leak fixed on Jan 11th [1], which was related to t_on_branch().  If you are using t_on_branch() in your opensips.cfg, please get the latest 3.1.1 sources, rebuild and your problems should go away.  For this, I suggest either: * installing the 3.1 nightly packages * fetching the 3.1 sources and rebuilding * wait for the 3.1.2 minor release [1]: https://github.com/OpenSIPS/opensips/commit/c82a625e Cheers, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Thu Jan 28 17:15:39 2021 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 28 Jan 2021 09:15:39 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c7282: Add const_str() macro, a better way to generate po... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5c7282447372a44c89773f8ecf1e0b1db0a8352e https://github.com/OpenSIPS/opensips/commit/5c7282447372a44c89773f8ecf1e0b1db0a8352e Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M str.h Log Message: ----------- Add const_str() macro, a better way to generate point-of-use string literal of type const str_const * to be used in cases like: str_strcmp(in, _str("header")) The problem with the _str() usage in this scenario among many is that it updates the static pointer burried somewhere in application guts with length and location of the buffer containing its argument (e.g. "header" in this case) each time the operation is performed and that extra work cannot be optimized away. I have confirmed it with the Compiler Explorer, it costs us two memory writes each time str_strcmp() is invoked. Which not only isn't secure but also should have at least some negative performance effect. Use of: str_strcmp(in, const_str("header")) in this scenario will not only be free of that effect, but also pointer provided by the const_str can generally be passed along and saved as needed, it will always be valid as long as the application runs. Commit: 18b46da602f2305b8718d50499b1bced6280030d https://github.com/OpenSIPS/opensips/commit/18b46da602f2305b8718d50499b1bced6280030d Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/auth/challenge.c M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/entity_storage.c M modules/b2b_logic/logic.c M modules/b2b_logic_xml/b2b_logic.c M modules/presence_dfks/presence_dfks.c M modules/stir_shaken/stir_shaken.c M modules/topology_hiding/topology_hiding.c Log Message: ----------- Use const_str(), not _str() to generate point-of-use string literal for calling the str_strcmp(). Commit: cb152009054cdb06e3a35b474ee482c8e8bbae42 https://github.com/OpenSIPS/opensips/commit/cb152009054cdb06e3a35b474ee482c8e8bbae42 Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/presence_dfks/Makefile Log Message: ----------- Remove unnecessary and harmful CROSS_COMPILE conditinal here. Commit: 609f22f6af3b5bc6f0bcfd1e85999de12c0cc2db https://github.com/OpenSIPS/opensips/commit/609f22f6af3b5bc6f0bcfd1e85999de12c0cc2db Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: R modules/mathops/tinyexpr - LICENSE.md A modules/mathops/tinyexpr-LICENSE.md Log Message: ----------- Having space in file name is bit rude. Commit: 4ac1ad5a17b9b44501ddae683ffbf50a5aed61f0 https://github.com/OpenSIPS/opensips/commit/4ac1ad5a17b9b44501ddae683ffbf50a5aed61f0 Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M Makefile.defs Log Message: ----------- Fix generics test: void main() -> int main(). Compare: https://github.com/OpenSIPS/opensips/compare/a14c74f605c4...4ac1ad5a17b9 From noreply at github.com Thu Jan 28 17:24:04 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Jan 2021 09:24:04 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d85d0b: dialog: do not update advertised contacts on dlg u... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d85d0b50ec635d859a33073875d7e5680fda3772 https://github.com/OpenSIPS/opensips/commit/d85d0b50ec635d859a33073875d7e5680fda3772 Author: Razvan Crainea Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: do not update advertised contacts on dlg update When replicating a dialog update, we shall not update the advertised contacts, as we don't have all the needed information. If we do, we break the re-homing scenario that uses different advertises for different instances. Bug introduced in 52e6c42 From noreply at github.com Thu Jan 28 17:24:46 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Jan 2021 09:24:46 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 643008: dialog: do not update advertised contacts on dlg u... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 6430083ad1ec18d6f7f4435f2cfe39de82ff7e30 https://github.com/OpenSIPS/opensips/commit/6430083ad1ec18d6f7f4435f2cfe39de82ff7e30 Author: Razvan Crainea Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: do not update advertised contacts on dlg update When replicating a dialog update, we shall not update the advertised contacts, as we don't have all the needed information. If we do, we break the re-homing scenario that uses different advertises for different instances. Bug introduced in 52e6c42 (cherry picked from commit d85d0b50ec635d859a33073875d7e5680fda3772) From noreply at github.com Thu Jan 28 19:47:25 2021 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 28 Jan 2021 11:47:25 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0147ba: Convert _str() from inline to a macro and make it ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0147baa21072c5b9486a0261df49a89a1c14f16c https://github.com/OpenSIPS/opensips/commit/0147baa21072c5b9486a0261df49a89a1c14f16c Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_handlers.h M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_load.h M modules/dialplan/dialplan.c M str.h Log Message: ----------- Convert _str() from inline to a macro and make it return (const str *), not (str *). This is to limit potential damage from its (mis)use in non-testing modules code by first making its value stored locally at point of use (which should allow compiler to throw it away when used properly) and also provide at least some protection from any function from messing with its fields. Fix any fallout where str * has been passed around. Commit: 2b455a392b7eea9c67c845c990a1cb336af14c34 https://github.com/OpenSIPS/opensips/commit/2b455a392b7eea9c67c845c990a1cb336af14c34 Author: Maksym Sobolyev Date: 2021-01-28 (Thu, 28 Jan 2021) Changed paths: M modules/rtpproxy/rtpproxy_vcmd.h Log Message: ----------- Set .iov_base = NULL for cookie and terminator when initializing on stack. This is to silence compiler warnings on Centos 7. Compare: https://github.com/OpenSIPS/opensips/compare/d85d0b50ec63...2b455a392b7e From noreply at github.com Fri Jan 29 06:38:07 2021 From: noreply at github.com (Liviu Chircu) Date: Thu, 28 Jan 2021 22:38:07 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a764ea: drouting: Tolerate a NULL dr_rules.gwlist Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a764ea3e6827b17b8125afb58fa9beabd627022b https://github.com/OpenSIPS/opensips/commit/a764ea3e6827b17b8125afb58fa9beabd627022b Author: Liviu Chircu Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M modules/drouting/dr_load.c Log Message: ----------- drouting: Tolerate a NULL dr_rules.gwlist In build_rt_info(), there is a NULL check anyway: if ( dstlst && dstlst[0]!=0 ) { ... so this patch can only do good, by making the code compatible with even more flavours of the `dr_rules` table. From noreply at github.com Fri Jan 29 06:38:20 2021 From: noreply at github.com (Liviu Chircu) Date: Thu, 28 Jan 2021 22:38:20 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b19f6: drouting: Tolerate a NULL dr_rules.gwlist Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 0b19f68e5f99361f3ef05b6be5e281a7a70bf1a5 https://github.com/OpenSIPS/opensips/commit/0b19f68e5f99361f3ef05b6be5e281a7a70bf1a5 Author: Liviu Chircu Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M modules/drouting/dr_load.c Log Message: ----------- drouting: Tolerate a NULL dr_rules.gwlist In build_rt_info(), there is a NULL check anyway: if ( dstlst && dstlst[0]!=0 ) { ... so this patch can only do good, by making the code compatible with even more flavours of the `dr_rules` table. (cherry picked from commit a764ea3e6827b17b8125afb58fa9beabd627022b) From noreply at github.com Fri Jan 29 06:38:29 2021 From: noreply at github.com (Liviu Chircu) Date: Thu, 28 Jan 2021 22:38:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 240b96: drouting: Tolerate a NULL dr_rules.gwlist Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 240b96caae44b548402119d715304ae84e030cc6 https://github.com/OpenSIPS/opensips/commit/240b96caae44b548402119d715304ae84e030cc6 Author: Liviu Chircu Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M modules/drouting/dr_load.c Log Message: ----------- drouting: Tolerate a NULL dr_rules.gwlist In build_rt_info(), there is a NULL check anyway: if ( dstlst && dstlst[0]!=0 ) { ... so this patch can only do good, by making the code compatible with even more flavours of the `dr_rules` table. (cherry picked from commit a764ea3e6827b17b8125afb58fa9beabd627022b) From noreply at github.com Fri Jan 29 11:06:32 2021 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Jan 2021 03:06:32 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2d9b51: drouting: Change `dr_rules.gwlist` to NULL by default Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2d9b5130cf37b41db1923b5c2167cebcb3aeb06c https://github.com/OpenSIPS/opensips/commit/2d9b5130cf37b41db1923b5c2167cebcb3aeb06c Author: Liviu Chircu Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M db/schema/dr_carriers.xml M db/schema/dr_rules.xml M scripts/dbtext/opensips/dr_rules M scripts/mysql/drouting-create.sql M scripts/postgres/drouting-create.sql M scripts/sqlite/drouting-create.sql Log Message: ----------- drouting: Change `dr_rules.gwlist` to NULL by default From alain.bieuzent at free.fr Fri Jan 29 13:47:01 2021 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Fri, 29 Jan 2021 14:47:01 +0100 Subject: [OpenSIPS-Devel] not enough free pkg memory In-Reply-To: <2ed6d3db-a347-4f68-efde-ebcada0590f7@opensips.org> References: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> <2ed6d3db-a347-4f68-efde-ebcada0590f7@opensips.org> Message-ID: <021129D0-C91C-4FF3-A718-75533E4757B2@free.fr> I Liviu and thanks for the fast reply, However, we don’t use t_on_branch on our script, install the nightly packages, can you still help? Thanks De : Devel au nom de Liviu Chircu Répondre à : OpenSIPS devel mailling list Date : jeudi 28 janvier 2021 à 14:22 À : OpenSIPS devel mailling list Objet : Re: [OpenSIPS-Devel] not enough free pkg memory On 28.01.2021 15:12, Alain Bieuzent wrote: Since we migrate from opensips 3,0 to the latest 3.1, after around 1 week of uptime we find a a certain number of message in logs (around 15,000 per day) like « ERROR:core:fm_malloc: not enough free pkg memory (11184320 bytes left, need 536), please increase the "-M" command line parameter! » We already increased P_MEMORY (from 16 to 32 then 32 to 128) but it didn’t help. root at lbsip-owf-out02 /var/log opensips -V version: opensips 3.1.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 229ec0793 main.c compiled on 17:41:56 Jan 4 2021 with gcc 6.3.0 Hi, There was a significant PKG memory leak fixed on Jan 11th [1], which was related to t_on_branch(). If you are using t_on_branch() in your opensips.cfg, please get the latest 3.1.1 sources, rebuild and your problems should go away. For this, I suggest either: * installing the 3.1 nightly packages * fetching the 3.1 sources and rebuilding * wait for the 3.1.2 minor release [1]: https://github.com/OpenSIPS/opensips/commit/c82a625e Cheers, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com _______________________________________________ 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: From liviu at opensips.org Fri Jan 29 15:56:03 2021 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 29 Jan 2021 17:56:03 +0200 Subject: [OpenSIPS-Devel] not enough free pkg memory In-Reply-To: <021129D0-C91C-4FF3-A718-75533E4757B2@free.fr> References: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> <2ed6d3db-a347-4f68-efde-ebcada0590f7@opensips.org> <021129D0-C91C-4FF3-A718-75533E4757B2@free.fr> Message-ID: <1150bd31-5dee-6ea8-8ffd-a9c8f67a080e@opensips.org> On 29.01.2021 15:47, Alain Bieuzent wrote: > > However, we don’t use t_on_branch on our script, install the nightly > packages, can you still help? > > Thanks > Thankfully, you are using 3.1 and the debugging should be much easier.  Please make sure to have: * the "-a Q_MALLOC_DBG" command-line option for the "opensips" binary.  This will activate the debugging allocator, which may increase PKG + SHM memory usage by 30%, so make sure to give it plenty. * the global setting "memdump = -1" in your opensips.cfg file Once ready, restart it, so it starts accumulating debugging data. Once you think enough time has passed, you can do "opensips-cli -x mi mem_pkg_dump " and then provide the output from your opensips.log file.  The process you choose will dump its PKG memory pool. Regards, -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From liviu at opensips.org Fri Jan 29 15:57:03 2021 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 29 Jan 2021 17:57:03 +0200 Subject: [OpenSIPS-Devel] not enough free pkg memory In-Reply-To: <1150bd31-5dee-6ea8-8ffd-a9c8f67a080e@opensips.org> References: <4726C723-436D-4D45-8704-85FA4B72EFB8@free.fr> <342D82DE-6CB5-4838-BBF6-54987F846E32@free.fr> <2ed6d3db-a347-4f68-efde-ebcada0590f7@opensips.org> <021129D0-C91C-4FF3-A718-75533E4757B2@free.fr> <1150bd31-5dee-6ea8-8ffd-a9c8f67a080e@opensips.org> Message-ID: <2fc5801d-aa3b-2e09-3084-4a0b42970a1a@opensips.org> On 29.01.2021 17:56, Liviu Chircu wrote: > The process you choose will dump its PKG memory pool. Small correction here:  it will not dump the entire memory pool... just some very useful statistics about its structure, including who the culprit of the memory leak may be! -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com From noreply at github.com Fri Jan 29 17:48:13 2021 From: noreply at github.com (Maksym Sobolyev) Date: Fri, 29 Jan 2021 09:48:13 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ce8b99: Extend str_match() and str_casematch() APIs to wor... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ce8b994d160ef1b64c86fa9471c4ddad35a245d2 https://github.com/OpenSIPS/opensips/commit/ce8b994d160ef1b64c86fa9471c4ddad35a245d2 Author: Maksym Sobolyev Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M lib/str2const.h M ut.h Log Message: ----------- Extend str_match() and str_casematch() APIs to work on any combination of str and str_const's. Commit: fc22e1784c52efd662949b7d965ba1aae9d55f8c https://github.com/OpenSIPS/opensips/commit/fc22e1784c52efd662949b7d965ba1aae9d55f8c Author: Maksym Sobolyev Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M lib/reg/pn.c M lib/test/test_csv.c M modules/dialplan/dialplan.c M modules/dialplan/dp_db.c M modules/fraud_detection/frd_load.c M parser/parse_uri.h M parser/test/test_parse_fcaps.c M parser/test/test_parser.c Log Message: ----------- Use const_str() not _str() when generating point of use literals to be used in str_match() / str_casematch(). As discussed with @liviuchircu here https://github.com/OpenSIPS/opensips/commit/0147baa21072c5b9#commitcomment-46519279 it saves us some code size and also should have at least some positive performance effect by not saving 2 values into memory that nobody reads. Compare: https://github.com/OpenSIPS/opensips/compare/2d9b5130cf37...fc22e1784c52 From noreply at github.com Fri Jan 29 18:06:53 2021 From: noreply at github.com (Maksym Sobolyev) Date: Fri, 29 Jan 2021 10:06:53 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e26ac7: Switch get_stat() and __get_stat() to take const s... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e26ac7d928a306b9fd18745168b3cdfd71703e52 https://github.com/OpenSIPS/opensips/commit/e26ac7d928a306b9fd18745168b3cdfd71703e52 Author: Maksym Sobolyev Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M statistics.c M statistics.h Log Message: ----------- Switch get_stat() and __get_stat() to take const str *, not str *. Commit: a7b591a609d200849df925359bb94f4c21db63f9 https://github.com/OpenSIPS/opensips/commit/a7b591a609d200849df925359bb94f4c21db63f9 Author: Maksym Sobolyev Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M parser/test/test_parse_fcaps.c Log Message: ----------- Fix small fallout (in tests) from the 0147baa210 - make str *hdr const. Compare: https://github.com/OpenSIPS/opensips/compare/fc22e1784c52...a7b591a609d2 From noreply at github.com Fri Jan 29 21:02:51 2021 From: noreply at github.com (Maksym Sobolyev) Date: Fri, 29 Jan 2021 13:02:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c68420: Make 3rd arguments of the reg_lookup() API const s... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c6842064ba0ba9f04517e9b55cd6f3fd15c0cec4 https://github.com/OpenSIPS/opensips/commit/c6842064ba0ba9f04517e9b55cd6f3fd15c0cec4 Author: Maksym Sobolyev Date: 2021-01-29 (Fri, 29 Jan 2021) Changed paths: M lib/reg/lookup.c M lib/reg/lookup.h M modules/registrar/lookup.c M modules/registrar/lookup.h Log Message: ----------- Make 3rd arguments of the reg_lookup() API const str *, not just str *. Another small fallout of the 0147baa210. Reported by: @liviuchircu From noreply at github.com Sat Jan 30 21:43:09 2021 From: noreply at github.com (opensips-github) Date: Sat, 30 Jan 2021 13:43:09 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a3bed1: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a3bed18b430655b689376aa40452dfc4896e7752 https://github.com/OpenSIPS/opensips/commit/a3bed18b430655b689376aa40452dfc4896e7752 Author: OpenSIPS Date: 2021-01-30 (Sat, 30 Jan 2021) Changed paths: M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 30 22:02:35 2021 From: noreply at github.com (opensips-github) Date: Sat, 30 Jan 2021 14:02:35 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4033d0: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4033d0056f6b737e1c8d4292f044df5ab744953c https://github.com/OpenSIPS/opensips/commit/4033d0056f6b737e1c8d4292f044df5ab744953c Author: OpenSIPS Date: 2021-01-30 (Sat, 30 Jan 2021) Changed paths: M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 30 22:21:02 2021 From: noreply at github.com (opensips-github) Date: Sat, 30 Jan 2021 14:21:02 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01d8e8: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 01d8e8002e06658e93253e670d7693a81c406465 https://github.com/OpenSIPS/opensips/commit/01d8e8002e06658e93253e670d7693a81c406465 Author: OpenSIPS Date: 2021-01-30 (Sat, 30 Jan 2021) Changed paths: M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Jan 30 22:38:52 2021 From: noreply at github.com (opensips-github) Date: Sat, 30 Jan 2021 14:38:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa1763: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: aa1763c0baf9dc21f3da240cf3c875555cc09dbb https://github.com/OpenSIPS/opensips/commit/aa1763c0baf9dc21f3da240cf3c875555cc09dbb Author: OpenSIPS Date: 2021-01-31 (Sun, 31 Jan 2021) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_logic_xml/README M modules/b2b_logic_xml/doc/contributors.xml M modules/cachedb_local/README M modules/cachedb_local/doc/contributors.xml M modules/call_center/README M modules/call_center/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dialplan/README M modules/dialplan/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/mathops/README M modules/mathops/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/permissions/README M modules/permissions/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/presence_callinfo/README M modules/presence_callinfo/doc/contributors.xml M modules/presence_dfks/README M modules/presence_dfks/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/rate_cacher/README M modules/rate_cacher/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/topology_hiding/README M modules/topology_hiding/doc/contributors.xml M modules/uac_auth/README M modules/uac_auth/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Jan 31 10:20:24 2021 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 31 Jan 2021 02:20:24 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] be76c4: Makefile.defs: avoid creating stdin.o Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: be76c413d436f082907f3b8d90fb75351edc075b https://github.com/OpenSIPS/opensips/commit/be76c413d436f082907f3b8d90fb75351edc075b Author: Razvan Crainea Date: 2021-01-31 (Sun, 31 Jan 2021) Changed paths: M Makefile.defs Log Message: ----------- Makefile.defs: avoid creating stdin.o Use the generic `-` stdin read for platforms that do not expose `/dev/stdin`. Completes commit 5af4f120 From alain.bieuzent at free.fr Thu Jan 28 08:43:44 2021 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Thu, 28 Jan 2021 08:43:44 -0000 Subject: [OpenSIPS-Devel] not enough free pkg memory Message-ID: <231FD58A-B911-48DC-9739-9F7B3019CAFE@free.fr> Hi All, Since we migrate from opensips 3,0 to the latest 3.1, after around 1 week of uptime we find a a certain number of message in logs (around 15,000 per day) like « ERROR:core:fm_malloc: not enough free pkg memory (11184320 bytes left, need 536), please increase the "-M" command line parameter! » We already increased P_MEMORY (from 16 to 32 then 32 to 128) but it didn’t help. root at lbsip-owf-out02  /var/log  opensips -V version: opensips 3.1.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 229ec0793 main.c compiled on 17:41:56 Jan  4 2021 with gcc 6.3.0 root at lbsip-owf-out02  /var/log  cat /etc/default/opensips RUN_OPENSIPS=yes USER=opensips GROUP=opensips S_MEMORY=3072 P_MEMORY=128 DUMP_CORE=yes OPTIONS="-a Q_MALLOC_DBG" I followed the following guide to activate the memory dump : https://opensips.org/Documentation/TroubleShooting-OutOfMem As I am unable to analyze the memory dump myself, here it is as an attachment (when the proxy stops) Tell me if you need more information’s ? Many thanks Alain -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: memory_dump.log.zip Type: application/zip Size: 14198 bytes Desc: not available URL: