From noreply at github.com Wed Mar 1 15:10:32 2023 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 01 Mar 2023 07:10:32 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0309b8: Also recognize __ARM_ARCH_7A__ as armv7, this is n... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0309b835dbb8c65474392d8ceb86e2e079a2a7a8 https://github.com/OpenSIPS/opensips/commit/0309b835dbb8c65474392d8ceb86e2e079a2a7a8 Author: Maksym Sobolyev Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M Makefile.defs Log Message: ----------- Also recognize __ARM_ARCH_7A__ as armv7, this is needed to build on latest ubuntu-22. Commit: 7f2bf4ff860e240c6327a07cc7c1d4693aefef1a https://github.com/OpenSIPS/opensips/commit/7f2bf4ff860e240c6327a07cc7c1d4693aefef1a Author: Maksym Sobolyev Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M mem/hp_malloc.c M mem/shm_mem.h Log Message: ----------- Make sure shm_hash_usage matches prototype. Commit: caca09a08d11cfac350a30036432d7c06a7966fb https://github.com/OpenSIPS/opensips/commit/caca09a08d11cfac350a30036432d7c06a7966fb Author: Maksym Sobolyev Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M fastlock.h Log Message: ----------- Fix issue running assembler on ARMv7: /tmp/ccSM4dht.s: Assembler messages: /tmp/ccSM4dht.s:175: Error: thumb conditional instruction should be in IT block -- `strexeq r3,r1,[r2]' Commit: 69cc74db37b71f205b1dd9897653ffc68a4f7e44 https://github.com/OpenSIPS/opensips/commit/69cc74db37b71f205b1dd9897653ffc68a4f7e44 Author: Maksym Sobolyev Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M modules/db_postgres/pg_con.c M modules/drouting/drouting.c M modules/httpd/httpd_proc.c M modules/mmgeoip/geoip2.c M modules/qrouting/qrouting.c Log Message: ----------- Fix type mismatch (int vs long) on 32-bit arches. Commit: 05a069f412a8db703a8222f235f45745438df4e1 https://github.com/OpenSIPS/opensips/commit/05a069f412a8db703a8222f235f45745438df4e1 Author: Maksym Sobolyev Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M .github/workflows/main.yml A .github/workflows/multiarch.yml M .github/workflows/unittests.yml M .travis.yml M scripts/build/build.conf.sub M scripts/build/do_build.sh A scripts/build/dockerize.sub M scripts/build/install_depends.sh A scripts/build/start_container.sh Log Message: ----------- Run arm64, arm32, i386 (32-bit) and mips builds in a containers. Move everything to run using ubuntu-22.04. Add qemu-based builds allowing to build the whole set of modules and move all cross-builds into a separate workflow for clarity and faster turn-around time on basic builds. Compare: https://github.com/OpenSIPS/opensips/compare/22ebcb926763...05a069f412a8 From noreply at github.com Wed Mar 1 20:54:55 2023 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 01 Mar 2023 12:54:55 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc9124: Update badges to include all active workflows, rem... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cc91247edd42b41213961c6888182548899f63dc https://github.com/OpenSIPS/opensips/commit/cc91247edd42b41213961c6888182548899f63dc Author: Maksym Sobolyev Date: 2023-03-01 (Wed, 01 Mar 2023) Changed paths: M README.md Log Message: ----------- Update badges to include all active workflows, remove defunct Travis.CI badge. Commit: c4a6e3fb5a464c2746d1fd24a4a569c1f3fa6774 https://github.com/OpenSIPS/opensips/commit/c4a6e3fb5a464c2746d1fd24a4a569c1f3fa6774 Author: Maksym Sobolyev Date: 2023-03-01 (Wed, 01 Mar 2023) Changed paths: M scripts/build/dockerize.sub M scripts/build/start_container.sh Log Message: ----------- Use the same working directory for builds in container as we do for normal case. Commit: 4e36f5b3d7a184f73ed2bbf1ad1c9ff5b67a08c2 https://github.com/OpenSIPS/opensips/commit/4e36f5b3d7a184f73ed2bbf1ad1c9ff5b67a08c2 Author: Maksym Sobolyev Date: 2023-03-01 (Wed, 01 Mar 2023) Changed paths: M .github/workflows/multiarch.yml M scripts/build/build.conf.sub Log Message: ----------- Use ccache to speed-up multi-architecture builds. Commit: 6faf77bbac4c47b405b85fd0077f448a64769af1 https://github.com/OpenSIPS/opensips/commit/6faf77bbac4c47b405b85fd0077f448a64769af1 Author: Maksym Sobolyev Date: 2023-03-01 (Wed, 01 Mar 2023) Changed paths: M .github/workflows/unittests.yml A scripts/build/build_libtap.sh A scripts/build/build_test_harness.sh Log Message: ----------- Move logic to build test harness into a separate scripts. Compare: https://github.com/OpenSIPS/opensips/compare/05a069f412a8...6faf77bbac4c From noreply at github.com Sat Mar 4 02:31:28 2023 From: noreply at github.com (Maksym Sobolyev) Date: Fri, 03 Mar 2023 18:31:28 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5f17c1: Also run unit tests on foreign arches using qemu. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5f17c118d52d99700296ec79371ed367e0fb0d00 https://github.com/OpenSIPS/opensips/commit/5f17c118d52d99700296ec79371ed367e0fb0d00 Author: Maksym Sobolyev Date: 2023-03-03 (Fri, 03 Mar 2023) Changed paths: M .github/workflows/multiarch.yml M .github/workflows/unittests.yml M scripts/build/build_libtap.sh M scripts/build/build_test_harness.sh M scripts/build/dockerize.sub A scripts/build/print_ccache_stats.sh A scripts/build/zero_ccache_stats.sh Log Message: ----------- Also run unit tests on foreign arches using qemu. Limit cache size to 100MB per variant. Display ccache stats for every build it's been used with. From noreply at github.com Sat Mar 4 21:58:25 2023 From: noreply at github.com (opensips-github) Date: Sat, 04 Mar 2023 13:58:25 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 163a6a: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 163a6a8f415ed58117170fbb3810c48626bacc8c https://github.com/OpenSIPS/opensips/commit/163a6a8f415ed58117170fbb3810c48626bacc8c Author: OpenSIPS Date: 2023-03-04 (Sat, 04 Mar 2023) Changed paths: M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 4 22:25:59 2023 From: noreply at github.com (opensips-github) Date: Sat, 04 Mar 2023 14:25:59 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] adc5c8: Rebuild documentation Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: adc5c85c715a46c724a3550ca8323465b340d530 https://github.com/OpenSIPS/opensips/commit/adc5c85c715a46c724a3550ca8323465b340d530 Author: OpenSIPS Date: 2023-03-05 (Sun, 05 Mar 2023) Changed paths: M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 4 22:52:44 2023 From: noreply at github.com (opensips-github) Date: Sat, 04 Mar 2023 14:52:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 74e2e1: Rebuild documentation Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 74e2e144c2eeab5b434d762856aa21c157bb7b8e https://github.com/OpenSIPS/opensips/commit/74e2e144c2eeab5b434d762856aa21c157bb7b8e Author: OpenSIPS Date: 2023-03-05 (Sun, 05 Mar 2023) Changed paths: M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 4 23:23:59 2023 From: noreply at github.com (opensips-github) Date: Sat, 04 Mar 2023 15:23:59 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 931af6: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 931af6672c1d4ea50135e9c3486dbfe43eb4a6c1 https://github.com/OpenSIPS/opensips/commit/931af6672c1d4ea50135e9c3486dbfe43eb4a6c1 Author: OpenSIPS Date: 2023-03-05 (Sun, 05 Mar 2023) Changed paths: M modules/httpd/README M modules/httpd/doc/contributors.xml M modules/mmgeoip/README M modules/mmgeoip/doc/contributors.xml M modules/qrouting/README M modules/qrouting/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Mar 6 08:50:08 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 06 Mar 2023 00:50:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e8815: b2b_entities: add an UAC/UAS API via script/MI fun... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1e881579b2491fc4d06b24fb5c642ba21d927e75 https://github.com/OpenSIPS/opensips/commit/1e881579b2491fc4d06b24fb5c642ba21d927e75 Author: Vlad Patrascu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M mi/mi.h M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2b_entities.h M modules/b2b_entities/b2be_clustering.c M modules/b2b_entities/b2be_db.c M modules/b2b_entities/client.c M modules/b2b_entities/client.h M modules/b2b_entities/dlg.c M modules/b2b_entities/dlg.h M modules/b2b_entities/doc/b2b_entities_admin.xml M modules/b2b_entities/server.c M modules/b2b_entities/server.h A modules/b2b_entities/ua_api.c A modules/b2b_entities/ua_api.h Log Message: ----------- b2b_entities: add an UAC/UAS API via script/MI functions and events Add ability to directly start or accept sessions as a UAC/UAS from script or MI, independently of any controlling "b2b" logic. From noreply at github.com Mon Mar 6 09:00:45 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 06 Mar 2023 01:00:45 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3b5773: clusterer docs: fix module parameter name Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3b577388089f405dc633bfc3184ce0fcab3f21a5 https://github.com/OpenSIPS/opensips/commit/3b577388089f405dc633bfc3184ce0fcab3f21a5 Author: Vlad Patrascu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer docs: fix module parameter name From noreply at github.com Mon Mar 6 11:07:33 2023 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 Mar 2023 03:07:33 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 532d8e: rest_client: Improve async() handling in "delayed ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 532d8e83726f96f8e8d2c493a1e7cb0f54615869 https://github.com/OpenSIPS/opensips/commit/532d8e83726f96f8e8d2c493a1e7cb0f54615869 Author: Liviu Chircu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Improve async() handling in "delayed 200 OK" scenarios In case the 200 OK reply or its body take several seconds to arrive, do not break the loop prematurely due to a 500ms hardcoded loop timeout and re-use the configurable "curl_timeout" modparam as loop timeout instead. From noreply at github.com Mon Mar 6 20:15:26 2023 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 Mar 2023 12:15:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89080a: rest_client: Improve async() handling in "delayed ... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 89080a3ea8696f6dfde633d13083a0917f15feb2 https://github.com/OpenSIPS/opensips/commit/89080a3ea8696f6dfde633d13083a0917f15feb2 Author: Liviu Chircu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Improve async() handling in "delayed 200 OK" scenarios In case the 200 OK reply or its body take several seconds to arrive, do not break the loop prematurely due to a 500ms hardcoded loop timeout and re-use the configurable "curl_timeout" modparam as loop timeout instead. (cherry picked from commit 532d8e83726f96f8e8d2c493a1e7cb0f54615869) From noreply at github.com Mon Mar 6 20:15:28 2023 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 Mar 2023 12:15:28 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec96e8: rest_client: Improve async() handling in "delayed ... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: ec96e8e1a89200fdba630a5849c40f478b4806e7 https://github.com/OpenSIPS/opensips/commit/ec96e8e1a89200fdba630a5849c40f478b4806e7 Author: Liviu Chircu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Improve async() handling in "delayed 200 OK" scenarios In case the 200 OK reply or its body take several seconds to arrive, do not break the loop prematurely due to a 500ms hardcoded loop timeout and re-use the configurable "curl_timeout" modparam as loop timeout instead. (cherry picked from commit 532d8e83726f96f8e8d2c493a1e7cb0f54615869) From noreply at github.com Mon Mar 6 20:15:51 2023 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 Mar 2023 12:15:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8342f3: rest_client: Improve async() handling in "delayed ... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 8342f35b80817065ddfb8e1fc7e3042a766eb465 https://github.com/OpenSIPS/opensips/commit/8342f35b80817065ddfb8e1fc7e3042a766eb465 Author: Liviu Chircu Date: 2023-03-06 (Mon, 06 Mar 2023) Changed paths: M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Improve async() handling in "delayed 200 OK" scenarios In case the 200 OK reply or its body take several seconds to arrive, do not break the loop prematurely due to a 500ms hardcoded loop timeout and re-use the configurable "curl_timeout" modparam as loop timeout instead. (cherry picked from commit 532d8e83726f96f8e8d2c493a1e7cb0f54615869) From noreply at github.com Tue Mar 7 08:59:31 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 07 Mar 2023 00:59:31 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc35f7: avpops: document the returned value in case of NULL Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fc35f7308efd6d2623e36adf048911be86b7b749 https://github.com/OpenSIPS/opensips/commit/fc35f7308efd6d2623e36adf048911be86b7b749 Author: Razvan Crainea Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/avpops/doc/avpops_admin.xml Log Message: ----------- avpops: document the returned value in case of NULL Due to the fact that an AVP cannot contain `NULL` values, we cannot store `NULL` database values in AVPs. Hence, we store the `` value This commit simply documents the behavior, as reported in #3027 From noreply at github.com Tue Mar 7 08:59:46 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 07 Mar 2023 00:59:46 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d2b911: avpops: document the returned value in case of NULL Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: d2b911ff53cc226ec657e3f73f1ff3727c1542fe https://github.com/OpenSIPS/opensips/commit/d2b911ff53cc226ec657e3f73f1ff3727c1542fe Author: Razvan Crainea Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/avpops/doc/avpops_admin.xml Log Message: ----------- avpops: document the returned value in case of NULL Due to the fact that an AVP cannot contain `NULL` values, we cannot store `NULL` database values in AVPs. Hence, we store the `` value This commit simply documents the behavior, as reported in #3027 (cherry picked from commit fc35f7308efd6d2623e36adf048911be86b7b749) From noreply at github.com Tue Mar 7 08:59:58 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 07 Mar 2023 00:59:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 912530: avpops: document the returned value in case of NULL Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 912530b5abb13f1d011c280f4fe4f7d9f398f9a2 https://github.com/OpenSIPS/opensips/commit/912530b5abb13f1d011c280f4fe4f7d9f398f9a2 Author: Razvan Crainea Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/avpops/doc/avpops_admin.xml Log Message: ----------- avpops: document the returned value in case of NULL Due to the fact that an AVP cannot contain `NULL` values, we cannot store `NULL` database values in AVPs. Hence, we store the `` value This commit simply documents the behavior, as reported in #3027 (cherry picked from commit fc35f7308efd6d2623e36adf048911be86b7b749) From noreply at github.com Tue Mar 7 09:00:10 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 07 Mar 2023 01:00:10 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91592b: avpops: document the returned value in case of NULL Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 91592bba706c2cb7fcf26a111f066216e4d25997 https://github.com/OpenSIPS/opensips/commit/91592bba706c2cb7fcf26a111f066216e4d25997 Author: Razvan Crainea Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/avpops/doc/avpops_admin.xml Log Message: ----------- avpops: document the returned value in case of NULL Due to the fact that an AVP cannot contain `NULL` values, we cannot store `NULL` database values in AVPs. Hence, we store the `` value This commit simply documents the behavior, as reported in #3027 (cherry picked from commit fc35f7308efd6d2623e36adf048911be86b7b749) From noreply at github.com Tue Mar 7 14:29:29 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 07 Mar 2023 06:29:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9999d3: tls_wolfssl: fix regression in commit 77f5f5a Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9999d313733d0731941374526e8a2db030819c38 https://github.com/OpenSIPS/opensips/commit/9999d313733d0731941374526e8a2db030819c38 Author: Vlad Patrascu Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/tls_wolfssl/wolfssl_config.c Log Message: ----------- tls_wolfssl: fix regression in commit 77f5f5a The wolfSSL_CTX_load_verify_locations_ex() function would still return an error when no valid CA certificate was found in the directory. Since before commit 77f5f5a, opensips startup would not fail when wolfSSL_CTX_load_verify_locations_ex() would return an error, the change in the above commit would constitute a regression for cases where no valid certificate is found in the directory. This commit brings the wolfssl behavior further in line with openssl. From noreply at github.com Tue Mar 7 14:30:00 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 07 Mar 2023 06:30:00 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52ce2f: tls_wolfssl: fix regression in commit 77f5f5a Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 52ce2ff08d1ff2983916b674467153811803e9e0 https://github.com/OpenSIPS/opensips/commit/52ce2ff08d1ff2983916b674467153811803e9e0 Author: Vlad Patrascu Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/tls_wolfssl/wolfssl_config.c Log Message: ----------- tls_wolfssl: fix regression in commit 77f5f5a The wolfSSL_CTX_load_verify_locations_ex() function would still return an error when no valid CA certificate was found in the directory. Since before commit 77f5f5a, opensips startup would not fail when wolfSSL_CTX_load_verify_locations_ex() would return an error, the change in the above commit would constitute a regression for cases where no valid certificate is found in the directory. This commit brings the wolfssl behavior further in line with openssl. (cherry picked from commit 9999d313733d0731941374526e8a2db030819c38) From noreply at github.com Tue Mar 7 14:30:46 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 07 Mar 2023 06:30:46 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3f61bb: tls_wolfssl: fix regression in commit 77f5f5a Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 3f61bbe09ac0fe699900e7c7ef1e7606eb7c6211 https://github.com/OpenSIPS/opensips/commit/3f61bbe09ac0fe699900e7c7ef1e7606eb7c6211 Author: Vlad Patrascu Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M modules/tls_wolfssl/wolfssl_config.c Log Message: ----------- tls_wolfssl: fix regression in commit 77f5f5a The wolfSSL_CTX_load_verify_locations_ex() function would still return an error when no valid CA certificate was found in the directory. Since before commit 77f5f5a, opensips startup would not fail when wolfSSL_CTX_load_verify_locations_ex() would return an error, the change in the above commit would constitute a regression for cases where no valid certificate is found in the directory. This commit brings the wolfssl behavior further in line with openssl. (cherry picked from commit 9999d313733d0731941374526e8a2db030819c38) From noreply at github.com Tue Mar 7 19:04:37 2023 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 07 Mar 2023 11:04:37 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a0b31: Fix what seems to be a typo, calling sockaddru_len... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3a0b316a11a5328d943709216f8a3494ddb94c90 https://github.com/OpenSIPS/opensips/commit/3a0b316a11a5328d943709216f8a3494ddb94c90 Author: Maksym Sobolyev Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M net/net_tcp.c Log Message: ----------- Fix what seems to be a typo, calling sockaddru_len() on unitialized local structure is likely to produce bogus result causing getsockname() to fail silently and produce no useable address. This error has been masked on Linux, since Linux has no sa_len structure and the sockaddru_len() in that case defaults to sizeof(struct sockaddr_in) unless local_su happens to have s.sa_family==AF_INET6. This however means that IPv6 has been somewhat broken for TCP & TLS. Commit: addfa631ce80b18b0cbef004f3aaab9c70dfba11 https://github.com/OpenSIPS/opensips/commit/addfa631ce80b18b0cbef004f3aaab9c70dfba11 Author: Maksym Sobolyev Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M .github/workflows/main.yml Log Message: ----------- Bye ubuntu-18.04. Compare: https://github.com/OpenSIPS/opensips/compare/9999d313733d...addfa631ce80 From noreply at github.com Tue Mar 7 21:52:11 2023 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 07 Mar 2023 13:52:11 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 144bb6: Fix what seems to be a typo, calling sockaddru_len... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 144bb67519155c4b24562a2373e5d314356a1bd2 https://github.com/OpenSIPS/opensips/commit/144bb67519155c4b24562a2373e5d314356a1bd2 Author: Maksym Sobolyev Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M net/net_tcp.c Log Message: ----------- Fix what seems to be a typo, calling sockaddru_len() on unitialized local structure is likely to produce bogus result causing getsockname() to fail silently and produce no useable address. This error has been masked on Linux, since Linux has no sa_len structure and the sockaddru_len() in that case defaults to sizeof(struct sockaddr_in) unless local_su happens to have s.sa_family==AF_INET6. This however means that IPv6 has been somewhat broken for TCP & TLS. From noreply at github.com Tue Mar 7 21:52:42 2023 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 07 Mar 2023 13:52:42 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ee0467: Fix what seems to be a typo, calling sockaddru_len... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: ee0467ef6e943e44e044f4b5a0593200fdc40db5 https://github.com/OpenSIPS/opensips/commit/ee0467ef6e943e44e044f4b5a0593200fdc40db5 Author: Maksym Sobolyev Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M net/net_tcp.c Log Message: ----------- Fix what seems to be a typo, calling sockaddru_len() on unitialized local structure is likely to produce bogus result causing getsockname() to fail silently and produce no useable address. This error has been masked on Linux, since Linux has no sa_len structure and the sockaddru_len() in that case defaults to sizeof(struct sockaddr_in) unless local_su happens to have s.sa_family==AF_INET6. This however means that IPv6 has been somewhat broken for TCP & TLS. From noreply at github.com Tue Mar 7 21:53:05 2023 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 07 Mar 2023 13:53:05 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a289e4: Fix what seems to be a typo, calling sockaddru_len... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: a289e491af5055e4da0b68473ea495c3797b2c11 https://github.com/OpenSIPS/opensips/commit/a289e491af5055e4da0b68473ea495c3797b2c11 Author: Maksym Sobolyev Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M net/net_tcp.c Log Message: ----------- Fix what seems to be a typo, calling sockaddru_len() on unitialized local structure is likely to produce bogus result causing getsockname() to fail silently and produce no useable address. This error has been masked on Linux, since Linux has no sa_len structure and the sockaddru_len() in that case defaults to sizeof(struct sockaddr_in) unless local_su happens to have s.sa_family==AF_INET6. This however means that IPv6 has been somewhat broken for TCP & TLS. From noreply at github.com Wed Mar 8 16:34:34 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 Mar 2023 08:34:34 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f50ab6: clusterer docs: fix module parameter name Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: f50ab6b57d7443ce8f48de15ea09f143aa4fc5c6 https://github.com/OpenSIPS/opensips/commit/f50ab6b57d7443ce8f48de15ea09f143aa4fc5c6 Author: Vlad Patrascu Date: 2023-03-08 (Wed, 08 Mar 2023) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer docs: fix module parameter name (cherry picked from commit 3b577388089f405dc633bfc3184ce0fcab3f21a5) From noreply at github.com Wed Mar 8 16:35:57 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 Mar 2023 08:35:57 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e9cc77: clusterer docs: fix module parameter name Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: e9cc77282203a767f5020a18f9f2cdbd2c51bfe9 https://github.com/OpenSIPS/opensips/commit/e9cc77282203a767f5020a18f9f2cdbd2c51bfe9 Author: Vlad Patrascu Date: 2023-03-08 (Wed, 08 Mar 2023) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer docs: fix module parameter name (cherry picked from commit 3b577388089f405dc633bfc3184ce0fcab3f21a5) From noreply at github.com Thu Mar 9 10:12:20 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 09 Mar 2023 02:12:20 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd8bc5: clusterer docs: fix module parameter name Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: fd8bc5b006d8facdeb31780f4df5f17730ac919a https://github.com/OpenSIPS/opensips/commit/fd8bc5b006d8facdeb31780f4df5f17730ac919a Author: Vlad Patrascu Date: 2023-03-08 (Wed, 08 Mar 2023) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer docs: fix module parameter name (cherry picked from commit 3b577388089f405dc633bfc3184ce0fcab3f21a5) From bogdan at opensips.org Thu Mar 9 15:47:46 2023 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 9 Mar 2023 17:47:46 +0200 Subject: [OpenSIPS-Devel] OpenSIPS Control Panel 9.3.3 released featuring dashboard Message-ID: <8fb757bc-6076-d55c-5bbd-05ad98f4f99c@opensips.org> The OpenSIPS Control Panel 9.3.3 is the corresponding version for OpenSIPs 3.3.x . Besides the compatibility (to OpenSIPS 3.3) work, the OCP 9.3.3 features some new really cool tools: * dashboard support, with multiple panels with custom widget sets     http://controlpanel.opensips.org/htmldoc_9_X_X/dashboard.html * status/report tool to fetch reports from OpenSIPS http://controlpanel.opensips.org/htmldoc_9_X_X/status_report.html * keepalived tool to monitor and manage keepalive     http://controlpanel.opensips.org/htmldoc_9_X_X/keepalived.html Enjoy it, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2023, Houston, US https://www.opensips.org/events/Summit-2023Houston/ From noreply at github.com Fri Mar 10 12:08:00 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 10 Mar 2023 04:08:00 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bfb622: Fix race in TCP Main <> TCP Worker communication Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bfb62212ea4b4895b3174653b11d33e7ecb92751 https://github.com/OpenSIPS/opensips/commit/bfb62212ea4b4895b3174653b11d33e7ecb92751 Author: Bogdan-Andrei Iancu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Fix race in TCP Main <> TCP Worker communication As a TCP worker has 2 comm channels (one TCP worker specific and one worker generic) to TCP Main, be sure we have a consistent communication (over the 2 channels) between the TCP worker and TCP main. The actual fixed race: the TCP workers creates a new TCP conn (and sends this event as TCP worker to Main) and when trying to write to the conn it fails (and sends back a bad-conn event to Main, but as generic worker) - the 2 events are delivered via different comm channels, so their order may be lost, reasulting to bogus behavior From noreply at github.com Fri Mar 10 12:08:57 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 10 Mar 2023 04:08:57 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 54243f: Fix race in TCP Main <> TCP Worker communication Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 54243fe2a09fdd99b955db830241f289f06c0e1e https://github.com/OpenSIPS/opensips/commit/54243fe2a09fdd99b955db830241f289f06c0e1e Author: Bogdan-Andrei Iancu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Fix race in TCP Main <> TCP Worker communication As a TCP worker has 2 comm channels (one TCP worker specific and one worker generic) to TCP Main, be sure we have a consistent communication (over the 2 channels) between the TCP worker and TCP main. The actual fixed race: the TCP workers creates a new TCP conn (and sends this event as TCP worker to Main) and when trying to write to the conn it fails (and sends back a bad-conn event to Main, but as generic worker) - the 2 events are delivered via different comm channels, so their order may be lost, reasulting to bogus behavior (cherry picked from commit bfb62212ea4b4895b3174653b11d33e7ecb92751) From noreply at github.com Fri Mar 10 12:10:39 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 10 Mar 2023 04:10:39 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b1f580: Fix race in TCP Main <> TCP Worker communication Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: b1f580e4184562ce943ce428660becd1e48238b8 https://github.com/OpenSIPS/opensips/commit/b1f580e4184562ce943ce428660becd1e48238b8 Author: Bogdan-Andrei Iancu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Fix race in TCP Main <> TCP Worker communication As a TCP worker has 2 comm channels (one TCP worker specific and one worker generic) to TCP Main, be sure we have a consistent communication (over the 2 channels) between the TCP worker and TCP main. The actual fixed race: the TCP workers creates a new TCP conn (and sends this event as TCP worker to Main) and when trying to write to the conn it fails (and sends back a bad-conn event to Main, but as generic worker) - the 2 events are delivered via different comm channels, so their order may be lost, reasulting to bogus behavior (cherry picked from commit bfb62212ea4b4895b3174653b11d33e7ecb92751) From noreply at github.com Fri Mar 10 12:12:58 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 10 Mar 2023 04:12:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aaba23: Fix race in TCP Main <> TCP Worker communication Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: aaba2357196f35ecd206becc3364b04d2f2f4fdb https://github.com/OpenSIPS/opensips/commit/aaba2357196f35ecd206becc3364b04d2f2f4fdb Author: Bogdan-Andrei Iancu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Fix race in TCP Main <> TCP Worker communication As a TCP worker has 2 comm channels (one TCP worker specific and one worker generic) to TCP Main, be sure we have a consistent communication (over the 2 channels) between the TCP worker and TCP main. The actual fixed race: the TCP workers creates a new TCP conn (and sends this event as TCP worker to Main) and when trying to write to the conn it fails (and sends back a bad-conn event to Main, but as generic worker) - the 2 events are delivered via different comm channels, so their order may be lost, reasulting to bogus behavior (cherry picked from commit bfb62212ea4b4895b3174653b11d33e7ecb92751) (cherry picked from commit b1f580e4184562ce943ce428660becd1e48238b8) From noreply at github.com Fri Mar 10 19:23:10 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 10 Mar 2023 11:23:10 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 543a40: dialog: support integer type for dialog values Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 543a40c8ff0469195fd9479d04c5ad1f1606a36d https://github.com/OpenSIPS/opensips/commit/543a40c8ff0469195fd9479d04c5ad1f1606a36d Author: Vlad Patrascu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M modules/acc/acc.c M modules/acc/acc_logic.c M modules/callops/callops.c M modules/cgrates/cgrates_acc.c M modules/dialog/dialog.c M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c M modules/dialog/dlg_vals.c M modules/dialog/dlg_vals.h M modules/dialog/doc/dialog_admin.xml M modules/presence_callinfo/sca_dialog.c M modules/pua_dialoginfo/pua_dialoginfo.c M modules/rtp_relay/rtp_relay_ctx.c M modules/rtpproxy/rtpproxy.c M modules/siprec/siprec_sess.c M modules/sngtc/sngtc.c M modules/sst/sst_handlers.c M modules/uac/replace.c Log Message: ----------- dialog: support integer type for dialog values From noreply at github.com Fri Mar 10 19:45:37 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 10 Mar 2023 11:45:37 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56fa71: dialog: fix bad MI printing of dialog values in pr... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 56fa7127ddd88279cf971384500c75a506751387 https://github.com/OpenSIPS/opensips/commit/56fa7127ddd88279cf971384500c75a506751387 Author: Vlad Patrascu Date: 2023-03-10 (Fri, 10 Mar 2023) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: fix bad MI printing of dialog values in previous commit From noreply at github.com Sat Mar 11 21:57:58 2023 From: noreply at github.com (opensips-github) Date: Sat, 11 Mar 2023 13:57:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 43e5df: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 43e5dfb2c8c50149cb222467e1ebd832c15e7717 https://github.com/OpenSIPS/opensips/commit/43e5dfb2c8c50149cb222467e1ebd832c15e7717 Author: OpenSIPS Date: 2023-03-11 (Sat, 11 Mar 2023) Changed paths: M modules/avpops/README M modules/avpops/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 11 22:26:00 2023 From: noreply at github.com (opensips-github) Date: Sat, 11 Mar 2023 14:26:00 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 377c67: Rebuild documentation Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 377c67df05afdd47d60d7572db005c7a778e765b https://github.com/OpenSIPS/opensips/commit/377c67df05afdd47d60d7572db005c7a778e765b Author: OpenSIPS Date: 2023-03-12 (Sun, 12 Mar 2023) Changed paths: M modules/avpops/README M modules/avpops/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/tls_wolfssl/README M modules/tls_wolfssl/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 11 22:52:16 2023 From: noreply at github.com (opensips-github) Date: Sat, 11 Mar 2023 14:52:16 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 968990: Rebuild documentation Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 968990bb74942d58ff438e2e41ce160e7591f1b8 https://github.com/OpenSIPS/opensips/commit/968990bb74942d58ff438e2e41ce160e7591f1b8 Author: OpenSIPS Date: 2023-03-12 (Sun, 12 Mar 2023) Changed paths: M modules/avpops/README M modules/avpops/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/tls_wolfssl/README M modules/tls_wolfssl/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 11 23:24:26 2023 From: noreply at github.com (opensips-github) Date: Sat, 11 Mar 2023 15:24:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e85877: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e85877528a968bc761160c793df1d483c3f3c294 https://github.com/OpenSIPS/opensips/commit/e85877528a968bc761160c793df1d483c3f3c294 Author: OpenSIPS Date: 2023-03-12 (Sun, 12 Mar 2023) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/avpops/README M modules/avpops/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/callops/README M modules/callops/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/presence_callinfo/README M modules/presence_callinfo/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/rtp_relay/README M modules/rtp_relay/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/siprec/README M modules/siprec/doc/contributors.xml M modules/sngtc/README M modules/sngtc/doc/contributors.xml M modules/sst/README M modules/sst/doc/contributors.xml M modules/tls_wolfssl/README M modules/tls_wolfssl/doc/contributors.xml M modules/uac/README M modules/uac/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Tue Mar 14 14:59:29 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 Mar 2023 07:59:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7f8459: event_route: fix crash when raising with no params Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7f845994b1ba43f8ffc0c0bdc6c9b8065a935955 https://github.com/OpenSIPS/opensips/commit/7f845994b1ba43f8ffc0c0bdc6c9b8065a935955 Author: Razvan Crainea Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M modules/event_route/route_send.c Log Message: ----------- event_route: fix crash when raising with no params When raising an event using `raise_event` with AVP values that are not correctly populated, it triggers a corner case in the event_route module: the module "serializes" the parameters just after the event, hence, if there is no expanded parameter, the first parameter ends up pointing to a bogus value, resulting in a crash. This commit fixes this corner case by treating it (0 expanded parameters) just as if there no parameters passed at all. Many thanks to David Escartin from Sonoc for the help in troubleshooting this issue! From noreply at github.com Tue Mar 14 14:59:40 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 Mar 2023 07:59:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f1e37b: event_route: fix crash when raising with no params Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: f1e37b448f9a311435e168ba603b6bfd92a35258 https://github.com/OpenSIPS/opensips/commit/f1e37b448f9a311435e168ba603b6bfd92a35258 Author: Razvan Crainea Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M modules/event_route/route_send.c Log Message: ----------- event_route: fix crash when raising with no params When raising an event using `raise_event` with AVP values that are not correctly populated, it triggers a corner case in the event_route module: the module "serializes" the parameters just after the event, hence, if there is no expanded parameter, the first parameter ends up pointing to a bogus value, resulting in a crash. This commit fixes this corner case by treating it (0 expanded parameters) just as if there no parameters passed at all. Many thanks to David Escartin from Sonoc for the help in troubleshooting this issue! (cherry picked from commit 7f845994b1ba43f8ffc0c0bdc6c9b8065a935955) From noreply at github.com Tue Mar 14 14:59:56 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 Mar 2023 07:59:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d107a: event_route: fix crash when raising with no params Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 3d107a0a88660db7b6585a58344284901a81d704 https://github.com/OpenSIPS/opensips/commit/3d107a0a88660db7b6585a58344284901a81d704 Author: Razvan Crainea Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M modules/event_route/route_send.c Log Message: ----------- event_route: fix crash when raising with no params When raising an event using `raise_event` with AVP values that are not correctly populated, it triggers a corner case in the event_route module: the module "serializes" the parameters just after the event, hence, if there is no expanded parameter, the first parameter ends up pointing to a bogus value, resulting in a crash. This commit fixes this corner case by treating it (0 expanded parameters) just as if there no parameters passed at all. Many thanks to David Escartin from Sonoc for the help in troubleshooting this issue! (cherry picked from commit 7f845994b1ba43f8ffc0c0bdc6c9b8065a935955) From noreply at github.com Tue Mar 14 15:01:11 2023 From: noreply at github.com (=?utf-8?q?R=C4=83zvan_Crainea?=) Date: Tue, 14 Mar 2023 15:01:11 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7bfcc: event_route: fix crash when raising with no params Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c7bfcc2019bc1a0223607218274e0a31fbd207c7 https://github.com/OpenSIPS/opensips/commit/c7bfcc2019bc1a0223607218274e0a31fbd207c7 Author: Razvan Crainea Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M modules/event_route/route_send.c Log Message: ----------- event_route: fix crash when raising with no params When raising an event using `raise_event` with AVP values that are not correctly populated, it triggers a corner case in the event_route module: the module "serializes" the parameters just after the event, hence, if there is no expanded parameter, the first parameter ends up pointing to a bogus value, resulting in a crash. This commit fixes this corner case by treating it (0 expanded parameters) just as if there no parameters passed at all. Many thanks to David Escartin from Sonoc for the help in troubleshooting this issue! (cherry picked from commit 7f845994b1ba43f8ffc0c0bdc6c9b8065a935955) From noreply at github.com Tue Mar 14 21:53:55 2023 From: noreply at github.com (Maksym Sobolyev) Date: Tue, 14 Mar 2023 14:53:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91990d: Use LM_ERR() not LM_CRIT() to report parsing error... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 91990d6c53551897c3d110b87f0fbc5394c2e078 https://github.com/OpenSIPS/opensips/commit/91990d6c53551897c3d110b87f0fbc5394c2e078 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M parser/parse_uri.c M parser/parse_via.c Log Message: ----------- Use LM_ERR() not LM_CRIT() to report parsing errors, like we do in other cases. Commit: 1093122ed45d7d50bcb00abec301cd1f6012f48b https://github.com/OpenSIPS/opensips/commit/1093122ed45d7d50bcb00abec301cd1f6012f48b Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M test/fuzz/fuzz_csv_parser.c M test/fuzz/fuzz_uri_parser.c Log Message: ----------- GC unused local variable, add missing return, fix logic around decider. Commit: bcaacb70ad46840fc59a303667437654dc1483f6 https://github.com/OpenSIPS/opensips/commit/bcaacb70ad46840fc59a303667437654dc1483f6 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M net/net_tcp.c Log Message: ----------- Fix compiler warning: unused variable 'optval' Commit: 1d957112b86285232f3380d865658080080655bb https://github.com/OpenSIPS/opensips/commit/1d957112b86285232f3380d865658080080655bb Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M db/db_ut.h Log Message: ----------- Don't redefine _DEFAULT_SOURCE if it's already set. Commit: e963b4dfc0031788b7c14a839b0af29efbde17e5 https://github.com/OpenSIPS/opensips/commit/e963b4dfc0031788b7c14a839b0af29efbde17e5 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix skip_name() to not generate strings with bogus length. Discovered by OSS-Fuzz. Commit: 758b88f618465517d3b51da3e564470f0d43583e https://github.com/OpenSIPS/opensips/commit/758b88f618465517d3b51da3e564470f0d43583e Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M cmds.h M core_cmds.c M pvar.c M pvar.h Log Message: ----------- Allow fuzzer access into core_cmds and core variables. Commit: 7c0bdc9bde0d0e17b06040dba7763ccb8f769191 https://github.com/OpenSIPS/opensips/commit/7c0bdc9bde0d0e17b06040dba7763ccb8f769191 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: A test/fuzz/fuzz_core_funcs.c M test/fuzz/fuzz_csv_parser.c M test/fuzz/fuzz_msg_parser.c A test/fuzz/fuzz_standalone.h M test/fuzz/fuzz_uri_parser.c M test/fuzz/oss-fuzz-build.sh Log Message: ----------- Fuzz v2: o fuzz built-in variables. o fuzz some simple core functions. o allow to build stand-alone fuzzers useful to debug crashes reported by oss-fuzz; o unify fuzzers initialization; Commit: e1c60a102f5fbbb4585f4fa1263f2f981185e2f1 https://github.com/OpenSIPS/opensips/commit/e1c60a102f5fbbb4585f4fa1263f2f981185e2f1 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix a pkg memory leak: when parsing of the Contact fails, free all associated parameters that have been parsed so far, not just the contact structure itself. Reported by OSS-Fuzz. Commit: 8507f5449677f9018402f78787e11d6a85701570 https://github.com/OpenSIPS/opensips/commit/8507f5449677f9018402f78787e11d6a85701570 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: A test/fuzz/fuzz_core_funcs.dict M test/fuzz/oss-fuzz-build.sh Log Message: ----------- Provide some dictionary to start with. Commit: 1419ee3adefbd17a6bdc5adb2fb92e06bc8b2673 https://github.com/OpenSIPS/opensips/commit/1419ee3adefbd17a6bdc5adb2fb92e06bc8b2673 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M net/trans.c Log Message: ----------- Fix off-by-one error allocating space for protos[]. Reported by OSS-Fuzz. Commit: 4fe657273d21cee41d62c1293be71b70178bec40 https://github.com/OpenSIPS/opensips/commit/4fe657273d21cee41d62c1293be71b70178bec40 Author: Maksym Sobolyev Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M pvar.c Log Message: ----------- Expect that protos[proto].name can be NULL. Compare: https://github.com/OpenSIPS/opensips/compare/7f845994b1ba...4fe657273d21 From bogdan at opensips.org Wed Mar 15 15:09:49 2023 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 15 Mar 2023 17:09:49 +0200 Subject: [OpenSIPS-Devel] OpenSIPS Security Audit - mission accomplished In-Reply-To: <777b90db-bf92-b32f-388a-43aed7088743@opensips.org> References: <777b90db-bf92-b32f-388a-43aed7088743@opensips.org> Message-ID: <0aee32e5-5ac5-b0c5-7b53-a1ce253da6d7@opensips.org> The +1 year update. I hope you all had the time to upgrade and get safer with your opensips installations. Why? Because here we have here 50+ pages of detailed description of the findings of the security audit, with full explanations and instructions on how to reproduce them. https://blog.opensips.org/2023/03/15/opensips-security-audit-fully-disclosed/ Take care, use this info wisely and responsible! More on security, testing and performance of OpenSIPS @ OpenSIPS Summit 2023 Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2023, Houston, US https://www.opensips.org/events/Summit-2023Houston/ On 4/28/22 5:42 PM, Bogdan-Andrei Iancu wrote: > > OpenSIPS 3.2 Security Audit is now completed, with facts and results. > A lot of fuzzing, testing and of course fixing. Everything just to > make OpenSIPS more secure. Thank you @enablesecurity ! > > https://blog.opensips.org/2022/04/28/opensips-security-audit-facts-and-results/ > > > Best regards, > -- > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 23rd May - 3rd June 2022 > https://opensips.org/training/OpenSIPS_eBootcamp_2022/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Thu Mar 16 06:50:42 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 15 Mar 2023 23:50:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ef816: Update drouting.c Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6ef8168a8de88d04512b3aa6bb888ac3794fb142 https://github.com/OpenSIPS/opensips/commit/6ef8168a8de88d04512b3aa6bb888ac3794fb142 Author: nexbridge <13848887+nexbridge at users.noreply.github.com> Date: 2023-02-28 (Tue, 28 Feb 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c In weight_based_sort() function: - Changed RAND_MAX to RAND_MAX + 1 to make sure that quotient is always less than 1 - Changed float to double to avoid rounding errors, particularly when the value of rand() nears RAND_MAX and thus the quotient could round to 1 Commit: c7f1892a50869e694bf55253f220e30d58a87235 https://github.com/OpenSIPS/opensips/commit/c7f1892a50869e694bf55253f220e30d58a87235 Author: nexbridge <13848887+nexbridge at users.noreply.github.com> Date: 2023-03-15 (Wed, 15 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c Modified bug fix as requested Commit: 48c051fc16f4d83bf176d1eefe1df642882b6b88 https://github.com/OpenSIPS/opensips/commit/48c051fc16f4d83bf176d1eefe1df642882b6b88 Author: Bogdan Andrei IANCU Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #3020 from nexbridge/temp Fix bug in weight-based sort Compare: https://github.com/OpenSIPS/opensips/compare/4fe657273d21...48c051fc16f4 From noreply at github.com Thu Mar 16 06:52:27 2023 From: noreply at github.com (nexbridge) Date: Wed, 15 Mar 2023 23:52:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65f422: Update drouting.c Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 65f4225bc3a0df736049c86b00a80491e4ef08d5 https://github.com/OpenSIPS/opensips/commit/65f4225bc3a0df736049c86b00a80491e4ef08d5 Author: nexbridge <13848887+nexbridge at users.noreply.github.com> Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c In weight_based_sort() function: - Changed RAND_MAX to RAND_MAX + 1 to make sure that quotient is always less than 1 - Changed float to double to avoid rounding errors, particularly when the value of rand() nears RAND_MAX and thus the quotient could round to 1 (cherry picked from commit 6ef8168a8de88d04512b3aa6bb888ac3794fb142) From noreply at github.com Thu Mar 16 06:52:54 2023 From: noreply at github.com (nexbridge) Date: Wed, 15 Mar 2023 23:52:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bf4c8a: Update drouting.c Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: bf4c8a9426a6211993acf342136a87bc0847c890 https://github.com/OpenSIPS/opensips/commit/bf4c8a9426a6211993acf342136a87bc0847c890 Author: nexbridge <13848887+nexbridge at users.noreply.github.com> Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Update drouting.c In weight_based_sort() function: - Changed RAND_MAX to RAND_MAX + 1 to make sure that quotient is always less than 1 - Changed float to double to avoid rounding errors, particularly when the value of rand() nears RAND_MAX and thus the quotient could round to 1 (cherry picked from commit 6ef8168a8de88d04512b3aa6bb888ac3794fb142) From noreply at github.com Thu Mar 16 06:58:21 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 15 Mar 2023 23:58:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 74d267: Revert "Update drouting.c" Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 74d26728841e2d6267f9450777c9c4e34c9be5d7 https://github.com/OpenSIPS/opensips/commit/74d26728841e2d6267f9450777c9c4e34c9be5d7 Author: Bogdan-Andrei Iancu Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Revert "Update drouting.c" This reverts commit 65f4225bc3a0df736049c86b00a80491e4ef08d5. Commit: f9e1aeceba3e0b50f4563fbd22fd67fe4252c40d https://github.com/OpenSIPS/opensips/commit/f9e1aeceba3e0b50f4563fbd22fd67fe4252c40d Author: Bogdan Andrei IANCU Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #3020 from nexbridge/temp Fix bug in weight-based sort (cherry picked from commit 48c051fc16f4d83bf176d1eefe1df642882b6b88) Compare: https://github.com/OpenSIPS/opensips/compare/65f4225bc3a0...f9e1aeceba3e From noreply at github.com Thu Mar 16 06:59:55 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 15 Mar 2023 23:59:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a16287: Revert "Update drouting.c" Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: a162879b791f51ac2aa0f99be495e0bbd9cc7475 https://github.com/OpenSIPS/opensips/commit/a162879b791f51ac2aa0f99be495e0bbd9cc7475 Author: Bogdan-Andrei Iancu Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Revert "Update drouting.c" This reverts commit bf4c8a9426a6211993acf342136a87bc0847c890. Commit: 8c1f10c7e2e57c974a6932266b1e5b0b4b31926d https://github.com/OpenSIPS/opensips/commit/8c1f10c7e2e57c974a6932266b1e5b0b4b31926d Author: Bogdan Andrei IANCU Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #3020 from nexbridge/temp Fix bug in weight-based sort (cherry picked from commit 48c051fc16f4d83bf176d1eefe1df642882b6b88) Compare: https://github.com/OpenSIPS/opensips/compare/bf4c8a9426a6...8c1f10c7e2e5 From noreply at github.com Thu Mar 16 07:03:54 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Mar 2023 00:03:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 48530d: Merge pull request #3020 from nexbridge/temp Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 48530dbd4a3734a90f479dec8633ab454697d116 https://github.com/OpenSIPS/opensips/commit/48530dbd4a3734a90f479dec8633ab454697d116 Author: Bogdan Andrei IANCU Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Merge pull request #3020 from nexbridge/temp Fix bug in weight-based sort (cherry picked from commit 48c051fc16f4d83bf176d1eefe1df642882b6b88) From noreply at github.com Thu Mar 16 16:33:01 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 Mar 2023 09:33:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 33bf27: Fix NULL to_uri due to b2b_msg_get_to is called af... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 33bf27722c3b1517964f60642b691b45faf497d2 https://github.com/OpenSIPS/opensips/commit/33bf27722c3b1517964f60642b691b45faf497d2 Author: truong.hua Date: 2023-02-27 (Mon, 27 Feb 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- Fix NULL to_uri due to b2b_msg_get_to is called after accessing to_uri in case of adv_ct is not set, so contact uri can not be parsed if advertise_contact is not provided Commit: 89d03ea9a74021e5784b761be9513f6f95763b1a https://github.com/OpenSIPS/opensips/commit/89d03ea9a74021e5784b761be9513f6f95763b1a Author: Vlad Pătrașcu Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- Merge pull request #3018 from doopage/3.2-fix-b2b-null-to_uri Fix NULL to_uri due to b2b_msg_get_to is called after accessing to_uri Compare: https://github.com/OpenSIPS/opensips/compare/8c1f10c7e2e5...89d03ea9a740 From noreply at github.com Thu Mar 16 16:41:20 2023 From: noreply at github.com (Truong Hua) Date: Thu, 16 Mar 2023 09:41:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b22f6a: Fix NULL to_uri due to b2b_msg_get_to is called af... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b22f6a7ff7dfa245041f61156835081a43a3c4be https://github.com/OpenSIPS/opensips/commit/b22f6a7ff7dfa245041f61156835081a43a3c4be Author: truong.hua Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/b2b_logic/bridging.c Log Message: ----------- Fix NULL to_uri due to b2b_msg_get_to is called after accessing to_uri in case of adv_ct is not set, so contact uri can not be parsed if advertise_contact is not provided (cherry picked from commit 33bf27722c3b1517964f60642b691b45faf497d2) From noreply at github.com Thu Mar 16 16:42:11 2023 From: noreply at github.com (Truong Hua) Date: Thu, 16 Mar 2023 09:42:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 697c32: Fix NULL to_uri due to b2b_msg_get_to is called af... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 697c325e1650f93fcd86a00595d3c865227b90c7 https://github.com/OpenSIPS/opensips/commit/697c325e1650f93fcd86a00595d3c865227b90c7 Author: truong.hua Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- Fix NULL to_uri due to b2b_msg_get_to is called after accessing to_uri in case of adv_ct is not set, so contact uri can not be parsed if advertise_contact is not provided (cherry picked from commit 33bf27722c3b1517964f60642b691b45faf497d2) From noreply at github.com Thu Mar 16 17:17:32 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 16 Mar 2023 10:17:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d71fba: If we did not request qop to start with when chall... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d71fbacea6557cc9532e1ac894e41d12800f8e69 https://github.com/OpenSIPS/opensips/commit/d71fbacea6557cc9532e1ac894e41d12800f8e69 Author: Maksym Sobolyev Date: 2023-03-16 (Thu, 16 Mar 2023) Changed paths: M modules/auth/api.c Log Message: ----------- If we did not request qop to start with when challenging then no additional work needs to be done after receiving authentication with no qop. Reported by: efes99999 at gmail.com, callum.guy at x-on.co.uk, gshepard at sangoma.com From noreply at github.com Fri Mar 17 07:24:20 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 17 Mar 2023 00:24:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c0af4f: [async] fix setting restoring type route after run... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c0af4fe6a4cd3c1119d765320f8a1b2e5d4dc9b5 https://github.com/OpenSIPS/opensips/commit/c0af4fe6a4cd3c1119d765320f8a1b2e5d4dc9b5 Author: Bogdan-Andrei Iancu Date: 2023-03-17 (Fri, 17 Mar 2023) Changed paths: M async.c Log Message: ----------- [async] fix setting restoring type route after running report route for launch() Fixes #3034 From noreply at github.com Fri Mar 17 07:24:59 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 17 Mar 2023 00:24:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49dc29: [async] fix setting restoring type route after run... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 49dc295a0adf0364f435a5da075e62fd55c658d7 https://github.com/OpenSIPS/opensips/commit/49dc295a0adf0364f435a5da075e62fd55c658d7 Author: Bogdan-Andrei Iancu Date: 2023-03-17 (Fri, 17 Mar 2023) Changed paths: M async.c Log Message: ----------- [async] fix setting restoring type route after running report route for launch() Fixes #3034 (cherry picked from commit c0af4fe6a4cd3c1119d765320f8a1b2e5d4dc9b5) From noreply at github.com Fri Mar 17 07:26:31 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 17 Mar 2023 00:26:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 444f02: [async] fix setting restoring type route after run... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 444f0264f5608c0a496fcc01a52ff4592328cda9 https://github.com/OpenSIPS/opensips/commit/444f0264f5608c0a496fcc01a52ff4592328cda9 Author: Bogdan-Andrei Iancu Date: 2023-03-17 (Fri, 17 Mar 2023) Changed paths: M async.c Log Message: ----------- [async] fix setting restoring type route after running report route for launch() Fixes #3034 (cherry picked from commit c0af4fe6a4cd3c1119d765320f8a1b2e5d4dc9b5) From noreply at github.com Fri Mar 17 07:29:08 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 17 Mar 2023 00:29:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0accad: [async] fix setting restoring type route after run... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 0accad48572ca7a82782f59edb357c9217ad832f https://github.com/OpenSIPS/opensips/commit/0accad48572ca7a82782f59edb357c9217ad832f Author: Bogdan-Andrei Iancu Date: 2023-03-17 (Fri, 17 Mar 2023) Changed paths: M async.c Log Message: ----------- [async] fix setting restoring type route after running report route for launch() Fixes #3034 (cherry picked from commit c0af4fe6a4cd3c1119d765320f8a1b2e5d4dc9b5) (cherry picked from commit 444f0264f5608c0a496fcc01a52ff4592328cda9) From noreply at github.com Sat Mar 18 21:58:02 2023 From: noreply at github.com (opensips-github) Date: Sat, 18 Mar 2023 14:58:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e7f0bc: Rebuild documentation Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: e7f0bca4277a63ec12237c4a166b8be4d2984d33 https://github.com/OpenSIPS/opensips/commit/e7f0bca4277a63ec12237c4a166b8be4d2984d33 Author: OpenSIPS Date: 2023-03-18 (Sat, 18 Mar 2023) Changed paths: M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/event_route/README M modules/event_route/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 18 22:26:30 2023 From: noreply at github.com (opensips-github) Date: Sat, 18 Mar 2023 15:26:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c0f4ac: Rebuild documentation Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: c0f4acc6f2eac0495ba26832a83be1543fcb8cfa https://github.com/OpenSIPS/opensips/commit/c0f4acc6f2eac0495ba26832a83be1543fcb8cfa Author: OpenSIPS Date: 2023-03-19 (Sun, 19 Mar 2023) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/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 Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 18 22:53:56 2023 From: noreply at github.com (opensips-github) Date: Sat, 18 Mar 2023 15:53:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5e9fad: Rebuild documentation Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 5e9fadb07322c58f3b319eab2ee34aaf88ce5c9a https://github.com/OpenSIPS/opensips/commit/5e9fadb07322c58f3b319eab2ee34aaf88ce5c9a Author: OpenSIPS Date: 2023-03-19 (Sun, 19 Mar 2023) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/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 Log Message: ----------- Rebuild documentation From noreply at github.com Sat Mar 18 23:26:59 2023 From: noreply at github.com (opensips-github) Date: Sat, 18 Mar 2023 16:26:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a59f1: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4a59f1b751b9a0a6891c1cd208dc16e2d244782b https://github.com/OpenSIPS/opensips/commit/4a59f1b751b9a0a6891c1cd208dc16e2d244782b Author: OpenSIPS Date: 2023-03-19 (Sun, 19 Mar 2023) Changed paths: M modules/auth/README M modules/auth/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/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 Log Message: ----------- Rebuild documentation From noreply at github.com Mon Mar 20 14:38:23 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 20 Mar 2023 07:38:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f42e0c: Don't increase tcp_workers_no above tcp_workers_ma... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f42e0c1ecc5b3500e132b22c7661baca3d95a65f https://github.com/OpenSIPS/opensips/commit/f42e0c1ecc5b3500e132b22c7661baca3d95a65f Author: James Stanley Date: 2023-03-13 (Mon, 13 Mar 2023) Changed paths: M main.c M net/net_tcp.c Log Message: ----------- Don't increase tcp_workers_no above tcp_workers_max_no Commit: 5ba4ddb2d025078b15ed61e605f679f80a7fcd5f https://github.com/OpenSIPS/opensips/commit/5ba4ddb2d025078b15ed61e605f679f80a7fcd5f Author: James Stanley Date: 2023-03-13 (Mon, 13 Mar 2023) Changed paths: M modules/uac_registrant/registrant.c M net/net_tcp.c Log Message: ----------- Fix typos Commit: 0dc8fc8c95171915026ea30f7980f39482545e4e https://github.com/OpenSIPS/opensips/commit/0dc8fc8c95171915026ea30f7980f39482545e4e Author: James Stanley Date: 2023-03-17 (Fri, 17 Mar 2023) Changed paths: M main.c M net/net_tcp.c Log Message: ----------- Cap TCP workers at tcp_workers_max_no Commit: 381f9cfeecda402bbd2d6d972a23436d4a2b6b30 https://github.com/OpenSIPS/opensips/commit/381f9cfeecda402bbd2d6d972a23436d4a2b6b30 Author: Bogdan-Andrei Iancu Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M main.c M modules/uac_registrant/registrant.c M net/net_tcp.c Log Message: ----------- Merge branch 'master' of github.com:jes/opensips into jes-master Commit: 0a1e369ad41be102bba81da423d668bbd142f5bc https://github.com/OpenSIPS/opensips/commit/0a1e369ad41be102bba81da423d668bbd142f5bc Author: Bogdan-Andrei Iancu Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M main.c Log Message: ----------- Just a small var rename Related to 381f9cfeecda402bbd2d6d972a23436d4a2b6b30 Commit: e84297e7138f4545608e4dade9d37b6aa27b1bfa https://github.com/OpenSIPS/opensips/commit/e84297e7138f4545608e4dade9d37b6aa27b1bfa Author: Bogdan-Andrei Iancu Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M main.c M modules/uac_registrant/registrant.c M net/net_tcp.c Log Message: ----------- Merge branch 'jes-master' Compare: https://github.com/OpenSIPS/opensips/compare/4a59f1b751b9...e84297e7138f From noreply at github.com Mon Mar 20 14:44:56 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 20 Mar 2023 07:44:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 921fa4: Some missing extern var declaration Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 921fa4fad2b6b22b2204b40e97daad917694947e https://github.com/OpenSIPS/opensips/commit/921fa4fad2b6b22b2204b40e97daad917694947e Author: Bogdan-Andrei Iancu Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M net/net_tcp.h Log Message: ----------- Some missing extern var declaration Fixes 381f9cfeecda402bbd2d6d972a23436d4a2b6b30 From noreply at github.com Mon Mar 20 16:54:40 2023 From: noreply at github.com (Maksym Sobolyev) Date: Mon, 20 Mar 2023 09:54:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a0d495: If we did not request qop to start with when chall... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: a0d495bd1a55f7d5b5637493360e7e6148ecc0d2 https://github.com/OpenSIPS/opensips/commit/a0d495bd1a55f7d5b5637493360e7e6148ecc0d2 Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M modules/auth/api.c Log Message: ----------- If we did not request qop to start with when challenging then no additional work needs to be done after receiving authentication with no qop. Reported by: efes99999 at gmail.com, callum.guy at x-on.co.uk, gshepard at sangoma.com Commit: b0ef7e0ade389b5eeb2b56c62e39fdc514789bdd https://github.com/OpenSIPS/opensips/commit/b0ef7e0ade389b5eeb2b56c62e39fdc514789bdd Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M net/trans.c Log Message: ----------- Fix off-by-one error allocating space for protos[]. Reported by OSS-Fuzz. Commit: 4f929bd70708108aba21b4ecb925236b0fe177ae https://github.com/OpenSIPS/opensips/commit/4f929bd70708108aba21b4ecb925236b0fe177ae Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M pvar.c Log Message: ----------- Expect that protos[proto].name can be NULL. Commit: 389caf386c0400a078ac8bdb7e468fbccc81625b https://github.com/OpenSIPS/opensips/commit/389caf386c0400a078ac8bdb7e468fbccc81625b Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix a pkg memory leak: when parsing of the Contact fails, free all associated parameters that have been parsed so far, not just the contact structure itself. Reported by OSS-Fuzz. Commit: f9a0a3fef35ffa75c99ca5769cee6c5a813a9901 https://github.com/OpenSIPS/opensips/commit/f9a0a3fef35ffa75c99ca5769cee6c5a813a9901 Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix skip_name() to not generate strings with bogus length. Discovered by OSS-Fuzz. Compare: https://github.com/OpenSIPS/opensips/compare/5e9fadb07322...f9a0a3fef35f From noreply at github.com Mon Mar 20 18:21:01 2023 From: noreply at github.com (Maksym Sobolyev) Date: Mon, 20 Mar 2023 11:21:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d7db1e: If we did not request qop to start with when chall... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: d7db1eadd8fc14431c3062f3c7fffdb814f888f6 https://github.com/OpenSIPS/opensips/commit/d7db1eadd8fc14431c3062f3c7fffdb814f888f6 Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M modules/auth/api.c Log Message: ----------- If we did not request qop to start with when challenging then no additional work needs to be done after receiving authentication with no qop. Reported by: efes99999 at gmail.com, callum.guy at x-on.co.uk, gshepard at sangoma.com Commit: 60491604a6f2c3a874786ee7b7adbdd99fce666e https://github.com/OpenSIPS/opensips/commit/60491604a6f2c3a874786ee7b7adbdd99fce666e Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M net/trans.c Log Message: ----------- Fix off-by-one error allocating space for protos[]. Reported by OSS-Fuzz. Commit: f75381b4a4f15c2a7f3ed086081fda89b04f7d91 https://github.com/OpenSIPS/opensips/commit/f75381b4a4f15c2a7f3ed086081fda89b04f7d91 Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M pvar.c Log Message: ----------- Expect that protos[proto].name can be NULL. Commit: df9fb6324fdd2437dc5b42b341b9039db0eb0ec3 https://github.com/OpenSIPS/opensips/commit/df9fb6324fdd2437dc5b42b341b9039db0eb0ec3 Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix a pkg memory leak: when parsing of the Contact fails, free all associated parameters that have been parsed so far, not just the contact structure itself. Reported by OSS-Fuzz. Commit: 3b0cb05cba5903c1ddc0ac9923b7bd2e8d4455ad https://github.com/OpenSIPS/opensips/commit/3b0cb05cba5903c1ddc0ac9923b7bd2e8d4455ad Author: Maksym Sobolyev Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix skip_name() to not generate strings with bogus length. Discovered by OSS-Fuzz. Compare: https://github.com/OpenSIPS/opensips/compare/c0f4acc6f2ea...3b0cb05cba59 From bogdan at opensips.org Wed Mar 22 15:05:25 2023 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 22 Mar 2023 17:05:25 +0200 Subject: [OpenSIPS-Devel] [Blog] API driven SIP User-Agent end-point with OpenSIPS 3.4 Message-ID: Hi all, Here is post on a new OpenSIPS 3.4 feature, mainly how to use OpenSIPS as */a mixed (SIP and non-SIP) back-to-back/*, with a User-Agent entity (server or client) on one side and some */custom logic on the other side, API controlling what how the SIP side should behave/*. https://blog.opensips.org/2023/03/22/api-driven-sip-user-agent-end-point-with-opensips-3-4/ Best regards, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2023, Houston, US https://www.opensips.org/events/Summit-2023Houston/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Wed Mar 22 17:08:55 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Mar 2023 10:08:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6ef19: [dialog] fix bad examples with invalid profile name Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a6ef1968887696da8932a8350e532af8f7f9be44 https://github.com/OpenSIPS/opensips/commit/a6ef1968887696da8932a8350e532af8f7f9be44 Author: Bogdan-Andrei Iancu Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- [dialog] fix bad examples with invalid profile name The name of a dialog profile is an alphanumerical string. Make this clear in the doc and also fix the broken examples. From noreply at github.com Wed Mar 22 17:09:28 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Mar 2023 10:09:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d63056: [dialog] fix bad examples with invalid profile name Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: d63056a828ed0ed1c9eb7e5ebe4471e6547474b1 https://github.com/OpenSIPS/opensips/commit/d63056a828ed0ed1c9eb7e5ebe4471e6547474b1 Author: Bogdan-Andrei Iancu Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- [dialog] fix bad examples with invalid profile name The name of a dialog profile is an alphanumerical string. Make this clear in the doc and also fix the broken examples. (cherry picked from commit a6ef1968887696da8932a8350e532af8f7f9be44) From noreply at github.com Wed Mar 22 17:09:49 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Mar 2023 10:09:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 108ac9: [dialog] fix bad examples with invalid profile name Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 108ac960a8d0a79b6a56e549997ac35ba6b733fa https://github.com/OpenSIPS/opensips/commit/108ac960a8d0a79b6a56e549997ac35ba6b733fa Author: Bogdan-Andrei Iancu Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- [dialog] fix bad examples with invalid profile name The name of a dialog profile is an alphanumerical string. Make this clear in the doc and also fix the broken examples. (cherry picked from commit a6ef1968887696da8932a8350e532af8f7f9be44) From noreply at github.com Wed Mar 22 17:10:15 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Mar 2023 10:10:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] faa484: [dialog] fix bad examples with invalid profile name Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: faa484618ea879244fa4bfa98fe87a3f744afc17 https://github.com/OpenSIPS/opensips/commit/faa484618ea879244fa4bfa98fe87a3f744afc17 Author: Bogdan-Andrei Iancu Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/dialog/doc/dialog_admin.xml Log Message: ----------- [dialog] fix bad examples with invalid profile name The name of a dialog profile is an alphanumerical string. Make this clear in the doc and also fix the broken examples. (cherry picked from commit a6ef1968887696da8932a8350e532af8f7f9be44) From noreply at github.com Wed Mar 22 22:09:51 2023 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 22 Mar 2023 15:09:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e79c76: Set POLLRDHUP on Linux when polling rtpproxy's soc... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e79c76c074170842c9bdfdbc958e166ac4997123 https://github.com/OpenSIPS/opensips/commit/e79c76c074170842c9bdfdbc958e166ac4997123 Author: Maksym Sobolyev Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Set POLLRDHUP on Linux when polling rtpproxy's socket to drain any unclaimed data. This seems to be necessary on TCP sockets otherwise poll() appears to hang indefinitely if rtpproxy has been terminated despite timeout being set to 0 (i.e. don't block). With this flag set the disconnect is properly detected and socket is re-connected after configured timeout. Commit: f3fe6c4d466943a225c4a7c842b7a6d42e2db9f6 https://github.com/OpenSIPS/opensips/commit/f3fe6c4d466943a225c4a7c842b7a6d42e2db9f6 Author: Maksym Sobolyev Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/rtpproxy/notification_process.c M modules/rtpproxy/rtppn_connect.c M modules/rtpproxy/rtpproxy.c M modules/rtpproxy/rtpproxy.h Log Message: ----------- Add support for "cunix" variant of the local unix domain communication socket, which is similar to "unix" but does not require re-connecting the socket for every request thus having lower overhead compared to that one. It is supported by rtpproxy for number of years. Compare: https://github.com/OpenSIPS/opensips/compare/a6ef19688876...f3fe6c4d4669 From noreply at github.com Thu Mar 23 00:15:16 2023 From: noreply at github.com (Maksym Sobolyev) Date: Wed, 22 Mar 2023 17:15:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 081d06: Initialize hostname to make compiler happy. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 081d06d9b64e604277445aee571cda47ac3eb4d6 https://github.com/OpenSIPS/opensips/commit/081d06d9b64e604277445aee571cda47ac3eb4d6 Author: Maksym Sobolyev Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M modules/rtpproxy/rtppn_connect.c Log Message: ----------- Initialize hostname to make compiler happy. From noreply at github.com Thu Mar 23 08:31:03 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 01:31:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51de85: add_local_rport script function corrupts VIA heade... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 51de85f3b658500c5d635bd18ece504a707e43cc https://github.com/OpenSIPS/opensips/commit/51de85f3b658500c5d635bd18ece504a707e43cc Author: David Trihy Date: 2023-02-16 (Thu, 16 Feb 2023) Changed paths: M msg_translator.c Log Message: ----------- add_local_rport script function corrupts VIA header params Commit: 66b910c678e1fe7c7c33392f9141c2cd4fe63926 https://github.com/OpenSIPS/opensips/commit/66b910c678e1fe7c7c33392f9141c2cd4fe63926 Author: David Trihy Date: 2023-03-20 (Mon, 20 Mar 2023) Changed paths: M msg_translator.c Log Message: ----------- PR Comments Commit: 8f41fccfa19a0a8070b48b4cd8caeb0a4a78e3fd https://github.com/OpenSIPS/opensips/commit/8f41fccfa19a0a8070b48b4cd8caeb0a4a78e3fd Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M msg_translator.c Log Message: ----------- Merge pull request #3012 from purecloudlabs/bug/rport_param_corrupts_via_header add_local_rport script function corrupts VIA header params Compare: https://github.com/OpenSIPS/opensips/compare/081d06d9b64e...8f41fccfa19a From noreply at github.com Thu Mar 23 09:18:39 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 02:18:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5554f: Merge pull request #3012 from purecloudlabs/bug/rp... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: f5554f2316b91a954e59d20f2ec3b56c78359eaa https://github.com/OpenSIPS/opensips/commit/f5554f2316b91a954e59d20f2ec3b56c78359eaa Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M msg_translator.c Log Message: ----------- Merge pull request #3012 from purecloudlabs/bug/rport_param_corrupts_via_header add_local_rport script function corrupts VIA header params (cherry picked from commit 8f41fccfa19a0a8070b48b4cd8caeb0a4a78e3fd) From noreply at github.com Thu Mar 23 09:19:02 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 02:19:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c312b5: Merge pull request #3012 from purecloudlabs/bug/rp... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: c312b5a7cf61648ce03ab66d79539948ae975106 https://github.com/OpenSIPS/opensips/commit/c312b5a7cf61648ce03ab66d79539948ae975106 Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M msg_translator.c Log Message: ----------- Merge pull request #3012 from purecloudlabs/bug/rport_param_corrupts_via_header add_local_rport script function corrupts VIA header params (cherry picked from commit 8f41fccfa19a0a8070b48b4cd8caeb0a4a78e3fd) From noreply at github.com Thu Mar 23 09:19:32 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 02:19:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2d674b: Merge pull request #3012 from purecloudlabs/bug/rp... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 2d674b0261bf1564c95ecbd37126425aa9aa5168 https://github.com/OpenSIPS/opensips/commit/2d674b0261bf1564c95ecbd37126425aa9aa5168 Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M msg_translator.c Log Message: ----------- Merge pull request #3012 from purecloudlabs/bug/rport_param_corrupts_via_header add_local_rport script function corrupts VIA header params (cherry picked from commit 8f41fccfa19a0a8070b48b4cd8caeb0a4a78e3fd) From noreply at github.com Thu Mar 23 12:55:21 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 05:55:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c4f2e0: tracer: Don't modify shm msg in trace_onreply_out Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c4f2e025e784b85a190ad96542a885be06c10dee https://github.com/OpenSIPS/opensips/commit/c4f2e025e784b85a190ad96542a885be06c10dee Author: okhowang Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: Don't modify shm msg in trace_onreply_out Commit: 9c2d99de6c40c53dc1419fe237b23d8b956bd647 https://github.com/OpenSIPS/opensips/commit/9c2d99de6c40c53dc1419fe237b23d8b956bd647 Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #3038 from okhowang/tracer-leak tracer: Don't modify shm msg in trace_onreply_out Compare: https://github.com/OpenSIPS/opensips/compare/8f41fccfa19a...9c2d99de6c40 From noreply at github.com Thu Mar 23 12:56:30 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 05:56:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23f557: Merge pull request #3038 from okhowang/tracer-leak Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 23f557c028b79b75a1f118965cdc1a3845931749 https://github.com/OpenSIPS/opensips/commit/23f557c028b79b75a1f118965cdc1a3845931749 Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #3038 from okhowang/tracer-leak tracer: Don't modify shm msg in trace_onreply_out (cherry picked from commit 9c2d99de6c40c53dc1419fe237b23d8b956bd647) From noreply at github.com Thu Mar 23 12:56:58 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 05:56:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e9c49: Merge pull request #3038 from okhowang/tracer-leak Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 1e9c49250e207974d856b025703279bb602e2122 https://github.com/OpenSIPS/opensips/commit/1e9c49250e207974d856b025703279bb602e2122 Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #3038 from okhowang/tracer-leak tracer: Don't modify shm msg in trace_onreply_out (cherry picked from commit 9c2d99de6c40c53dc1419fe237b23d8b956bd647) From noreply at github.com Thu Mar 23 13:03:06 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 06:03:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 371dd7: Merge pull request #3038 from okhowang/tracer-leak Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 371dd7d6a8928281e94f300b378e1f04bf41690a https://github.com/OpenSIPS/opensips/commit/371dd7d6a8928281e94f300b378e1f04bf41690a Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #3038 from okhowang/tracer-leak tracer: Don't modify shm msg in trace_onreply_out (cherry picked from commit 9c2d99de6c40c53dc1419fe237b23d8b956bd647) From bogdan at opensips.org Thu Mar 23 14:03:23 2023 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 23 Mar 2023 16:03:23 +0200 Subject: [OpenSIPS-Devel] [Blog] B2BUA Bridging Improvements In OpenSIPS 3.4 Message-ID: <52cc0b0d-5949-bf54-13dc-37ceaf8b527a@opensips.org> Hi all, More on OpenSIPS 3.4 and the B2B support - the call re-bridging was reworked in order to address some */potential reliability and interoperability issues/*, but also to provide more features as /*on-hold/media injection during bridging and bridging failover*/. https://blog.opensips.org/2023/03/23/b2bua-bridging-improvements-in-opensips-3-4/ Enjoy and see you in Houston for the Summit, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2023, Houston, US https://www.opensips.org/events/Summit-2023Houston/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Thu Mar 23 16:07:17 2023 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Mar 2023 09:07:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 726246: nat_traversal: remove min interval limit Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 726246b133c28766111dbc0deac9b2a3da0a9517 https://github.com/OpenSIPS/opensips/commit/726246b133c28766111dbc0deac9b2a3da0a9517 Author: okhowang Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- nat_traversal: remove min interval limit Commit: 05c98f449b747a96d42334d59b93242119b2219c https://github.com/OpenSIPS/opensips/commit/05c98f449b747a96d42334d59b93242119b2219c Author: Bogdan Andrei IANCU Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/nat_traversal/nat_traversal.c Log Message: ----------- Merge pull request #3037 from okhowang/ping_interval nat_traversal: remove min interval limit Compare: https://github.com/OpenSIPS/opensips/compare/9c2d99de6c40...05c98f449b74 From noreply at github.com Thu Mar 23 16:56:06 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 09:56:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7e142: Set POLLRDHUP on Linux when polling rtpproxy's soc... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: c7e142f08fd5a30bd3aa9117f2012e9980a3ff5f https://github.com/OpenSIPS/opensips/commit/c7e142f08fd5a30bd3aa9117f2012e9980a3ff5f Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Set POLLRDHUP on Linux when polling rtpproxy's socket to drain any unclaimed data. This seems to be necessary on TCP sockets otherwise poll() appears to hang indefinitely if rtpproxy has been terminated despite timeout being set to 0 (i.e. don't block). With this flag set the disconnect is properly detected and socket is re-connected after configured timeout. From noreply at github.com Thu Mar 23 16:56:39 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 09:56:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b6f00e: Set POLLRDHUP on Linux when polling rtpproxy's soc... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: b6f00e89f6c18b4e6dacb3e3589f4d79565a87ef https://github.com/OpenSIPS/opensips/commit/b6f00e89f6c18b4e6dacb3e3589f4d79565a87ef Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Set POLLRDHUP on Linux when polling rtpproxy's socket to drain any unclaimed data. This seems to be necessary on TCP sockets otherwise poll() appears to hang indefinitely if rtpproxy has been terminated despite timeout being set to 0 (i.e. don't block). With this flag set the disconnect is properly detected and socket is re-connected after configured timeout. From noreply at github.com Thu Mar 23 16:58:51 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 09:58:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c69513: Fix off-by-one error allocating space for protos[]... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: c69513f789670ca45b68e1476de0b84f9e359370 https://github.com/OpenSIPS/opensips/commit/c69513f789670ca45b68e1476de0b84f9e359370 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M net/trans.c Log Message: ----------- Fix off-by-one error allocating space for protos[]. Reported by OSS-Fuzz. Commit: 042ca31fd6aba3f566f9dafc6acaa88e6ba923aa https://github.com/OpenSIPS/opensips/commit/042ca31fd6aba3f566f9dafc6acaa88e6ba923aa Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M pvar.c Log Message: ----------- Expect that protos[proto].name can be NULL. Commit: 9e99320b0c7fa38103c0a32a2427c7aeae90c813 https://github.com/OpenSIPS/opensips/commit/9e99320b0c7fa38103c0a32a2427c7aeae90c813 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix a pkg memory leak: when parsing of the Contact fails, free all associated parameters that have been parsed so far, not just the contact structure itself. Reported by OSS-Fuzz. Commit: 9f6b7fcd1b2faa89b03c32d5248c7370eaad77b7 https://github.com/OpenSIPS/opensips/commit/9f6b7fcd1b2faa89b03c32d5248c7370eaad77b7 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M parser/contact/contact.c Log Message: ----------- Fix skip_name() to not generate strings with bogus length. Discovered by OSS-Fuzz. Commit: 4097ca5272232710126f253799551ff5b8e5aba7 https://github.com/OpenSIPS/opensips/commit/4097ca5272232710126f253799551ff5b8e5aba7 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Set POLLRDHUP on Linux when polling rtpproxy's socket to drain any unclaimed data. This seems to be necessary on TCP sockets otherwise poll() appears to hang indefinitely if rtpproxy has been terminated despite timeout being set to 0 (i.e. don't block). With this flag set the disconnect is properly detected and socket is re-connected after configured timeout. Compare: https://github.com/OpenSIPS/opensips/compare/371dd7d6a892...4097ca527223 From noreply at github.com Thu Mar 23 18:45:34 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 11:45:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 97aa57: Implement lock_destroy() for pthread-based locking. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 97aa57cedb27d43204efd47ee741b8521160c8ba https://github.com/OpenSIPS/opensips/commit/97aa57cedb27d43204efd47ee741b8521160c8ba Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M lock_ops.h Log Message: ----------- Implement lock_destroy() for pthread-based locking. Commit: 6dbe3d3fc564d9ce37f502e9e1f413e80271b6b6 https://github.com/OpenSIPS/opensips/commit/6dbe3d3fc564d9ce37f502e9e1f413e80271b6b6 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M lib/dbg/profiling.h M main.c Log Message: ----------- Pass error code to the caller if ProfilerStart() fails. Compare: https://github.com/OpenSIPS/opensips/compare/05c98f449b74...6dbe3d3fc564 From noreply at github.com Thu Mar 23 22:09:25 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 15:09:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] baf0d2: Improve child startup error handling by creating a... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: baf0d2f1a821007be9b2c618735806e78bc81b5a https://github.com/OpenSIPS/opensips/commit/baf0d2f1a821007be9b2c618735806e78bc81b5a Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M pt.c M pt.h Log Message: ----------- Improve child startup error handling by creating a "startup" mutex, locking it before fork in parent and letting child to unlock it once initialization is complete (or fails). The parent then waits on this mutex to read out error code and proceed accordingly. From noreply at github.com Fri Mar 24 00:51:37 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 17:51:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a534f2: Fix build with clang 15: get rid of the 30-year ol... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: a534f2cae049fbb0a6caec056b81b3a61b5b1370 https://github.com/OpenSIPS/opensips/commit/a534f2cae049fbb0a6caec056b81b3a61b5b1370 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M md5.c M md5.h M md5global.h M md5utils.c M modules/proto_smpp/smpp.c M modules/sip_i/sip_i.c M strcommon.c M transformations.c M ut.h Log Message: ----------- Fix build with clang 15: get rid of the 30-year old PROTO_LIST hack to deal with some prehistoric compilers. Switch public API to use char *, not unsigned char *, which is kinda pointless. Also make arguments const where appropriate. Commit: 33bf8127883fdccfdcbdd80dfe7d62c032df86c1 https://github.com/OpenSIPS/opensips/commit/33bf8127883fdccfdcbdd80dfe7d62c032df86c1 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/call_center/cc_db.c M modules/ldap/iniparser.c Log Message: ----------- clang 15 fix: get rid of variable that is set but not used. Commit: 9eba3acaab7bed908252101141dc5bf5713a1f28 https://github.com/OpenSIPS/opensips/commit/9eba3acaab7bed908252101141dc5bf5713a1f28 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M db/db.c M modules/dialplan/dp_db.h Log Message: ----------- clang15 fix: define function prototype properly. Commit: 5e1b428a1906f7f92748860360d3183e4eb2b1d1 https://github.com/OpenSIPS/opensips/commit/5e1b428a1906f7f92748860360d3183e4eb2b1d1 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/pi_http/pi_http.c Log Message: ----------- clang-15 fix: make child_init() prototype match actual function. Commit: fb3b60bb5aca04edf87aac37b7b2b9fd3a81c532 https://github.com/OpenSIPS/opensips/commit/fb3b60bb5aca04edf87aac37b7b2b9fd3a81c532 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M pvar.c Log Message: ----------- GC unused variable. Commit: d94c8920183239cd1f739b65f0fd94b8f4afd154 https://github.com/OpenSIPS/opensips/commit/d94c8920183239cd1f739b65f0fd94b8f4afd154 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M .github/workflows/main.yml Log Message: ----------- Get rid of the ubuntu-18.04, add clang-14 and clang-15. Compare: https://github.com/OpenSIPS/opensips/compare/c7e142f08fd5...d94c89201832 From noreply at github.com Fri Mar 24 00:51:48 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 17:51:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a07ae7: Fix build with clang 15: get rid of the 30-year ol... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: a07ae74c4e59af9a8d3b37935ee261b8171852de https://github.com/OpenSIPS/opensips/commit/a07ae74c4e59af9a8d3b37935ee261b8171852de Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M md5.c M md5.h M md5global.h M md5utils.c M modules/proto_smpp/smpp.c M modules/sip_i/sip_i.c M strcommon.c M ut.h Log Message: ----------- Fix build with clang 15: get rid of the 30-year old PROTO_LIST hack to deal with some prehistoric compilers. Switch public API to use char *, not unsigned char *, which is kinda pointless. Also make arguments const where appropriate. Commit: fdd4f76aefdeaca2f05cae60d56478ebed69f2c0 https://github.com/OpenSIPS/opensips/commit/fdd4f76aefdeaca2f05cae60d56478ebed69f2c0 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/cachedb_local/hash.h Log Message: ----------- Fix prototype for lcache_htable_destroy() to match implementation. Commit: 69737a8e4f987000f36c65f86d43dff0b2bdd377 https://github.com/OpenSIPS/opensips/commit/69737a8e4f987000f36c65f86d43dff0b2bdd377 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/call_center/cc_db.c M modules/ldap/iniparser.c Log Message: ----------- clang 15 fix: get rid of variable that is set but not used. Commit: e575926643afd062ca9c923513be067f11bc9103 https://github.com/OpenSIPS/opensips/commit/e575926643afd062ca9c923513be067f11bc9103 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M db/db.c M modules/dialplan/dp_db.h Log Message: ----------- clang15 fix: define function prototype properly. Commit: f9f9abcb6beed8ee1956f314221a42b4bca3ca05 https://github.com/OpenSIPS/opensips/commit/f9f9abcb6beed8ee1956f314221a42b4bca3ca05 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/pi_http/pi_http.c Log Message: ----------- clang-15 fix: make child_init() prototype match actual function. Commit: a23bae73adb9a9eaf0e61a60fe140e3a6afc3067 https://github.com/OpenSIPS/opensips/commit/a23bae73adb9a9eaf0e61a60fe140e3a6afc3067 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M pvar.c Log Message: ----------- GC unused variable. Commit: 435561e67da7cee4fdcb3fbbf7883ec464f3ab39 https://github.com/OpenSIPS/opensips/commit/435561e67da7cee4fdcb3fbbf7883ec464f3ab39 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M .github/workflows/main.yml Log Message: ----------- Get rid of the ubuntu-18.04, add clang-14 and clang-15. Compare: https://github.com/OpenSIPS/opensips/compare/b6f00e89f6c1...435561e67da7 From noreply at github.com Fri Mar 24 00:55:08 2023 From: noreply at github.com (Maksym Sobolyev) Date: Thu, 23 Mar 2023 17:55:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df0ca0: Make identation consistent to not upset Clang 10: Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: df0ca08f81af9b384ae879f8d3184d78c4aa7021 https://github.com/OpenSIPS/opensips/commit/df0ca08f81af9b384ae879f8d3184d78c4aa7021 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) 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: 74142030bd67dca9c893ba6a3439c58f9add23ff https://github.com/OpenSIPS/opensips/commit/74142030bd67dca9c893ba6a3439c58f9add23ff Author: Liviu Chircu Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/ldap/iniparser.c Log Message: ----------- ldap: Fix possible buffer overflow If gcc says "2050 chars can overflow a 2049 buffer", gcc is definitely not wrong... Commit: 9921c38d89af9e4562de5fd442ac5943123eb98d https://github.com/OpenSIPS/opensips/commit/9921c38d89af9e4562de5fd442ac5943123eb98d Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- Fix unitialized use in some case: dlg_replication.c:157:2: error: variable 'd_entry' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] DLG_BIN_POP(int, packet, state, pre_linking_error); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dlg_replication.c:74:7: note: expanded from macro 'DLG_BIN_POP' if (bin_pop_ ## _type(_p, (str *)&_field) != 0) { \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :69:1: note: expanded from here bin_pop_int ^ dlg_replication.c:351:22: note: uninitialized use occurs here dlg_unlock(d_table, d_entry); Commit: 1bf7abf617abc57d3c66c634f4ccef0b25ea5c8c https://github.com/OpenSIPS/opensips/commit/1bf7abf617abc57d3c66c634f4ccef0b25ea5c8c Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/ldap/iniparser.c Log Message: ----------- ldap: fix copying value in smaller buffers Commit: efd0d365c3c7dad5bc0b1f99bee9bf7b44119376 https://github.com/OpenSIPS/opensips/commit/efd0d365c3c7dad5bc0b1f99bee9bf7b44119376 Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/ldap/iniparser.c Log Message: ----------- ldap: prevent possible buffer overflow Fixes Coverity CID #40879 Commit: 9c6ddf09737fd7946b5bf46d1532167d69c05254 https://github.com/OpenSIPS/opensips/commit/9c6ddf09737fd7946b5bf46d1532167d69c05254 Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/nathelper/sip_pinger.h Log Message: ----------- nathelper: prevent memory overwritten during pinging Commit: 66ff76c3ed743e9237f90690c1b13649027df8c3 https://github.com/OpenSIPS/opensips/commit/66ff76c3ed743e9237f90690c1b13649027df8c3 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) 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: 05a52ed356871a78c4847241273084f0424f3dab https://github.com/OpenSIPS/opensips/commit/05a52ed356871a78c4847241273084f0424f3dab Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/avpops/avpops_impl.c M modules/b2b_sca/sca_records.c M modules/proto_ws/ws_handshake_common.h Log Message: ----------- GC variables that is set but never used. This breaks builds with latest clang. Commit: cf5bf6f7c69df76bb1ba7173520ba6041de5ae39 https://github.com/OpenSIPS/opensips/commit/cf5bf6f7c69df76bb1ba7173520ba6041de5ae39 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/carrierroute/route_func.c M modules/drouting/dr_cb.c Log Message: ----------- Cast void * to int first before we can it to enum. This is to fix the build on clang-11. Commit: 0cd6fa09e01c2f1c5901fec38b9fa69b9a2a0767 https://github.com/OpenSIPS/opensips/commit/0cd6fa09e01c2f1c5901fec38b9fa69b9a2a0767 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: A lib/modules.mk/perl.mk M modules/db_perlvdb/Makefile M modules/perl/Makefile Log Message: ----------- o Set -Wno-compound-token-split-by-macro needed to get things building up with clang > 11. o Unify common code in the perl modules to fix db_perlvdb as well with clang > 11. Commit: b1dc064a03c37950be7a76016280b7a93dec1934 https://github.com/OpenSIPS/opensips/commit/b1dc064a03c37950be7a76016280b7a93dec1934 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/b2b_logic/b2b_load.h M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2b_logic.h Log Message: ----------- Make b2bl_bridge_extern() and internal_init_scenario() implementationis match prototype. Commit: 37164f5021e05d265a48989ca963f898f131439d https://github.com/OpenSIPS/opensips/commit/37164f5021e05d265a48989ca963f898f131439d Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M mi/mi_trace.c Log Message: ----------- Fix logical condition that would otherwise always be "false". Reported by: gcc-12 Commit: 815e5d5127e062e5a02ca1d5a30b3d68f2133795 https://github.com/OpenSIPS/opensips/commit/815e5d5127e062e5a02ca1d5a30b3d68f2133795 Author: Ovidiu Sas Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/cachedb_sql/cachedb_sql.c M modules/msilo/msilo.c Log Message: ----------- cachedb_sql: fix warning: this `if` clause does not guard... [-Wmisleading-indentation] msilo: fix warning: this `else` clause does not guard... [-Wmisleading-indentation] Commit: e4238cf08e34681e9cc73acfb0d5566a6f3e204e https://github.com/OpenSIPS/opensips/commit/e4238cf08e34681e9cc73acfb0d5566a6f3e204e Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) 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: 4d81a402a701d3a69f8b723f561a970191eb43c1 https://github.com/OpenSIPS/opensips/commit/4d81a402a701d3a69f8b723f561a970191eb43c1 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/drouting/drouting.c M modules/qrouting/qr_sort.c M resolve.c Log Message: ----------- Fix warning converting from int to float with Clang 10, i.e: resolve.c:1454:34: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion] Commit: 9998a33f02bea2eef6f239d6ca0e9b9474d3bc17 https://github.com/OpenSIPS/opensips/commit/9998a33f02bea2eef6f239d6ca0e9b9474d3bc17 Author: Liviu Chircu Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/jabber/xjab_wlist.c Log Message: ----------- jabber: Fix off-by-one strncpy() error warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bo... | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... xjab_wlist.c: In function ‘xj_wlist_set_aliases’: xjab_wlist.c:455:34: note: length computed here 455 | i = jwl->aliases->proxy->len = strlen(pa); | ^~~~~~~~~~ Commit: 1f70da1b28fa9c1010e100f3696d2f5291a9bde3 https://github.com/OpenSIPS/opensips/commit/1f70da1b28fa9c1010e100f3696d2f5291a9bde3 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/jabber/xjab_wlist.c Log Message: ----------- Make identation match compiler behaviour. This fixes build with gcc-11. Commit: 42160008c1a995d93d781e064d6bd25fdab696f8 https://github.com/OpenSIPS/opensips/commit/42160008c1a995d93d781e064d6bd25fdab696f8 Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: replace un-necessary strncpy with memcpy Commit: c15fe1e45581bfc5c8353f068cc2c5d923997d4e https://github.com/OpenSIPS/opensips/commit/c15fe1e45581bfc5c8353f068cc2c5d923997d4e Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/statistics/statistics.c Log Message: ----------- Remove bogus __attribute__((unused)), make sure grp_idx is always initialized. Commit: 51d176acafca220697b257c855767fd0bc92a343 https://github.com/OpenSIPS/opensips/commit/51d176acafca220697b257c855767fd0bc92a343 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c Log Message: ----------- GC unused variable. Commit: 1338cd2d4822f8aafb4fd65f9187c486d283bda1 https://github.com/OpenSIPS/opensips/commit/1338cd2d4822f8aafb4fd65f9187c486d283bda1 Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/python/python_mod.c Log Message: ----------- python: remove deprecated PyEval_InitThreads call since python v3.7 Commit: 1ead9e9a5dd9d2845df5dcbeb971f977cd036b69 https://github.com/OpenSIPS/opensips/commit/1ead9e9a5dd9d2845df5dcbeb971f977cd036b69 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/snmpstats/Makefile Log Message: ----------- Filter out -ffat-lto-objects option not supported on clang. Commit: 4537c208c8525ded8651bd31bbba687ed2be6279 https://github.com/OpenSIPS/opensips/commit/4537c208c8525ded8651bd31bbba687ed2be6279 Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/freeswitch/esl/src/include/esl.h Log Message: ----------- freeswitch: fix string maipulation warnings in esl (cherry picked from commit 7bc88e2d029e664149609b093bba3d9bc76fce79) Commit: 6389c3602dc5dbfcf4400caf233c7308a74093bf https://github.com/OpenSIPS/opensips/commit/6389c3602dc5dbfcf4400caf233c7308a74093bf Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/db_perlvdb/perlvdb_conv.c Log Message: ----------- Remove comparison that is always "true". Reported by: gcc-12 Commit: 24223965930bddfc4d777f2c20373cca9c2986ff https://github.com/OpenSIPS/opensips/commit/24223965930bddfc4d777f2c20373cca9c2986ff Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/lua/sipmemcache.c Log Message: ----------- Don't pass unsigned short * into a function that expects unsigned int *. This fixes the following error building with gcc on ubuntu-22: sipmemcache.c: In function `l_sipmemcache_server_add`: ../../ut.h:685:13: error: array subscript `unsigned int[0]` is partly outside array bounds of `in_port_t[1]` {aka `short unsigned int[1]`} [-Werror=array-bounds] 685 | *_r = 0; | ~~~~^~~ sipmemcache.c:72:13: note: while referencing `iport` 72 | in_port_t iport = 0; | ^~~~~ Commit: de4432ab74bc9ee74eaddec7c6f4148981a4cfb7 https://github.com/OpenSIPS/opensips/commit/de4432ab74bc9ee74eaddec7c6f4148981a4cfb7 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) 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: 11164c3af030f7a04ff9eeceb1b562f090cc38cc https://github.com/OpenSIPS/opensips/commit/11164c3af030f7a04ff9eeceb1b562f090cc38cc Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/mmgeoip/geoip2.c Log Message: ----------- Make geoip2_get_field() function declaration match prototype. Commit: 06ab1d88f5ee4d312ed90307681411f93d3515d6 https://github.com/OpenSIPS/opensips/commit/06ab1d88f5ee4d312ed90307681411f93d3515d6 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/pi_http/http_fnc.c Log Message: ----------- Add missing {} as reported by the gcc-11. Commit: 33f4ae5f273a4502df9c9c3d9fde9c9104b9b06b https://github.com/OpenSIPS/opensips/commit/33f4ae5f273a4502df9c9c3d9fde9c9104b9b06b Author: Razvan Crainea Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/uac_auth/auth.c Log Message: ----------- uac_auth: fix gcc uninitialized warning Commit: 9edb5e8ba2debde38fb47f57d977875645d15f76 https://github.com/OpenSIPS/opensips/commit/9edb5e8ba2debde38fb47f57d977875645d15f76 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M pvar.c Log Message: ----------- GC unused variable. Commit: ad4767c340ec4ce139a24b8681b69928344ca054 https://github.com/OpenSIPS/opensips/commit/ad4767c340ec4ce139a24b8681b69928344ca054 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M md5.c M md5.h M md5global.h M md5utils.c M modules/auth/nonce.c M modules/proto_smpp/smpp.c M modules/sip_i/sip_i.c M strcommon.c M ut.h Log Message: ----------- Fix build with clang 15: get rid of the 30-year old PROTO_LIST hack to deal with some prehistoric compilers. Switch public API to use char *, not unsigned char *, which is kinda pointless. Also make arguments const where appropriate. Commit: 567ebaf1da79fe08dc70ac41156409b35d475b51 https://github.com/OpenSIPS/opensips/commit/567ebaf1da79fe08dc70ac41156409b35d475b51 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/cachedb_local/hash.h Log Message: ----------- Fix prototype for lcache_htable_destroy() to match implementation. Commit: 88031b0d2ff20dfbcb3e6679e43f1a8d0eb411fc https://github.com/OpenSIPS/opensips/commit/88031b0d2ff20dfbcb3e6679e43f1a8d0eb411fc Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/call_center/cc_db.c M modules/ldap/iniparser.c Log Message: ----------- clang 15 fix: get rid of variable that is set but not used. Commit: 7f59fbed8b52127379aa2d74b6067c9bc9ab55ec https://github.com/OpenSIPS/opensips/commit/7f59fbed8b52127379aa2d74b6067c9bc9ab55ec Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M db/db.c M modules/dialplan/dp_db.h Log Message: ----------- clang15 fix: define function prototype properly. Commit: 33377365d254ea22c90e4a321d62ac2dcf791366 https://github.com/OpenSIPS/opensips/commit/33377365d254ea22c90e4a321d62ac2dcf791366 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: M modules/pi_http/pi_http.c Log Message: ----------- clang-15 fix: make child_init() prototype match actual function. Commit: 08a489ee65de2879bbecb9210a9b1a74887751c6 https://github.com/OpenSIPS/opensips/commit/08a489ee65de2879bbecb9210a9b1a74887751c6 Author: Maksym Sobolyev Date: 2023-03-23 (Thu, 23 Mar 2023) Changed paths: A .github/workflows/main.yml M .travis.yml A scripts/build/build.conf.sub A scripts/build/do_build.sh A scripts/build/install_depends.sh A scripts/build/linkstatic.sh Log Message: ----------- Enable GH Actions. Compare: https://github.com/OpenSIPS/opensips/compare/4097ca527223...08a489ee65de From noreply at github.com Mon Mar 27 19:55:57 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 27 Mar 2023 12:55:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 159fc0: dialog: support named scripting flags Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 159fc077bb56dc00107333865ca746302dae0cb1 https://github.com/OpenSIPS/opensips/commit/159fc077bb56dc00107333865ca746302dae0cb1 Author: Vlad Patrascu Date: 2023-03-27 (Mon, 27 Mar 2023) Changed paths: M db/schema/dialog.xml M flags.c M flags.h M modules/dialog/dialog.c M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_db_handler.h M modules/dialog/dlg_handlers.c M modules/dialog/dlg_handlers.h M modules/dialog/dlg_hash.c M modules/dialog/doc/dialog_admin.xml M modules/usrloc/dlist.c M modules/usrloc/udomain.c M pvar.c M scripts/db_berkeley/opensips/dialog M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/dialog M scripts/dbtext/opensips/version M scripts/mysql/dialog-create.sql M scripts/oracle/dialog-create.sql M scripts/pi_http/dialog-table M scripts/pi_http/pi_framework.xml M scripts/postgres/dialog-create.sql M scripts/sqlite/dialog-create.sql Log Message: ----------- dialog: support named scripting flags Dialog flags will now be handled as alphanumerical values instead of integer bit indexes, in the same way as the message and branch scripting flags. From noreply at github.com Tue Mar 28 07:20:15 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 Mar 2023 00:20:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16f521: params: initialize expanded parameters Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 16f5212d865fd75ca6f519381358e031ca9a10e2 https://github.com/OpenSIPS/opensips/commit/16f5212d865fd75ca6f519381358e031ca9a10e2 Author: Razvan Crainea Date: 2023-03-28 (Tue, 28 Mar 2023) Changed paths: M action.c Log Message: ----------- params: initialize expanded parameters Also, do not indicate that an INT also has a STR value if it doesn't, because other functions might try to evaluate it; and combined with the lack of initialization, it might end up reading whatever leftovers are in the `.rs` field, posibly leading to a crash. Many thanks to Nick Altmann for reporting this and Liviu Chircu for testing and support :) From noreply at github.com Tue Mar 28 07:20:23 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 Mar 2023 00:20:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 712db2: params: initialize expanded parameters Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 712db28511ff6070a72df81b9083a4562a981866 https://github.com/OpenSIPS/opensips/commit/712db28511ff6070a72df81b9083a4562a981866 Author: Razvan Crainea Date: 2023-03-28 (Tue, 28 Mar 2023) Changed paths: M action.c Log Message: ----------- params: initialize expanded parameters Also, do not indicate that an INT also has a STR value if it doesn't, because other functions might try to evaluate it; and combined with the lack of initialization, it might end up reading whatever leftovers are in the `.rs` field, posibly leading to a crash. Many thanks to Nick Altmann for reporting this and Liviu Chircu for testing and support :) (cherry picked from commit 16f5212d865fd75ca6f519381358e031ca9a10e2) From noreply at github.com Tue Mar 28 07:20:37 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 Mar 2023 00:20:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5392ea: params: initialize expanded parameters Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 5392ea0d15d962ef09ee3c06028d6daa621ad9fa https://github.com/OpenSIPS/opensips/commit/5392ea0d15d962ef09ee3c06028d6daa621ad9fa Author: Razvan Crainea Date: 2023-03-28 (Tue, 28 Mar 2023) Changed paths: M action.c Log Message: ----------- params: initialize expanded parameters Also, do not indicate that an INT also has a STR value if it doesn't, because other functions might try to evaluate it; and combined with the lack of initialization, it might end up reading whatever leftovers are in the `.rs` field, posibly leading to a crash. Many thanks to Nick Altmann for reporting this and Liviu Chircu for testing and support :) (cherry picked from commit 16f5212d865fd75ca6f519381358e031ca9a10e2) From bogdan at opensips.org Tue Mar 28 14:52:58 2023 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 28 Mar 2023 17:52:58 +0300 Subject: [OpenSIPS-Devel] [Blog] OpenSIPS Summit 2023, T-2 months to launch Message-ID: Hi all, Why US, why Houston, why you should join OpenSIPS Summit? Here are some good reasons for that :) https://blog.opensips.org/2023/03/28/opensips-summit-2023-t-2-months-to-launch/ -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2023, Houston, US https://www.opensips.org/events/Summit-2023Houston/ From noreply at github.com Wed Mar 29 13:19:49 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 Mar 2023 06:19:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89b7c8: params: duplicate INT value as string Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 89b7c8d5c84bcf131da3554480ed2573e28c5825 https://github.com/OpenSIPS/opensips/commit/89b7c8d5c84bcf131da3554480ed2573e28c5825 Author: Razvan Crainea Date: 2023-03-29 (Wed, 29 Mar 2023) Changed paths: M action.c Log Message: ----------- params: duplicate INT value as string This prevents errors raised when comparing the INT with STR From noreply at github.com Wed Mar 29 13:20:02 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 Mar 2023 06:20:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e1b9e1: params: duplicate INT value as string Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: e1b9e1ebbd5fed327d2bb144d2c5523cb40c04fe https://github.com/OpenSIPS/opensips/commit/e1b9e1ebbd5fed327d2bb144d2c5523cb40c04fe Author: Razvan Crainea Date: 2023-03-29 (Wed, 29 Mar 2023) Changed paths: M action.c Log Message: ----------- params: duplicate INT value as string This prevents errors raised when comparing the INT with STR (cherry picked from commit 89b7c8d5c84bcf131da3554480ed2573e28c5825) From noreply at github.com Wed Mar 29 13:20:09 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 Mar 2023 06:20:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 688365: params: duplicate INT value as string Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 68836506726f7b4808449247279540f6984fbbd2 https://github.com/OpenSIPS/opensips/commit/68836506726f7b4808449247279540f6984fbbd2 Author: Razvan Crainea Date: 2023-03-29 (Wed, 29 Mar 2023) Changed paths: M action.c Log Message: ----------- params: duplicate INT value as string This prevents errors raised when comparing the INT with STR (cherry picked from commit 89b7c8d5c84bcf131da3554480ed2573e28c5825) From noreply at github.com Thu Mar 30 09:15:29 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 30 Mar 2023 02:15:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 312cdd: b2b_logic: fix crash when sending NOTIFY for local... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 312cdd4da1a1a23429b7e2a47c0889795c50c8a3 https://github.com/OpenSIPS/opensips/commit/312cdd4da1a1a23429b7e2a47c0889795c50c8a3 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_logic: fix crash when sending NOTIFY for local timeout This commit fixes a crash when using the 'n' flag of the b2b_bridge() function, and a local timeout occurs. The crash was caused by improperly setting the first line of the the dummy SIP message built by the b2b_entities module. Commit: 266e5524ad11732912d6e990d499aedf25ea1eed https://github.com/OpenSIPS/opensips/commit/266e5524ad11732912d6e990d499aedf25ea1eed Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/bridging.c Log Message: ----------- b2b_logic: fix a bridging issue when using the 'peer' identifier Don't fail the bridging action when using the 'peer' identifier for the b2b_bridge() function and the current entity is already deleted. Commit: a72cfbeda919eca0020d34e33c844cc3b49a3b71 https://github.com/OpenSIPS/opensips/commit/a72cfbeda919eca0020d34e33c844cc3b49a3b71 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/bridging.c M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: ignore replies to NOTIFYs sent while bridging This will get rid of the races between the processing of the replies for the NOTIFY and the subsequent BYE sent to the bridge initiator. The entity might be already deleted as a result of handling the 200 OK for the BYE before we try to do a lookup again for handling the NOTIFY reply. These races would not produce any significant negative effects but OpenSIPS would log unnecessary 'No b2b_key match found' errors. Compare: https://github.com/OpenSIPS/opensips/compare/89b7c8d5c84b...a72cfbeda919 From noreply at github.com Thu Mar 30 09:38:37 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 30 Mar 2023 02:38:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 665715: b2b_logic: fix crash when sending NOTIFY for local... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 665715bdb9d2ab8f81c6351a49f45a0fe61e5f6c https://github.com/OpenSIPS/opensips/commit/665715bdb9d2ab8f81c6351a49f45a0fe61e5f6c Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_logic: fix crash when sending NOTIFY for local timeout This commit fixes a crash when using the 'n' flag of the b2b_bridge() function, and a local timeout occurs. The crash was caused by improperly setting the first line of the the dummy SIP message built by the b2b_entities module. (cherry picked from commit 312cdd4da1a1a23429b7e2a47c0889795c50c8a3) Commit: 9f5e4370ccbc19e87c7359c26f14eb63d12face4 https://github.com/OpenSIPS/opensips/commit/9f5e4370ccbc19e87c7359c26f14eb63d12face4 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: fix a bridging issue when using the 'peer' identifier Don't fail the bridging action when using the 'peer' identifier for the b2b_bridge() function and the current entity is already deleted. (cherry picked from commit 266e5524ad11732912d6e990d499aedf25ea1eed) Commit: b17e4feb1b43db481a0a724f266851bc0481c3ed https://github.com/OpenSIPS/opensips/commit/b17e4feb1b43db481a0a724f266851bc0481c3ed Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: ignore replies to NOTIFYs sent while bridging This will get rid of the races between the processing of the replies for the NOTIFY and the subsequent BYE sent to the bridge initiator. The entity might be already deleted as a result of handling the 200 OK for the BYE before we try to do a lookup again for handling the NOTIFY reply. These races would not produce any significant negative effects but OpenSIPS would log unnecessary 'No b2b_key match found' errors. (cherry picked from commit a72cfbeda919eca0020d34e33c844cc3b49a3b71) Compare: https://github.com/OpenSIPS/opensips/compare/e1b9e1ebbd5f...b17e4feb1b43 From noreply at github.com Thu Mar 30 09:47:37 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 30 Mar 2023 02:47:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53b0a5: b2b_logic: fix crash when sending NOTIFY for local... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 53b0a53ea4c55f3717b7af77b1df85f360e4b782 https://github.com/OpenSIPS/opensips/commit/53b0a53ea4c55f3717b7af77b1df85f360e4b782 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_logic: fix crash when sending NOTIFY for local timeout This commit fixes a crash when using the 'n' flag of the b2b_bridge() function, and a local timeout occurs. The crash was caused by improperly setting the first line of the the dummy SIP message built by the b2b_entities module. (cherry picked from commit 312cdd4da1a1a23429b7e2a47c0889795c50c8a3) Commit: d47503c5248e10f90018fccf159837a2492a1419 https://github.com/OpenSIPS/opensips/commit/d47503c5248e10f90018fccf159837a2492a1419 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: fix a bridging issue when using the 'peer' identifier Don't fail the bridging action when using the 'peer' identifier for the b2b_bridge() function and the current entity is already deleted. (cherry picked from commit 266e5524ad11732912d6e990d499aedf25ea1eed) Commit: 39724fd71b8c699f62a49931489c82109e5ef5f3 https://github.com/OpenSIPS/opensips/commit/39724fd71b8c699f62a49931489c82109e5ef5f3 Author: Vlad Patrascu Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: ignore replies to NOTIFYs sent while bridging This will get rid of the races between the processing of the replies for the NOTIFY and the subsequent BYE sent to the bridge initiator. The entity might be already deleted as a result of handling the 200 OK for the BYE before we try to do a lookup again for handling the NOTIFY reply. These races would not produce any significant negative effects but OpenSIPS would log unnecessary 'No b2b_key match found' errors. (cherry picked from commit a72cfbeda919eca0020d34e33c844cc3b49a3b71) Compare: https://github.com/OpenSIPS/opensips/compare/68836506726f...39724fd71b8c From noreply at github.com Fri Mar 31 09:59:12 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 02:59:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66bc6f: tm: expose t_release_transaction in API Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 66bc6fd8f3e82f02919e27a8d728c09b0aa3615e https://github.com/OpenSIPS/opensips/commit/66bc6fd8f3e82f02919e27a8d728c09b0aa3615e Author: Razvan Crainea Date: 2023-03-30 (Thu, 30 Mar 2023) Changed paths: M modules/tm/t_funcs.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: expose t_release_transaction in API Commit: 11f685ffae7f651004d349ada32579f260fa63ca https://github.com/OpenSIPS/opensips/commit/11f685ffae7f651004d349ada32579f260fa63ca Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: match e2e ACK according to dlg, not transaction This change presumes that uas_tran is no longer reset on 200 OK, but kept in memory until the ACK comes in. Compare: https://github.com/OpenSIPS/opensips/compare/a72cfbeda919...11f685ffae7f From noreply at github.com Fri Mar 31 09:59:17 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 02:59:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23a8ba: tm: expose t_release_transaction in API Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 23a8ba9d65a504e3abaeef4e32a1a00b92e3bb3b https://github.com/OpenSIPS/opensips/commit/23a8ba9d65a504e3abaeef4e32a1a00b92e3bb3b Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/tm/t_funcs.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: expose t_release_transaction in API (cherry picked from commit 66bc6fd8f3e82f02919e27a8d728c09b0aa3615e) Commit: 3297766162e34309e5aeab5ae562645b426dfb81 https://github.com/OpenSIPS/opensips/commit/3297766162e34309e5aeab5ae562645b426dfb81 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: match e2e ACK according to dlg, not transaction This change presumes that uas_tran is no longer reset on 200 OK, but kept in memory until the ACK comes in. (cherry picked from commit 11f685ffae7f651004d349ada32579f260fa63ca) Compare: https://github.com/OpenSIPS/opensips/compare/b17e4feb1b43...3297766162e3 From noreply at github.com Fri Mar 31 09:59:25 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 02:59:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20bc99: tm: expose t_release_transaction in API Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 20bc99022c151331e75234d45751a30e924acb26 https://github.com/OpenSIPS/opensips/commit/20bc99022c151331e75234d45751a30e924acb26 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/tm/t_funcs.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: expose t_release_transaction in API (cherry picked from commit 66bc6fd8f3e82f02919e27a8d728c09b0aa3615e) Commit: 537243aa287b7f4a24ac6b9073110ab96052e3f9 https://github.com/OpenSIPS/opensips/commit/537243aa287b7f4a24ac6b9073110ab96052e3f9 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: match e2e ACK according to dlg, not transaction This change presumes that uas_tran is no longer reset on 200 OK, but kept in memory until the ACK comes in. (cherry picked from commit 11f685ffae7f651004d349ada32579f260fa63ca) Compare: https://github.com/OpenSIPS/opensips/compare/08a489ee65de...537243aa287b From noreply at github.com Fri Mar 31 09:59:30 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 02:59:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 120518: tm: expose t_release_transaction in API Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 1205184ebc234344cc86b50002220165e80e44b0 https://github.com/OpenSIPS/opensips/commit/1205184ebc234344cc86b50002220165e80e44b0 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/tm/t_funcs.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: expose t_release_transaction in API (cherry picked from commit 66bc6fd8f3e82f02919e27a8d728c09b0aa3615e) Commit: 0e4197ee590b0eaffda71afc9dd6a54086839432 https://github.com/OpenSIPS/opensips/commit/0e4197ee590b0eaffda71afc9dd6a54086839432 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: match e2e ACK according to dlg, not transaction This change presumes that uas_tran is no longer reset on 200 OK, but kept in memory until the ACK comes in. (cherry picked from commit 11f685ffae7f651004d349ada32579f260fa63ca) Compare: https://github.com/OpenSIPS/opensips/compare/39724fd71b8c...0e4197ee590b From noreply at github.com Fri Mar 31 10:19:46 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 03:19:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 789893: b2b_entities: fix cherry-pick merge in previous co... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 789893166e2bf1020f23eaf29d01fde2ab4224d6 https://github.com/OpenSIPS/opensips/commit/789893166e2bf1020f23eaf29d01fde2ab4224d6 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix cherry-pick merge in previous commit From noreply at github.com Fri Mar 31 10:20:02 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 03:20:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 409c22: b2b_entities: fix cherry-pick merge in previous co... Message-ID: Branch: refs/heads/3.2 Home: https://github.com/OpenSIPS/opensips Commit: 409c22a2e27bb7f6e37d2c81d6408978a219c5af https://github.com/OpenSIPS/opensips/commit/409c22a2e27bb7f6e37d2c81d6408978a219c5af Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix cherry-pick merge in previous commit (cherry picked from commit 789893166e2bf1020f23eaf29d01fde2ab4224d6) From noreply at github.com Fri Mar 31 10:20:29 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 03:20:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e76bd: b2b_entities: fix cherry-pick merge in previous co... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: 3e76bd43655dac7db65c3513e467e9d61879795d https://github.com/OpenSIPS/opensips/commit/3e76bd43655dac7db65c3513e467e9d61879795d Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix cherry-pick merge in previous commit (cherry picked from commit 789893166e2bf1020f23eaf29d01fde2ab4224d6) From noreply at github.com Fri Mar 31 10:39:35 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 03:39:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0aeb3: b2b_entities: fix cherry-pick merge in previous co... Message-ID: Branch: refs/heads/3.1 Home: https://github.com/OpenSIPS/opensips Commit: f0aeb3a7578bd2b4a4dd3dd7cf4d25d844473b1a https://github.com/OpenSIPS/opensips/commit/f0aeb3a7578bd2b4a4dd3dd7cf4d25d844473b1a Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix cherry-pick merge in previous commit (part 2) From noreply at github.com Fri Mar 31 11:16:27 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 04:16:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c1dfd5: rtpengine: fix play_dtmf callid and tags specifica... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c1dfd50073e98975f1386f46741b7502d7f6d81b https://github.com/OpenSIPS/opensips/commit/c1dfd50073e98975f1386f46741b7502d7f6d81b Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix play_dtmf callid and tags specifications From noreply at github.com Fri Mar 31 11:16:36 2023 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 Mar 2023 04:16:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7873d5: rtpengine: fix play_dtmf callid and tags specifica... Message-ID: Branch: refs/heads/3.3 Home: https://github.com/OpenSIPS/opensips Commit: 7873d54db4688cf7c0bfc581ccd3cd2560f55141 https://github.com/OpenSIPS/opensips/commit/7873d54db4688cf7c0bfc581ccd3cd2560f55141 Author: Razvan Crainea Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: fix play_dtmf callid and tags specifications (cherry picked from commit c1dfd50073e98975f1386f46741b7502d7f6d81b) From noreply at github.com Fri Mar 31 12:31:27 2023 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 31 Mar 2023 05:31:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4d0199: b2b_logic: fix inconsistent Contact building mecha... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 4d0199f000cdcdd6a3e0156e534f24df4f293862 https://github.com/OpenSIPS/opensips/commit/4d0199f000cdcdd6a3e0156e534f24df4f293862 Author: Vlad Patrascu Date: 2023-03-31 (Fri, 31 Mar 2023) Changed paths: M modules/b2b_logic/b2b_logic.h M modules/b2b_logic/bridging.c M modules/b2b_logic/logic.c Log Message: ----------- b2b_logic: fix inconsistent Contact building mechanism Make sure the Contact is always built by first attempting to use the server_adress modparam and then, if it's not set, by using the socket where the current message is received (or the forced send socket).