From bogdan at opensips.org Wed May 1 03:18:41 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 1 May 2019 10:18:41 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS Summit 2019] Video Recordings and Live Streaming Message-ID: <362785b1-dbbd-1e8f-9cd4-85f24795eac3@opensips.org> Hi all, For those unable to join us in Amsterdam for the OpenSIPS Summit, here is the recording of the first day Tue, 30th of April https://youtu.be/Wm_kDdAqR30 and the live streaming for today, the second day, 1st of May: https://youtu.be/OaH9r06CmIw Enjoy! -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ From noreply at github.com Wed May 1 07:41:19 2019 From: noreply at github.com (Nick Altmann) Date: Wed, 01 May 2019 04:41:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dc20f8: RPM packaging: remove m4 support Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: dc20f8b516e5c050e2a432e56e8e8dec2f0603f8 https://github.com/OpenSIPS/opensips/commit/dc20f8b516e5c050e2a432e56e8e8dec2f0603f8 Author: Nick Altmann Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: R packaging/redhat_fedora/opensips-m4cfg M packaging/redhat_fedora/opensips.service M packaging/redhat_fedora/opensips.spec Log Message: ----------- RPM packaging: remove m4 support Commit: 3ff6d0480a42e050891260c7343a1e88f48e930f https://github.com/OpenSIPS/opensips/commit/3ff6d0480a42e050891260c7343a1e88f48e930f Author: Nick Altmann Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: R packaging/debian/opensips-m4cfg M packaging/debian/opensips.manpages M packaging/debian/opensips.service M packaging/debian/rules Log Message: ----------- DEB packaging: remove m4 support Compare: https://github.com/OpenSIPS/opensips/compare/b8921cfcf2e0...3ff6d0480a42 From noreply at github.com Wed May 1 07:41:27 2019 From: noreply at github.com (Nick Altmann) Date: Wed, 01 May 2019 04:41:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01afc2: RPM packaging: remove m4 support Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 01afc2284b3a213f8cb800aa47d0494ebd806804 https://github.com/OpenSIPS/opensips/commit/01afc2284b3a213f8cb800aa47d0494ebd806804 Author: Nick Altmann Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: R packaging/redhat_fedora/opensips-m4cfg M packaging/redhat_fedora/opensips.service M packaging/redhat_fedora/opensips.spec Log Message: ----------- RPM packaging: remove m4 support Commit: 30373dcf5cf3a32fde51d11e04786f82a70aa403 https://github.com/OpenSIPS/opensips/commit/30373dcf5cf3a32fde51d11e04786f82a70aa403 Author: Nick Altmann Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: R packaging/debian/opensips-m4cfg M packaging/debian/opensips.manpages M packaging/debian/opensips.service M packaging/debian/rules Log Message: ----------- DEB packaging: remove m4 support Compare: https://github.com/OpenSIPS/opensips/compare/67a1a0218dc8...30373dcf5cf3 From noreply at github.com Wed May 1 09:30:46 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 01 May 2019 06:30:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9f2b77: Remove quotes breaking default config Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9f2b776b2895494bb029667d0adf6a109290fd83 https://github.com/OpenSIPS/opensips/commit/9f2b776b2895494bb029667d0adf6a109290fd83 Author: Fabian Gast Date: 2019-04-30 (Tue, 30 Apr 2019) Changed paths: M etc/opensips.cfg Log Message: ----------- Remove quotes breaking default config Commit: 6f5d7953ee3f20a043e590736062953be7909ea0 https://github.com/OpenSIPS/opensips/commit/6f5d7953ee3f20a043e590736062953be7909ea0 Author: Răzvan Crainea Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M etc/opensips.cfg Log Message: ----------- Merge pull request #1684 from fgast/fix-typo-opensips_cfg Remove quotes breaking default config Compare: https://github.com/OpenSIPS/opensips/compare/30373dcf5cf3...6f5d7953ee3f From noreply at github.com Wed May 1 10:35:59 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 01 May 2019 07:35:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 779130: tracer: always load the trace api Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 779130478937fe92fcac145205dc4039c1126772 https://github.com/OpenSIPS/opensips/commit/779130478937fe92fcac145205dc4039c1126772 Author: Razvan Crainea Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: always load the trace api From noreply at github.com Wed May 1 10:36:24 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 01 May 2019 14:36:24 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 93c394: tracer: always load the trace api Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 93c3942aa330e0a9ab5b228442b760a6e0bb08b0 https://github.com/OpenSIPS/opensips/commit/93c3942aa330e0a9ab5b228442b760a6e0bb08b0 Author: Razvan Crainea Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: always load the trace api (cherry picked from commit 779130478937fe92fcac145205dc4039c1126772) From noreply at github.com Wed May 1 11:28:50 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 01 May 2019 15:28:50 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 857f03: aaa_radius: Added back aaa_bind_api to the command... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 857f034addc7d2730c18f465307a53b1b04b2ece https://github.com/OpenSIPS/opensips/commit/857f034addc7d2730c18f465307a53b1b04b2ece Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/aaa_radius/aaa_radius.c Log Message: ----------- aaa_radius: Added back aaa_bind_api to the command interface (cherry picked from commit cadac89b47f886d55ec98a301a9d276a75dc3782) From noreply at github.com Wed May 1 11:28:59 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 01 May 2019 08:28:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cadac8: aaa_radius: Added back aaa_bind_api to the command... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cadac89b47f886d55ec98a301a9d276a75dc3782 https://github.com/OpenSIPS/opensips/commit/cadac89b47f886d55ec98a301a9d276a75dc3782 Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/aaa_radius/aaa_radius.c Log Message: ----------- aaa_radius: Added back aaa_bind_api to the command interface From noreply at github.com Wed May 1 11:30:31 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 01 May 2019 08:30:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e1d4f: sipmsgops: Fixed is_present_hf for non-standard he... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e1d4f3416ebc5f55ee44c315e93d15a0cbe5cc1 https://github.com/OpenSIPS/opensips/commit/0e1d4f3416ebc5f55ee44c315e93d15a0cbe5cc1 Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- sipmsgops: Fixed is_present_hf for non-standard headers From noreply at github.com Wed May 1 11:30:57 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 01 May 2019 15:30:57 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3efc8b: sipmsgops: Fixed is_present_hf for non-standard he... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3efc8bd4c05ab4f6aad4dbd1acc94ba73eec4dda https://github.com/OpenSIPS/opensips/commit/3efc8bd4c05ab4f6aad4dbd1acc94ba73eec4dda Author: Dan Pascu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- sipmsgops: Fixed is_present_hf for non-standard headers (cherry picked from commit 0e1d4f3416ebc5f55ee44c315e93d15a0cbe5cc1) From noreply at github.com Wed May 1 11:39:22 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 May 2019 08:39:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 03de04: preprocessor: Fix off-by-one buffer overflows Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 03de04f29f26d012beee65d4432dbfbeff265b00 https://github.com/OpenSIPS/opensips/commit/03de04f29f26d012beee65d4432dbfbeff265b00 Author: Liviu Chircu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- preprocessor: Fix off-by-one buffer overflows Reported by Dan Pascu From noreply at github.com Wed May 1 11:39:56 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 May 2019 08:39:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89535e: preprocessor: Fix off-by-one buffer overflows Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 89535e02d8cb9ddaf9e3896ce69418f28cf557a4 https://github.com/OpenSIPS/opensips/commit/89535e02d8cb9ddaf9e3896ce69418f28cf557a4 Author: Liviu Chircu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- preprocessor: Fix off-by-one buffer overflows Reported by Dan Pascu (cherry picked from commit 03de04f29f26d012beee65d4432dbfbeff265b00) From liviu at opensips.org Wed May 1 11:42:29 2019 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 1 May 2019 18:42:29 +0300 Subject: [OpenSIPS-Devel] Buffer overflow In-Reply-To: <12F0F4B8-FF4F-4DFB-9A4B-CABBF1780723@ag-projects.com> References: <12F0F4B8-FF4F-4DFB-9A4B-CABBF1780723@ag-projects.com> Message-ID: <2b8e46ab-4b03-5499-1886-b6420276bb7d@opensips.org> Hi Dan, Thanks for the hint -- just pushed a fix.  Also, thanks for the ASAN tip :) On 4/30/19 7:15 PM, Dan Pascu wrote: > There seems to be some buffer overflow in the code that flattens the configuration: > > Apr 30 18:00:55 node15 opensips: ==7892==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x633000018800 at pc 0x7f7c1bf946aa bp 0x7ffc90558800 sp 0x7ffc90557fb0 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: WRITE of size 54 at 0x633000018800 thread T0 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #0 0x7f7c1bf946a9 in vsprintf (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x546a9) > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #1 0x7f7c1bf949f6 in __interceptor_sprintf (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x549f6) > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #2 0x5649c1d07761 in __flatten_opensips_cfg cfg_pp.c:280 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #3 0x5649c1d094fc in flatten_opensips_cfg cfg_pp.c:318 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #4 0x5649c1d094fc in parse_opensips_cfg cfg_pp.c:77 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #5 0x5649c1c39cf9 in main main.c:1205 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #6 0x7f7c1bd7409a in __libc_start_main ../csu/libc-start.c:308 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #7 0x5649c1c41bc9 in _start (/home/dan/work/opensips/build/opensips-xs/opensips+0xe5bc9) > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: 0x633000018800 is located 0 bytes to the right of 98304-byte region [0x633000000800,0x633000018800) > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: allocated by thread T0 here: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #0 0x7f7c1c029740 in __interceptor_realloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9740) > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #1 0x5649c1d069fb in extend_cfg_buf cfg_pp.c:117 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #2 0x5649c1d076bb in __flatten_opensips_cfg cfg_pp.c:274 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #3 0x5649c1d094fc in flatten_opensips_cfg cfg_pp.c:318 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #4 0x5649c1d094fc in parse_opensips_cfg cfg_pp.c:77 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #5 0x5649c1c39cf9 in main main.c:1205 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: #6 0x7f7c1bd7409a in __libc_start_main ../csu/libc-start.c:308 > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: SUMMARY: AddressSanitizer: heap-buffer-overflow (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x546a9) in vsprintf > Apr 30 18:00:55 node15 opensips: > Apr 30 18:00:55 node15 opensips: Shadow bytes around the buggy address: > Apr 30 18:00:55 node15 opensips: 0x0c667fffb0b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Apr 30 18:00:55 node15 opensips: 0x0c667fffb0c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Apr 30 18:00:55 node15 opensips: 0x0c667fffb0d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Apr 30 18:00:55 node15 opensips: 0x0c667fffb0e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Apr 30 18:00:55 node15 opensips: 0x0c667fffb0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > Apr 30 18:00:55 node15 opensips: =>0x0c667fffb100:[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: 0x0c667fffb110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: 0x0c667fffb120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: 0x0c667fffb130: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: 0x0c667fffb140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: 0x0c667fffb150: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa > Apr 30 18:00:55 node15 opensips: Shadow byte legend (one shadow byte represents 8 application bytes): > Apr 30 18:00:55 node15 opensips: Addressable: 00 > Apr 30 18:00:55 node15 opensips: Partially addressable: 01 02 03 04 05 06 07 > Apr 30 18:00:55 node15 opensips: Heap left redzone: fa > Apr 30 18:00:55 node15 opensips: Freed heap region: fd > Apr 30 18:00:55 node15 opensips: Stack left redzone: f1 > Apr 30 18:00:55 node15 opensips: Stack mid redzone: f2 > Apr 30 18:00:55 node15 opensips: Stack right redzone: f3 > Apr 30 18:00:55 node15 opensips: Stack after return: f5 > Apr 30 18:00:55 node15 opensips: Stack use after scope: f8 > Apr 30 18:00:55 node15 opensips: Global redzone: f9 > Apr 30 18:00:55 node15 opensips: Global init order: f6 > Apr 30 18:00:55 node15 opensips: Poisoned by user: f7 > Apr 30 18:00:55 node15 opensips: Container overflow: fc > Apr 30 18:00:55 node15 opensips: Array cookie: ac > Apr 30 18:00:55 node15 opensips: Intra object redzone: bb > Apr 30 18:00:55 node15 opensips: ASan internal: fe > Apr 30 18:00:55 node15 opensips: Left alloca redzone: ca > Apr 30 18:00:55 node15 opensips: Right alloca redzone: cb > Apr 30 18:00:55 node15 opensips: > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel From dan at ag-projects.com Wed May 1 11:49:21 2019 From: dan at ag-projects.com (Dan Pascu) Date: Wed, 1 May 2019 18:49:21 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 779130: tracer: always load the trace api In-Reply-To: References: Message-ID: <63659410-ABC2-41FE-9075-C6E4EBE98004@ag-projects.com> With this patch opensips fails to start: May 1 17:43:45 node15 ./opensips[22452]: INFO:tracer:mod_init: initializing... May 1 17:43:45 node15 ./opensips[22452]: ERROR:tracer:mod_init: Failed to bind tracing protocol! May 1 17:43:45 node15 ./opensips[22452]: ERROR:core:init_mod: failed to initialize module tracer May 1 17:43:45 node15 ./opensips[22452]: ERROR:core:main: error while initializing modules May 1 17:43:45 node15 ./opensips[22452]: INFO:core:cleanup: cleanup May 1 17:43:45 node15 ./opensips[22452]: NOTICE:core:main: Exiting.... On 1 May 2019, at 17:35, Răzvan Crainea wrote: > Branch: refs/heads/master > Home: https://github.com/OpenSIPS/opensips > Commit: 779130478937fe92fcac145205dc4039c1126772 > https://github.com/OpenSIPS/opensips/commit/779130478937fe92fcac145205dc4039c1126772 > Author: Razvan Crainea > Date: 2019-05-01 (Wed, 01 May 2019) > > Changed paths: > M modules/tracer/tracer.c > > Log Message: > ----------- > tracer: always load the trace api > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan From noreply at github.com Wed May 1 13:56:06 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 May 2019 10:56:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f1fb2b: preprocessor: Improve handling for large input files Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f1fb2bd3395738dc3ec1711c7c512e3a361b4ccd https://github.com/OpenSIPS/opensips/commit/f1fb2bd3395738dc3ec1711c7c512e3a361b4ccd Author: Liviu Chircu Date: 2019-05-01 (Wed, 01 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- preprocessor: Improve handling for large input files Reported by Vasilios Tzanoudakis From noreply at github.com Wed May 1 17:21:21 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 May 2019 14:21:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 95c853: preprocessor: Improve handling for large input files Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 95c8539986ca73ccd75e7f72836e13a725efdb50 https://github.com/OpenSIPS/opensips/commit/95c8539986ca73ccd75e7f72836e13a725efdb50 Author: Liviu Chircu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- preprocessor: Improve handling for large input files Reported by Vasilios Tzanoudakis (cherry picked from commit f1fb2bd3395738dc3ec1711c7c512e3a361b4ccd) From noreply at github.com Thu May 2 06:04:02 2019 From: noreply at github.com (Dan Pascu) Date: Thu, 02 May 2019 10:04:02 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 216dc4: Fixed error in handling fcntl's output (which is a... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 216dc40a0339d9e821de0b05c56f3f7cd1da7531 https://github.com/OpenSIPS/opensips/commit/216dc40a0339d9e821de0b05c56f3f7cd1da7531 Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Fixed error in handling fcntl's output (which is an int) From noreply at github.com Thu May 2 06:08:05 2019 From: noreply at github.com (Dan Pascu) Date: Thu, 02 May 2019 10:08:05 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 08cff3: Revert "tracer: always load the trace api" Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 08cff3486e8ad9e7f4fc52cdb202c3201a3435ae https://github.com/OpenSIPS/opensips/commit/08cff3486e8ad9e7f4fc52cdb202c3201a3435ae Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Revert "tracer: always load the trace api" This reverts commit 779130478937fe92fcac145205dc4039c1126772 which forced one to load proto_hep and define at least 1 listener for it even when HEP was not used, in order to have the tracer module load. From noreply at github.com Thu May 2 06:09:10 2019 From: noreply at github.com (Dan Pascu) Date: Thu, 02 May 2019 03:09:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b6d6fc: Fixed error in handling fcntl's output (which is a... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b6d6fc913981711336044dcd503c43d7ecadb44a https://github.com/OpenSIPS/opensips/commit/b6d6fc913981711336044dcd503c43d7ecadb44a Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Fixed error in handling fcntl's output (which is an int) (cherry picked from commit 216dc40a0339d9e821de0b05c56f3f7cd1da7531) Commit: 656bf69564ffb81496bd17ab996db2731bf4286b https://github.com/OpenSIPS/opensips/commit/656bf69564ffb81496bd17ab996db2731bf4286b Author: Dan Pascu Date: 2019-05-02 (Thu, 02 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Revert "tracer: always load the trace api" This reverts commit 779130478937fe92fcac145205dc4039c1126772 which forced one to load proto_hep and define at least 1 listener for it even when HEP was not used, in order to have the tracer module load. (cherry picked from commit 08cff3486e8ad9e7f4fc52cdb202c3201a3435ae) Compare: https://github.com/OpenSIPS/opensips/compare/95c8539986ca...656bf69564ff From noreply at github.com Fri May 3 05:27:37 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 03 May 2019 02:27:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89127c: statistics: fix crash in update_stat(), reset_stat() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 89127cc95a007cf7fe6560f8202d23a18052d1b6 https://github.com/OpenSIPS/opensips/commit/89127cc95a007cf7fe6560f8202d23a18052d1b6 Author: Vlad Patrascu Date: 2019-05-03 (Fri, 03 May 2019) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: fix crash in update_stat(), reset_stat() From noreply at github.com Fri May 3 05:28:35 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 03 May 2019 02:28:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f0f6cd: statistics: fix crash in update_stat(), reset_stat() Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f0f6cd7ba77a5b623ef9375d99381e2cf2650907 https://github.com/OpenSIPS/opensips/commit/f0f6cd7ba77a5b623ef9375d99381e2cf2650907 Author: Vlad Patrascu Date: 2019-05-03 (Fri, 03 May 2019) Changed paths: M modules/statistics/statistics.c Log Message: ----------- statistics: fix crash in update_stat(), reset_stat() (cherry picked from commit 89127cc95a007cf7fe6560f8202d23a18052d1b6) From noreply at github.com Fri May 3 07:16:31 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 03 May 2019 04:16:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 27b899: dispatcher: fix replication of the probing state Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 27b899be021d0059bb30142ce475c7540cd1c8c1 https://github.com/OpenSIPS/opensips/commit/27b899be021d0059bb30142ce475c7540cd1c8c1 Author: Vlad Patrascu Date: 2019-05-03 (Fri, 03 May 2019) Changed paths: M modules/dispatcher/dispatch.c Log Message: ----------- dispatcher: fix replication of the probing state From noreply at github.com Fri May 3 07:56:10 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 03 May 2019 04:56:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 462a33: dispatcher: fix replication of the probing state Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 462a3395e15b2f7fbd1f864c505df500f87acb60 https://github.com/OpenSIPS/opensips/commit/462a3395e15b2f7fbd1f864c505df500f87acb60 Author: Vlad Patrascu Date: 2019-05-03 (Fri, 03 May 2019) Changed paths: M modules/dispatcher/dispatch.c Log Message: ----------- dispatcher: fix replication of the probing state (cherry picked from commit 27b899be021d0059bb30142ce475c7540cd1c8c1) From noreply at github.com Fri May 3 11:11:30 2019 From: noreply at github.com (Fabian Gast) Date: Fri, 03 May 2019 15:11:30 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 50352c: Remove quotes breaking default config Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 50352c247877d08e39f4a368b292658be1a84712 https://github.com/OpenSIPS/opensips/commit/50352c247877d08e39f4a368b292658be1a84712 Author: Fabian Gast Date: 2019-05-03 (Fri, 03 May 2019) Changed paths: M etc/opensips.cfg Log Message: ----------- Remove quotes breaking default config (cherry picked from commit 9f2b776b2895494bb029667d0adf6a109290fd83) From noreply at github.com Sun May 5 15:40:21 2019 From: noreply at github.com (opensips-github) Date: Sun, 05 May 2019 19:40:21 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2e7b25: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2e7b25e568fe97c63add33fd853deed473bb5b68 https://github.com/OpenSIPS/opensips/commit/2e7b25e568fe97c63add33fd853deed473bb5b68 Author: OpenSIPS Date: 2019-05-05 (Sun, 05 May 2019) Changed paths: M modules/aaa_radius/README M modules/aaa_radius/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/group/README M modules/group/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 5 15:52:31 2019 From: noreply at github.com (opensips-github) Date: Sun, 05 May 2019 12:52:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 76c9d9: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 76c9d9f8affc3467649ee3844f388c3f853157cc https://github.com/OpenSIPS/opensips/commit/76c9d9f8affc3467649ee3844f388c3f853157cc Author: OpenSIPS Date: 2019-05-05 (Sun, 05 May 2019) Changed paths: M modules/aaa_radius/README M modules/aaa_radius/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/group/README M modules/group/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From dan at ag-projects.com Mon May 6 02:52:57 2019 From: dan at ag-projects.com (Dan Pascu) Date: Mon, 6 May 2019 09:52:57 +0300 Subject: [OpenSIPS-Devel] Bug in tracer module Message-ID: <36116329-2409-4249-A0DE-6958C4444853@ag-projects.com> I have the following scenario: A client C, connects over TCP to a proxy A, which later forwards the messages to another proxy B also over TCP. The client connects from a random port (let's say 30000) to 5060 on A and A also connects from a random port (let's say in this case 40000) to 5060 on B, as seen from a network trace. The client sends an INVITE that travels C->A->B and gets replies that travel back B->A>C and the tracer module records packets on A. In the database the tracer module while it correctly records the from port to be 30000 for the INVITE from C to A, it records the from port to be 5060 for the INVITE sent from A to B. The same is true for the replies, only in their case the to port is wrong for the A-B segment. -- Dan From noreply at github.com Mon May 6 10:03:00 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 May 2019 14:03:00 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f06f94: Fix build on CentOS 6.x Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f06f948ded2c197db314e6c8a4413bc58013cfce https://github.com/OpenSIPS/opensips/commit/f06f948ded2c197db314e6c8a4413bc58013cfce Author: Liviu Chircu Date: 2019-05-06 (Mon, 06 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Fix build on CentOS 6.x Reported by Nick Altmann From noreply at github.com Mon May 6 10:03:13 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 May 2019 07:03:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8347e: Fix build on CentOS 6.x Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: c8347ec1427502ab6c47e6c013899ec61edbc962 https://github.com/OpenSIPS/opensips/commit/c8347ec1427502ab6c47e6c013899ec61edbc962 Author: Liviu Chircu Date: 2019-05-06 (Mon, 06 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Fix build on CentOS 6.x Reported by Nick Altmann (cherry picked from commit f06f948ded2c197db314e6c8a4413bc58013cfce) From noreply at github.com Mon May 6 10:46:03 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 06 May 2019 14:46:03 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 901455: opensipsdbctl: fix tracer module name in EXTRA_MOD... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9014550fa36fab440950a16ca137be7b3f88e89e https://github.com/OpenSIPS/opensips/commit/9014550fa36fab440950a16ca137be7b3f88e89e Author: Vlad Patrascu Date: 2019-05-06 (Mon, 06 May 2019) Changed paths: M scripts/opensipsctlrc M scripts/opensipsdbctl.base Log Message: ----------- opensipsdbctl: fix tracer module name in EXTRA_MODULES var From noreply at github.com Mon May 6 10:47:07 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 06 May 2019 14:47:07 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 363ece: opensipsdbctl: fix tracer module name in EXTRA_MOD... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 363ecea3cd173e9f8caf97b3629bfaa3035171db https://github.com/OpenSIPS/opensips/commit/363ecea3cd173e9f8caf97b3629bfaa3035171db Author: Vlad Patrascu Date: 2019-05-06 (Mon, 06 May 2019) Changed paths: M scripts/opensipsctlrc M scripts/opensipsdbctl.base Log Message: ----------- opensipsdbctl: fix tracer module name in EXTRA_MODULES var (cherry picked from commit 9014550fa36fab440950a16ca137be7b3f88e89e) From noreply at github.com Mon May 6 14:30:54 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 06 May 2019 18:30:54 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 206af7: Preprocessor: Proper fix for the issue behind f1fb... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 206af742fbb4119304f110037dd8c97e8439d688 https://github.com/OpenSIPS/opensips/commit/206af742fbb4119304f110037dd8c97e8439d688 Author: Liviu Chircu Date: 2019-05-06 (Mon, 06 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Preprocessor: Proper fix for the issue behind f1fb2bd339 The actual issue was related to the fact that most stream-oriented GNU tools (cat, sed, m4, etc.) work by managing a continuous flow of reads from the input source and writes to the output one, until the input file ending is reached. This technique allows large amounts of data to be transformed without requiring any intermediary, equally large buffers. This patch creates the matching write/read looping logic into OpenSIPS, as it both feeds these preprocessing tools with the config file input, and consumes their output, unlocking them to process more bytes. Thanks to Răzvan Crainea for spotting the problem! From noreply at github.com Tue May 7 06:43:52 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 07 May 2019 03:43:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 016134: Preprocessor: Proper fix for the issue behind f1fb... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 016134408d3e786329becdcda644a0eda288e144 https://github.com/OpenSIPS/opensips/commit/016134408d3e786329becdcda644a0eda288e144 Author: Liviu Chircu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M cfg_pp.c Log Message: ----------- Preprocessor: Proper fix for the issue behind f1fb2bd339 The actual issue was related to the fact that most stream-oriented GNU tools (cat, sed, m4, etc.) work by managing a continuous flow of reads from the input source and writes to the output one, until the input file ending is reached. This technique allows large amounts of data to be transformed without requiring any intermediary, equally large buffers. This patch creates the matching write/read looping logic into OpenSIPS, as it both feeds these preprocessing tools with the config file input, and consumes their output, unlocking them to process more bytes. Thanks to Răzvan Crainea for spotting the problem! (cherry picked from commit 206af742fbb4119304f110037dd8c97e8439d688) From noreply at github.com Tue May 7 07:11:23 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 07 May 2019 04:11:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f10d00: transformations: Fix noisy log Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f10d00d7d1bfffebcef6e1d4299a4f2034d9ecbc https://github.com/OpenSIPS/opensips/commit/f10d00d7d1bfffebcef6e1d4299a4f2034d9ecbc Author: Liviu Chircu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M transformations.c Log Message: ----------- transformations: Fix noisy log From noreply at github.com Tue May 7 13:32:29 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 07 May 2019 10:32:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 307e8c: Fix the CMD_PARAM_NO_EXPAND parameter flag Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 307e8c8ad6ce9bd263a122c9e0a8164cf59a131e https://github.com/OpenSIPS/opensips/commit/307e8c8ad6ce9bd263a122c9e0a8164cf59a131e Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Fix the CMD_PARAM_NO_EXPAND parameter flag The fixup of parameters flagged wih CMD_PARAM_NO_EXPAND would fail if the string contained a '$' character not followed by a valid variable. Commit: 52d1ac41fb5b34174576f0e6509c3289304a165f https://github.com/OpenSIPS/opensips/commit/52d1ac41fb5b34174576f0e6509c3289304a165f Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Never pv-expand regex type function parameters Commit: 6816fa91db9be1c07c1317184b379227292331bf https://github.com/OpenSIPS/opensips/commit/6816fa91db9be1c07c1317184b379227292331bf Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M modules/textops/textops.c Log Message: ----------- textops: fix subst() functions fixups when using the '$' character Compare: https://github.com/OpenSIPS/opensips/compare/206af742fbb4...6816fa91db9b From noreply at github.com Tue May 7 13:34:46 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 07 May 2019 10:34:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bff242: Fix the CMD_PARAM_NO_EXPAND parameter flag Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bff242eb1fa14e7fce4cfd1f6c438e493b206d54 https://github.com/OpenSIPS/opensips/commit/bff242eb1fa14e7fce4cfd1f6c438e493b206d54 Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Fix the CMD_PARAM_NO_EXPAND parameter flag The fixup of parameters flagged wih CMD_PARAM_NO_EXPAND would fail if the string contained a '$' character not followed by a valid variable. (cherry picked from commit 307e8c8ad6ce9bd263a122c9e0a8164cf59a131e) Commit: 2b7846b6583303b233166a42e35a8b27d2fd968a https://github.com/OpenSIPS/opensips/commit/2b7846b6583303b233166a42e35a8b27d2fd968a Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Never pv-expand regex type function parameters (cherry picked from commit 52d1ac41fb5b34174576f0e6509c3289304a165f) Commit: 7c2417d60c446df6826caede5ba6fea327eb86ab https://github.com/OpenSIPS/opensips/commit/7c2417d60c446df6826caede5ba6fea327eb86ab Author: Vlad Patrascu Date: 2019-05-07 (Tue, 07 May 2019) Changed paths: M modules/textops/textops.c Log Message: ----------- textops: fix subst() functions fixups when using the '$' character (cherry picked from commit 6816fa91db9be1c07c1317184b379227292331bf) Compare: https://github.com/OpenSIPS/opensips/compare/016134408d3e...7c2417d60c44 From noreply at github.com Wed May 8 11:39:45 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 May 2019 08:39:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3abb14: dialog: fix a bug in local profiles counting Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3abb14d6e629db0625cb0fe9f360d10eee07d00e https://github.com/OpenSIPS/opensips/commit/3abb14d6e629db0625cb0fe9f360d10eee07d00e Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: fix a bug in local profiles counting Fix the counting of local profiles with value when profile replication is active. Altough the /b profiles were counted correctly, the same mechanism would be aplied also for other profiles that were not shared, resulting in a bad value. From noreply at github.com Wed May 8 11:40:26 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 May 2019 08:40:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2d89ab: dialog: fix a bug in local profiles counting Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2d89ab24e2f0b0b055a46fff6373eb5a521d6f98 https://github.com/OpenSIPS/opensips/commit/2d89ab24e2f0b0b055a46fff6373eb5a521d6f98 Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: fix a bug in local profiles counting Fix the counting of local profiles with value when profile replication is active. Altough the /b profiles were counted correctly, the same mechanism would be aplied also for other profiles that were not shared, resulting in a bad value. (cherry picked from commit 3abb14d6e629db0625cb0fe9f360d10eee07d00e) From noreply at github.com Wed May 8 11:47:47 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 May 2019 08:47:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0256fa: Complete the fix in commit: 3abb14d Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0256fadcc11f91781113980b867599e844acfe8b https://github.com/OpenSIPS/opensips/commit/0256fadcc11f91781113980b867599e844acfe8b Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- Complete the fix in commit: 3abb14d From noreply at github.com Wed May 8 11:50:16 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 May 2019 08:50:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4eded2: Complete the fix in commit: 3abb14d Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4eded22efc6526420f6beefc4b4fab2be6231dd6 https://github.com/OpenSIPS/opensips/commit/4eded22efc6526420f6beefc4b4fab2be6231dd6 Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- Complete the fix in commit: 3abb14d (cherry picked from commit 0256fadcc11f91781113980b867599e844acfe8b) From noreply at github.com Wed May 8 11:57:52 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 08 May 2019 08:57:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2eac15: dialog: fix a bug in local profiles counting Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2eac15f5cae9db0a70adb8ca9b83d6fa661f3b60 https://github.com/OpenSIPS/opensips/commit/2eac15f5cae9db0a70adb8ca9b83d6fa661f3b60 Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: fix a bug in local profiles counting Fix the counting of local profiles with value when profile replication is active. Altough the /b profiles were counted correctly, the same mechanism would be aplied also for other profiles that were not shared, resulting in a bad value. (cherry picked from commit 3abb14d6e629db0625cb0fe9f360d10eee07d00e) Commit: de02435ba2fee6b016af19ebaaa567342d5d7486 https://github.com/OpenSIPS/opensips/commit/de02435ba2fee6b016af19ebaaa567342d5d7486 Author: Vlad Patrascu Date: 2019-05-08 (Wed, 08 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- Complete the fix in commit: 3abb14d (cherry picked from commit 0256fadcc11f91781113980b867599e844acfe8b) Compare: https://github.com/OpenSIPS/opensips/compare/f10d00d7d1bf...de02435ba2fe From Ben.Newlin at genesys.com Wed May 8 15:12:53 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Wed, 8 May 2019 19:12:53 +0000 Subject: [OpenSIPS-Devel] Erroneous Retransmissions In-Reply-To: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> References: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> Message-ID: <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> Has anyone had a chance to look into this issue? I was able to mitigate by inserting small delays in my test clients, but now I am running into an issue where responses from one OpenSIPS to another are being sent quickly enough to cause this problem. Making changes in my testbed is one thing, but I really don’t want to start injecting delays into my processing script to work around this issue. The issue is that final responses to a transaction that are received within a few milliseconds of the transaction being sent are not stopping the retransmission timer. The response is handled properly by OpenSIPS, but approximately 500ms later OpenSIPS will retransmit the request anyway. I can reproduce it very regularly in our testbed and it should also be easily reproducible with a simple SIPp scenario. Trace from the latest occurrence is here: https://pastebin.com/YAXFwNLb I’d be happy to open an issue on Github as well if that is desired. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Thursday, April 25, 2019 at 11:46 AM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] Erroneous Retransmissions I have found that this issue seems to only occur when the responses are received immediately after the request has been sent; within a few milliseconds. Inserting a delay in the response seems to have made the erroneous retransmissions stop. This does not make it any less of a bug, but does seem to be a workaround. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Friday, April 19, 2019 at 8:47 AM To: OpenSIPS devel mailling list Subject: [OpenSIPS-Devel] Erroneous Retransmissions Resending the issue described below to the devel mailing list as I believe this is a bug, not a configuration issue. Ben Newlin From: Users on behalf of Ben Newlin Reply-To: OpenSIPS users mailling list Date: Monday, April 15, 2019 at 7:20 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Erroneous Retransmissions Just wanted to bump this to see if anyone has had a chance to take a look. We are continuing to see this failing our tests intermittently. I have a new example here: https://pastebin.com/kQJSGE56. In this example you can see that the retransmission of the INVITE is occurring not just after the 100 Trying has been received, but also after a 500 final response has already been received and is being processed, but the INVITE is still retransmitted! Any help on this would be greatly appreciated. # opensips -V version: opensips 2.4.5 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: d025b4f61 main.c compiled on 21:18:18 Apr 12 2019 with gcc 7 Ben Newlin From: Users on behalf of Ben Newlin Reply-To: OpenSIPS users mailling list Date: Thursday, April 4, 2019 at 3:10 PM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Erroneous Retransmissions Hello, We are seeing an issue which is causing our tests to fail intermittently. It appears that sometimes OpenSIPS will retransmit a relayed INVITE request, even though a 100 Trying response has already been received and processed. This only happens intermittently. I have captured debug logs for the scenario: https://pastebin.com/bHcBJmtv. In the log, you can see the 100 Trying response is received on line 707 and it appears to be matched to the correct transaction on line 729. However then on line 774 you can see the retransmission of the INVITE anyway. I have verified using tcpdump that the INVITE is being retransmitted; it is not just a log error. And our tests are failing due to the unexpected extra 100 Trying response to the retransmission. Can anyone explain why this would occur? Ben Newlin -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.zanutti at gmail.com Wed May 8 17:33:32 2019 From: daniel.zanutti at gmail.com (Daniel Zanutti) Date: Wed, 8 May 2019 21:33:32 +0000 Subject: [OpenSIPS-Devel] Erroneous Retransmissions In-Reply-To: <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> References: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> Message-ID: Hi Ben I had a crash issue and asked for help too, no response. It's a terrible feeling, that you are alone with your problem and no one even respond. Opensips guys, please respond to us, even with: sorry I have no time to look at this. Regards Daniel Em qua, 8 de mai de 2019 19:14, Ben Newlin escreveu: > Has anyone had a chance to look into this issue? I was able to mitigate by > inserting small delays in my test clients, but now I am running into an > issue where responses from one OpenSIPS to another are being sent quickly > enough to cause this problem. Making changes in my testbed is one thing, > but I really don’t want to start injecting delays into my processing script > to work around this issue. > > > > The issue is that final responses to a transaction that are received > within a few milliseconds of the transaction being sent are not stopping > the retransmission timer. The response is handled properly by OpenSIPS, but > approximately 500ms later OpenSIPS will retransmit the request anyway. I > can reproduce it very regularly in our testbed and it should also be easily > reproducible with a simple SIPp scenario. > > > > Trace from the latest occurrence is here: https://pastebin.com/YAXFwNLb > > > > I’d be happy to open an issue on Github as well if that is desired. > > > > Ben Newlin > > > > *From: *Devel on behalf of Ben Newlin < > Ben.Newlin at genesys.com> > *Reply-To: *OpenSIPS devel mailling list > *Date: *Thursday, April 25, 2019 at 11:46 AM > *To: *OpenSIPS devel mailling list > *Subject: *Re: [OpenSIPS-Devel] Erroneous Retransmissions > > > > I have found that this issue seems to only occur when the responses are > received immediately after the request has been sent; within a few > milliseconds. Inserting a delay in the response seems to have made the > erroneous retransmissions stop. This does not make it any less of a bug, > but does seem to be a workaround. > > > > Ben Newlin > > > > *From: *Devel on behalf of Ben Newlin < > Ben.Newlin at genesys.com> > *Reply-To: *OpenSIPS devel mailling list > *Date: *Friday, April 19, 2019 at 8:47 AM > *To: *OpenSIPS devel mailling list > *Subject: *[OpenSIPS-Devel] Erroneous Retransmissions > > > > Resending the issue described below to the devel mailing list as I believe > this is a bug, not a configuration issue. > > > > Ben Newlin > > > > *From: *Users on behalf of Ben Newlin < > Ben.Newlin at genesys.com> > *Reply-To: *OpenSIPS users mailling list > *Date: *Monday, April 15, 2019 at 7:20 PM > *To: *OpenSIPS users mailling list > *Subject: *Re: [OpenSIPS-Users] Erroneous Retransmissions > > > > Just wanted to bump this to see if anyone has had a chance to take a look. > We are continuing to see this failing our tests intermittently. I have a > new example here: https://pastebin.com/kQJSGE56. > > > > In this example you can see that the retransmission of the INVITE is > occurring not just after the 100 Trying has been received, but also after a > 500 final response has already been received and is being processed, but > the INVITE is still retransmitted! > > > > Any help on this would be greatly appreciated. > > > > # opensips -V > > version: opensips 2.4.5 (x86_64/linux) > > flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, > F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT > > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535 > > poll method support: poll, epoll, sigio_rt, select. > > git revision: d025b4f61 > > main.c compiled on 21:18:18 Apr 12 2019 with gcc 7 > > > > Ben Newlin > > > > *From: *Users on behalf of Ben Newlin < > Ben.Newlin at genesys.com> > *Reply-To: *OpenSIPS users mailling list > *Date: *Thursday, April 4, 2019 at 3:10 PM > *To: *OpenSIPS users mailling list > *Subject: *[OpenSIPS-Users] Erroneous Retransmissions > > > > Hello, > > > > We are seeing an issue which is causing our tests to fail intermittently. > It appears that sometimes OpenSIPS will retransmit a relayed INVITE > request, even though a 100 Trying response has already been received and > processed. This only happens intermittently. > > > > I have captured debug logs for the scenario: https://pastebin.com/bHcBJmtv. > In the log, you can see the 100 Trying response is received on line 707 and > it appears to be matched to the correct transaction on line 729. However > then on line 774 you can see the retransmission of the INVITE anyway. > > > > I have verified using tcpdump that the INVITE is being retransmitted; it > is not just a log error. And our tests are failing due to the unexpected > extra 100 Trying response to the retransmission. > > > > Can anyone explain why this would occur? > > > > Ben Newlin > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Thu May 9 10:24:41 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 09 May 2019 07:24:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a1357f: systemd: Inherit default settings when checking co... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a1357f48256246742a3927c65b54990f9e53f1f4 https://github.com/OpenSIPS/opensips/commit/a1357f48256246742a3927c65b54990f9e53f1f4 Author: Liviu Chircu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M packaging/debian/opensips-m4cfg M packaging/redhat_fedora/opensips-m4cfg Log Message: ----------- systemd: Inherit default settings when checking config This prevents oom errors when starting the service with some heavy-duty scripts which load lots of modules / have lots of startup logic and demand a bit more memory than the binary's defaults provide. Reported by Ken Rice. From noreply at github.com Thu May 9 10:25:45 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 09 May 2019 14:25:45 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] db7caa: systemd: Inherit default settings when checking co... Message-ID: Branch: refs/heads/2.3 Home: https://github.com/OpenSIPS/opensips Commit: db7caa6b79ea20ce1f958974aad7285058ed3dfb https://github.com/OpenSIPS/opensips/commit/db7caa6b79ea20ce1f958974aad7285058ed3dfb Author: Liviu Chircu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M packaging/debian/opensips-m4cfg M packaging/redhat_fedora/opensips-m4cfg Log Message: ----------- systemd: Inherit default settings when checking config This prevents oom errors when starting the service with some heavy-duty scripts which load lots of modules / have lots of startup logic and demand a bit more memory than the binary's defaults provide. Reported by Ken Rice. (cherry picked from commit a1357f48256246742a3927c65b54990f9e53f1f4) From noreply at github.com Thu May 9 10:26:01 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 09 May 2019 07:26:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 845917: systemd: Inherit default settings when checking co... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 845917eca6dd8dfe5a194a9a298c502cb5fbb094 https://github.com/OpenSIPS/opensips/commit/845917eca6dd8dfe5a194a9a298c502cb5fbb094 Author: Liviu Chircu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M packaging/debian/opensips-m4cfg M packaging/redhat_fedora/opensips-m4cfg Log Message: ----------- systemd: Inherit default settings when checking config This prevents oom errors when starting the service with some heavy-duty scripts which load lots of modules / have lots of startup logic and demand a bit more memory than the binary's defaults provide. Reported by Ken Rice. (cherry picked from commit a1357f48256246742a3927c65b54990f9e53f1f4) From noreply at github.com Thu May 9 11:14:16 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 09 May 2019 15:14:16 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d081c: dialog: extend the fix in commit 3abb14d to profil... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3d081c88f4515ac0ed5424f43e6b5304b095ab85 https://github.com/OpenSIPS/opensips/commit/3d081c88f4515ac0ed5424f43e6b5304b095ab85 Author: Vlad Patrascu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: extend the fix in commit 3abb14d to profiles without value From noreply at github.com Thu May 9 11:15:04 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 09 May 2019 08:15:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae0b4c: dialog: extend the fix in commit 3abb14d to profil... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ae0b4c90cb2a2d4ba868c29195835279cfac4530 https://github.com/OpenSIPS/opensips/commit/ae0b4c90cb2a2d4ba868c29195835279cfac4530 Author: Vlad Patrascu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: extend the fix in commit 3abb14d to profiles without value (cherry picked from commit 3d081c88f4515ac0ed5424f43e6b5304b095ab85) From noreply at github.com Thu May 9 11:16:18 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 09 May 2019 08:16:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8c9ee6: dialog: extend the fix in commit 3abb14d to profil... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 8c9ee6d8d574b20796d53f9f4c9f45d6e0cef862 https://github.com/OpenSIPS/opensips/commit/8c9ee6d8d574b20796d53f9f4c9f45d6e0cef862 Author: Vlad Patrascu Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: extend the fix in commit 3abb14d to profiles without value (cherry picked from commit 3d081c88f4515ac0ed5424f43e6b5304b095ab85) From noreply at github.com Thu May 9 11:25:52 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 09 May 2019 08:25:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] deafdb: tm: prevent concurrency between different cleanup Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: deafdb7f4b474701289a8086fbf44a05e19feca6 https://github.com/OpenSIPS/opensips/commit/deafdb7f4b474701289a8086fbf44a05e19feca6 Author: Razvan Crainea Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: prevent concurrency between different cleanup This fixes a problem that was happening when having a transaction that wasn't fully updated, for example in a Push Nofitication scenario where no t_relay() was made, multiple messages may have reached the do_t_cleanup() function in parallel, both updating the transaction. Reported by 46Labs From noreply at github.com Thu May 9 11:26:18 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 09 May 2019 15:26:18 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 178929: tm: prevent concurrency between different cleanup Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 17892979142101ef86b1d959c9300bf578ff45da https://github.com/OpenSIPS/opensips/commit/17892979142101ef86b1d959c9300bf578ff45da Author: Razvan Crainea Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: prevent concurrency between different cleanup This fixes a problem that was happening when having a transaction that wasn't fully updated, for example in a Push Nofitication scenario where no t_relay() was made, multiple messages may have reached the do_t_cleanup() function in parallel, both updating the transaction. Reported by 46Labs (cherry picked from commit deafdb7f4b474701289a8086fbf44a05e19feca6) From noreply at github.com Thu May 9 11:26:51 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 09 May 2019 08:26:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a994c: tm: prevent concurrency between different cleanup Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3a994ceeafc6830a1c3b3f2699a7dc1ea915c83a https://github.com/OpenSIPS/opensips/commit/3a994ceeafc6830a1c3b3f2699a7dc1ea915c83a Author: Razvan Crainea Date: 2019-05-09 (Thu, 09 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: prevent concurrency between different cleanup This fixes a problem that was happening when having a transaction that wasn't fully updated, for example in a Push Nofitication scenario where no t_relay() was made, multiple messages may have reached the do_t_cleanup() function in parallel, both updating the transaction. Reported by 46Labs (cherry picked from commit deafdb7f4b474701289a8086fbf44a05e19feca6) From bogdan at opensips.org Fri May 10 04:10:06 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 10 May 2019 11:10:06 +0300 Subject: [OpenSIPS-Devel] Autoscaling syntax error In-Reply-To: References: <26c95b67-cb40-97fc-013b-bb5accf21243@opensips.org> <8E9E0EF3-B6BA-4354-84CE-EBD97C2B74F4@ag-projects.com> <04a01107-a873-13da-39a5-5dc22ac0e6ee@opensips.org> Message-ID: <88caabff-18c1-28b1-fb4d-4c6db97502ee@opensips.org> Hi Dan, Thanks for the contributions, I will review https://github.com/OpenSIPS/opensips/commit/04175e5728b3ab2586502627f54aaab2db440999 And the docs you are looking for is https://www.opensips.org/Documentation/Script-CoreParameters-3-0, right ? The "inconsistency" you mentioned has deeper roots and comes from how UDP and TCP are actually implemented in OpenSIPS (like for UDP each interface has its own set of processes, while for TCP there is only one shared pool of procs). The auto-scaling simply followed that. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 04/30/2019 01:00 PM, Dan Pascu wrote: > On 26 Apr 2019, at 12:00, Bogdan-Andrei Iancu wrote: > >> Well, at the time I developed the feature, that was the feeling in do it - probably the idea of the difference between UDP and TCP is too deep in my brain. >> >> On the other hand, it make sense what you also say. If you open a bug report for this, we might be able to pack it as fix for 3.0. > I pushed a small fix that allows one to specify an auto scaling profile with udp_workers. Someone more knowledgeable with the code should double check it, just in case I missed something. > > It works by defining a global udp scaling profile and uses that if the listener interface didn't define any (i.e. it acts as a fallback: > > if listener_scaling_defined: > use_listener_scaler > elif global_scaling_defined: > use_global_scaler > else: > use_none > > This means that if both listen and udp_workers define a scaling profile, the one defined in listen will take precedence. > > Someone should update the documentation with this detail (btw, where is the documentation for the global script parameters? I checked the source tree and could not find it) > > As a note, there is some inconsistency in the behavior compared to tcp. With tcp, since it can only define the scaling profile with tcp_workers, that profile is global and is applied to all listening interfaces. So if one has multiple listeners for tcp, all will share the same single pool of workers. With udp though, because it checks it per listener and it falls back to the global one if undefined, there will be a worker pool per listener interface, even if the listener doesn't define it's own scaling profile. So because of the implementation details, udp will have as many worker pools as udp listening interfaces are defined. > > In an ideal scenario, the scaling defined globally with udp_workers and tcp_workers should only create one worker pool shared by all interfaces that don't define their own, and only interfaces that explicitly define a scaling profile should have their own separate worker pool. However the changes required to do this are not trivial and seem to require a major refactoring of the code so I left them out for now. Maybe in a future update someone more knowledgeable could reorganize the code to achieve this and also allow defining a scaling profile with tcp listeners. > >> On 04/25/2019 08:31 PM, Dan Pascu wrote: >>> On 25 Apr 2019, at 19:32, Bogdan-Andrei Iancu wrote: >>> >>>> Dan, >>>> >>>> It seems to be a documentation error. The udp_workers param do not support the "use_auto_scaling" option, as for UDP you can define the profile per listener. I will fix the doc. >>> It would make sense to be able to specify them in a similar manner. Either through xxx_worker or listen or both. >>> I'd like to keep my configuration organized. Right now I can only specify it through tcp_workers for tcp and listen for udp. Why is there this limitation that udp_workers doesn't accept the syntax and listen only accepts it for udp? >>> > -- > Dan > > > > From dan at ag-projects.com Fri May 10 06:28:07 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 10 May 2019 13:28:07 +0300 Subject: [OpenSIPS-Devel] Autoscaling syntax error In-Reply-To: <88caabff-18c1-28b1-fb4d-4c6db97502ee@opensips.org> References: <26c95b67-cb40-97fc-013b-bb5accf21243@opensips.org> <8E9E0EF3-B6BA-4354-84CE-EBD97C2B74F4@ag-projects.com> <04a01107-a873-13da-39a5-5dc22ac0e6ee@opensips.org> <88caabff-18c1-28b1-fb4d-4c6db97502ee@opensips.org> Message-ID: On 10 May 2019, at 11:10, Bogdan-Andrei Iancu wrote: > Hi Dan, > > Thanks for the contributions, I will review https://github.com/OpenSIPS/opensips/commit/04175e5728b3ab2586502627f54aaab2db440999 > > And the docs you are looking for is https://www.opensips.org/Documentation/Script-CoreParameters-3-0, right ? My question was about where are the sources for the docs, as in I tried to add the note about the precedence of the options, but I could not find the docs in the git repository to modify them. I only see the modules documentation in the git source. > > The "inconsistency" you mentioned has deeper roots and comes from how UDP and TCP are actually implemented in OpenSIPS (like for UDP each interface has its own set of processes, while for TCP there is only one shared pool of procs). The auto-scaling simply followed that. > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 04/30/2019 01:00 PM, Dan Pascu wrote: >> On 26 Apr 2019, at 12:00, Bogdan-Andrei Iancu wrote: >> >>> Well, at the time I developed the feature, that was the feeling in do it - probably the idea of the difference between UDP and TCP is too deep in my brain. >>> >>> On the other hand, it make sense what you also say. If you open a bug report for this, we might be able to pack it as fix for 3.0. >> I pushed a small fix that allows one to specify an auto scaling profile with udp_workers. Someone more knowledgeable with the code should double check it, just in case I missed something. >> >> It works by defining a global udp scaling profile and uses that if the listener interface didn't define any (i.e. it acts as a fallback: >> >> if listener_scaling_defined: >> use_listener_scaler >> elif global_scaling_defined: >> use_global_scaler >> else: >> use_none >> >> This means that if both listen and udp_workers define a scaling profile, the one defined in listen will take precedence. >> >> Someone should update the documentation with this detail (btw, where is the documentation for the global script parameters? I checked the source tree and could not find it) >> >> As a note, there is some inconsistency in the behavior compared to tcp. With tcp, since it can only define the scaling profile with tcp_workers, that profile is global and is applied to all listening interfaces. So if one has multiple listeners for tcp, all will share the same single pool of workers. With udp though, because it checks it per listener and it falls back to the global one if undefined, there will be a worker pool per listener interface, even if the listener doesn't define it's own scaling profile. So because of the implementation details, udp will have as many worker pools as udp listening interfaces are defined. >> >> In an ideal scenario, the scaling defined globally with udp_workers and tcp_workers should only create one worker pool shared by all interfaces that don't define their own, and only interfaces that explicitly define a scaling profile should have their own separate worker pool. However the changes required to do this are not trivial and seem to require a major refactoring of the code so I left them out for now. Maybe in a future update someone more knowledgeable could reorganize the code to achieve this and also allow defining a scaling profile with tcp listeners. >> >>> On 04/25/2019 08:31 PM, Dan Pascu wrote: >>>> On 25 Apr 2019, at 19:32, Bogdan-Andrei Iancu wrote: >>>> >>>>> Dan, >>>>> >>>>> It seems to be a documentation error. The udp_workers param do not support the "use_auto_scaling" option, as for UDP you can define the profile per listener. I will fix the doc. >>>> It would make sense to be able to specify them in a similar manner. Either through xxx_worker or listen or both. >>>> I'd like to keep my configuration organized. Right now I can only specify it through tcp_workers for tcp and listen for udp. Why is there this limitation that udp_workers doesn't accept the syntax and listen only accepts it for udp? >>>> >> -- >> Dan >> >> >> >> > -- Dan From dan at ag-projects.com Fri May 10 06:40:11 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 10 May 2019 13:40:11 +0300 Subject: [OpenSIPS-Devel] TLS settings Message-ID: In the past (version 1.11) the tls settings for clients and servers were separated. I used to have verify=1 and require=1 for server and verify=1 and require=0 for clients. This way I would not allow a connection to a server that didn't present a valid certificate, but I would allow a client to connect to opensips over tls without having to have a certificate, yet I would still verify it if one was presented. Now that client and server settings are unified, how can the above scenario be implemented in order to allow user agent to connect over tls without having to have a certificate, while still requiring certificates between proxy connections? -- Dan From dan at ag-projects.com Fri May 10 06:45:58 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 10 May 2019 13:45:58 +0300 Subject: [OpenSIPS-Devel] Resetting branch route Message-ID: <8C3D901D-9921-47ED-84ED-FF570540A112@ag-projects.com> In my config I use t_on_branch(branch_route) from the main route. Later in the failure route, I divert the call to a new destination (let's say I have a diversion on no-answer to voicemail) and I want to reset the branch route because for the new destination I no longer need one and it would be wrong to execute branch_route again. Right now I just do a t_on_branch(dummy_branch_route) and dummy_branch_route contains nothing. However this result in the following warning being logged: WARNING:core:run_actions: null action list (rec_level=1) I could add a dummy variable assignment in my dummy branch route to silence it, but is there a better way to reset a branch route if after a failure we divert the call and send it to a new destination? -- Dan From noreply at github.com Fri May 10 06:57:34 2019 From: noreply at github.com (vladpaiu) Date: Fri, 10 May 2019 03:57:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b23c1: Add rabbitmq_consumer to the list of default exclu... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 7b23c14cf472c8ebbcec79f3d258ffe8b45596c4 https://github.com/OpenSIPS/opensips/commit/7b23c14cf472c8ebbcec79f3d258ffe8b45596c4 Author: Vlad Paiu Date: 2019-05-10 (Fri, 10 May 2019) Changed paths: M Makefile.conf.template Log Message: ----------- Add rabbitmq_consumer to the list of default excluded compilation From noreply at github.com Fri May 10 06:58:55 2019 From: noreply at github.com (vladpaiu) Date: Fri, 10 May 2019 03:58:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2497e1: Add rabbitmq_consumer to the list of default exclu... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2497e12f558d6cb12d264ecfc34d097564de30ef https://github.com/OpenSIPS/opensips/commit/2497e12f558d6cb12d264ecfc34d097564de30ef Author: Vlad Paiu Date: 2019-05-10 (Fri, 10 May 2019) Changed paths: M Makefile.conf.template Log Message: ----------- Add rabbitmq_consumer to the list of default excluded compilation (cherry picked from commit 7b23c14cf472c8ebbcec79f3d258ffe8b45596c4) From vladp at opensips.org Fri May 10 07:14:46 2019 From: vladp at opensips.org (Vlad Patrascu) Date: Fri, 10 May 2019 14:14:46 +0300 Subject: [OpenSIPS-Devel] TLS settings In-Reply-To: References: Message-ID: <64c1e297-8cdd-64e4-dcd9-d874a11571ea@opensips.org> Hi Dan, Those settings are not unified, but what version are you referring to? Vlad Patrascu OpenSIPS Developer http://www.opensips-solutions.com On 05/10/2019 01:40 PM, Dan Pascu wrote: > In the past (version 1.11) the tls settings for clients and servers were separated. I used to have verify=1 and require=1 for server and verify=1 and require=0 for clients. This way I would not allow a connection to a server that didn't present a valid certificate, but I would allow a client to connect to opensips over tls without having to have a certificate, yet I would still verify it if one was presented. > > Now that client and server settings are unified, how can the above scenario be implemented in order to allow user agent to connect over tls without having to have a certificate, while still requiring certificates between proxy connections? > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel From dan at ag-projects.com Fri May 10 08:32:23 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 10 May 2019 15:32:23 +0300 Subject: [OpenSIPS-Devel] TLS settings In-Reply-To: <64c1e297-8cdd-64e4-dcd9-d874a11571ea@opensips.org> References: <64c1e297-8cdd-64e4-dcd9-d874a11571ea@opensips.org> Message-ID: <821C8FF2-61A2-4EDC-B9B8-D5F7B8AB232A@ag-projects.com> On 10 May 2019, at 14:14, Vlad Patrascu wrote: > Hi Dan, > > Those settings are not unified, but what version are you referring to? In 1.11 I had these: tls_verify_server tls_verify_client tls_require_client_certificate Now in 3.0 (but this was added since 2.1) I have (per domain): verify_cert require_cert and the documentation for the tls_mgm module for the verify_cert and require_cert states that: """ Since version 2.1, these parameters act have been reduced to only one. They act both on client side and server side if no domain specified, elseway they act on a specific domain, depending on the first parameter. """ This is from the 2.4 documentation, but now I noticed that the documentation from 3.x has changed again and now it states that: """ Since version 2.1, these parameters act have been reduced to only one. The domain part represents the name of the TLS domain. These two parameters are used for incoming TLS connections, where OpenSIPS acts as server. """ Which makes it even more confusing. So can you please clarify this and indicate where do they apply to? What I wan is to have a setup where I do not require SIP clients to have certificates, but I require them in proxy-to-proxy connections. > > Vlad Patrascu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 05/10/2019 01:40 PM, Dan Pascu wrote: >> In the past (version 1.11) the tls settings for clients and servers were separated. I used to have verify=1 and require=1 for server and verify=1 and require=0 for clients. This way I would not allow a connection to a server that didn't present a valid certificate, but I would allow a client to connect to opensips over tls without having to have a certificate, yet I would still verify it if one was presented. >> >> Now that client and server settings are unified, how can the above scenario be implemented in order to allow user agent to connect over tls without having to have a certificate, while still requiring certificates between proxy connections? >> >> -- >> Dan >> >> >> >> >> >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan From bogdan at opensips.org Fri May 10 08:40:58 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 10 May 2019 15:40:58 +0300 Subject: [OpenSIPS-Devel] Autoscaling syntax error In-Reply-To: References: <26c95b67-cb40-97fc-013b-bb5accf21243@opensips.org> <8E9E0EF3-B6BA-4354-84CE-EBD97C2B74F4@ag-projects.com> <04a01107-a873-13da-39a5-5dc22ac0e6ee@opensips.org> <88caabff-18c1-28b1-fb4d-4c6db97502ee@opensips.org> Message-ID: <5dd80fd4-2e0d-08aa-f42f-61a46d0b9d87@opensips.org> There are no "sources" for that, it is a wiki page :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 05/10/2019 01:28 PM, Dan Pascu wrote: > On 10 May 2019, at 11:10, Bogdan-Andrei Iancu wrote: > >> Hi Dan, >> >> Thanks for the contributions, I will review https://github.com/OpenSIPS/opensips/commit/04175e5728b3ab2586502627f54aaab2db440999 >> >> And the docs you are looking for is https://www.opensips.org/Documentation/Script-CoreParameters-3-0, right ? > My question was about where are the sources for the docs, as in I tried to add the note about the precedence of the options, but I could not find the docs in the git repository to modify them. I only see the modules documentation in the git source. > >> The "inconsistency" you mentioned has deeper roots and comes from how UDP and TCP are actually implemented in OpenSIPS (like for UDP each interface has its own set of processes, while for TCP there is only one shared pool of procs). The auto-scaling simply followed that. >> >> Best regards, >> >> Bogdan-Andrei Iancu >> >> OpenSIPS Founder and Developer >> https://www.opensips-solutions.com >> OpenSIPS Summit 2019 >> https://www.opensips.org/events/Summit-2019Amsterdam/ >> >> On 04/30/2019 01:00 PM, Dan Pascu wrote: >>> On 26 Apr 2019, at 12:00, Bogdan-Andrei Iancu wrote: >>> >>>> Well, at the time I developed the feature, that was the feeling in do it - probably the idea of the difference between UDP and TCP is too deep in my brain. >>>> >>>> On the other hand, it make sense what you also say. If you open a bug report for this, we might be able to pack it as fix for 3.0. >>> I pushed a small fix that allows one to specify an auto scaling profile with udp_workers. Someone more knowledgeable with the code should double check it, just in case I missed something. >>> >>> It works by defining a global udp scaling profile and uses that if the listener interface didn't define any (i.e. it acts as a fallback: >>> >>> if listener_scaling_defined: >>> use_listener_scaler >>> elif global_scaling_defined: >>> use_global_scaler >>> else: >>> use_none >>> >>> This means that if both listen and udp_workers define a scaling profile, the one defined in listen will take precedence. >>> >>> Someone should update the documentation with this detail (btw, where is the documentation for the global script parameters? I checked the source tree and could not find it) >>> >>> As a note, there is some inconsistency in the behavior compared to tcp. With tcp, since it can only define the scaling profile with tcp_workers, that profile is global and is applied to all listening interfaces. So if one has multiple listeners for tcp, all will share the same single pool of workers. With udp though, because it checks it per listener and it falls back to the global one if undefined, there will be a worker pool per listener interface, even if the listener doesn't define it's own scaling profile. So because of the implementation details, udp will have as many worker pools as udp listening interfaces are defined. >>> >>> In an ideal scenario, the scaling defined globally with udp_workers and tcp_workers should only create one worker pool shared by all interfaces that don't define their own, and only interfaces that explicitly define a scaling profile should have their own separate worker pool. However the changes required to do this are not trivial and seem to require a major refactoring of the code so I left them out for now. Maybe in a future update someone more knowledgeable could reorganize the code to achieve this and also allow defining a scaling profile with tcp listeners. >>> >>>> On 04/25/2019 08:31 PM, Dan Pascu wrote: >>>>> On 25 Apr 2019, at 19:32, Bogdan-Andrei Iancu wrote: >>>>> >>>>>> Dan, >>>>>> >>>>>> It seems to be a documentation error. The udp_workers param do not support the "use_auto_scaling" option, as for UDP you can define the profile per listener. I will fix the doc. >>>>> It would make sense to be able to specify them in a similar manner. Either through xxx_worker or listen or both. >>>>> I'd like to keep my configuration organized. Right now I can only specify it through tcp_workers for tcp and listen for udp. Why is there this limitation that udp_workers doesn't accept the syntax and listen only accepts it for udp? >>>>> >>> -- >>> Dan >>> >>> >>> >>> > > -- > Dan > > > > From noreply at github.com Fri May 10 08:58:04 2019 From: noreply at github.com (vladpaiu) Date: Fri, 10 May 2019 05:58:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ea01bb: Fixed crash in case there's no SMPP connection Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ea01bba7a6f13fbc697619babb90af202b4e73df https://github.com/OpenSIPS/opensips/commit/ea01bba7a6f13fbc697619babb90af202b4e73df Author: Vlad Paiu Date: 2019-05-10 (Fri, 10 May 2019) Changed paths: M modules/proto_smpp/smpp.c Log Message: ----------- Fixed crash in case there's no SMPP connection From noreply at github.com Fri May 10 08:58:45 2019 From: noreply at github.com (vladpaiu) Date: Fri, 10 May 2019 05:58:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 586311: Fixed crash in case there's no SMPP connection Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5863117712cc36b353b63382d69f7d283f218437 https://github.com/OpenSIPS/opensips/commit/5863117712cc36b353b63382d69f7d283f218437 Author: Vlad Paiu Date: 2019-05-10 (Fri, 10 May 2019) Changed paths: M modules/proto_smpp/smpp.c Log Message: ----------- Fixed crash in case there's no SMPP connection (cherry picked from commit ea01bba7a6f13fbc697619babb90af202b4e73df) From noreply at github.com Fri May 10 14:06:10 2019 From: noreply at github.com (Ovidiu Sas) Date: Fri, 10 May 2019 18:06:10 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d7ac4: db_text: avoid buffer overflow for large names and... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9d7ac44d9eee7dc7eeca14c7bf4e12202715a429 https://github.com/OpenSIPS/opensips/commit/9d7ac44d9eee7dc7eeca14c7bf4e12202715a429 Author: Ovidiu Sas Date: 2019-05-10 (Fri, 10 May 2019) Changed paths: M modules/db_text/dbt_file.c Log Message: ----------- db_text: avoid buffer overflow for large names and/or values in db_text files From Ben.Newlin at genesys.com Fri May 10 17:43:48 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Fri, 10 May 2019 21:43:48 +0000 Subject: [OpenSIPS-Devel] OpenSIPS Crash Message-ID: <1DAC1FC2-F229-4617-AE8C-372066B25A96@genesys.com> Hello, We had a crash today of our OpenSIPS instance. Backtrace is here: https://pastebin.com/QbRJimwx # opensips -V version: opensips 2.4.5 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: d025b4f61 main.c compiled on 20:58:31 May 9 2019 with gcc 7 Ben Newlin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben.Newlin at genesys.com Fri May 10 18:31:16 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Fri, 10 May 2019 22:31:16 +0000 Subject: [OpenSIPS-Devel] OpenSIPS Crash Message-ID: <9A42C73B-825E-4286-9ED7-522C1800107E@genesys.com> I found this in the log at the time of the crash: kernel: opensips[5003]: segfault at 30 ip 00007fbd4c8f59d0 sp 00007ffcaa850c80 error 6 in tm.so[7fbd4c887000+8e000] Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Friday, May 10, 2019 at 5:44 PM To: OpenSIPS devel mailling list Subject: [OpenSIPS-Devel] OpenSIPS Crash Hello, We had a crash today of our OpenSIPS instance. Backtrace is here: https://pastebin.com/QbRJimwx # opensips -V version: opensips 2.4.5 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: d025b4f61 main.c compiled on 20:58:31 May 9 2019 with gcc 7 Ben Newlin -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Sun May 12 05:41:16 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 12 May 2019 02:41:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ce7df8: dbtext: use python2 explicit shebang Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ce7df8ac697cab164cf027f2cb7ef1784a08029f https://github.com/OpenSIPS/opensips/commit/ce7df8ac697cab164cf027f2cb7ef1784a08029f Author: Razvan Crainea Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M scripts/dbtextdb/__init__.py M scripts/dbtextdb/dbtextdb.py M scripts/dbtextdb/dbtextdb_test.py Log Message: ----------- dbtext: use python2 explicit shebang This is needed for Fedora 30. Reported by Nick Altmann From noreply at github.com Sun May 12 05:43:10 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 12 May 2019 02:43:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cbfeb9: dbtext: use python2 explicit shebang Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: cbfeb9687fc7cb014eb80ac2cfc302d8ef6038a8 https://github.com/OpenSIPS/opensips/commit/cbfeb9687fc7cb014eb80ac2cfc302d8ef6038a8 Author: Razvan Crainea Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M scripts/dbtextdb/__init__.py M scripts/dbtextdb/dbtextdb.py M scripts/dbtextdb/dbtextdb_test.py Log Message: ----------- dbtext: use python2 explicit shebang This is needed for Fedora 30. Reported by Nick Altmann (cherry picked from commit ce7df8ac697cab164cf027f2cb7ef1784a08029f) From noreply at github.com Sun May 12 05:43:20 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 12 May 2019 02:43:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 214ba3: dbtext: use python2 explicit shebang Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 214ba300e7ff60222548240864600caf5967a7d8 https://github.com/OpenSIPS/opensips/commit/214ba300e7ff60222548240864600caf5967a7d8 Author: Razvan Crainea Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M scripts/dbtextdb/__init__.py M scripts/dbtextdb/dbtextdb.py M scripts/dbtextdb/dbtextdb_test.py Log Message: ----------- dbtext: use python2 explicit shebang This is needed for Fedora 30. Reported by Nick Altmann (cherry picked from commit ce7df8ac697cab164cf027f2cb7ef1784a08029f) From noreply at github.com Sun May 12 15:28:53 2019 From: noreply at github.com (opensips-github) Date: Sun, 12 May 2019 12:28:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] db80b0: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: db80b0fb20ba6834bd3e93f29926520dcb228746 https://github.com/OpenSIPS/opensips/commit/db80b0fb20ba6834bd3e93f29926520dcb228746 Author: OpenSIPS Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 12 15:40:22 2019 From: noreply at github.com (opensips-github) Date: Sun, 12 May 2019 12:40:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec24d6: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ec24d6f2e177c6c55bc6e33123186606af16fa56 https://github.com/OpenSIPS/opensips/commit/ec24d6f2e177c6c55bc6e33123186606af16fa56 Author: OpenSIPS Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/textops/README M modules/textops/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 12 15:52:36 2019 From: noreply at github.com (opensips-github) Date: Sun, 12 May 2019 12:52:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6d0f9: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f6d0f927c19e1bf6fd158645de0e1ef896381c4b https://github.com/OpenSIPS/opensips/commit/f6d0f927c19e1bf6fd158645de0e1ef896381c4b Author: OpenSIPS Date: 2019-05-12 (Sun, 12 May 2019) Changed paths: M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/textops/README M modules/textops/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From bogdan at opensips.org Mon May 13 02:34:27 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 13 May 2019 09:34:27 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] [OpenSIPS Summit 2019] Video Recordings and Live Streaming In-Reply-To: <362785b1-dbbd-1e8f-9cd4-85f24795eac3@opensips.org> References: <362785b1-dbbd-1e8f-9cd4-85f24795eac3@opensips.org> Message-ID: Hi all, Thanks to Maxim Sobolev from SIPPY Software, we have the nice Summit recordings now split per presentations : https://www.youtube.com/playlist?list=PLMMZA6ketvKpnVs9a1ViR06JkZPEYzE8N Enjoy them, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 05/01/2019 10:18 AM, Bogdan-Andrei Iancu wrote: > Hi all, > > For those unable to join us in Amsterdam for the OpenSIPS Summit, here > is the recording of the first day Tue, 30th of April > https://youtu.be/Wm_kDdAqR30 > > and the live streaming for today, the second day, 1st of May: > https://youtu.be/OaH9r06CmIw > > Enjoy! > From noreply at github.com Mon May 13 09:52:26 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 13 May 2019 06:52:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d721a9: dialog: fix a crash when removing dialog from profile Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d721a94237c48343b2bcab16bd2a84f3dd618d69 https://github.com/OpenSIPS/opensips/commit/d721a94237c48343b2bcab16bd2a84f3dd618d69 Author: Vlad Patrascu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix a crash when removing dialog from profile Do replicate counter structure deletion if the profile is not shared. From noreply at github.com Mon May 13 09:53:37 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 13 May 2019 06:53:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0d0323: dialog: fix a crash when removing dialog from profile Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 0d032378c42e6948b8cf311244468436f386acd5 https://github.com/OpenSIPS/opensips/commit/0d032378c42e6948b8cf311244468436f386acd5 Author: Vlad Patrascu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix a crash when removing dialog from profile Do replicate counter structure deletion if the profile is not shared. (cherry picked from commit d721a94237c48343b2bcab16bd2a84f3dd618d69) From noreply at github.com Mon May 13 09:54:54 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 13 May 2019 06:54:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0357a6: dialog: fix a crash when removing dialog from profile Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0357a6336b8f4bfdade1ac3c0dd26134ea0b55b3 https://github.com/OpenSIPS/opensips/commit/0357a6336b8f4bfdade1ac3c0dd26134ea0b55b3 Author: Vlad Patrascu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix a crash when removing dialog from profile Do replicate counter structure deletion if the profile is not shared. (cherry picked from commit d721a94237c48343b2bcab16bd2a84f3dd618d69) From noreply at github.com Mon May 13 10:27:54 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 13 May 2019 14:27:54 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c6fd8: db_text: avoid buffer overflow for large names and... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2c6fd8fff20f1e82dc95ca62b299ab22694d985b https://github.com/OpenSIPS/opensips/commit/2c6fd8fff20f1e82dc95ca62b299ab22694d985b Author: Ovidiu Sas Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/db_text/dbt_file.c Log Message: ----------- db_text: avoid buffer overflow for large names and/or values in db_text files (cherry picked from commit 9d7ac44d9eee7dc7eeca14c7bf4e12202715a429) From noreply at github.com Mon May 13 10:29:30 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 13 May 2019 07:29:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1bb938: db_text: avoid buffer overflow for large names and... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1bb93819c1db38db277f242942c22be2dfde63f5 https://github.com/OpenSIPS/opensips/commit/1bb93819c1db38db277f242942c22be2dfde63f5 Author: Ovidiu Sas Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/db_text/dbt_file.c Log Message: ----------- db_text: avoid buffer overflow for large names and/or values in db_text files (cherry picked from commit 9d7ac44d9eee7dc7eeca14c7bf4e12202715a429) From noreply at github.com Mon May 13 10:52:48 2019 From: noreply at github.com (vladpaiu) Date: Mon, 13 May 2019 07:52:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3bb6a0: Fixed t_uac_dlg body sending Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3bb6a07a0304bc93a2b5ecf64a706675829413d0 https://github.com/OpenSIPS/opensips/commit/3bb6a07a0304bc93a2b5ecf64a706675829413d0 Author: Vlad Paiu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed t_uac_dlg body sending Commit: 455066ffac75611c5aa0bd6e24c4998194b0d577 https://github.com/OpenSIPS/opensips/commit/455066ffac75611c5aa0bd6e24c4998194b0d577 Author: Vlad Paiu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/proto_smpp/proto_smpp.c M modules/proto_smpp/proto_smpp.h M modules/proto_smpp/smpp.c Log Message: ----------- Fixed send_smpp_message breaking script It now returns a proper return code, as per the doc Compare: https://github.com/OpenSIPS/opensips/compare/2c6fd8fff20f...455066ffac75 From noreply at github.com Mon May 13 10:54:01 2019 From: noreply at github.com (vladpaiu) Date: Mon, 13 May 2019 07:54:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7df5d5: Fixed t_uac_dlg body sending Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7df5d5e9ccd639a9f6035e64dadbc1e6b8a71758 https://github.com/OpenSIPS/opensips/commit/7df5d5e9ccd639a9f6035e64dadbc1e6b8a71758 Author: Vlad Paiu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed t_uac_dlg body sending (cherry picked from commit 3bb6a07a0304bc93a2b5ecf64a706675829413d0) From noreply at github.com Mon May 13 10:54:37 2019 From: noreply at github.com (vladpaiu) Date: Mon, 13 May 2019 07:54:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 142957: Fixed send_smpp_message breaking script Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 142957c2c7ae626ca6e6ab1829efd89a6db0aee1 https://github.com/OpenSIPS/opensips/commit/142957c2c7ae626ca6e6ab1829efd89a6db0aee1 Author: Vlad Paiu Date: 2019-05-13 (Mon, 13 May 2019) Changed paths: M modules/proto_smpp/proto_smpp.c M modules/proto_smpp/proto_smpp.h M modules/proto_smpp/smpp.c Log Message: ----------- Fixed send_smpp_message breaking script It now returns a proper return code, as per the doc (cherry picked from commit 455066ffac75611c5aa0bd6e24c4998194b0d577) From noreply at github.com Tue May 14 02:42:55 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 13 May 2019 23:42:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bab898: Add adv_contact ONLY if it is a local contact Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bab898eb3a5bb2dc2dc0e28c2fa9e82cd63d1e6b https://github.com/OpenSIPS/opensips/commit/bab898eb3a5bb2dc2dc0e28c2fa9e82cd63d1e6b Author: Bogdan-Andrei Iancu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Add adv_contact ONLY if it is a local contact Extract the outgoing contact and store it as adv_contact ONLY is a self-point contact resulted from Topo Hiding. Commit: 58343d45ac450f8bb15a6dbfa9da164ff944424b https://github.com/OpenSIPS/opensips/commit/58343d45ac450f8bb15a6dbfa9da164ff944424b Author: Bogdan-Andrei Iancu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c Log Message: ----------- Fixed missing replication for the adv_contact This affected clustering scenarios where dialog module is used with Topo-Hiding and re-Invite pinging - the contact of the re-INVITE pings will be wrong on the nodes receiving the replicated dialog Compare: https://github.com/OpenSIPS/opensips/compare/142957c2c7ae...58343d45ac45 From noreply at github.com Tue May 14 08:28:13 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 14 May 2019 05:28:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e1484: Fixed list_statistics MI command Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1e14844dde59d5b0dd2cee1a0b8c16735a4672df https://github.com/OpenSIPS/opensips/commit/1e14844dde59d5b0dd2cee1a0b8c16735a4672df Author: Dan Pascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M statistics.c Log Message: ----------- Fixed list_statistics MI command From noreply at github.com Tue May 14 08:28:51 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 14 May 2019 05:28:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bbd5c7: Fixed list_statistics MI command Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bbd5c7de24785afe18c1e55f5e993cf01d42787d https://github.com/OpenSIPS/opensips/commit/bbd5c7de24785afe18c1e55f5e993cf01d42787d Author: Dan Pascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M statistics.c Log Message: ----------- Fixed list_statistics MI command (cherry picked from commit 1e14844dde59d5b0dd2cee1a0b8c16735a4672df) From noreply at github.com Tue May 14 11:28:13 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 May 2019 15:28:13 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a4b209: dialog: improve error report on sockets mismatch Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a4b209583abf6004259dd91aace5c5fd9f11ee0c https://github.com/OpenSIPS/opensips/commit/a4b209583abf6004259dd91aace5c5fd9f11ee0c Author: Razvan Crainea Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: improve error report on sockets mismatch Report socket that was not found during dialog replication. (cherry picked from commit 00f6d2314c68c568729d846d76415d7bc6694ffd) From noreply at github.com Tue May 14 11:32:30 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 May 2019 08:32:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 58a1e1: tracer: use a valid info when tracing messages Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 58a1e1bb43fbf4b500cacc3dd595fd7b28cd1922 https://github.com/OpenSIPS/opensips/commit/58a1e1bb43fbf4b500cacc3dd595fd7b28cd1922 Author: Razvan Crainea Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: use a valid info when tracing messages This commit prevents a crash when tracing a message without having a dialog or transaction created. Thanks go to Konrad Malewski (gitkoyot on GitHub) for reporting this! Close #1695 From noreply at github.com Tue May 14 11:33:03 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 14 May 2019 08:33:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b90eb0: tracer: use a valid info when tracing messages Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b90eb0da944efa8b6595e0bd48bce1054661fbf9 https://github.com/OpenSIPS/opensips/commit/b90eb0da944efa8b6595e0bd48bce1054661fbf9 Author: Razvan Crainea Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: use a valid info when tracing messages This commit prevents a crash when tracing a message without having a dialog or transaction created. Thanks go to Konrad Malewski (gitkoyot on GitHub) for reporting this! Close #1695 (cherry picked from commit 58a1e1bb43fbf4b500cacc3dd595fd7b28cd1922) From noreply at github.com Tue May 14 12:31:18 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 14 May 2019 16:31:18 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 40ccbf: dialog: improve performance of replicated profiles Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 40ccbf9cabad05b4cfd264cefeb113187131dd43 https://github.com/OpenSIPS/opensips/commit/40ccbf9cabad05b4cfd264cefeb113187131dd43 Author: Vlad Patrascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_profile.h M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: improve performance of replicated profiles Improve the performance of operations with replicated profiles (increment/decrement, get count) by avoiding the traversal of a list of counters proportional with the number of dialogs. This patch mostly impacts profiles with value. From noreply at github.com Tue May 14 12:45:15 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 14 May 2019 09:45:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 48e529: dialog: improve performance of replicated profiles Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 48e5293fea014f5e26cd1ca1dfce397aa49cbefc https://github.com/OpenSIPS/opensips/commit/48e5293fea014f5e26cd1ca1dfce397aa49cbefc Author: Vlad Patrascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_profile.h M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c Log Message: ----------- dialog: improve performance of replicated profiles Improve the performance of operations with replicated profiles (increment/decrement, get count) by avoiding the traversal of a list of counters proportional with the number of dialogs. This patch mostly impacts profiles with value. (cherry picked from commit 40ccbf9cabad05b4cfd264cefeb113187131dd43) From noreply at github.com Tue May 14 12:47:15 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 14 May 2019 09:47:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df90f8: dialog: improve performance of replicated profiles Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: df90f8dc7a9c8e7fe0a9a2a5bdb179497f6cd836 https://github.com/OpenSIPS/opensips/commit/df90f8dc7a9c8e7fe0a9a2a5bdb179497f6cd836 Author: Vlad Patrascu Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M modules/dialog/dlg_profile.c M modules/dialog/dlg_profile.h M modules/dialog/dlg_repl_profile.h M modules/dialog/dlg_replication.c M modules/dialog/dlg_replication.h Log Message: ----------- dialog: improve performance of replicated profiles Improve the performance of operations with replicated profiles (increment/decrement, get count) by avoiding the traversal of a list of counters proportional with the number of dialogs. This patch mostly impacts profiles with value. (cherry picked from commit 40ccbf9cabad05b4cfd264cefeb113187131dd43) From noreply at github.com Tue May 14 17:31:40 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 May 2019 14:31:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 80479f: Fixed testing wrong flags for TH status Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 80479f53d9d3c4da9019b85718bbfedd7fc091b7 https://github.com/OpenSIPS/opensips/commit/80479f53d9d3c4da9019b85718bbfedd7fc091b7 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Fixed testing wrong flags for TH status Commit: c5d60c815096f67b9750c44390260343e7a792eb https://github.com/OpenSIPS/opensips/commit/c5d60c815096f67b9750c44390260343e7a792eb Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- Fixed updating replicating advertised contact In a TH scenario, during the dialog replication, the advertised contact may change, if the interface/socket has a different name than on the original server (due tagging, advertising, etc) Compare: https://github.com/OpenSIPS/opensips/compare/40ccbf9cabad...c5d60c815096 From noreply at github.com Tue May 14 17:33:50 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 May 2019 14:33:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8c67f2: Add adv_contact ONLY if it is a local contact Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8c67f2b9511ec0c0e44b5bcfc2df7d7f73ac67f7 https://github.com/OpenSIPS/opensips/commit/8c67f2b9511ec0c0e44b5bcfc2df7d7f73ac67f7 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Add adv_contact ONLY if it is a local contact Extract the outgoing contact and store it as adv_contact ONLY is a self-point contact resulted from Topo Hiding. (cherry picked from commit bab898eb3a5bb2dc2dc0e28c2fa9e82cd63d1e6b) Commit: 852e629e4700494db15358fd2105d58c292aa195 https://github.com/OpenSIPS/opensips/commit/852e629e4700494db15358fd2105d58c292aa195 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c Log Message: ----------- Fixed missing replication for the adv_contact This affected clustering scenarios where dialog module is used with Topo-Hiding and re-Invite pinging - the contact of the re-INVITE pings will be wrong on the nodes receiving the replicated dialog (cherry picked from commit 58343d45ac450f8bb15a6dbfa9da164ff944424b) Commit: 7bb2fcc8b51c68677a9be1c9048492c62ecef5bc https://github.com/OpenSIPS/opensips/commit/7bb2fcc8b51c68677a9be1c9048492c62ecef5bc Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Fixed testing wrong flags for TH status (cherry picked from commit 80479f53d9d3c4da9019b85718bbfedd7fc091b7) Commit: ebd512a627c6e7745c57bfb97fb626b2484f6809 https://github.com/OpenSIPS/opensips/commit/ebd512a627c6e7745c57bfb97fb626b2484f6809 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- Fixed updating replicating advertised contact In a TH scenario, during the dialog replication, the advertised contact may change, if the interface/socket has a different name than on the original server (due tagging, advertising, etc) (cherry picked from commit c5d60c815096f67b9750c44390260343e7a792eb) Compare: https://github.com/OpenSIPS/opensips/compare/48e5293fea01...ebd512a627c6 From noreply at github.com Wed May 15 04:17:55 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 01:17:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 37cf3c: dialog: advertise proper contact when generating s... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 37cf3c13b5a8f1bf3430aab761075a50b865668a https://github.com/OpenSIPS/opensips/commit/37cf3c13b5a8f1bf3430aab761075a50b865668a Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/dlg_timer.c Log Message: ----------- dialog: advertise proper contact when generating sequential From noreply at github.com Wed May 15 04:18:17 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 08:18:17 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2d8c7f: dialog: advertise proper contact when generating s... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2d8c7fc06c2a2076512fe9530b7983490c4988e4 https://github.com/OpenSIPS/opensips/commit/2d8c7fc06c2a2076512fe9530b7983490c4988e4 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/dlg_timer.c Log Message: ----------- dialog: advertise proper contact when generating sequential (cherry picked from commit 37cf3c13b5a8f1bf3430aab761075a50b865668a) From noreply at github.com Wed May 15 05:09:13 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 02:09:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ef9de0: dialog: send dlg command using rpc Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ef9de0173f66727488e75d11e341d6b90b8fcf9a https://github.com/OpenSIPS/opensips/commit/ef9de0173f66727488e75d11e341d6b90b8fcf9a Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: send dlg command using rpc From noreply at github.com Wed May 15 05:09:23 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 02:09:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89b4fc: dialog: send dlg command using rpc Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 89b4fc62d5dd1b862932c56c09900b52b55a7ae4 https://github.com/OpenSIPS/opensips/commit/89b4fc62d5dd1b862932c56c09900b52b55a7ae4 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: send dlg command using rpc (cherry picked from commit ef9de0173f66727488e75d11e341d6b90b8fcf9a) From noreply at github.com Wed May 15 05:20:12 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 02:20:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ba7186: dialog: provide content type for MI generated sequ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ba7186fdbd3751fd8def486273da952688a741ec https://github.com/OpenSIPS/opensips/commit/ba7186fdbd3751fd8def486273da952688a741ec Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/dlg_timer.c M modules/dialog/doc/dialog_admin.xml Log Message: ----------- dialog: provide content type for MI generated sequentials From noreply at github.com Wed May 15 05:20:40 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 02:20:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e0c5bb: dialog: provide content type for MI generated sequ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e0c5bbb45f0c09043244120a25dc1318bbe6ad86 https://github.com/OpenSIPS/opensips/commit/e0c5bbb45f0c09043244120a25dc1318bbe6ad86 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c M modules/dialog/dlg_req_within.h M modules/dialog/dlg_timer.c M modules/dialog/doc/dialog_admin.xml Log Message: ----------- dialog: provide content type for MI generated sequentials (cherry picked from commit ba7186fdbd3751fd8def486273da952688a741ec) From bogdan at opensips.org Wed May 15 06:59:34 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 15 May 2019 13:59:34 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS Summit 2019] Presentations and video recordings Message-ID: <80d2c7d0-4036-7bf8-45b9-50afe733fc5c@opensips.org> Hello there, For those who missed or are missing the OpenSIPS Summit 2019, we collected and uploaded the PDF slides and video recordings with all the presentations kept during the event. So you can watch and re-watch them again and again :) https://www.opensips.org/events/Summit-2019Amsterdam/#schedules Enjoy, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ From noreply at github.com Wed May 15 07:47:34 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 15 May 2019 04:47:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c5638e: dialog: do not accept replicated counters for loca... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c5638e9bb58d6db6b428c3cd65502513b28817a5 https://github.com/OpenSIPS/opensips/commit/c5638e9bb58d6db6b428c3cd65502513b28817a5 Author: Vlad Patrascu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: do not accept replicated counters for local profiles From noreply at github.com Wed May 15 07:48:09 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 15 May 2019 04:48:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d0a204: dialog: do not accept replicated counters for loca... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d0a204bf441f46bd03290b5a90f37c386e23dcc1 https://github.com/OpenSIPS/opensips/commit/d0a204bf441f46bd03290b5a90f37c386e23dcc1 Author: Vlad Patrascu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: do not accept replicated counters for local profiles (cherry picked from commit c5638e9bb58d6db6b428c3cd65502513b28817a5) From noreply at github.com Wed May 15 07:49:32 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 15 May 2019 04:49:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9afa2c: dialog: do not accept replicated counters for loca... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 9afa2c5f0e8e1cfcf9092978d768be90003a16a2 https://github.com/OpenSIPS/opensips/commit/9afa2c5f0e8e1cfcf9092978d768be90003a16a2 Author: Vlad Patrascu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: do not accept replicated counters for local profiles (cherry picked from commit c5638e9bb58d6db6b428c3cd65502513b28817a5) From noreply at github.com Wed May 15 10:59:56 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 14:59:56 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 40a1e5: dialog: update inbound body on request and replies Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 40a1e5ababdacf77eb31ca7c29ec8323c1e8b503 https://github.com/OpenSIPS/opensips/commit/40a1e5ababdacf77eb31ca7c29ec8323c1e8b503 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: update inbound body on request and replies From noreply at github.com Wed May 15 11:00:16 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 08:00:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 44bcc9: dialog: update inbound body on request and replies Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 44bcc967b788bb28378fd5d09e6041f7ba344074 https://github.com/OpenSIPS/opensips/commit/44bcc967b788bb28378fd5d09e6041f7ba344074 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: update inbound body on request and replies (cherry picked from commit 40a1e5ababdacf77eb31ca7c29ec8323c1e8b503) From noreply at github.com Wed May 15 11:32:58 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 15 May 2019 08:32:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1144de: clusterer: fix output of clusterer_list_topology m... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1144de0ef6832efe7fadc077cf08bddedff4bdb3 https://github.com/OpenSIPS/opensips/commit/1144de0ef6832efe7fadc077cf08bddedff4bdb3 Author: Vlad Patrascu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: fix output of clusterer_list_topology mi command From noreply at github.com Wed May 15 11:34:01 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 15 May 2019 08:34:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cac793: clusterer: fix output of clusterer_list_topology m... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: cac7936856b89d5c4b22087b9ba3f16074e613e6 https://github.com/OpenSIPS/opensips/commit/cac7936856b89d5c4b22087b9ba3f16074e613e6 Author: Vlad Patrascu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: fix output of clusterer_list_topology mi command (cherry picked from commit 1144de0ef6832efe7fadc077cf08bddedff4bdb3) From noreply at github.com Wed May 15 11:36:48 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 15:36:48 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7b46c: dialog: add contact on second leg of challenge Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c7b46c88d9ce7339776826a2c11990ac37b05466 https://github.com/OpenSIPS/opensips/commit/c7b46c88d9ce7339776826a2c11990ac37b05466 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: add contact on second leg of challenge From noreply at github.com Wed May 15 11:37:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 15:37:15 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c1a06: dialog: add contact on second leg of challenge Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3c1a0695ce762214f4645dcb0123477220ac1201 https://github.com/OpenSIPS/opensips/commit/3c1a0695ce762214f4645dcb0123477220ac1201 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: add contact on second leg of challenge (cherry picked from commit c7b46c88d9ce7339776826a2c11990ac37b05466) From noreply at github.com Wed May 15 11:49:18 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 15:49:18 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 63a8cf: dialog: fix bogus operation introduced in previous... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 63a8cf3f690cbbbb0bcdbd010479111c52ebc024 https://github.com/OpenSIPS/opensips/commit/63a8cf3f690cbbbb0bcdbd010479111c52ebc024 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: fix bogus operation introduced in previous commit Thanks go to travis and clang for spotting it :) From noreply at github.com Wed May 15 11:49:43 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 15 May 2019 08:49:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4545c0: dialog: fix bogus operation introduced in previous... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4545c04bbeaef5a0c1eb743bb7fda545c9a9b455 https://github.com/OpenSIPS/opensips/commit/4545c04bbeaef5a0c1eb743bb7fda545c9a9b455 Author: Razvan Crainea Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: fix bogus operation introduced in previous commit Thanks go to travis and clang for spotting it :) (cherry picked from commit 63a8cf3f690cbbbb0bcdbd010479111c52ebc024) From noreply at github.com Wed May 15 13:07:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 15 May 2019 10:07:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 801405: Fix missing arming of re-invite pinging for replic... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8014056434f92d99ac559a050f576f413f76ab2b https://github.com/OpenSIPS/opensips/commit/8014056434f92d99ac559a050f576f413f76ab2b Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- Fix missing arming of re-invite pinging for replicated dialogs Commit: 9703aa8c1309c5496060abadb6c7924b00c56c8e https://github.com/OpenSIPS/opensips/commit/9703aa8c1309c5496060abadb6c7924b00c56c8e Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- Fix bogus offsetting in BIN package Compare: https://github.com/OpenSIPS/opensips/compare/63a8cf3f690c...9703aa8c1309 From noreply at github.com Wed May 15 13:08:18 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 15 May 2019 10:08:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 675f56: Fix missing arming of re-invite pinging for replic... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 675f56ef1a3969d632206d1b2455ba283d9d9531 https://github.com/OpenSIPS/opensips/commit/675f56ef1a3969d632206d1b2455ba283d9d9531 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- Fix missing arming of re-invite pinging for replicated dialogs (cherry picked from commit 8014056434f92d99ac559a050f576f413f76ab2b) Commit: 5561528a20f0d0c5320ac26d3c95f0bea0830877 https://github.com/OpenSIPS/opensips/commit/5561528a20f0d0c5320ac26d3c95f0bea0830877 Author: Bogdan-Andrei Iancu Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- Fix bogus offsetting in BIN package (cherry picked from commit 9703aa8c1309c5496060abadb6c7924b00c56c8e) Compare: https://github.com/OpenSIPS/opensips/compare/4545c04bbeae...5561528a20f0 From noreply at github.com Thu May 16 05:10:01 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 16 May 2019 02:10:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 130e70: dialog: add replication for cseq updates Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 130e70421274c1e8ec716604372bc974d978556b https://github.com/OpenSIPS/opensips/commit/130e70421274c1e8ec716604372bc974d978556b Author: Razvan Crainea Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_replication.c M modules/dialog/dlg_replication.h M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: add replication for cseq updates From noreply at github.com Thu May 16 06:39:55 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 May 2019 03:39:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 113c02: dialog: fix a deadlock introduced in commit df90f8d Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 113c02b54c94c738a0cb8e51687642ee42cc998d https://github.com/OpenSIPS/opensips/commit/113c02b54c94c738a0cb8e51687642ee42cc998d Author: Vlad Patrascu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: fix a deadlock introduced in commit df90f8d From noreply at github.com Thu May 16 08:06:53 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 16 May 2019 05:06:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb20ee: dialog: initialize dst_leg before getting dlg Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fb20eed07c5451c84a30230095d18baa38652b45 https://github.com/OpenSIPS/opensips/commit/fb20eed07c5451c84a30230095d18baa38652b45 Author: Razvan Crainea Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: initialize dst_leg before getting dlg From noreply at github.com Thu May 16 08:07:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 16 May 2019 05:07:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 054fc3: dialog: add replication for cseq updates Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 054fc3ef15bb235ed7cda72d1a15a2c9a0994185 https://github.com/OpenSIPS/opensips/commit/054fc3ef15bb235ed7cda72d1a15a2c9a0994185 Author: Razvan Crainea Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_replication.c M modules/dialog/dlg_replication.h M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: add replication for cseq updates (cherry picked from commit 130e70421274c1e8ec716604372bc974d978556b) Commit: 0f3b019f802f56a15cd9e3d74d2923bc5d6327bd https://github.com/OpenSIPS/opensips/commit/0f3b019f802f56a15cd9e3d74d2923bc5d6327bd Author: Razvan Crainea Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: initialize dst_leg before getting dlg (cherry picked from commit fb20eed07c5451c84a30230095d18baa38652b45) Compare: https://github.com/OpenSIPS/opensips/compare/5561528a20f0...0f3b019f802f From noreply at github.com Thu May 16 09:40:13 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 06:40:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20be5f: Fix setting var to NULL on each iteration Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 20be5febe28229311c48102d9d4a189aec734c63 https://github.com/OpenSIPS/opensips/commit/20be5febe28229311c48102d9d4a189aec734c63 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Fix setting var to NULL on each iteration Closes #1697 Credits go to @razvancrainea From noreply at github.com Thu May 16 09:41:10 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 06:41:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c78bdc: Fix setting var to NULL on each iteration Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: c78bdc47ceb47d1a6f9089b9b949acbc18dd99f8 https://github.com/OpenSIPS/opensips/commit/c78bdc47ceb47d1a6f9089b9b949acbc18dd99f8 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M mod_fix.c Log Message: ----------- Fix setting var to NULL on each iteration Closes #1697 Credits go to @razvancrainea (cherry picked from commit 20be5febe28229311c48102d9d4a189aec734c63) From noreply at github.com Thu May 16 10:12:40 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 07:12:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9c960b: Do Trasaction post script updates only if method m... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9c960bba41216359786cfe8d382b639cc5bf020c https://github.com/OpenSIPS/opensips/commit/9c960bba41216359786cfe8d382b639cc5bf020c Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- Do Trasaction post script updates only if method matches A translation of PR #1678 done by @rrb3942 Closes #1678 Closes #1669 From noreply at github.com Thu May 16 10:21:31 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 07:21:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9fc417: Do Trasaction post script updates only if method m... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9fc4173ead47653a0aea9aed3f119b1d30748bc9 https://github.com/OpenSIPS/opensips/commit/9fc4173ead47653a0aea9aed3f119b1d30748bc9 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- Do Trasaction post script updates only if method matches A translation of PR #1678 done by @rrb3942 Closes #1678 Closes #1669 (cherry picked from commit 9c960bba41216359786cfe8d382b639cc5bf020c) From noreply at github.com Thu May 16 10:22:11 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 07:22:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6731e0: Do Trasaction post script updates only if method m... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 6731e05e2bd5e1c9909895991e94c9682d1f9f16 https://github.com/OpenSIPS/opensips/commit/6731e05e2bd5e1c9909895991e94c9682d1f9f16 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/tm/tm.c Log Message: ----------- Do Trasaction post script updates only if method matches A translation of PR #1678 done by @rrb3942 Closes #1678 Closes #1669 (cherry picked from commit 9c960bba41216359786cfe8d382b639cc5bf020c) From noreply at github.com Thu May 16 10:26:29 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 07:26:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5ab0df: Un-butcher the custom reason string for 100 SIP reply Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 5ab0df9740b7551c4fcb0c5dcd486b7499092276 https://github.com/OpenSIPS/opensips/commit/5ab0df9740b7551c4fcb0c5dcd486b7499092276 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/tm/t_lookup.c Log Message: ----------- Un-butcher the custom reason string for 100 SIP reply Closes #1670 (cherry picked from commit bf130c524ec02e882c2da709b5c36b5d44719051) From noreply at github.com Thu May 16 10:25:44 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 May 2019 07:25:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bf130c: Un-butcher the custom reason string for 100 SIP reply Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bf130c524ec02e882c2da709b5c36b5d44719051 https://github.com/OpenSIPS/opensips/commit/bf130c524ec02e882c2da709b5c36b5d44719051 Author: Bogdan-Andrei Iancu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/tm/t_lookup.c Log Message: ----------- Un-butcher the custom reason string for 100 SIP reply Closes #1670 From noreply at github.com Thu May 16 11:11:32 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 May 2019 08:11:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 984208: clusterer: docs: fix outdated output examples for ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9842085494666558bf06cf55dab0717ad0b8139e https://github.com/OpenSIPS/opensips/commit/9842085494666558bf06cf55dab0717ad0b8139e Author: Vlad Patrascu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer: docs: fix outdated output examples for mi commands From noreply at github.com Thu May 16 11:11:58 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 May 2019 08:11:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91a6b1: clusterer: docs: fix outdated output examples for ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 91a6b190b3bfb7cc36b636a00f3352dd759c1c16 https://github.com/OpenSIPS/opensips/commit/91a6b190b3bfb7cc36b636a00f3352dd759c1c16 Author: Vlad Patrascu Date: 2019-05-16 (Thu, 16 May 2019) Changed paths: M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer: docs: fix outdated output examples for mi commands (cherry picked from commit 9842085494666558bf06cf55dab0717ad0b8139e) From bogdan at opensips.org Fri May 17 07:16:12 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 17 May 2019 14:16:12 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS 3.0] Stable Release Date Message-ID: <52faca8f-d8b7-9f54-6acf-c2ed30d07f90@opensips.org> Hello everyone, One month ago we had the beta release for OpenSIPS 3.0 . There was a lot of extra testing, many reports, a lot of feedback. All these translated in many fixes that made 3.0 more and more stable by the day. So, we are almost there :) - heads up, the *OpenSIPS 3.0 stable release is **scheduled for 29th of May* ! You still have time to fill reports (if the case), to bring your personal contribution to the value of the 3.0 release. Otherwise, sit tight , the 3.0 stable is coming ! Best regards, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben.Newlin at genesys.com Fri May 17 14:20:21 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Fri, 17 May 2019 18:20:21 +0000 Subject: [OpenSIPS-Devel] Erroneous Retransmissions In-Reply-To: <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> References: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> Message-ID: Hello, I know you guys are probably heads down trying to get 3.0 out the door. I’m hoping that’s why this issue hasn’t gotten any traction. However, I’m continuing to see poor retransmission behavior from OpenSIPS. Traces from the most recent example are here: https://pastebin.com/4Lam9FaZ. In this trace I’ve left in some of our proprietary tracing that show a more detailed timestamp. OpenSIPS is receiving a BYE request and sets a retransmission timer for 500ms, the standard time. However, the timer popped after only ~124ms and a retransmission of the BYE was triggered. I have tcpdump traces confirming the retransmission of the BYE actually occurred at 124ms, this is not just an issue internal to OpenSIPS. Any insight our troubleshooting assistance with these issues would be greatly appreciated. This issue reproduces very regularly. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Wednesday, May 8, 2019 at 3:13 PM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] Erroneous Retransmissions Has anyone had a chance to look into this issue? I was able to mitigate by inserting small delays in my test clients, but now I am running into an issue where responses from one OpenSIPS to another are being sent quickly enough to cause this problem. Making changes in my testbed is one thing, but I really don’t want to start injecting delays into my processing script to work around this issue. The issue is that final responses to a transaction that are received within a few milliseconds of the transaction being sent are not stopping the retransmission timer. The response is handled properly by OpenSIPS, but approximately 500ms later OpenSIPS will retransmit the request anyway. I can reproduce it very regularly in our testbed and it should also be easily reproducible with a simple SIPp scenario. Trace from the latest occurrence is here: https://pastebin.com/YAXFwNLb I’d be happy to open an issue on Github as well if that is desired. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Thursday, April 25, 2019 at 11:46 AM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] Erroneous Retransmissions I have found that this issue seems to only occur when the responses are received immediately after the request has been sent; within a few milliseconds. Inserting a delay in the response seems to have made the erroneous retransmissions stop. This does not make it any less of a bug, but does seem to be a workaround. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Friday, April 19, 2019 at 8:47 AM To: OpenSIPS devel mailling list Subject: [OpenSIPS-Devel] Erroneous Retransmissions Resending the issue described below to the devel mailing list as I believe this is a bug, not a configuration issue. Ben Newlin From: Users on behalf of Ben Newlin Reply-To: OpenSIPS users mailling list Date: Monday, April 15, 2019 at 7:20 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Erroneous Retransmissions Just wanted to bump this to see if anyone has had a chance to take a look. We are continuing to see this failing our tests intermittently. I have a new example here: https://pastebin.com/kQJSGE56. In this example you can see that the retransmission of the INVITE is occurring not just after the 100 Trying has been received, but also after a 500 final response has already been received and is being processed, but the INVITE is still retransmitted! Any help on this would be greatly appreciated. # opensips -V version: opensips 2.4.5 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: d025b4f61 main.c compiled on 21:18:18 Apr 12 2019 with gcc 7 Ben Newlin From: Users on behalf of Ben Newlin Reply-To: OpenSIPS users mailling list Date: Thursday, April 4, 2019 at 3:10 PM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Erroneous Retransmissions Hello, We are seeing an issue which is causing our tests to fail intermittently. It appears that sometimes OpenSIPS will retransmit a relayed INVITE request, even though a 100 Trying response has already been received and processed. This only happens intermittently. I have captured debug logs for the scenario: https://pastebin.com/bHcBJmtv. In the log, you can see the 100 Trying response is received on line 707 and it appears to be matched to the correct transaction on line 729. However then on line 774 you can see the retransmission of the INVITE anyway. I have verified using tcpdump that the INVITE is being retransmitted; it is not just a log error. And our tests are failing due to the unexpected extra 100 Trying response to the retransmission. Can anyone explain why this would occur? Ben Newlin -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Fri May 17 14:57:32 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 17 May 2019 11:57:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0dcbf9: statistics: Improve iteration example Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0dcbf9eed63873aeeb5f636fb418918a640c58b8 https://github.com/OpenSIPS/opensips/commit/0dcbf9eed63873aeeb5f636fb418918a640c58b8 Author: Liviu Chircu Date: 2019-05-17 (Fri, 17 May 2019) Changed paths: M modules/statistics/doc/statistics_admin.xml Log Message: ----------- statistics: Improve iteration example Clarify a hidden gotcha: the stat name iterator does not include the stat group! From noreply at github.com Fri May 17 14:57:42 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 17 May 2019 11:57:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a5aec: statistics: Improve iteration example Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3a5aec2e98f4f7412aab12c533058bc65ab72df4 https://github.com/OpenSIPS/opensips/commit/3a5aec2e98f4f7412aab12c533058bc65ab72df4 Author: Liviu Chircu Date: 2019-05-17 (Fri, 17 May 2019) Changed paths: M modules/statistics/doc/statistics_admin.xml Log Message: ----------- statistics: Improve iteration example Clarify a hidden gotcha: the stat name iterator does not include the stat group! (cherry picked from commit 0dcbf9eed63873aeeb5f636fb418918a640c58b8) From noreply at github.com Fri May 17 14:58:39 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 17 May 2019 11:58:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 47749b: statistics: Improve iteration example Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 47749bbbb31142d6a02308b4e78914e31cc9c0b2 https://github.com/OpenSIPS/opensips/commit/47749bbbb31142d6a02308b4e78914e31cc9c0b2 Author: Liviu Chircu Date: 2019-05-17 (Fri, 17 May 2019) Changed paths: M modules/statistics/doc/statistics_admin.xml Log Message: ----------- statistics: Improve iteration example Clarify a hidden gotcha: the stat name iterator does not include the stat group! (cherry picked from commit 0dcbf9eed63873aeeb5f636fb418918a640c58b8) From noreply at github.com Sun May 19 15:28:54 2019 From: noreply at github.com (opensips-github) Date: Sun, 19 May 2019 12:28:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7fb724: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7fb724b6a28b8ae1a84f4f7c5285efa29d9c9cbd https://github.com/OpenSIPS/opensips/commit/7fb724b6a28b8ae1a84f4f7c5285efa29d9c9cbd Author: OpenSIPS Date: 2019-05-19 (Sun, 19 May 2019) Changed paths: M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 19 15:40:31 2019 From: noreply at github.com (opensips-github) Date: Sun, 19 May 2019 12:40:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9b4763: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9b47639e3cfea50f5ef313fb81d31a873051960a https://github.com/OpenSIPS/opensips/commit/9b47639e3cfea50f5ef313fb81d31a873051960a Author: OpenSIPS Date: 2019-05-19 (Sun, 19 May 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 19 15:52:52 2019 From: noreply at github.com (opensips-github) Date: Sun, 19 May 2019 12:52:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 939ee2: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 939ee2cb87e3ac40138a8aead5f71c08005a93c6 https://github.com/OpenSIPS/opensips/commit/939ee2cb87e3ac40138a8aead5f71c08005a93c6 Author: OpenSIPS Date: 2019-05-19 (Sun, 19 May 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/proto_smpp/README M modules/proto_smpp/doc/contributors.xml M modules/statistics/README M modules/statistics/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From razvan at opensips.org Mon May 20 03:48:04 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Mon, 20 May 2019 10:48:04 +0300 Subject: [OpenSIPS-Devel] Erroneous Retransmissions In-Reply-To: References: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> Message-ID: <83f7d17e-692a-0b3d-b0e1-d0703de9da8d@opensips.org> Hi, Ben! You are right, we are pretty busy trying to complete the 3.0 release, that's why we are pushing back some of the reports. I did check the logs that you have sent, and it doesn't seem to prove the issue, as the microsec timestamp is not logged by each line. It would be more helpful if you could also configure syslog to log the microseconds. Best regards, Răzvan On 5/17/19 9:20 PM, Ben Newlin wrote: > Hello, > > I know you guys are probably heads down trying to get 3.0 out the door. > I’m hoping that’s why this issue hasn’t gotten any traction. However, > I’m continuing to see poor retransmission behavior from OpenSIPS. Traces > from the most recent example are here: https://pastebin.com/4Lam9FaZ. > > In this trace I’ve left in some of our proprietary tracing that show a > more detailed timestamp. OpenSIPS is receiving a BYE request and sets a > retransmission timer for 500ms, the standard time. However, the timer > popped after only ~124ms and a retransmission of the BYE was triggered. > I have tcpdump traces confirming the retransmission of the BYE actually > occurred at 124ms, this is not just an issue internal to OpenSIPS. > > Any insight our troubleshooting assistance with these issues would be > greatly appreciated. This issue reproduces very regularly. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Wednesday, May 8, 2019 at 3:13 PM > *To: *OpenSIPS devel mailling list > *Subject: *Re: [OpenSIPS-Devel] Erroneous Retransmissions > > Has anyone had a chance to look into this issue? I was able to mitigate > by inserting small delays in my test clients, but now I am running into > an issue where responses from one OpenSIPS to another are being sent > quickly enough to cause this problem. Making changes in my testbed is > one thing, but I really don’t want to start injecting delays into my > processing script to work around this issue. > > The issue is that final responses to a transaction that are received > within a few milliseconds of the transaction being sent are not stopping > the retransmission timer. The response is handled properly by OpenSIPS, > but approximately 500ms later OpenSIPS will retransmit the request > anyway. I can reproduce it very regularly in our testbed and it should > also be easily reproducible with a simple SIPp scenario. > > Trace from the latest occurrence is here: https://pastebin.com/YAXFwNLb > > I’d be happy to open an issue on Github as well if that is desired. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Thursday, April 25, 2019 at 11:46 AM > *To: *OpenSIPS devel mailling list > *Subject: *Re: [OpenSIPS-Devel] Erroneous Retransmissions > > I have found that this issue seems to only occur when the responses are > received immediately after the request has been sent; within a few > milliseconds. Inserting a delay in the response seems to have made the > erroneous retransmissions stop. This does not make it any less of a bug, > but does seem to be a workaround. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Friday, April 19, 2019 at 8:47 AM > *To: *OpenSIPS devel mailling list > *Subject: *[OpenSIPS-Devel] Erroneous Retransmissions > > Resending the issue described below to the devel mailing list as I > believe this is a bug, not a configuration issue. > > Ben Newlin > > *From: *Users on behalf of Ben Newlin > > *Reply-To: *OpenSIPS users mailling list > *Date: *Monday, April 15, 2019 at 7:20 PM > *To: *OpenSIPS users mailling list > *Subject: *Re: [OpenSIPS-Users] Erroneous Retransmissions > > Just wanted to bump this to see if anyone has had a chance to take a > look. We are continuing to see this failing our tests intermittently. I > have a new example here: https://pastebin.com/kQJSGE56. > > In this example you can see that the retransmission of the INVITE is > occurring not just after the 100 Trying has been received, but also > after a 500 final response has already been received and is being > processed, but the INVITE is still retransmitted! > > Any help on this would be greatly appreciated. > > # opensips -V > > version: opensips 2.4.5 (x86_64/linux) > > flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, > F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT > > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535 > > poll method support: poll, epoll, sigio_rt, select. > > git revision: d025b4f61 > > main.c compiled on 21:18:18 Apr 12 2019 with gcc 7 > > Ben Newlin > > *From: *Users on behalf of Ben Newlin > > *Reply-To: *OpenSIPS users mailling list > *Date: *Thursday, April 4, 2019 at 3:10 PM > *To: *OpenSIPS users mailling list > *Subject: *[OpenSIPS-Users] Erroneous Retransmissions > > Hello, > > We are seeing an issue which is causing our tests to fail > intermittently. It appears that sometimes OpenSIPS will retransmit a > relayed INVITE request, even though a 100 Trying response has already > been received and processed. This only happens intermittently. > > I have captured debug logs for the scenario: > https://pastebin.com/bHcBJmtv. In the log, you can see the 100 Trying > response is received on line 707 and it appears to be matched to the > correct transaction on line 729. However then on line 774 you can see > the retransmission of the INVITE anyway. > > I have verified using tcpdump that the INVITE is being retransmitted; it > is not just a log error. And our tests are failing due to the unexpected > extra 100 Trying response to the retransmission. > > Can anyone explain why this would occur? > > Ben Newlin > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com Meet the OpenSIPS team at the next OpenSIPS Summit: https://www.opensips.org/events From noreply at github.com Mon May 20 05:21:20 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 02:21:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 217d3f: clusterer: remove the 'Enabled' filed from cluster... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 217d3fc67e80f31781539ac108ff4eeadbf6b550 https://github.com/OpenSIPS/opensips/commit/217d3fc67e80f31781539ac108ff4eeadbf6b550 Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer: remove the 'Enabled' filed from clusterer_list output From liviu at opensips.org Mon May 20 08:34:45 2019 From: liviu at opensips.org (Liviu Chircu) Date: Mon, 20 May 2019 15:34:45 +0300 Subject: [OpenSIPS-Devel] End of Life for opensipsctl and opensipsdbctl in OpenSIPS 3.0 Message-ID: <6b878099-0516-d263-52d9-b2b404cce9b2@opensips.org> Hello, all! In light of the recent shift to the new command-line tool for managing OpenSIPS instances, opensips-cli[1], we intend to further make it clear that opensipsctl _is no longer compatible_ with the MI FIFO protocol syntax of a 3.0+ OpenSIPS -- and the best way to signify this, in our opinion, is by stripping the tool and its code from the packages and upstream repository. And since opensipsctl is tightly coupled to opensipsdbctl from a coding/internal perspective, the natural move is to deprecate opensipsdbctl as well, while making sure that opensips-cli is on par with the currently most used features with regards to OpenSIPS DB management. Below is a run-through of opensips-cli's feature parity with regards to the existing tool set: opensipsctl ----------- start / stop / restart: DROPPED, as it is cumbersome to perform start/stop on a remote instance    However, in order to support developers who build/start/stop from the git tree,    we will equivalate these commands with some new scripts/opensips-{start,stop}    bash scripts which will achieve the same purpose trap: FULLY-PORTED DB provisioning (cr / rpid / subscriber / address / drouting / dispatcher / registrant)    TODO-MID-TERM.  These will not be available initially, but we intend to gradually add support    for them.  For a few weeks following the initial 3.0 release, users will solely rely    on the Control Panel to accommodate their provisioning needs. ping: TODO-MID-TERM.  SIP OPTIONS ping automation via MI t_uac_dlg: A cool feature, but not by far mandatory. online: DROPPED.  Effectively an "ul_dump" grepping one-liner. monitor: DROPPED.  Completely unmaintained, with outdated (and not so useful) output. opensipsdbctl ------------- create/drop: FULLY-PORTED migrate: TODO-ASAP.  The DB migration tool is essential -- we are working to port it. pframework: TODO-MID-TERM.  We plan to keep it, and we will port it to Python in the upcoming weeks. reinit / backup / restore / copy: TODO-LONG-TERM. Nice-to-haves which will be in there eventually,    however they will have to wait a bit for now. presence / extra: DROPPED.  There is no such separation anymore.  opensips-cli currently installs a    default set of tables, and users may choose to add each individual (extra) table to the DB using the    "database add" command. And that's it for this update -- please let us know if we missed any tool or code pertaining to the opensipsctl / opensipsdbctl end-of-life plan and thank you in advance for any feedback! These tools have definitely served us well for over a decade, but it's time to move on to better ones![2] Best regards, OpenSIPS Team [1]: https://blog.opensips.org/2019/03/13/new-opensips-cli-tool-for-the-new-management-interface-in-opensips-3-0/ [2]: https://github.com/OpenSIPS/opensips-cli#install From Ben.Newlin at genesys.com Mon May 20 08:49:44 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Mon, 20 May 2019 12:49:44 +0000 Subject: [OpenSIPS-Devel] Erroneous Retransmissions In-Reply-To: <83f7d17e-692a-0b3d-b0e1-d0703de9da8d@opensips.org> References: <038A054B-48FF-4CBA-9DF4-5543D6C8095D@genesys.com> <4CD67E78-F4A4-4CE6-B189-67D9E9CCE3A5@genesys.com> <83f7d17e-692a-0b3d-b0e1-d0703de9da8d@opensips.org> Message-ID: Razvan, I realize the microsecond stamp is not on each line, but I don't think that means this trace is not proving the issue. You can clearly see that the time between the last ms stamp before the timer is set (2019-05-17T13:48:10.440789Z) to the next stamp after the retransmission has occurred (2019-05-17T13:48:10.557105Z) is only 117ms, and this includes a lot of processing time after the retransmission was sent. I think that pretty clearly shows the issue. I would love to get more exact granularity for the logs, but OpenSIPS does not provide that. We are not using syslog; the timestamps on the OpenSIPS logs are coming from OpenSIPS directly, as are the prefixed stamps on my logs. I'm not aware of any way to instruct OpenSIPS to increase the granularity of that timestamp, so I'm not sure how to get you what you want. In addition, the numerous other traces I have provided clearly show retransmissions being sent after replies for the request have already been processed. No time stamps are necessary to see that; the retransmission logs are printing after the reply processing logs. It is very clear. Ben Newlin On 5/20/19, 3:51 AM, "Devel on behalf of Răzvan Crainea" wrote: Hi, Ben! You are right, we are pretty busy trying to complete the 3.0 release, that's why we are pushing back some of the reports. I did check the logs that you have sent, and it doesn't seem to prove the issue, as the microsec timestamp is not logged by each line. It would be more helpful if you could also configure syslog to log the microseconds. Best regards, Răzvan On 5/17/19 9:20 PM, Ben Newlin wrote: > Hello, > > I know you guys are probably heads down trying to get 3.0 out the door. > I’m hoping that’s why this issue hasn’t gotten any traction. However, > I’m continuing to see poor retransmission behavior from OpenSIPS. Traces > from the most recent example are here: https://pastebin.com/4Lam9FaZ. > > In this trace I’ve left in some of our proprietary tracing that show a > more detailed timestamp. OpenSIPS is receiving a BYE request and sets a > retransmission timer for 500ms, the standard time. However, the timer > popped after only ~124ms and a retransmission of the BYE was triggered. > I have tcpdump traces confirming the retransmission of the BYE actually > occurred at 124ms, this is not just an issue internal to OpenSIPS. > > Any insight our troubleshooting assistance with these issues would be > greatly appreciated. This issue reproduces very regularly. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Wednesday, May 8, 2019 at 3:13 PM > *To: *OpenSIPS devel mailling list > *Subject: *Re: [OpenSIPS-Devel] Erroneous Retransmissions > > Has anyone had a chance to look into this issue? I was able to mitigate > by inserting small delays in my test clients, but now I am running into > an issue where responses from one OpenSIPS to another are being sent > quickly enough to cause this problem. Making changes in my testbed is > one thing, but I really don’t want to start injecting delays into my > processing script to work around this issue. > > The issue is that final responses to a transaction that are received > within a few milliseconds of the transaction being sent are not stopping > the retransmission timer. The response is handled properly by OpenSIPS, > but approximately 500ms later OpenSIPS will retransmit the request > anyway. I can reproduce it very regularly in our testbed and it should > also be easily reproducible with a simple SIPp scenario. > > Trace from the latest occurrence is here: https://pastebin.com/YAXFwNLb > > I’d be happy to open an issue on Github as well if that is desired. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Thursday, April 25, 2019 at 11:46 AM > *To: *OpenSIPS devel mailling list > *Subject: *Re: [OpenSIPS-Devel] Erroneous Retransmissions > > I have found that this issue seems to only occur when the responses are > received immediately after the request has been sent; within a few > milliseconds. Inserting a delay in the response seems to have made the > erroneous retransmissions stop. This does not make it any less of a bug, > but does seem to be a workaround. > > Ben Newlin > > *From: *Devel on behalf of Ben Newlin > > *Reply-To: *OpenSIPS devel mailling list > *Date: *Friday, April 19, 2019 at 8:47 AM > *To: *OpenSIPS devel mailling list > *Subject: *[OpenSIPS-Devel] Erroneous Retransmissions > > Resending the issue described below to the devel mailing list as I > believe this is a bug, not a configuration issue. > > Ben Newlin > > *From: *Users on behalf of Ben Newlin > > *Reply-To: *OpenSIPS users mailling list > *Date: *Monday, April 15, 2019 at 7:20 PM > *To: *OpenSIPS users mailling list > *Subject: *Re: [OpenSIPS-Users] Erroneous Retransmissions > > Just wanted to bump this to see if anyone has had a chance to take a > look. We are continuing to see this failing our tests intermittently. I > have a new example here: https://pastebin.com/kQJSGE56. > > In this example you can see that the retransmission of the INVITE is > occurring not just after the 100 Trying has been received, but also > after a 500 final response has already been received and is being > processed, but the INVITE is still retransmitted! > > Any help on this would be greatly appreciated. > > # opensips -V > > version: opensips 2.4.5 (x86_64/linux) > > flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, > F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT > > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, > MAX_URI_SIZE 1024, BUF_SIZE 65535 > > poll method support: poll, epoll, sigio_rt, select. > > git revision: d025b4f61 > > main.c compiled on 21:18:18 Apr 12 2019 with gcc 7 > > Ben Newlin > > *From: *Users on behalf of Ben Newlin > > *Reply-To: *OpenSIPS users mailling list > *Date: *Thursday, April 4, 2019 at 3:10 PM > *To: *OpenSIPS users mailling list > *Subject: *[OpenSIPS-Users] Erroneous Retransmissions > > Hello, > > We are seeing an issue which is causing our tests to fail > intermittently. It appears that sometimes OpenSIPS will retransmit a > relayed INVITE request, even though a 100 Trying response has already > been received and processed. This only happens intermittently. > > I have captured debug logs for the scenario: > https://pastebin.com/bHcBJmtv. In the log, you can see the 100 Trying > response is received on line 707 and it appears to be matched to the > correct transaction on line 729. However then on line 774 you can see > the retransmission of the INVITE anyway. > > I have verified using tcpdump that the INVITE is being retransmitted; it > is not just a log error. And our tests are failing due to the unexpected > extra 100 Trying response to the retransmission. > > Can anyone explain why this would occur? > > Ben Newlin > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com Meet the OpenSIPS team at the next OpenSIPS Summit: https://www.opensips.org/events _______________________________________________ Devel mailing list Devel at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel From noreply at github.com Mon May 20 10:25:04 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 07:25:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e66486: AVP printing: Properly print NULL AVP fields Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e66486fbd2398fbf81b893b727ebb03074f23ab0 https://github.com/OpenSIPS/opensips/commit/e66486fbd2398fbf81b893b727ebb03074f23ab0 Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M pvar.c Log Message: ----------- AVP printing: Properly print NULL AVP fields AVPs such as ["foo", NULL, "bar"], which are only made possible by a few select modules (e.g. Redis) were crashing in $(avp(foo)[*]). From noreply at github.com Mon May 20 10:25:22 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 07:25:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c8e94: AVP printing: Properly print NULL AVP fields Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3c8e945522cc3705b60707d6fd4739b1e79f012d https://github.com/OpenSIPS/opensips/commit/3c8e945522cc3705b60707d6fd4739b1e79f012d Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M pvar.c Log Message: ----------- AVP printing: Properly print NULL AVP fields AVPs such as ["foo", NULL, "bar"], which are only made possible by a few select modules (e.g. Redis) were crashing in $(avp(foo)[*]). (cherry picked from commit e66486fbd2398fbf81b893b727ebb03074f23ab0) From noreply at github.com Mon May 20 10:25:29 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 07:25:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a1390: AVP printing: Properly print NULL AVP fields Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 4a1390b8e7f454039af638e3eea7d7a7aacf064a https://github.com/OpenSIPS/opensips/commit/4a1390b8e7f454039af638e3eea7d7a7aacf064a Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M pvar.c Log Message: ----------- AVP printing: Properly print NULL AVP fields AVPs such as ["foo", NULL, "bar"], which are only made possible by a few select modules (e.g. Redis) were crashing in $(avp(foo)[*]). (cherry picked from commit e66486fbd2398fbf81b893b727ebb03074f23ab0) From noreply at github.com Mon May 20 11:00:47 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 08:00:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad1232: cachedb_cassandra: use extensible buffers for quer... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad1232d211ab97b4367c1f22fbb2828df6b534d1 https://github.com/OpenSIPS/opensips/commit/ad1232d211ab97b4367c1f22fbb2828df6b534d1 Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_cassandra/cachedb_cassandra_dbase.c M modules/cachedb_cassandra/cachedb_cassandra_dbase.h Log Message: ----------- cachedb_cassandra: use extensible buffers for query strings This fixes errors caused by queries being truncated becuase of the small static buffers that were previously used. Closes #1696 From noreply at github.com Mon May 20 11:02:03 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 08:02:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8ff9e: cachedb_cassandra: use extensible buffers for quer... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f8ff9e5ab6bdcb44a0a16f303cfc05046368a3dd https://github.com/OpenSIPS/opensips/commit/f8ff9e5ab6bdcb44a0a16f303cfc05046368a3dd Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_cassandra/cachedb_cassandra_dbase.c M modules/cachedb_cassandra/cachedb_cassandra_dbase.h Log Message: ----------- cachedb_cassandra: use extensible buffers for query strings This fixes errors caused by queries being truncated becuase of the small static buffers that were previously used. Closes #1696 (cherry picked from commit ad1232d211ab97b4367c1f22fbb2828df6b534d1) From noreply at github.com Mon May 20 11:15:42 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 20 May 2019 15:15:42 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d48eb: clusterer: make sharing tag output array Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9d48ebc569b968fc855e1cd5c6fc53cd68c84369 https://github.com/OpenSIPS/opensips/commit/9d48ebc569b968fc855e1cd5c6fc53cd68c84369 Author: Razvan Crainea Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/clusterer/sharing_tags.c Log Message: ----------- clusterer: make sharing tag output array From noreply at github.com Mon May 20 11:16:46 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 20 May 2019 08:16:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f672fe: clusterer: make sharing tag output array Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f672fe3f368930281df2cd6a44571f33323cbee0 https://github.com/OpenSIPS/opensips/commit/f672fe3f368930281df2cd6a44571f33323cbee0 Author: Razvan Crainea Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/clusterer/sharing_tags.c Log Message: ----------- clusterer: make sharing tag output array (cherry picked from commit 9d48ebc569b968fc855e1cd5c6fc53cd68c84369) From noreply at github.com Mon May 20 11:16:57 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 08:16:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f11262: cachedb_cassandra: use extensible buffers for quer... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f112620c64f0da217104e86ee8c5f49088be7c61 https://github.com/OpenSIPS/opensips/commit/f112620c64f0da217104e86ee8c5f49088be7c61 Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_cassandra/cachedb_cassandra_dbase.c M modules/cachedb_cassandra/cachedb_cassandra_dbase.h Log Message: ----------- cachedb_cassandra: use extensible buffers for query strings This fixes errors caused by queries being truncated becuase of the small static buffers that were previously used. Closes #1696 (cherry picked from commit ad1232d211ab97b4367c1f22fbb2828df6b534d1) From noreply at github.com Mon May 20 11:25:23 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 08:25:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 499f0f: cachedb: Improve variable naming Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 499f0f3219fe0391e013b8c901983990013669bd https://github.com/OpenSIPS/opensips/commit/499f0f3219fe0391e013b8c901983990013669bd Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M action.c M cachedb/cachedb.c M cachedb/cachedb.h M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb: Improve variable naming Make it more obvious that we're dealing with a rows x columns matrix. Commit: 6bf972ce5876fc15999a4bcc2e3e29596b2dc0ae https://github.com/OpenSIPS/opensips/commit/6bf972ce5876fc15999a4bcc2e3e29596b2dc0ae Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb_redis: Do not leak pkg mem on exceptional cases In case the driver returned unexpected data, the Redis raw query function would leak pkg memory. Compare: https://github.com/OpenSIPS/opensips/compare/9d48ebc569b9...6bf972ce5876 From noreply at github.com Mon May 20 11:25:45 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 08:25:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 631e31: cachedb: Improve variable naming Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 631e315217491f3208d5b78f2f2d3b1aad92fd17 https://github.com/OpenSIPS/opensips/commit/631e315217491f3208d5b78f2f2d3b1aad92fd17 Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M action.c M cachedb/cachedb.c M cachedb/cachedb.h M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb: Improve variable naming Make it more obvious that we're dealing with a rows x columns matrix. (cherry picked from commit 499f0f3219fe0391e013b8c901983990013669bd) Commit: 2c7c202c9a6159eb94defb012a50e083ffdb2bd3 https://github.com/OpenSIPS/opensips/commit/2c7c202c9a6159eb94defb012a50e083ffdb2bd3 Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb_redis: Do not leak pkg mem on exceptional cases In case the driver returned unexpected data, the Redis raw query function would leak pkg memory. (cherry picked from commit 6bf972ce5876fc15999a4bcc2e3e29596b2dc0ae) Compare: https://github.com/OpenSIPS/opensips/compare/f672fe3f3689...2c7c202c9a61 From noreply at github.com Mon May 20 11:26:13 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 20 May 2019 08:26:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 169d4b: cachedb: Improve variable naming Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 169d4bd2d06ab5f90f0a9d68da8e4f30ddbd3f97 https://github.com/OpenSIPS/opensips/commit/169d4bd2d06ab5f90f0a9d68da8e4f30ddbd3f97 Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M action.c M cachedb/cachedb.c M cachedb/cachedb.h M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb: Improve variable naming Make it more obvious that we're dealing with a rows x columns matrix. (cherry picked from commit 499f0f3219fe0391e013b8c901983990013669bd) Commit: 82440f6b86dbc64899023b5de1884cfea1817106 https://github.com/OpenSIPS/opensips/commit/82440f6b86dbc64899023b5de1884cfea1817106 Author: Liviu Chircu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/cachedb_redis/cachedb_redis_dbase.c Log Message: ----------- cachedb_redis: Do not leak pkg mem on exceptional cases In case the driver returned unexpected data, the Redis raw query function would leak pkg memory. (cherry picked from commit 6bf972ce5876fc15999a4bcc2e3e29596b2dc0ae) Compare: https://github.com/OpenSIPS/opensips/compare/f112620c64f0...82440f6b86db From noreply at github.com Mon May 20 12:41:55 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 09:41:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 275073: clusterer: add mising optional param flag for clus... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 27507331d9bc895c8bbb36f0becfe12ad5c5cf69 https://github.com/OpenSIPS/opensips/commit/27507331d9bc895c8bbb36f0becfe12ad5c5cf69 Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: add mising optional param flag for cluster_check_addr() Closes #1693 From noreply at github.com Mon May 20 12:42:25 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 20 May 2019 09:42:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1fba58: clusterer: add mising optional param flag for clus... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1fba583fe5f35a160bcfaa770dc58f789ea8701c https://github.com/OpenSIPS/opensips/commit/1fba583fe5f35a160bcfaa770dc58f789ea8701c Author: Vlad Patrascu Date: 2019-05-20 (Mon, 20 May 2019) Changed paths: M modules/clusterer/clusterer_mod.c Log Message: ----------- clusterer: add mising optional param flag for cluster_check_addr() Closes #1693 (cherry picked from commit 27507331d9bc895c8bbb36f0becfe12ad5c5cf69) From noreply at github.com Tue May 21 03:08:53 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 00:08:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4c46d: Fix incomplete interation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d4c46def9155c89c3dce3e1b74a93a05448b6fa3 https://github.com/OpenSIPS/opensips/commit/d4c46def9155c89c3dce3e1b74a93a05448b6fa3 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/presence/subscribe.c Log Message: ----------- Fix incomplete interation Do not abort the interation on error, but skip and continue with the next elements / subscriptions. From noreply at github.com Tue May 21 03:10:18 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 00:10:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4e29ce: Fix incomplete interation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4e29ce92526bbddfc1f9a1c33adb1e5e6b1c664a https://github.com/OpenSIPS/opensips/commit/4e29ce92526bbddfc1f9a1c33adb1e5e6b1c664a Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/presence/subscribe.c Log Message: ----------- Fix incomplete interation Do not abort the interation on error, but skip and continue with the next elements / subscriptions. (cherry picked from commit d4c46def9155c89c3dce3e1b74a93a05448b6fa3) From noreply at github.com Tue May 21 06:29:33 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 03:29:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56c4b0: dialog: unref dialog after updating cseq Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 56c4b09640f2dcd54964fd7e87cdcdfd64e90866 https://github.com/OpenSIPS/opensips/commit/56c4b09640f2dcd54964fd7e87cdcdfd64e90866 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: unref dialog after updating cseq From noreply at github.com Tue May 21 06:29:45 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 03:29:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4c3e39: dialog: unref dialog after updating cseq Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4c3e3909201fcc6bd3e9931d4c2746edb14e5361 https://github.com/OpenSIPS/opensips/commit/4c3e3909201fcc6bd3e9931d4c2746edb14e5361 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: unref dialog after updating cseq (cherry picked from commit 1c80acf868683f352f4ecf565fc160553e3a23ba) From noreply at github.com Tue May 21 07:33:39 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 04:33:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7e24e5: Fix incomplete interation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7e24e5a9dc905326f007f4322d79e12a11291c4d https://github.com/OpenSIPS/opensips/commit/7e24e5a9dc905326f007f4322d79e12a11291c4d Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/presence/subscribe.c Log Message: ----------- Fix incomplete interation Do not abort the interation on error, but skip and continue with the next elements / subscriptions. (cherry picked from commit d4c46def9155c89c3dce3e1b74a93a05448b6fa3) Commit: af4d8479d3e2902019a9d209690362075c9120d9 https://github.com/OpenSIPS/opensips/commit/af4d8479d3e2902019a9d209690362075c9120d9 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M pt_load.c Log Message: ----------- Fixed bogus "return" in LOAD computing macro This affected only the 1 minute statistic. Compare: https://github.com/OpenSIPS/opensips/compare/82440f6b86db...af4d8479d3e2 From noreply at github.com Tue May 21 07:34:35 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 04:34:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d57895: Fixed bogus "return" in LOAD computing macro Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d57895f50d4c3ee8d711731b42364b09382cd969 https://github.com/OpenSIPS/opensips/commit/d57895f50d4c3ee8d711731b42364b09382cd969 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M pt_load.c Log Message: ----------- Fixed bogus "return" in LOAD computing macro This affected only the 1 minute statistic. (cherry picked from commit af4d8479d3e2902019a9d209690362075c9120d9) From noreply at github.com Tue May 21 07:35:45 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 04:35:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0a5674: Fixed bogus "return" in LOAD computing macro Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0a56740717d1c4c46996c5e58a87da6cec0d3d54 https://github.com/OpenSIPS/opensips/commit/0a56740717d1c4c46996c5e58a87da6cec0d3d54 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M pt_load.c Log Message: ----------- Fixed bogus "return" in LOAD computing macro This affected only the 1 minute statistic. (cherry picked from commit af4d8479d3e2902019a9d209690362075c9120d9) From dan at ag-projects.com Tue May 21 07:55:39 2019 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 21 May 2019 14:55:39 +0300 Subject: [OpenSIPS-Devel] TCP connection behavior Message-ID: I noticed TCP connections behave differently now. Not sure if it's intentional or a problem. Before, all TCP connections were hold by the TCP Main process and they would be passed to TCP receiver processes when some message was received, at which point the TCP receiver would process the message and then pass the connection back to TCP main when it was done. If I used lsof or netstat they would should the connections belonging to TCP main and occasionally being moved to a TCP receiver and back as messages arrived. In the latest git version I see the connections under both TCP main and the TCP receivers all the time (even when there are no messages to process) if I look with lsof. If I look with netstat, then the connections are all listen under various TCP receiver processes and none under TCP main. Even more weird, the file descriptor for the same connection is different under TCP receiver and TCP main in lsof. Here are my processes: { "ID": 10, "PID": 21441, "Type": "TCP receiver" }, { "ID": 11, "PID": 21442, "Type": "TCP receiver" }, { "ID": 16, "PID": 21450, "Type": "TCP main" } And these are the TCP connections (the output never changes, the connections do not seem to be moved between TCP main and a TCP receiver and back anymore): $ sudo netstat -pan | grep opensips | grep tcp tcp 0 0 81.23.228.160:5060 0.0.0.0:* LISTEN 21430/./opensips tcp 0 0 81.23.228.160:5061 0.0.0.0:* LISTEN 21430/./opensips tcp 0 0 81.23.228.160:5060 86.121.160.133:44102 ESTABLISHED 21441/./opensips tcp 0 0 81.23.228.160:5060 152.156.209.166:56317 ESTABLISHED 21442/./opensips (notice how all established connections belong only to TCP receiver processes according to netstat) $ sudo lsof -np 21450 | grep TCP # This is TCP main opensips 21450 opensips 116u IPv4 580308849 0t0 TCP 81.23.228.160:sip->86.121.160.133:44102 (ESTABLISHED) opensips 21450 opensips 117u IPv4 580313129 0t0 TCP 81.23.228.160:sip->152.156.209.166:56317 (ESTABLISHED) opensips 21450 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) opensips 21450 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) $ sudo lsof -np 21441 | grep TCP # This is the first TCP receiver opensips 21441 opensips 5u IPv4 580308849 0t0 TCP 81.23.228.160:sip->86.121.160.133:44102 (ESTABLISHED) opensips 21441 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) opensips 21441 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) $ sudo lsof -np 21442 | grep TCP # This is the 2nd TCP receiver opensips 21442 opensips 5u IPv4 580313129 0t0 TCP 81.23.228.160:sip->152.156.209.166:56317 (ESTABLISHED) opensips 21442 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) opensips 21442 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) As mentioned before, the output is stable and it doesn't change until the connection is closed. The connections do not seem to be moved back to TCP main. Also notice the file descriptor being 5 in the TCP receiver process and something like 116/117 in TCP main. Otherwise TCP connections seem to work, but I noticed the behavior changed from what it used to be in previous versions. Is this an issue, or is it intended? -- Dan From razvan at opensips.org Tue May 21 08:30:40 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Tue, 21 May 2019 15:30:40 +0300 Subject: [OpenSIPS-Devel] TCP connection behavior In-Reply-To: References: Message-ID: Hi, Dan! This is the intended behavior, since OpenSIPS 1.8 (or 1.11, can't remember for sure). In order to avoid moving TCP connections from one process to the other answer, when data is sent to a TCP connection, that connection is moved to a TCP worker and is kept by that process for a while. It is only moved back to the main if the connection is idle. Regarding the file descriptors, it is normal to have different values in different processes, as each process has its own file descriptors table. Best regards, Răzvan On 5/21/19 2:55 PM, Dan Pascu wrote: > > I noticed TCP connections behave differently now. Not sure if it's intentional or a problem. > > Before, all TCP connections were hold by the TCP Main process and they would be passed to TCP receiver processes when some message was received, at which point the TCP receiver would process the message and then pass the connection back to TCP main when it was done. If I used lsof or netstat they would should the connections belonging to TCP main and occasionally being moved to a TCP receiver and back as messages arrived. > > In the latest git version I see the connections under both TCP main and the TCP receivers all the time (even when there are no messages to process) if I look with lsof. If I look with netstat, then the connections are all listen under various TCP receiver processes and none under TCP main. > > Even more weird, the file descriptor for the same connection is different under TCP receiver and TCP main in lsof. > > Here are my processes: > > { > "ID": 10, > "PID": 21441, > "Type": "TCP receiver" > }, > { > "ID": 11, > "PID": 21442, > "Type": "TCP receiver" > }, > { > "ID": 16, > "PID": 21450, > "Type": "TCP main" > } > > And these are the TCP connections (the output never changes, the connections do not seem to be moved between TCP main and a TCP receiver and back anymore): > > $ sudo netstat -pan | grep opensips | grep tcp > tcp 0 0 81.23.228.160:5060 0.0.0.0:* LISTEN 21430/./opensips > tcp 0 0 81.23.228.160:5061 0.0.0.0:* LISTEN 21430/./opensips > tcp 0 0 81.23.228.160:5060 86.121.160.133:44102 ESTABLISHED 21441/./opensips > tcp 0 0 81.23.228.160:5060 152.156.209.166:56317 ESTABLISHED 21442/./opensips > > (notice how all established connections belong only to TCP receiver processes according to netstat) > > $ sudo lsof -np 21450 | grep TCP # This is TCP main > opensips 21450 opensips 116u IPv4 580308849 0t0 TCP 81.23.228.160:sip->86.121.160.133:44102 (ESTABLISHED) > opensips 21450 opensips 117u IPv4 580313129 0t0 TCP 81.23.228.160:sip->152.156.209.166:56317 (ESTABLISHED) > opensips 21450 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) > opensips 21450 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) > > $ sudo lsof -np 21441 | grep TCP # This is the first TCP receiver > opensips 21441 opensips 5u IPv4 580308849 0t0 TCP 81.23.228.160:sip->86.121.160.133:44102 (ESTABLISHED) > opensips 21441 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) > opensips 21441 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) > > $ sudo lsof -np 21442 | grep TCP # This is the 2nd TCP receiver > opensips 21442 opensips 5u IPv4 580313129 0t0 TCP 81.23.228.160:sip->152.156.209.166:56317 (ESTABLISHED) > opensips 21442 opensips 159u IPv4 580280113 0t0 TCP 81.23.228.160:sip (LISTEN) > opensips 21442 opensips 160u IPv4 580280114 0t0 TCP 81.23.228.160:sip-tls (LISTEN) > > As mentioned before, the output is stable and it doesn't change until the connection is closed. The connections do not seem to be moved back to TCP main. Also notice the file descriptor being 5 in the TCP receiver process and something like 116/117 in TCP main. > > Otherwise TCP connections seem to work, but I noticed the behavior changed from what it used to be in previous versions. Is this an issue, or is it intended? > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com Meet the OpenSIPS team at the next OpenSIPS Summit: https://www.opensips.org/events From noreply at github.com Tue May 21 08:38:17 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 05:38:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a2460e: Added some auto-debug code for load stats. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a2460ee74a4b3b43dd8be787931607cca2896e57 https://github.com/OpenSIPS/opensips/commit/a2460ee74a4b3b43dd8be787931607cca2896e57 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M pt_load.c Log Message: ----------- Added some auto-debug code for load stats. Track if the computed load is higher than 100% and dump various internal data. Related to #1650 From noreply at github.com Tue May 21 11:00:29 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 15:00:29 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 815601: tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 815601872cca5debd4b6f7e9ff4956bfdceaec51 https://github.com/OpenSIPS/opensips/commit/815601872cca5debd4b6f7e9ff4956bfdceaec51 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Make sure we have access to the sent buffer in the TMCB_PRE_SEND_BUFFER tm callback. From noreply at github.com Tue May 21 11:00:43 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:00:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0ab94b: tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 0ab94bc2cc71b1df7efad41d133cc930ec9f5b26 https://github.com/OpenSIPS/opensips/commit/0ab94bc2cc71b1df7efad41d133cc930ec9f5b26 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Make sure we have access to the sent buffer in the TMCB_PRE_SEND_BUFFER tm callback. (cherry picked from commit 815601872cca5debd4b6f7e9ff4956bfdceaec51) From noreply at github.com Tue May 21 11:14:51 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:14:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 256651: tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 25665122bb1535020a722e4ee1904cd86c8e635d https://github.com/OpenSIPS/opensips/commit/25665122bb1535020a722e4ee1904cd86c8e635d Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- tm: specify sent buffer for TMCB_PRE_SEND_BUFFER Make sure we have access to the sent buffer in the TMCB_PRE_SEND_BUFFER tm callback. (cherry picked from commit 815601872cca5debd4b6f7e9ff4956bfdceaec51) From noreply at github.com Tue May 21 11:23:36 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:23:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 46877f: dialog: duplicate out SDP when cloning a leg Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 46877f2ac16981177dd18ca0ea031efaf89bc8ac https://github.com/OpenSIPS/opensips/commit/46877f2ac16981177dd18ca0ea031efaf89bc8ac Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: duplicate out SDP when cloning a leg also, make sure the src_leg is used *after* enlarging the dialog legs, otherwise it might remain dangling From noreply at github.com Tue May 21 11:29:41 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:29:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 945386: dialog: duplicate out SDP when cloning a leg Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 945386683c874a67658cdecb301a2f4f49ccfb4d https://github.com/OpenSIPS/opensips/commit/945386683c874a67658cdecb301a2f4f49ccfb4d Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: duplicate out SDP when cloning a leg also, make sure the src_leg is used *after* enlarging the dialog legs, otherwise it might remain dangling (cherry picked from commit 46877f2ac16981177dd18ca0ea031efaf89bc8ac) From noreply at github.com Tue May 21 11:31:30 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:31:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5af928: dialog: prevent src_leg from remaining dangling Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 5af9289d366e74716dd3909dbe0714c3ccef7fb4 https://github.com/OpenSIPS/opensips/commit/5af9289d366e74716dd3909dbe0714c3ccef7fb4 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/dialog/dlg_hash.c Log Message: ----------- dialog: prevent src_leg from remaining dangling From noreply at github.com Tue May 21 11:47:24 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 08:47:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ef680f: tm: run TMCB_REQUEST_BUILT before sending msg Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ef680f665066dabf2d99d616976ba7126092f124 https://github.com/OpenSIPS/opensips/commit/ef680f665066dabf2d99d616976ba7126092f124 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_cancel.c M modules/tm/t_fwd.c M modules/tm/t_hooks.h Log Message: ----------- tm: run TMCB_REQUEST_BUILT before sending msg Althought this was initially documented as being ran before sending the message out, this callback has been moved *after* the message is sent. Therefore it can generate some concurrency issues in the dialog, when a reply is received faster than the outgoing leg would have been updated. From noreply at github.com Tue May 21 13:08:47 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 10:08:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 07672d: tm: run TMCB_REQUEST_BUILT before sending msg Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 07672d43879c01cfe28a607bd97c6cd4c7b1f7b2 https://github.com/OpenSIPS/opensips/commit/07672d43879c01cfe28a607bd97c6cd4c7b1f7b2 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_cancel.c M modules/tm/t_fwd.c M modules/tm/t_hooks.h Log Message: ----------- tm: run TMCB_REQUEST_BUILT before sending msg Althought this was initially documented as being ran before sending the message out, this callback has been moved *after* the message is sent. Therefore it can generate some concurrency issues in the dialog, when a reply is received faster than the outgoing leg would have been updated. (cherry picked from commit ef680f665066dabf2d99d616976ba7126092f124) From noreply at github.com Tue May 21 13:09:04 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 21 May 2019 10:09:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d2407: tm: run TMCB_REQUEST_BUILT before sending msg Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7d24077f90f8d6f6316b82410e6e5f778dbc1e49 https://github.com/OpenSIPS/opensips/commit/7d24077f90f8d6f6316b82410e6e5f778dbc1e49 Author: Razvan Crainea Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/tm/t_cancel.c M modules/tm/t_fwd.c M modules/tm/t_hooks.h Log Message: ----------- tm: run TMCB_REQUEST_BUILT before sending msg Althought this was initially documented as being ran before sending the message out, this callback has been moved *after* the message is sent. Therefore it can generate some concurrency issues in the dialog, when a reply is received faster than the outgoing leg would have been updated. (cherry picked from commit ef680f665066dabf2d99d616976ba7126092f124) From noreply at github.com Tue May 21 15:49:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 12:49:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 793959: LB will always to one dst when use lb_next Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 793959e149db4f0210de63f3b78e457915c95afb https://github.com/OpenSIPS/opensips/commit/793959e149db4f0210de63f3b78e457915c95afb Author: TaoZhiying Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M modules/load_balancer/lb_data.c Log Message: ----------- LB will always to one dst when use lb_next The current dst is not a larger load. When skipping, the index of the bitmask does not move. Commit: 2dd76a784450be9f85a18237c54a0b9fe945100b https://github.com/OpenSIPS/opensips/commit/2dd76a784450be9f85a18237c54a0b9fe945100b Author: Bogdan Andrei IANCU Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/load_balancer/lb_data.c Log Message: ----------- Merge pull request #1699 from taozhiying/patch-1 LB will always to one dst when use lb_next Compare: https://github.com/OpenSIPS/opensips/compare/7d24077f90f8...2dd76a784450 From noreply at github.com Tue May 21 15:51:17 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 12:51:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8825e5: Merge pull request #1699 from taozhiying/patch-1 Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8825e57609daaad6798b34eda0713284106cc3f1 https://github.com/OpenSIPS/opensips/commit/8825e57609daaad6798b34eda0713284106cc3f1 Author: Bogdan Andrei IANCU Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/load_balancer/lb_data.c Log Message: ----------- Merge pull request #1699 from taozhiying/patch-1 LB will always to one dst when use lb_next (cherry picked from commit 2dd76a784450be9f85a18237c54a0b9fe945100b) From noreply at github.com Tue May 21 15:52:35 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 12:52:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 91e9d4: Merge pull request #1699 from taozhiying/patch-1 Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 91e9d4d810f585f88155eca4218787c593cb7294 https://github.com/OpenSIPS/opensips/commit/91e9d4d810f585f88155eca4218787c593cb7294 Author: Bogdan Andrei IANCU Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/load_balancer/lb_data.c Log Message: ----------- Merge pull request #1699 from taozhiying/patch-1 LB will always to one dst when use lb_next (cherry picked from commit 2dd76a784450be9f85a18237c54a0b9fe945100b) From noreply at github.com Tue May 21 16:17:10 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 13:17:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4bca47: Fix usage of buffered RR lumps Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 4bca4792d6543dfde5f472b158878942223625e8 https://github.com/OpenSIPS/opensips/commit/4bca4792d6543dfde5f472b158878942223625e8 Author: Bogdan-Andrei Iancu Date: 2019-05-21 (Tue, 21 May 2019) Changed paths: M modules/rr/record.c Log Message: ----------- Fix usage of buffered RR lumps Do not simply link the buffered lumps, but better clone them -> this will avoid a mixage of lump types (shm versus pkg) when using async() Fix for #1683 From noreply at github.com Wed May 22 01:48:45 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 22:48:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bd1719: Fix usage of buffered RR lumps Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bd1719dcf8bb5a83ab5428ee3f6d9f66ec6d765f https://github.com/OpenSIPS/opensips/commit/bd1719dcf8bb5a83ab5428ee3f6d9f66ec6d765f Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/rr/record.c Log Message: ----------- Fix usage of buffered RR lumps Do not simply link the buffered lumps, but better clone them -> this will avoid a mixage of lump types (shm versus pkg) when using async() Fix for #1683 (cherry picked from commit 4bca4792d6543dfde5f472b158878942223625e8) From noreply at github.com Wed May 22 01:49:28 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 21 May 2019 22:49:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 997096: Fix usage of buffered RR lumps Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9970962753ad09fcdfad46d572dad21d5b25f808 https://github.com/OpenSIPS/opensips/commit/9970962753ad09fcdfad46d572dad21d5b25f808 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/rr/record.c Log Message: ----------- Fix usage of buffered RR lumps Do not simply link the buffered lumps, but better clone them -> this will avoid a mixage of lump types (shm versus pkg) when using async() Fix for #1683 (cherry picked from commit 4bca4792d6543dfde5f472b158878942223625e8) From noreply at github.com Wed May 22 06:00:52 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 May 2019 03:00:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65ae04: dialog: Do not replicate CSeq changes w/o a cluster Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 65ae04c892d2869be4a56049adcea70666e97dc8 https://github.com/OpenSIPS/opensips/commit/65ae04c892d2869be4a56049adcea70666e97dc8 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: Do not replicate CSeq changes w/o a cluster From noreply at github.com Wed May 22 06:01:00 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 May 2019 03:01:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ff72d0: dialog: Do not replicate CSeq changes w/o a cluster Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ff72d0c2ecc6a5a9402a369f7bac799699dbe8a5 https://github.com/OpenSIPS/opensips/commit/ff72d0c2ecc6a5a9402a369f7bac799699dbe8a5 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: Do not replicate CSeq changes w/o a cluster (cherry picked from commit 65ae04c892d2869be4a56049adcea70666e97dc8) From noreply at github.com Wed May 22 06:49:48 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 03:49:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb5b0c: mi: remove id from shm response Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bb5b0c9e8b22f1cfbfdb3654a34eabbe76677a05 https://github.com/OpenSIPS/opensips/commit/bb5b0c9e8b22f1cfbfdb3654a34eabbe76677a05 Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M mi/item.c Log Message: ----------- mi: remove id from shm response This fixes asynchronous commands that store the id in the response as system allocated, but after that they are released as shm. This bug was afecting the mi_http fifo backend. From noreply at github.com Wed May 22 06:50:14 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 10:50:14 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3c605a: mi: remove id from shm response Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3c605a81c775c38b382226f4b53cb7f3c6a0d280 https://github.com/OpenSIPS/opensips/commit/3c605a81c775c38b382226f4b53cb7f3c6a0d280 Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M mi/item.c Log Message: ----------- mi: remove id from shm response This fixes asynchronous commands that store the id in the response as system allocated, but after that they are released as shm. This bug was afecting the mi_http fifo backend. (cherry picked from commit bb5b0c9e8b22f1cfbfdb3654a34eabbe76677a05) From noreply at github.com Wed May 22 07:39:19 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 May 2019 04:39:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fa651c: dialog: Fix some buffer management bugs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fa651ce5942756400cec12da4b05428e3bede879 https://github.com/OpenSIPS/opensips/commit/fa651ce5942756400cec12da4b05428e3bede879 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: Fix some buffer management bugs From noreply at github.com Wed May 22 10:11:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 07:11:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 295a58: rtpproxy: engage late negociation even after call ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 295a5842dee444a1f26b8eb5af539e58e4db8d44 https://github.com/OpenSIPS/opensips/commit/295a5842dee444a1f26b8eb5af539e58e4db8d44 Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- rtpproxy: engage late negociation even after call is established Thanks go to spacetourist(GitHub)/Callum Guy for reporting this Close #1702 From noreply at github.com Wed May 22 10:11:25 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 07:11:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 17509e: rtpproxy: engage late negociation even after call ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 17509ea47129ff8745e1db7c7209ce0e7dc48f6d https://github.com/OpenSIPS/opensips/commit/17509ea47129ff8745e1db7c7209ce0e7dc48f6d Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- rtpproxy: engage late negociation even after call is established Thanks go to spacetourist(GitHub)/Callum Guy for reporting this Close #1702 (cherry picked from commit 295a5842dee444a1f26b8eb5af539e58e4db8d44) From noreply at github.com Wed May 22 10:11:41 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 07:11:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ce93ed: rtpproxy: engage late negociation even after call ... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ce93ed5b80082953662b22e0e5467b59f56cf26b https://github.com/OpenSIPS/opensips/commit/ce93ed5b80082953662b22e0e5467b59f56cf26b Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- rtpproxy: engage late negociation even after call is established Thanks go to spacetourist(GitHub)/Callum Guy for reporting this Close #1702 (cherry picked from commit 295a5842dee444a1f26b8eb5af539e58e4db8d44) From noreply at github.com Wed May 22 11:20:47 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 May 2019 08:20:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e3a1b7: Revert the commits for RPC-zing the t_uac_dlg Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e3a1b7c9bc899e6cf75cd3dd42f541d84eb505f5 https://github.com/OpenSIPS/opensips/commit/e3a1b7c9bc899e6cf75cd3dd42f541d84eb505f5 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Revert the commits for RPC-zing the t_uac_dlg Reverted commits: 7df5d5e9ccd639a9f6035e64dadbc1e6b8a71758 8883a7c6caac5b4bed228381e2d64f53d7364b81 d0a043e89b2cdde1131a336964c0ade079269b4c The RPC-zing will be added internally to t_uac() function, transparent for the code using it. Commit: b7b9151178caf8c9776b824832034d1e13cdde21 https://github.com/OpenSIPS/opensips/commit/b7b9151178caf8c9776b824832034d1e13cdde21 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed some optional params for t_uac_dlg Side effect of the previos reverting Commit: 234a93e49c3b8e6264b65d48b3d622d126e42900 https://github.com/OpenSIPS/opensips/commit/234a93e49c3b8e6264b65d48b3d622d126e42900 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Re-implement t_uac() to do RPC if local_route cannot be locally run IF triggered from MI or non-SIP processes, the t_uac() cannot run local route (as such procs do not have the script anymore). Instead of various fixes in different parts of code / modules, let's address the problem internally in t_uac() - if needed and script is not available, run local route via RPC (while doing busy waiting) Commit: 620fe1025b64d641b899cd8f309852dada7e35f0 https://github.com/OpenSIPS/opensips/commit/620fe1025b64d641b899cd8f309852dada7e35f0 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- Reverted d13f3eb61764a9246542f37b72482f2b27a0aaf2 Running local route via RPC is now supported intenally by t_uac() Commit: c61278bf0ea09523aee95923cbbcc6d9fcdf9530 https://github.com/OpenSIPS/opensips/commit/c61278bf0ea09523aee95923cbbcc6d9fcdf9530 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- Revert "dialog: send dlg command using rpc" This reverts commit ef9de0173f66727488e75d11e341d6b90b8fcf9a. This is not necessary as the RPC for local route is now done internally by t_uac() Compare: https://github.com/OpenSIPS/opensips/compare/295a5842dee4...c61278bf0ea0 From noreply at github.com Wed May 22 11:49:44 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 22 May 2019 08:49:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8fdb2e: dialog: suppress error in case SDP does not exist ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8fdb2eb8b68ecb70b128a2d1bc9135a05689f4bf https://github.com/OpenSIPS/opensips/commit/8fdb2eb8b68ecb70b128a2d1bc9135a05689f4bf Author: Razvan Crainea Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: suppress error in case SDP does not exist for the leg From noreply at github.com Wed May 22 12:20:29 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 May 2019 16:20:29 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ba271: Fix the returning if local route does not exist wh... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2ba271c6d07f8001dbcc468d8fe7aab6ca84b2e5 https://github.com/OpenSIPS/opensips/commit/2ba271c6d07f8001dbcc468d8fe7aab6ca84b2e5 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Fix the returning if local route does not exist while doing RPC From noreply at github.com Wed May 22 12:30:54 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 May 2019 09:30:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2091c4: Revert the commits for RPC-zing the t_uac_dlg Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2091c4cf54b89b5f08d2293454ff5fa023286b61 https://github.com/OpenSIPS/opensips/commit/2091c4cf54b89b5f08d2293454ff5fa023286b61 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Revert the commits for RPC-zing the t_uac_dlg Reverted commits: 7df5d5e9ccd639a9f6035e64dadbc1e6b8a71758 8883a7c6caac5b4bed228381e2d64f53d7364b81 d0a043e89b2cdde1131a336964c0ade079269b4c The RPC-zing will be added internally to t_uac() function, transparent for the code using it. (cherry picked from commit e3a1b7c9bc899e6cf75cd3dd42f541d84eb505f5) Commit: 146a2501ab0a63e2e757cdb26faa591167a9ed89 https://github.com/OpenSIPS/opensips/commit/146a2501ab0a63e2e757cdb26faa591167a9ed89 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed some optional params for t_uac_dlg Side effect of the previos reverting (cherry picked from commit b7b9151178caf8c9776b824832034d1e13cdde21) Commit: 5d73a60cead9469fb4496b7319bdc37c41fe0af0 https://github.com/OpenSIPS/opensips/commit/5d73a60cead9469fb4496b7319bdc37c41fe0af0 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Re-implement t_uac() to do RPC if local_route cannot be locally run IF triggered from MI or non-SIP processes, the t_uac() cannot run local route (as such procs do not have the script anymore). Instead of various fixes in different parts of code / modules, let's address the problem internally in t_uac() - if needed and script is not available, run local route via RPC (while doing busy waiting) (cherry picked from commit 234a93e49c3b8e6264b65d48b3d622d126e42900) Commit: a3f56bed113a934a89edaeb39b32df88540585bd https://github.com/OpenSIPS/opensips/commit/a3f56bed113a934a89edaeb39b32df88540585bd Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- Reverted d13f3eb61764a9246542f37b72482f2b27a0aaf2 Running local route via RPC is now supported intenally by t_uac() (cherry picked from commit 620fe1025b64d641b899cd8f309852dada7e35f0) Commit: 7acc72a0ed6eb86d3bdae456b3ef205d15a4d0e1 https://github.com/OpenSIPS/opensips/commit/7acc72a0ed6eb86d3bdae456b3ef205d15a4d0e1 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_req_within.c Log Message: ----------- Revert "dialog: send dlg command using rpc" This reverts commit ef9de0173f66727488e75d11e341d6b90b8fcf9a. This is not necessary as the RPC for local route is now done internally by t_uac() (cherry picked from commit c61278bf0ea09523aee95923cbbcc6d9fcdf9530) Commit: 55d650ba6013d1f1d0777f4ba646f9cefdbc2c77 https://github.com/OpenSIPS/opensips/commit/55d650ba6013d1f1d0777f4ba646f9cefdbc2c77 Author: Bogdan-Andrei Iancu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Fix the returning if local route does not exist while doing RPC (cherry picked from commit 2ba271c6d07f8001dbcc468d8fe7aab6ca84b2e5) Compare: https://github.com/OpenSIPS/opensips/compare/17509ea47129...55d650ba6013 From noreply at github.com Wed May 22 12:31:07 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 22 May 2019 09:31:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3bc0e: dialog: fix behavior of is_in_profile() if no valu... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d3bc0e256f925ee2c25aea483e14afca8dfcdbbe https://github.com/OpenSIPS/opensips/commit/d3bc0e256f925ee2c25aea483e14afca8dfcdbbe Author: Vlad Patrascu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix behavior of is_in_profile() if no value is passed The function should also return true when a dialog does belong to a profile with values but no value is passed to reinforce the check. From noreply at github.com Wed May 22 12:32:46 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 22 May 2019 09:32:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a6a75: dialog: fix behavior of is_in_profile() if no valu... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8a6a7543a211e1ef84732ac43a1f9a35e7aadc4c https://github.com/OpenSIPS/opensips/commit/8a6a7543a211e1ef84732ac43a1f9a35e7aadc4c Author: Vlad Patrascu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix behavior of is_in_profile() if no value is passed The function should also return true when a dialog does belong to a profile with values but no value is passed to reinforce the check. (cherry picked from commit d3bc0e256f925ee2c25aea483e14afca8dfcdbbe) From noreply at github.com Wed May 22 12:33:46 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 22 May 2019 16:33:46 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 405bcd: dialog: fix behavior of is_in_profile() if no valu... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 405bcd513dfad5377bf631b043fc142b2e54c2ba https://github.com/OpenSIPS/opensips/commit/405bcd513dfad5377bf631b043fc142b2e54c2ba Author: Vlad Patrascu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: fix behavior of is_in_profile() if no value is passed The function should also return true when a dialog does belong to a profile with values but no value is passed to reinforce the check. (cherry picked from commit d3bc0e256f925ee2c25aea483e14afca8dfcdbbe) From noreply at github.com Wed May 22 13:07:42 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 May 2019 10:07:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2af6ce: str_strcmp: Silence noisy log Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2af6cef247ac20d41d67d48dc9fc98c8aa3f917f https://github.com/OpenSIPS/opensips/commit/2af6cef247ac20d41d67d48dc9fc98c8aa3f917f Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M ut.h Log Message: ----------- str_strcmp: Silence noisy log Commit: 71465a56b0b846c9d0459426d680bd7557750e50 https://github.com/OpenSIPS/opensips/commit/71465a56b0b846c9d0459426d680bd7557750e50 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- Revert "dialog: suppress error in case SDP does not exist for the leg" This reverts commit 8fdb2eb8b68ecb70b128a2d1bc9135a05689f4bf. Compare: https://github.com/OpenSIPS/opensips/compare/d3bc0e256f92...71465a56b0b8 From noreply at github.com Wed May 22 13:10:19 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 May 2019 17:10:19 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1abc78: dialog: Fix some buffer management bugs Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1abc7804e9c5fe0e31ebe21659f426ab4b51f199 https://github.com/OpenSIPS/opensips/commit/1abc7804e9c5fe0e31ebe21659f426ab4b51f199 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: Fix some buffer management bugs (cherry picked from commit fa651ce5942756400cec12da4b05428e3bede879) Commit: 454d58da75514157c0e937b71cffc45760959c35 https://github.com/OpenSIPS/opensips/commit/454d58da75514157c0e937b71cffc45760959c35 Author: Liviu Chircu Date: 2019-05-22 (Wed, 22 May 2019) Changed paths: M ut.h Log Message: ----------- str_strcmp: Silence noisy log (cherry picked from commit 2af6cef247ac20d41d67d48dc9fc98c8aa3f917f) Compare: https://github.com/OpenSIPS/opensips/compare/8a6a7543a211...454d58da7551 From noreply at github.com Thu May 23 07:11:54 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 04:11:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 739853: tracer: always try to load HEP protocol, if available Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 739853968f1ac66f887f4f5318480f52267b9ebc https://github.com/OpenSIPS/opensips/commit/739853968f1ac66f887f4f5318480f52267b9ebc Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: always try to load HEP protocol, if available From noreply at github.com Thu May 23 07:12:52 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 04:12:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 74d852: tracer: always try to load HEP protocol, if available Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 74d852e6f637f028470eeb267eff7c7a96d43426 https://github.com/OpenSIPS/opensips/commit/74d852e6f637f028470eeb267eff7c7a96d43426 Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: always try to load HEP protocol, if available (cherry picked from commit 739853968f1ac66f887f4f5318480f52267b9ebc) From noreply at github.com Thu May 23 07:30:30 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 May 2019 04:30:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fec5c1: Add 2.4 -> 3.0 MySQL DB migration scripts Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fec5c1dc29817a3065d56678137348cf44e64c17 https://github.com/OpenSIPS/opensips/commit/fec5c1dc29817a3065d56678137348cf44e64c17 Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: A scripts/mysql/db-migrate.sql A scripts/mysql/table-migrate.sql Log Message: ----------- Add 2.4 -> 3.0 MySQL DB migration scripts From noreply at github.com Thu May 23 09:43:07 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 06:43:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cbd2e4: rtpproxy: invalidate buffer when malformed data is... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cbd2e48e94a1842de7547b8f4218267e08798e2c https://github.com/OpenSIPS/opensips/commit/cbd2e48e94a1842de7547b8f4218267e08798e2c Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/rtpproxy/timeout_process.c Log Message: ----------- rtpproxy: invalidate buffer when malformed data is received Reported by gcuppers(GitHub) Close #1657 From noreply at github.com Thu May 23 09:43:42 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 06:43:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8d271: rtpproxy: invalidate buffer when malformed data is... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d8d271fe60c3600bb9c49a74bc4185016032c2fb https://github.com/OpenSIPS/opensips/commit/d8d271fe60c3600bb9c49a74bc4185016032c2fb Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/rtpproxy/timeout_process.c Log Message: ----------- rtpproxy: invalidate buffer when malformed data is received Reported by gcuppers(GitHub) Close #1657 (cherry picked from commit cbd2e48e94a1842de7547b8f4218267e08798e2c) From noreply at github.com Thu May 23 09:45:52 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 06:45:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] af2bd1: Fix choosing the IP:port to used when building PAI Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: af2bd1db8848d1a925680baa1ff2c57ec4ffc21b https://github.com/OpenSIPS/opensips/commit/af2bd1db8848d1a925680baa1ff2c57ec4ffc21b Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/emergency/sip_emergency.c Log Message: ----------- Fix choosing the IP:port to used when building PAI Instead of searching by port (which mya trigger false positive), better use the bind interface used for receiving the request From noreply at github.com Thu May 23 09:46:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 06:46:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3b42db: Fix choosing the IP:port to used when building PAI Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3b42db86b30dd9179555fcf11dd9f3b657c1eef1 https://github.com/OpenSIPS/opensips/commit/3b42db86b30dd9179555fcf11dd9f3b657c1eef1 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/emergency/sip_emergency.c Log Message: ----------- Fix choosing the IP:port to used when building PAI Instead of searching by port (which mya trigger false positive), better use the bind interface used for receiving the request (cherry picked from commit af2bd1db8848d1a925680baa1ff2c57ec4ffc21b) From noreply at github.com Thu May 23 09:46:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 06:46:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d5bb7a: Fix choosing the IP:port to used when building PAI Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d5bb7ab4022ce417f46b39ab03777b536e908bc3 https://github.com/OpenSIPS/opensips/commit/d5bb7ab4022ce417f46b39ab03777b536e908bc3 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/emergency/sip_emergency.c Log Message: ----------- Fix choosing the IP:port to used when building PAI Instead of searching by port (which mya trigger false positive), better use the bind interface used for receiving the request (cherry picked from commit af2bd1db8848d1a925680baa1ff2c57ec4ffc21b) From noreply at github.com Thu May 23 10:27:38 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 May 2019 14:27:38 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7abc: Drop support for opensipsctl/opensipsdbctl Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8a7abc05195fb4a29d5439871d7691c090c60d32 https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32 Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M Makefile M etc/tls/README M modules/db_berkeley/Makefile M modules/db_mysql/Makefile M modules/db_oracle/Makefile M modules/db_oracle/doc/db_oracle_admin.xml M modules/db_postgres/Makefile M modules/db_sqlite/Makefile M modules/db_text/Makefile M modules/pi_http/doc/pi_http_admin.xml R opensipsdbctl.8 M osipsconfig.8 M packaging/debian/rules M packaging/freebsd/Makefile M packaging/netbsd/PLIST M packaging/openbsd/pkg/PLIST M packaging/redhat_fedora/opensips.spec M packaging/solaris/base-Prototype M packaging/solaris/berkeley-Prototype M packaging/solaris/mysql-Prototype M packaging/solaris/pgsql-Prototype M packaging/solaris/prototype M packaging/solaris/tls-Prototype M packaging/suse/opensips.spec.SuSE M scripts/dbtextdb/dbtextdb.py R scripts/opensipsctl R scripts/opensipsctl.8 R scripts/opensipsctl.base R scripts/opensipsctl.db_berkeley R scripts/opensipsctl.dbtext R scripts/opensipsctl.mysql R scripts/opensipsctl.oracle R scripts/opensipsctl.pgsql R scripts/opensipsctl.sqlbase R scripts/opensipsctl.sqlite R scripts/opensipsctlrc R scripts/opensipsdbctl R scripts/opensipsdbctl.base R scripts/opensipsdbctl.db_berkeley R scripts/opensipsdbctl.dbtext R scripts/opensipsdbctl.mysql R scripts/opensipsdbctl.oracle R scripts/opensipsdbctl.pgsql R scripts/opensipsdbctl.sqlite R scripts/opensipsdbfunc.oracle Log Message: ----------- Drop support for opensipsctl/opensipsdbctl These tools have been superseeded by the Python3-based opensips-cli. From noreply at github.com Thu May 23 10:28:48 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 May 2019 07:28:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 67ea21: Add 2.4 -> 3.0 MySQL DB migration scripts Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 67ea2103676e3070eb5c6a9910347515a8df9a32 https://github.com/OpenSIPS/opensips/commit/67ea2103676e3070eb5c6a9910347515a8df9a32 Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: A scripts/mysql/db-migrate.sql A scripts/mysql/table-migrate.sql Log Message: ----------- Add 2.4 -> 3.0 MySQL DB migration scripts (cherry picked from commit fec5c1dc29817a3065d56678137348cf44e64c17) Commit: a6ddb23949656a6f2c8588709417d2b67873aa1c https://github.com/OpenSIPS/opensips/commit/a6ddb23949656a6f2c8588709417d2b67873aa1c Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M Makefile M etc/tls/README M modules/db_berkeley/Makefile M modules/db_mysql/Makefile M modules/db_oracle/Makefile M modules/db_oracle/doc/db_oracle_admin.xml M modules/db_postgres/Makefile M modules/db_sqlite/Makefile M modules/db_text/Makefile M modules/pi_http/doc/pi_http_admin.xml R opensipsdbctl.8 M osipsconfig.8 M packaging/debian/rules M packaging/freebsd/Makefile M packaging/netbsd/PLIST M packaging/openbsd/pkg/PLIST M packaging/redhat_fedora/opensips.spec M packaging/solaris/base-Prototype M packaging/solaris/berkeley-Prototype M packaging/solaris/mysql-Prototype M packaging/solaris/pgsql-Prototype M packaging/solaris/prototype M packaging/solaris/tls-Prototype M packaging/suse/opensips.spec.SuSE M scripts/dbtextdb/dbtextdb.py R scripts/opensipsctl R scripts/opensipsctl.8 R scripts/opensipsctl.base R scripts/opensipsctl.db_berkeley R scripts/opensipsctl.dbtext R scripts/opensipsctl.mysql R scripts/opensipsctl.oracle R scripts/opensipsctl.pgsql R scripts/opensipsctl.sqlbase R scripts/opensipsctl.sqlite R scripts/opensipsctlrc R scripts/opensipsdbctl R scripts/opensipsdbctl.base R scripts/opensipsdbctl.db_berkeley R scripts/opensipsdbctl.dbtext R scripts/opensipsdbctl.mysql R scripts/opensipsdbctl.oracle R scripts/opensipsdbctl.pgsql R scripts/opensipsdbctl.sqlite R scripts/opensipsdbfunc.oracle Log Message: ----------- Drop support for opensipsctl/opensipsdbctl These tools have been superseeded by the Python3-based opensips-cli. (cherry picked from commit 8a7abc05195fb4a29d5439871d7691c090c60d32) Compare: https://github.com/OpenSIPS/opensips/compare/3b42db86b30d...a6ddb2394965 From noreply at github.com Thu May 23 10:34:16 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 07:34:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a7791a: Be consistente - take IP and Port from the same st... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a7791a6d838d757a5faa43175aa319daadc56c86 https://github.com/OpenSIPS/opensips/commit/a7791a6d838d757a5faa43175aa319daadc56c86 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/cluster.c Log Message: ----------- Be consistente - take IP and Port from the same structure. As we replicate the socket, take the listening port from the socket. The DST port should reflect the IP layer, where you may have an ephemer port. From noreply at github.com Thu May 23 10:34:54 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 07:34:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7dc25e: Be consistente - take IP and Port from the same st... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7dc25e07b7b35c83544124da6667a8da85c6e27d https://github.com/OpenSIPS/opensips/commit/7dc25e07b7b35c83544124da6667a8da85c6e27d Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/cluster.c Log Message: ----------- Be consistente - take IP and Port from the same structure. As we replicate the socket, take the listening port from the socket. The DST port should reflect the IP layer, where you may have an ephemer port. (cherry picked from commit a7791a6d838d757a5faa43175aa319daadc56c86) From noreply at github.com Thu May 23 10:35:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 07:35:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7e7c7: Be consistente - take IP and Port from the same st... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: c7e7c7c3420f2c724ad766494e370da6c25739e2 https://github.com/OpenSIPS/opensips/commit/c7e7c7c3420f2c724ad766494e370da6c25739e2 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/cluster.c Log Message: ----------- Be consistente - take IP and Port from the same structure. As we replicate the socket, take the listening port from the socket. The DST port should reflect the IP layer, where you may have an ephemer port. (cherry picked from commit a7791a6d838d757a5faa43175aa319daadc56c86) From noreply at github.com Thu May 23 10:45:26 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 07:45:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dbdf02: Better naming of attributes in tcp_list_conns output Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dbdf02fc1be0fe62ad4a7863447d4a1493322e4e https://github.com/OpenSIPS/opensips/commit/dbdf02fc1be0fe62ad4a7863447d4a1493322e4e Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Better naming of attributes in tcp_list_conns output Replace Source/Destination with Remote/Local, to be easier to understand From noreply at github.com Thu May 23 10:45:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 14:45:57 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2037ef: Better naming of attributes in tcp_list_conns output Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2037ef3981058740098c4db38c67c0e80f32e35f https://github.com/OpenSIPS/opensips/commit/2037ef3981058740098c4db38c67c0e80f32e35f Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Better naming of attributes in tcp_list_conns output Replace Source/Destination with Remote/Local, to be easier to understand (cherry picked from commit dbdf02fc1be0fe62ad4a7863447d4a1493322e4e) From noreply at github.com Thu May 23 10:51:39 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 14:51:39 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 260574: Better naming of attributes in tcp_list_conns output Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 260574a3e5c892d27d4d15382c38dcbb899af04b https://github.com/OpenSIPS/opensips/commit/260574a3e5c892d27d4d15382c38dcbb899af04b Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Better naming of attributes in tcp_list_conns output Replace Source/Destination with Remote/Local, to be easier to understand Cherry pick from dbdf02fc1be0fe62ad4a7863447d4a1493322e4e From noreply at github.com Thu May 23 10:51:52 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 07:51:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ba8196: siprec: fix documentation to align with b6f2f84baa Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ba81966851cd4e10961b4d2c05c899b2c952872e https://github.com/OpenSIPS/opensips/commit/ba81966851cd4e10961b4d2c05c899b2c952872e Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/siprec/doc/siprec_admin.xml Log Message: ----------- siprec: fix documentation to align with b6f2f84baa In commit b6f2f84baa58e15baee43879308458bf38165b64 the signature of the `siprec_start_recording` function was changed - instead of specifying the rtpproxy set, now the function receives the rtpproxy node used for that call. This commit fixes the documentation for that. Thanks go to solarmon(GitHub) for reporting this in ticket #1664 From noreply at github.com Thu May 23 10:52:11 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 07:52:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 82a6dd: siprec: fix documentation to align with b6f2f84baa Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 82a6dda9892d78d72a27df38ec1011e23d2262ac https://github.com/OpenSIPS/opensips/commit/82a6dda9892d78d72a27df38ec1011e23d2262ac Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/siprec/doc/siprec_admin.xml Log Message: ----------- siprec: fix documentation to align with b6f2f84baa In commit b6f2f84baa58e15baee43879308458bf38165b64 the signature of the `siprec_start_recording` function was changed - instead of specifying the rtpproxy set, now the function receives the rtpproxy node used for that call. This commit fixes the documentation for that. Thanks go to solarmon(GitHub) for reporting this in ticket #1664 (cherry picked from commit ba81966851cd4e10961b4d2c05c899b2c952872e) From noreply at github.com Thu May 23 10:53:14 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 14:53:14 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6257ce: siprec: fix documentation to align with b6f2f84baa Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 6257ce4fd897bf089c01e14755538f1fe6f85773 https://github.com/OpenSIPS/opensips/commit/6257ce4fd897bf089c01e14755538f1fe6f85773 Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/siprec/doc/siprec_admin.xml Log Message: ----------- siprec: fix documentation to align with b6f2f84baa In commit b6f2f84baa58e15baee43879308458bf38165b64 the signature of the `siprec_start_recording` function was changed - instead of specifying the rtpproxy set, now the function receives the rtpproxy node used for that call. This commit fixes the documentation for that. Thanks go to solarmon(GitHub) for reporting this in ticket #1664 (cherry picked from commit ba81966851cd4e10961b4d2c05c899b2c952872e) From noreply at github.com Thu May 23 11:07:06 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 15:07:06 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a3eda1: proto_ws: build GET Host header based on destinati... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a3eda1b1393c7eb0475b41b4db1a51d86eb0882f https://github.com/OpenSIPS/opensips/commit/a3eda1b1393c7eb0475b41b4db1a51d86eb0882f Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/proto_ws/ws_handshake_common.h Log Message: ----------- proto_ws: build GET Host header based on destination IP and port Thanks go to Bogdan Iancu for spotting this From noreply at github.com Thu May 23 11:08:09 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 15:08:09 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 860ff3: proto_ws: build GET Host header based on destinati... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 860ff3886792086c1d8f9f65f0639306d15211b0 https://github.com/OpenSIPS/opensips/commit/860ff3886792086c1d8f9f65f0639306d15211b0 Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/proto_ws/ws_handshake_common.h Log Message: ----------- proto_ws: build GET Host header based on destination IP and port Thanks go to Bogdan Iancu for spotting this (cherry picked from commit a3eda1b1393c7eb0475b41b4db1a51d86eb0882f) From noreply at github.com Thu May 23 11:08:22 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 08:08:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7d53b5: proto_ws: build GET Host header based on destinati... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7d53b51763d706362d187caf662c0febf6721cba https://github.com/OpenSIPS/opensips/commit/7d53b51763d706362d187caf662c0febf6721cba Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/proto_ws/ws_handshake_common.h Log Message: ----------- proto_ws: build GET Host header based on destination IP and port Thanks go to Bogdan Iancu for spotting this (cherry picked from commit a3eda1b1393c7eb0475b41b4db1a51d86eb0882f) From noreply at github.com Thu May 23 11:08:41 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 23 May 2019 15:08:41 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa0e74: proto_ws: build GET Host header based on destinati... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: aa0e74557a296f8b01de51a96798420c06811a29 https://github.com/OpenSIPS/opensips/commit/aa0e74557a296f8b01de51a96798420c06811a29 Author: Razvan Crainea Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/proto_ws/ws_handshake_common.h Log Message: ----------- proto_ws: build GET Host header based on destination IP and port Thanks go to Bogdan Iancu for spotting this (cherry picked from commit a3eda1b1393c7eb0475b41b4db1a51d86eb0882f) From noreply at github.com Thu May 23 12:44:30 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 May 2019 09:44:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 061b75: tm: Fix crash in t_uac_dlg (uninitialized stack var) Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 061b7584d3b132eddb74472050ea20cc8ed0478c https://github.com/OpenSIPS/opensips/commit/061b7584d3b132eddb74472050ea20cc8ed0478c Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- tm: Fix crash in t_uac_dlg (uninitialized stack var) Commit: 869a78eefd266263e610b74e1d28162561a3265c https://github.com/OpenSIPS/opensips/commit/869a78eefd266263e610b74e1d28162561a3265c Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/mi.c M ut.h Log Message: ----------- tm t_uac_dlg: Un-escape CRLF input from the "headers" param Commit: d39f07d656e27412fb1db46f9629dab19efc0e41 https://github.com/OpenSIPS/opensips/commit/d39f07d656e27412fb1db46f9629dab19efc0e41 Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/doc/tm_admin.xml Log Message: ----------- tm doc: Fix broken t_uac_dlg example Compare: https://github.com/OpenSIPS/opensips/compare/a3eda1b1393c...d39f07d656e2 From noreply at github.com Thu May 23 12:44:58 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 May 2019 09:44:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f87c18: tm: Fix crash in t_uac_dlg (uninitialized stack var) Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f87c1857d55600ef6271a3de67709c3d92927af8 https://github.com/OpenSIPS/opensips/commit/f87c1857d55600ef6271a3de67709c3d92927af8 Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- tm: Fix crash in t_uac_dlg (uninitialized stack var) (cherry picked from commit 061b7584d3b132eddb74472050ea20cc8ed0478c) Commit: 1ca989b1a54fbbcd87d3082d0bf03afab314333d https://github.com/OpenSIPS/opensips/commit/1ca989b1a54fbbcd87d3082d0bf03afab314333d Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/mi.c M ut.h Log Message: ----------- tm t_uac_dlg: Un-escape CRLF input from the "headers" param (cherry picked from commit 869a78eefd266263e610b74e1d28162561a3265c) Commit: 560c6b62916329c1b2d974c27cc1e235b53d687c https://github.com/OpenSIPS/opensips/commit/560c6b62916329c1b2d974c27cc1e235b53d687c Author: Liviu Chircu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tm/doc/tm_admin.xml Log Message: ----------- tm doc: Fix broken t_uac_dlg example (cherry picked from commit d39f07d656e27412fb1db46f9629dab19efc0e41) Compare: https://github.com/OpenSIPS/opensips/compare/860ff3886792...560c6b629163 From noreply at github.com Thu May 23 13:12:27 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 May 2019 10:12:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9dde6d: Expose the real ports (src/dst) used by TC-based w... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9dde6d5f00626ac78cec948c84443b2caea33013 https://github.com/OpenSIPS/opensips/commit/9dde6d5f00626ac78cec948c84443b2caea33013 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M net/proto_tcp/proto_tcp.c M socket_info.h Log Message: ----------- Expose the real ports (src/dst) used by TC-based write op As src/dst ports may be ephemeral, expose (via holders in socket_info struct) the real used ports during the last write operation Related to #1692 Commit: d6a663f9b9b33205120519b85135fe4bc34b852d https://github.com/OpenSIPS/opensips/commit/d6a663f9b9b33205120519b85135fe4bc34b852d Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Trace the real ports (from IP level) instead of SIP level ports As the TCP based ops may report different ports at IP level versus SIP level, trace (if available) the IP level information. Related to #1692 Commit: 929c854b084cdbf9c6cf8e253f9fa60fcdec3c18 https://github.com/OpenSIPS/opensips/commit/929c854b084cdbf9c6cf8e253f9fa60fcdec3c18 Author: Bogdan-Andrei Iancu Date: 2019-05-23 (Thu, 23 May 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Store in TCP conns the real ephemeral port and not the listening port Related to #1692 Compare: https://github.com/OpenSIPS/opensips/compare/d39f07d656e2...929c854b084c From noreply at github.com Fri May 24 05:44:16 2019 From: noreply at github.com (Nick Altmann) Date: Fri, 24 May 2019 02:44:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aca078: Fix packaging (remove opensipsdbctl manpage) Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: aca078bd45926d24bd8498a12ff0b21db3c1bf5a https://github.com/OpenSIPS/opensips/commit/aca078bd45926d24bd8498a12ff0b21db3c1bf5a Author: Nick Altmann Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M packaging/debian/opensips.manpages Log Message: ----------- Fix packaging (remove opensipsdbctl manpage) From noreply at github.com Fri May 24 05:44:26 2019 From: noreply at github.com (Nick Altmann) Date: Fri, 24 May 2019 02:44:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 63d53d: Fix packaging (remove opensipsdbctl manpage) Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 63d53ddd96355bd5e11ebfe293a4f37f6fe11d80 https://github.com/OpenSIPS/opensips/commit/63d53ddd96355bd5e11ebfe293a4f37f6fe11d80 Author: Nick Altmann Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M packaging/debian/opensips.manpages Log Message: ----------- Fix packaging (remove opensipsdbctl manpage) From noreply at github.com Fri May 24 08:49:47 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 05:49:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 285b49: packaging: Allow specifying custom options with De... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 285b49e1d09972737288cc89a3b715f26196936b https://github.com/OpenSIPS/opensips/commit/285b49e1d09972737288cc89a3b715f26196936b Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M packaging/debian/opensips-m4cfg M packaging/debian/opensips.default M packaging/redhat_fedora/opensips-m4cfg Log Message: ----------- packaging: Allow specifying custom options with Debian systemd Additionally, use the "$OPTIONS" during the script startup checks! From noreply at github.com Fri May 24 08:50:29 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 05:50:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e83a11: packaging: Allow specifying custom options with De... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e83a116c179ff8be04e8976a21a94aad6730d97e https://github.com/OpenSIPS/opensips/commit/e83a116c179ff8be04e8976a21a94aad6730d97e Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M packaging/debian/opensips.default Log Message: ----------- packaging: Allow specifying custom options with Debian systemd From noreply at github.com Fri May 24 08:50:47 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 05:50:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52f576: packaging: Allow specifying custom options with De... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 52f5762696348cfccd31ef3c43d16db9b44d4113 https://github.com/OpenSIPS/opensips/commit/52f5762696348cfccd31ef3c43d16db9b44d4113 Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M packaging/debian/opensips.default Log Message: ----------- packaging: Allow specifying custom options with Debian systemd (cherry picked from commit e83a116c179ff8be04e8976a21a94aad6730d97e) From noreply at github.com Fri May 24 11:20:31 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 08:20:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a977a1: core: Add new parameter ('pv_print_buf_size') Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a977a1c3426c0fbd6bdc2d5f60aff9461c465360 https://github.com/OpenSIPS/opensips/commit/a977a1c3426c0fbd6bdc2d5f60aff9461c465360 Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M cfg.lex M cfg.y M main.c M pvar.c M pvar.h Log Message: ----------- core: Add new parameter ('pv_print_buf_size') This setting will be useful in case large bodies of text need to be expanded during a pseudo-variable format printing. For example: avp_db_query("SELECT $var(columns) FROM $var(table)", $avp(result)); ^ before this commit, the output of this format was capped at 1024 bytes Closes #1659 From noreply at github.com Fri May 24 11:20:43 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 08:20:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ba6614: core: Add new parameter ('pv_print_buf_size') Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ba6614da30c2d3fd25d1117a438cecd588039431 https://github.com/OpenSIPS/opensips/commit/ba6614da30c2d3fd25d1117a438cecd588039431 Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M cfg.lex M cfg.y M main.c M pvar.c M pvar.h Log Message: ----------- core: Add new parameter ('pv_print_buf_size') This setting will be useful in case large bodies of text need to be expanded during a pseudo-variable format printing. For example: avp_db_query("SELECT $var(columns) FROM $var(table)", $avp(result)); ^ before this commit, the output of this format was capped at 1024 bytes Closes #1659 (cherry picked from commit a977a1c3426c0fbd6bdc2d5f60aff9461c465360) From dan at ag-projects.com Fri May 24 11:22:48 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 24 May 2019 18:22:48 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7abc: Drop support for opensipsctl/opensipsdbctl In-Reply-To: References: Message-ID: <2C86FEEC-7131-4CD2-B88B-D51DB7E9BC6C@ag-projects.com> There is a regression with this one. The new tool doesn't support everything the old one did. More specifically, the opensipsdbctl script allowed one to define both an admin user/password and the opensips user/password for the database. After creating the database the script would also grant the opensips user access to the opensips database. The new tool only has the admin username/password defined and it only creates the database, but it doesn't grant opensips access to it, now it has to be done manually. On 23 May 2019, at 17:27, Liviu Chircu wrote: > Branch: refs/heads/master > Home: https://github.com/OpenSIPS/opensips > Commit: 8a7abc05195fb4a29d5439871d7691c090c60d32 > https://github.com/OpenSIPS/opensips/commit/8a7abc05195fb4a29d5439871d7691c090c60d32 > Author: Liviu Chircu > Date: 2019-05-23 (Thu, 23 May 2019) > > Changed paths: > M Makefile > M etc/tls/README > M modules/db_berkeley/Makefile > M modules/db_mysql/Makefile > M modules/db_oracle/Makefile > M modules/db_oracle/doc/db_oracle_admin.xml > M modules/db_postgres/Makefile > M modules/db_sqlite/Makefile > M modules/db_text/Makefile > M modules/pi_http/doc/pi_http_admin.xml > R opensipsdbctl.8 > M osipsconfig.8 > M packaging/debian/rules > M packaging/freebsd/Makefile > M packaging/netbsd/PLIST > M packaging/openbsd/pkg/PLIST > M packaging/redhat_fedora/opensips.spec > M packaging/solaris/base-Prototype > M packaging/solaris/berkeley-Prototype > M packaging/solaris/mysql-Prototype > M packaging/solaris/pgsql-Prototype > M packaging/solaris/prototype > M packaging/solaris/tls-Prototype > M packaging/suse/opensips.spec.SuSE > M scripts/dbtextdb/dbtextdb.py > R scripts/opensipsctl > R scripts/opensipsctl.8 > R scripts/opensipsctl.base > R scripts/opensipsctl.db_berkeley > R scripts/opensipsctl.dbtext > R scripts/opensipsctl.mysql > R scripts/opensipsctl.oracle > R scripts/opensipsctl.pgsql > R scripts/opensipsctl.sqlbase > R scripts/opensipsctl.sqlite > R scripts/opensipsctlrc > R scripts/opensipsdbctl > R scripts/opensipsdbctl.base > R scripts/opensipsdbctl.db_berkeley > R scripts/opensipsdbctl.dbtext > R scripts/opensipsdbctl.mysql > R scripts/opensipsdbctl.oracle > R scripts/opensipsdbctl.pgsql > R scripts/opensipsdbctl.sqlite > R scripts/opensipsdbfunc.oracle > > Log Message: > ----------- > Drop support for opensipsctl/opensipsdbctl > > These tools have been superseeded by the Python3-based opensips-cli. > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan From liviu at opensips.org Fri May 24 11:29:22 2019 From: liviu at opensips.org (Liviu Chircu) Date: Fri, 24 May 2019 18:29:22 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7abc: Drop support for opensipsctl/opensipsdbctl In-Reply-To: <2C86FEEC-7131-4CD2-B88B-D51DB7E9BC6C@ag-projects.com> References: <2C86FEEC-7131-4CD2-B88B-D51DB7E9BC6C@ag-projects.com> Message-ID: Thanks for catching this - noted!  Will definitely push to have this working once again! Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 24.05.2019 18:22, Dan Pascu wrote: > There is a regression with this one. The new tool doesn't support everything the old one did. More specifically, the opensipsdbctl script allowed one to define both an admin user/password and the opensips user/password for the database. After creating the database the script would also grant the opensips user access to the opensips database. The new tool only has the admin username/password defined and it only creates the database, but it doesn't grant opensips access to it, now it has to be done manually. From dan at ag-projects.com Fri May 24 11:30:49 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 24 May 2019 18:30:49 +0300 Subject: [OpenSIPS-Devel] Crash Message-ID: <56BDA40C-9D3F-4132-B1E2-323878A2BA83@ag-projects.com> Every time I use 'opensips-cli -x trace' opensips crashes. It doesn't matter if I specify a filter or leave all fields empty. The backtrace doesn't look too helpful (it seems to be some other issue when cleaning things at shutdown): (gdb) bt #0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f6eccef2535 in __GI_abort () at abort.c:79 #2 0x0000555af3219ee0 in sig_alarm_abort (signo=) at main.c:434 #3 #4 0x00007f6eccfb0bf7 in sched_yield () at ../sysdeps/unix/syscall-template.S:78 #5 0x00007f6ea8740555 in get_lock (lock=0x7f6eaa18de70) at ../../net/../fastlock.h:221 #6 destroy_dyn_tracing () at tracer.c:3318 #7 destroy () at tracer.c:1001 #8 0x0000555af3232191 in destroy_modules () at sr_module.c:588 #9 0x0000555af321b536 in cleanup (show_status=show_status at entry=1) at main.c:358 #10 0x0000555af321c81a in shutdown_opensips (status=status at entry=256) at main.c:522 #11 0x0000555af321db00 in handle_sigs () at main.c:605 #12 0x0000555af2ff6fcc in main_loop () at main.c:867 #13 main (argc=, argv=) at main.c:1480 -- Dan From razvan at opensips.org Fri May 24 11:35:25 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Fri, 24 May 2019 18:35:25 +0300 Subject: [OpenSIPS-Devel] Crash In-Reply-To: <56BDA40C-9D3F-4132-B1E2-323878A2BA83@ag-projects.com> References: <56BDA40C-9D3F-4132-B1E2-323878A2BA83@ag-projects.com> Message-ID: Hi, Dan! This is a core dump during shut down, not the actual core dump. Can you enable cores with pid, to make sure you gather all the cores opensips dumps. You can do that by running: echo 1 > /proc/sys/kernel/core_uses_pid Best regards, Razvan On 5/24/19 6:30 PM, Dan Pascu wrote: > > Every time I use 'opensips-cli -x trace' opensips crashes. It doesn't matter if I specify a filter or leave all fields empty. The backtrace doesn't look too helpful (it seems to be some other issue when cleaning things at shutdown): > > (gdb) bt > #0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 > #1 0x00007f6eccef2535 in __GI_abort () at abort.c:79 > #2 0x0000555af3219ee0 in sig_alarm_abort (signo=) at main.c:434 > #3 > #4 0x00007f6eccfb0bf7 in sched_yield () at ../sysdeps/unix/syscall-template.S:78 > #5 0x00007f6ea8740555 in get_lock (lock=0x7f6eaa18de70) at ../../net/../fastlock.h:221 > #6 destroy_dyn_tracing () at tracer.c:3318 > #7 destroy () at tracer.c:1001 > #8 0x0000555af3232191 in destroy_modules () at sr_module.c:588 > #9 0x0000555af321b536 in cleanup (show_status=show_status at entry=1) at main.c:358 > #10 0x0000555af321c81a in shutdown_opensips (status=status at entry=256) at main.c:522 > #11 0x0000555af321db00 in handle_sigs () at main.c:605 > #12 0x0000555af2ff6fcc in main_loop () at main.c:867 > #13 main (argc=, argv=) at main.c:1480 > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -- Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com Meet the OpenSIPS team at the next OpenSIPS Summit: https://www.opensips.org/events From noreply at github.com Fri May 24 12:23:10 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 09:23:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1dae7c: opensips -h: Update the help message with the 3.0 ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1dae7c50fc336f98aee61ac54c7721d022c47711 https://github.com/OpenSIPS/opensips/commit/1dae7c50fc336f98aee61ac54c7721d022c47711 Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M help_msg.h Log Message: ----------- opensips -h: Update the help message with the 3.0 additions From noreply at github.com Fri May 24 12:23:29 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 24 May 2019 09:23:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b56b7: opensips -h: Update the help message with the 3.0 ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1b56b753c22b5e0a266c0d67208de993f3af44ee https://github.com/OpenSIPS/opensips/commit/1b56b753c22b5e0a266c0d67208de993f3af44ee Author: Liviu Chircu Date: 2019-05-24 (Fri, 24 May 2019) Changed paths: M help_msg.h Log Message: ----------- opensips -h: Update the help message with the 3.0 additions (cherry picked from commit 1dae7c50fc336f98aee61ac54c7721d022c47711) From dan at ag-projects.com Fri May 24 12:41:29 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 24 May 2019 19:41:29 +0300 Subject: [OpenSIPS-Devel] Crash In-Reply-To: References: <56BDA40C-9D3F-4132-B1E2-323878A2BA83@ag-projects.com> Message-ID: <19B13B63-7E1A-46C6-9D08-39BBC940A37B@ag-projects.com> I already have cores with pid. This was the only core file that was dumped. Try it yourself, you might reproduce it easily (for me it happens every time). All I have in config is the tracer module configured to trace to the database. On 24 May 2019, at 18:35, Răzvan Crainea wrote: > Hi, Dan! > > This is a core dump during shut down, not the actual core dump. > Can you enable cores with pid, to make sure you gather all the cores opensips dumps. You can do that by running: > echo 1 > /proc/sys/kernel/core_uses_pid > > Best regards, > Razvan > > On 5/24/19 6:30 PM, Dan Pascu wrote: >> Every time I use 'opensips-cli -x trace' opensips crashes. It doesn't matter if I specify a filter or leave all fields empty. The backtrace doesn't look too helpful (it seems to be some other issue when cleaning things at shutdown): >> (gdb) bt >> #0 __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 >> #1 0x00007f6eccef2535 in __GI_abort () at abort.c:79 >> #2 0x0000555af3219ee0 in sig_alarm_abort (signo=) at main.c:434 >> #3 >> #4 0x00007f6eccfb0bf7 in sched_yield () at ../sysdeps/unix/syscall-template.S:78 >> #5 0x00007f6ea8740555 in get_lock (lock=0x7f6eaa18de70) at ../../net/../fastlock.h:221 >> #6 destroy_dyn_tracing () at tracer.c:3318 >> #7 destroy () at tracer.c:1001 >> #8 0x0000555af3232191 in destroy_modules () at sr_module.c:588 >> #9 0x0000555af321b536 in cleanup (show_status=show_status at entry=1) at main.c:358 >> #10 0x0000555af321c81a in shutdown_opensips (status=status at entry=256) at main.c:522 >> #11 0x0000555af321db00 in handle_sigs () at main.c:605 >> #12 0x0000555af2ff6fcc in main_loop () at main.c:867 >> #13 main (argc=, argv=) at main.c:1480 >> -- >> Dan >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > > -- > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > Meet the OpenSIPS team at the next OpenSIPS Summit: > https://www.opensips.org/events > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan From noreply at github.com Sun May 26 15:10:17 2019 From: noreply at github.com (opensips-github) Date: Sun, 26 May 2019 12:10:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c095ff: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: c095ffc52ef4bf76e7ad78c0699ab2766682610d https://github.com/OpenSIPS/opensips/commit/c095ffc52ef4bf76e7ad78c0699ab2766682610d Author: OpenSIPS Date: 2019-05-26 (Sun, 26 May 2019) Changed paths: M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 26 15:29:03 2019 From: noreply at github.com (opensips-github) Date: Sun, 26 May 2019 12:29:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5dbd97: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 5dbd97e8b8d64b70d72496545d93cad867ec2be6 https://github.com/OpenSIPS/opensips/commit/5dbd97e8b8d64b70d72496545d93cad867ec2be6 Author: OpenSIPS Date: 2019-05-26 (Sun, 26 May 2019) Changed paths: M modules/cachedb_cassandra/README M modules/cachedb_cassandra/doc/contributors.xml M modules/cachedb_redis/README M modules/cachedb_redis/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/rr/README M modules/rr/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/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 26 15:40:46 2019 From: noreply at github.com (opensips-github) Date: Sun, 26 May 2019 12:40:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b3d731: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b3d7313b07da56d21f743bcf05c7e6cb4f7541ca https://github.com/OpenSIPS/opensips/commit/b3d7313b07da56d21f743bcf05c7e6cb4f7541ca Author: OpenSIPS Date: 2019-05-26 (Sun, 26 May 2019) Changed paths: M modules/cachedb_cassandra/README M modules/cachedb_cassandra/doc/contributors.xml M modules/cachedb_redis/README M modules/cachedb_redis/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_berkeley/README M modules/db_berkeley/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/db_oracle/README M modules/db_oracle/doc/contributors.xml M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/pi_http/README M modules/pi_http/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/rr/README M modules/rr/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/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun May 26 15:53:06 2019 From: noreply at github.com (opensips-github) Date: Sun, 26 May 2019 12:53:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e7770a: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e7770a97a16e66714e672891c2e56a89c0a4fa6c https://github.com/OpenSIPS/opensips/commit/e7770a97a16e66714e672891c2e56a89c0a4fa6c Author: OpenSIPS Date: 2019-05-26 (Sun, 26 May 2019) Changed paths: M modules/cachedb_cassandra/README M modules/cachedb_cassandra/doc/contributors.xml M modules/cachedb_redis/README M modules/cachedb_redis/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_berkeley/README M modules/db_berkeley/doc/contributors.xml M modules/db_mysql/README M modules/db_mysql/doc/contributors.xml M modules/db_oracle/README M modules/db_oracle/doc/contributors.xml M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/db_sqlite/README M modules/db_sqlite/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/emergency/README M modules/emergency/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/pi_http/README M modules/pi_http/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/proto_bin/README M modules/proto_bin/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/rr/README M modules/rr/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/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon May 27 01:43:11 2019 From: noreply at github.com (Dan Pascu) Date: Sun, 26 May 2019 22:43:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59ba0f: Return statistics as numbers Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 59ba0f7aab24b83816264a143f0c339a054400a6 https://github.com/OpenSIPS/opensips/commit/59ba0f7aab24b83816264a143f0c339a054400a6 Author: Dan Pascu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M statistics.c Log Message: ----------- Return statistics as numbers From noreply at github.com Mon May 27 01:43:44 2019 From: noreply at github.com (Dan Pascu) Date: Sun, 26 May 2019 22:43:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 15259f: Return statistics as numbers Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 15259fa5c12bd791568d1dad4710ef26a8dcf3f0 https://github.com/OpenSIPS/opensips/commit/15259fa5c12bd791568d1dad4710ef26a8dcf3f0 Author: Dan Pascu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M statistics.c Log Message: ----------- Return statistics as numbers (cherry picked from commit 59ba0f7aab24b83816264a143f0c339a054400a6) From noreply at github.com Mon May 27 06:26:42 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 27 May 2019 03:26:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c6fb6c: add function that is ran after loading a module Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c6fb6c96093ff2e81dda5746755594a64b5764ee https://github.com/OpenSIPS/opensips/commit/c6fb6c96093ff2e81dda5746755594a64b5764ee Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/aaa_radius/aaa_radius.c M modules/acc/acc_mod.c M modules/alias_db/alias_db.c M modules/auth/auth_mod.c M modules/auth_aaa/authaaa_mod.c M modules/auth_db/authdb_mod.c M modules/avpops/avpops.c M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c M modules/b2b_sca/b2b_sca.c M modules/benchmark/benchmark.c M modules/cachedb_cassandra/cachedb_cassandra.c M modules/cachedb_couchbase/cachedb_couchbase.c M modules/cachedb_local/cachedb_local.c M modules/cachedb_memcached/cachedb_memcached.c M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_sql/cachedb_sql.c M modules/call_center/call_center.c M modules/call_control/call_control.c M modules/carrierroute/carrierroute.c M modules/cfgutils/cfgutils.c M modules/cgrates/cgrates.c M modules/clusterer/clusterer_mod.c M modules/compression/compression.c M modules/cpl_c/cpl.c M modules/db_berkeley/db_berkeley.c M modules/db_cachedb/db_cachedb.c M modules/db_flatstore/flatstore_mod.c M modules/db_http/db_http.c M modules/db_mysql/db_mysql.c M modules/db_oracle/db_oracle.c M modules/db_perlvdb/perlvdb.c M modules/db_postgres/db_postgres.c M modules/db_sqlite/db_sqlite.c M modules/db_text/dbtext.c M modules/db_unixodbc/db_unixodbc.c M modules/db_virtual/db_virtual.c M modules/dialog/dialog.c M modules/dialplan/dialplan.c M modules/dispatcher/dispatcher.c M modules/diversion/diversion.c M modules/dns_cache/dns_cache.c M modules/domain/domain_mod.c M modules/domainpolicy/domainpolicy_mod.c M modules/drouting/drouting.c M modules/emergency/emergency_methods.c M modules/enum/enum_mod.c M modules/event_datagram/event_datagram.c M modules/event_flatstore/event_flatstore.c M modules/event_jsonrpc/event_jsonrpc.c M modules/event_rabbitmq/event_rabbitmq.c M modules/event_route/event_route.c M modules/event_routing/event_routing.c M modules/event_virtual/event_virtual.c M modules/event_xmlrpc/event_xmlrpc.c M modules/exec/exec_mod.c M modules/fraud_detection/fraud_detection.c M modules/freeswitch/fs_mod.c M modules/freeswitch_scripting/fss_mod.c M modules/gflags/gflags.c M modules/group/group_mod.c M modules/h350/h350_mod.c M modules/httpd/httpd.c M modules/identity/identity.c M modules/imc/imc.c M modules/jabber/jabber.c M modules/json/json.c M modules/jsonrpc/jsonrpc.c M modules/ldap/ldap_mod.c M modules/load_balancer/load_balancer.c M modules/lua/siplua.c M modules/mangler/mangler.c M modules/mathops/mathops.c M modules/maxfwd/maxfwd.c M modules/mediaproxy/mediaproxy.c M modules/mi_datagram/mi_datagram.c M modules/mi_fifo/mi_fifo.c M modules/mi_html/mi_html.c M modules/mi_http/mi_http.c M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c M modules/mid_registrar/mid_registrar.c M modules/mmgeoip/mmgeoip.c M modules/msilo/msilo.c M modules/nat_traversal/nat_traversal.c M modules/nathelper/nathelper.c M modules/options/mod_options.c M modules/osp/osp_mod.c M modules/path/path_mod.c M modules/peering/peering.c M modules/perl/perl.c M modules/permissions/permissions.c M modules/pi_http/pi_http.c M modules/pike/pike.c M modules/presence/presence.c M modules/presence_callinfo/presence_callinfo.c M modules/presence_dialoginfo/presence_dialoginfo.c M modules/presence_mwi/presence_mwi.c M modules/presence_xcapdiff/presence_xcapdiff.c M modules/presence_xml/presence_xml.c M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_sctp/proto_sctp.c M modules/proto_smpp/proto_smpp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M modules/pua/pua.c M modules/pua_bla/pua_bla.c M modules/pua_dialoginfo/pua_dialoginfo.c M modules/pua_mi/pua_mi.c M modules/pua_usrloc/pua_usrloc.c M modules/pua_xmpp/pua_xmpp.c M modules/python/python_mod.c M modules/qos/qos.c M modules/rabbitmq/rabbitmq.c M modules/rabbitmq_consumer/rabbitmq_consumer.c M modules/ratelimit/ratelimit.c M modules/regex/regex_mod.c M modules/registrar/reg_mod.c M modules/rest_client/rest_client.c M modules/rls/rls.c M modules/rr/rr_mod.c M modules/rtpengine/rtpengine.c M modules/rtpproxy/rtpproxy.c M modules/script_helper/script_helper.c M modules/seas/seas.c M modules/signaling/signaling.c M modules/sip_i/sip_i.c M modules/sipcapture/sipcapture.c M modules/sipmsgops/sipmsgops.c M modules/siprec/siprec.c M modules/sl/sl.c M modules/sms/sms.c M modules/sngtc/sngtc.c M modules/snmpstats/snmpstats.h M modules/speeddial/speeddial.c M modules/sql_cacher/sql_cacher.c M modules/sst/sst.c M modules/statistics/statistics.c M modules/stun/stun.c M modules/textops/textops.c M modules/tls_mgm/tls_mgm.c M modules/tm/tm.c M modules/topology_hiding/topology_hiding.c M modules/tracer/tracer.c M modules/uac/uac.c M modules/uac_auth/uac_auth.c M modules/uac_redirect/redirect.c M modules/uac_registrant/registrant.c M modules/userblacklist/userblacklist.c M modules/usrloc/ul_mod.c M modules/xcap/xcap_mod.c M modules/xcap_client/xcap_client.c M modules/xml/xml.c M modules/xmpp/xmpp.c M net/proto_tcp/proto_tcp.c M net/proto_udp/proto_udp.c M sr_module.c M sr_module.h Log Message: ----------- add function that is ran after loading a module Commit: 1880111a33beed6ba87d64fb2700a22e71dc0184 https://github.com/OpenSIPS/opensips/commit/1880111a33beed6ba87d64fb2700a22e71dc0184 Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: initialize mem functions asap Initialize the memory functions as soon as possible to prevent any other module that uses openssl to use the default ones. Fix #1114 #21 #1708 Compare: https://github.com/OpenSIPS/opensips/compare/59ba0f7aab24...1880111a33be From noreply at github.com Mon May 27 06:41:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 27 May 2019 03:41:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53e0c6: add function that is ran after loading a module Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 53e0c68d944a3f408949274e13a5e937cd7d9e66 https://github.com/OpenSIPS/opensips/commit/53e0c68d944a3f408949274e13a5e937cd7d9e66 Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/aaa_radius/aaa_radius.c M modules/acc/acc_mod.c M modules/alias_db/alias_db.c M modules/auth/auth_mod.c M modules/auth_aaa/authaaa_mod.c M modules/auth_db/authdb_mod.c M modules/avpops/avpops.c M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c M modules/b2b_sca/b2b_sca.c M modules/benchmark/benchmark.c M modules/cachedb_cassandra/cachedb_cassandra.c M modules/cachedb_couchbase/cachedb_couchbase.c M modules/cachedb_local/cachedb_local.c M modules/cachedb_memcached/cachedb_memcached.c M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_sql/cachedb_sql.c M modules/call_center/call_center.c M modules/call_control/call_control.c M modules/carrierroute/carrierroute.c M modules/cfgutils/cfgutils.c M modules/cgrates/cgrates.c M modules/clusterer/clusterer_mod.c M modules/compression/compression.c M modules/cpl_c/cpl.c M modules/db_berkeley/db_berkeley.c M modules/db_cachedb/db_cachedb.c M modules/db_flatstore/flatstore_mod.c M modules/db_http/db_http.c M modules/db_mysql/db_mysql.c M modules/db_oracle/db_oracle.c M modules/db_perlvdb/perlvdb.c M modules/db_postgres/db_postgres.c M modules/db_sqlite/db_sqlite.c M modules/db_text/dbtext.c M modules/db_unixodbc/db_unixodbc.c M modules/db_virtual/db_virtual.c M modules/dialog/dialog.c M modules/dialplan/dialplan.c M modules/dispatcher/dispatcher.c M modules/diversion/diversion.c M modules/dns_cache/dns_cache.c M modules/domain/domain_mod.c M modules/domainpolicy/domainpolicy_mod.c M modules/drouting/drouting.c M modules/emergency/emergency_methods.c M modules/enum/enum_mod.c M modules/event_datagram/event_datagram.c M modules/event_flatstore/event_flatstore.c M modules/event_jsonrpc/event_jsonrpc.c M modules/event_rabbitmq/event_rabbitmq.c M modules/event_route/event_route.c M modules/event_routing/event_routing.c M modules/event_virtual/event_virtual.c M modules/event_xmlrpc/event_xmlrpc.c M modules/exec/exec_mod.c M modules/fraud_detection/fraud_detection.c M modules/freeswitch/fs_mod.c M modules/freeswitch_scripting/fss_mod.c M modules/gflags/gflags.c M modules/group/group_mod.c M modules/h350/h350_mod.c M modules/httpd/httpd.c M modules/identity/identity.c M modules/imc/imc.c M modules/jabber/jabber.c M modules/json/json.c M modules/jsonrpc/jsonrpc.c M modules/ldap/ldap_mod.c M modules/load_balancer/load_balancer.c M modules/lua/siplua.c M modules/mangler/mangler.c M modules/mathops/mathops.c M modules/maxfwd/maxfwd.c M modules/mediaproxy/mediaproxy.c M modules/mi_datagram/mi_datagram.c M modules/mi_fifo/mi_fifo.c M modules/mi_html/mi_html.c M modules/mi_http/mi_http.c M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c M modules/mid_registrar/mid_registrar.c M modules/mmgeoip/mmgeoip.c M modules/msilo/msilo.c M modules/nat_traversal/nat_traversal.c M modules/nathelper/nathelper.c M modules/options/mod_options.c M modules/osp/osp_mod.c M modules/path/path_mod.c M modules/peering/peering.c M modules/perl/perl.c M modules/permissions/permissions.c M modules/pi_http/pi_http.c M modules/pike/pike.c M modules/presence/presence.c M modules/presence_callinfo/presence_callinfo.c M modules/presence_dialoginfo/presence_dialoginfo.c M modules/presence_mwi/presence_mwi.c M modules/presence_xcapdiff/presence_xcapdiff.c M modules/presence_xml/presence_xml.c M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_sctp/proto_sctp.c M modules/proto_smpp/proto_smpp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M modules/pua/pua.c M modules/pua_bla/pua_bla.c M modules/pua_dialoginfo/pua_dialoginfo.c M modules/pua_mi/pua_mi.c M modules/pua_usrloc/pua_usrloc.c M modules/pua_xmpp/pua_xmpp.c M modules/python/python_mod.c M modules/qos/qos.c M modules/rabbitmq/rabbitmq.c M modules/rabbitmq_consumer/rabbitmq_consumer.c M modules/ratelimit/ratelimit.c M modules/regex/regex_mod.c M modules/registrar/reg_mod.c M modules/rest_client/rest_client.c M modules/rls/rls.c M modules/rr/rr_mod.c M modules/rtpengine/rtpengine.c M modules/rtpproxy/rtpproxy.c M modules/script_helper/script_helper.c M modules/seas/seas.c M modules/signaling/signaling.c M modules/sip_i/sip_i.c M modules/sipcapture/sipcapture.c M modules/sipmsgops/sipmsgops.c M modules/siprec/siprec.c M modules/sl/sl.c M modules/sms/sms.c M modules/sngtc/sngtc.c M modules/snmpstats/snmpstats.h M modules/speeddial/speeddial.c M modules/sql_cacher/sql_cacher.c M modules/sst/sst.c M modules/statistics/statistics.c M modules/stun/stun.c M modules/textops/textops.c M modules/tls_mgm/tls_mgm.c M modules/tm/tm.c M modules/topology_hiding/topology_hiding.c M modules/tracer/tracer.c M modules/uac/uac.c M modules/uac_auth/uac_auth.c M modules/uac_redirect/redirect.c M modules/uac_registrant/registrant.c M modules/userblacklist/userblacklist.c M modules/usrloc/ul_mod.c M modules/xcap/xcap_mod.c M modules/xcap_client/xcap_client.c M modules/xml/xml.c M modules/xmpp/xmpp.c M net/proto_tcp/proto_tcp.c M net/proto_udp/proto_udp.c M sr_module.c M sr_module.h Log Message: ----------- add function that is ran after loading a module (cherry picked from commit c6fb6c96093ff2e81dda5746755594a64b5764ee) Commit: 5ff0afeea8de63c5c2c57cd6a225c0b7e0fb7605 https://github.com/OpenSIPS/opensips/commit/5ff0afeea8de63c5c2c57cd6a225c0b7e0fb7605 Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: initialize mem functions asap Initialize the memory functions as soon as possible to prevent any other module that uses openssl to use the default ones. Fix #1114 #21 #1708 (cherry picked from commit 1880111a33beed6ba87d64fb2700a22e71dc0184) Compare: https://github.com/OpenSIPS/opensips/compare/15259fa5c12b...5ff0afeea8de From noreply at github.com Mon May 27 06:49:26 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 27 May 2019 03:49:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 42b33c: add function that is ran after loading a module Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 42b33c4c80733bec05f2f15a623214b6a74eef9b https://github.com/OpenSIPS/opensips/commit/42b33c4c80733bec05f2f15a623214b6a74eef9b Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/aaa_radius/aaa_radius.c M modules/acc/acc_mod.c M modules/alias_db/alias_db.c M modules/auth/auth_mod.c M modules/auth_aaa/authaaa_mod.c M modules/auth_db/authdb_mod.c M modules/avpops/avpops.c M modules/b2b_entities/b2b_entities.c M modules/b2b_logic/b2b_logic.c M modules/b2b_sca/b2b_sca.c M modules/benchmark/benchmark.c M modules/cachedb_cassandra/cachedb_cassandra.c M modules/cachedb_couchbase/cachedb_couchbase.c M modules/cachedb_local/cachedb_local.c M modules/cachedb_memcached/cachedb_memcached.c M modules/cachedb_mongodb/cachedb_mongodb.c M modules/cachedb_redis/cachedb_redis.c M modules/cachedb_sql/cachedb_sql.c M modules/call_center/call_center.c M modules/call_control/call_control.c M modules/carrierroute/carrierroute.c M modules/cfgutils/cfgutils.c M modules/cgrates/cgrates.c M modules/clusterer/clusterer_mod.c M modules/compression/compression.c M modules/cpl_c/cpl.c M modules/db_berkeley/db_berkeley.c M modules/db_cachedb/db_cachedb.c M modules/db_flatstore/flatstore_mod.c M modules/db_http/db_http.c M modules/db_mysql/db_mysql.c M modules/db_oracle/db_oracle.c M modules/db_perlvdb/perlvdb.c M modules/db_postgres/db_postgres.c M modules/db_sqlite/db_sqlite.c M modules/db_text/dbtext.c M modules/db_unixodbc/db_unixodbc.c M modules/db_virtual/db_virtual.c M modules/dialog/dialog.c M modules/dialplan/dialplan.c M modules/dispatcher/dispatcher.c M modules/diversion/diversion.c M modules/dns_cache/dns_cache.c M modules/domain/domain_mod.c M modules/domainpolicy/domainpolicy_mod.c M modules/drouting/drouting.c M modules/emergency/emergency_methods.c M modules/enum/enum_mod.c M modules/event_datagram/event_datagram.c M modules/event_flatstore/event_flatstore.c M modules/event_jsonrpc/event_jsonrpc.c M modules/event_rabbitmq/event_rabbitmq.c M modules/event_route/event_route.c M modules/event_routing/event_routing.c M modules/event_virtual/event_virtual.c M modules/event_xmlrpc/event_xmlrpc.c M modules/exec/exec_mod.c M modules/fraud_detection/fraud_detection.c M modules/freeswitch/fs_mod.c M modules/freeswitch_scripting/fss_mod.c M modules/gflags/gflags.c M modules/group/group_mod.c M modules/h350/h350_mod.c M modules/httpd/httpd.c M modules/identity/identity.c M modules/imc/imc.c M modules/jabber/jabber.c M modules/json/json.c M modules/jsonrpc/jsonrpc.c M modules/ldap/ldap_mod.c M modules/load_balancer/load_balancer.c M modules/lua/siplua.c M modules/mangler/mangler.c M modules/mathops/mathops.c M modules/maxfwd/maxfwd.c M modules/mediaproxy/mediaproxy.c M modules/mi_datagram/mi_datagram.c M modules/mi_fifo/mi_fifo.c M modules/mi_http/mi_http.c M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c M modules/mid_registrar/mid_registrar.c M modules/mmgeoip/mmgeoip.c M modules/msilo/msilo.c M modules/nat_traversal/nat_traversal.c M modules/nathelper/nathelper.c M modules/options/mod_options.c M modules/osp/osp_mod.c M modules/path/path_mod.c M modules/peering/peering.c M modules/perl/perl.c M modules/permissions/permissions.c M modules/pi_http/pi_http.c M modules/pike/pike.c M modules/presence/presence.c M modules/presence_callinfo/presence_callinfo.c M modules/presence_dialoginfo/presence_dialoginfo.c M modules/presence_mwi/presence_mwi.c M modules/presence_xcapdiff/presence_xcapdiff.c M modules/presence_xml/presence_xml.c M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_sctp/proto_sctp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M modules/pua/pua.c M modules/pua_bla/pua_bla.c M modules/pua_dialoginfo/pua_dialoginfo.c M modules/pua_mi/pua_mi.c M modules/pua_usrloc/pua_usrloc.c M modules/pua_xmpp/pua_xmpp.c M modules/python/python_mod.c M modules/qos/qos.c M modules/rabbitmq/rabbitmq.c M modules/ratelimit/ratelimit.c M modules/regex/regex_mod.c M modules/registrar/reg_mod.c M modules/rest_client/rest_client.c M modules/rls/rls.c M modules/rr/rr_mod.c M modules/rtpengine/rtpengine.c M modules/rtpproxy/rtpproxy.c M modules/script_helper/script_helper.c M modules/seas/seas.c M modules/signaling/signaling.c M modules/sip_i/sip_i.c M modules/sipcapture/sipcapture.c M modules/sipmsgops/sipmsgops.c M modules/siprec/siprec.c M modules/siptrace/siptrace.c M modules/sl/sl.c M modules/sms/sms.c M modules/sngtc/sngtc.c M modules/snmpstats/snmpstats.h M modules/speeddial/speeddial.c M modules/sql_cacher/sql_cacher.c M modules/sst/sst.c M modules/statistics/statistics.c M modules/stun/stun.c M modules/textops/textops.c M modules/tls_mgm/tls_mgm.c M modules/tm/tm.c M modules/topology_hiding/topology_hiding.c M modules/uac/uac.c M modules/uac_auth/uac_auth.c M modules/uac_redirect/redirect.c M modules/uac_registrant/registrant.c M modules/userblacklist/userblacklist.c M modules/usrloc/ul_mod.c M modules/xcap/xcap_mod.c M modules/xcap_client/xcap_client.c M modules/xml/xml.c M modules/xmpp/xmpp.c M net/proto_tcp/proto_tcp.c M net/proto_udp/proto_udp.c M sr_module.c M sr_module.h Log Message: ----------- add function that is ran after loading a module (cherry picked from commit c6fb6c96093ff2e81dda5746755594a64b5764ee) From noreply at github.com Mon May 27 06:59:49 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 27 May 2019 03:59:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66b6d7: mi_json, uri: add null load function Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 66b6d7b66d7d04f4cd835c90e2056d3d71952736 https://github.com/OpenSIPS/opensips/commit/66b6d7b66d7d04f4cd835c90e2056d3d71952736 Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/mi_json/mi_json.c M modules/uri/uri_mod.c Log Message: ----------- mi_json,uri: add null load function complete 42b33c4c80733bec05f2f15a623214b6a74eef9b From noreply at github.com Mon May 27 07:08:11 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 27 May 2019 04:08:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b624d: tls_mgm: initialize mem functions asap Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1b624d2d46bf07e9b0b1f198a93267392371a2e8 https://github.com/OpenSIPS/opensips/commit/1b624d2d46bf07e9b0b1f198a93267392371a2e8 Author: Razvan Crainea Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: initialize mem functions asap Initialize the memory functions as soon as possible to prevent any other module that uses openssl to use the default ones. Fix #1114 #21 #1708 (cherry picked from commit 1880111a33beed6ba87d64fb2700a22e71dc0184) (cherry picked from commit 5ff0afeea8de63c5c2c57cd6a225c0b7e0fb7605) From noreply at github.com Mon May 27 11:33:25 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 May 2019 08:33:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6ecd6b: shm: Remove unused/deprecated functions Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 6ecd6bfbb2c50ac1c2a78e160e80709b9deb7063 https://github.com/OpenSIPS/opensips/commit/6ecd6bfbb2c50ac1c2a78e160e80709b9deb7063 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.c Log Message: ----------- shm: Remove unused/deprecated functions Commit: 4bd078f11be38534a32aa66e65c931dbd386c607 https://github.com/OpenSIPS/opensips/commit/4bd078f11be38534a32aa66e65c931dbd386c607 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- rpm memory: Fix rpm_free() locking * fix "shm_unlock()" copy-paste error * the ifdefs are unnecessary, as the rpm_lock/unlock macros do exactly that Commit: 24b0735076c20464f22047201674f78d184d72e0 https://github.com/OpenSIPS/opensips/commit/24b0735076c20464f22047201674f78d184d72e0 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- shared memory: Fix unsafe shm_free() when debugging When HP_MALLOC was included in the build, the F_MALLOC_DBG and Q_MALLOC_DBG allocators were broken, since their shm_free() operation was purely lockless and could corrupt the memory at any time. Commit: 3a921cc3744408bea05fc49a85da8e337df6d2d3 https://github.com/OpenSIPS/opensips/commit/3a921cc3744408bea05fc49a85da8e337df6d2d3 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- shared memory: Add support for bulk operations This patch adds the following functions: * shm_malloc_bulk() * shm_free_bulk() Their purpose is to minimize contention, in situations where the developer needs to perform lots of consecutive shared memory operations. In this case, their usage is as follows: shm_lock(); shm_malloc_bulk(); shm_malloc_bulk(); ... shm_free_bulk(...); shm_malloc_bulk(); shm_free_bulk(...); ... shm_unlock(); Commit: 216bf4df007b2b2fbba43d9a292cad1982691c35 https://github.com/OpenSIPS/opensips/commit/216bf4df007b2b2fbba43d9a292cad1982691c35 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/tm/h_table.c M modules/tm/sip_msg.c M modules/tm/sip_msg.h M modules/tm/t_reply.c M usr_avp.c M usr_avp.h Log Message: ----------- tm: Refactor code to use bulk shm operations Compare: https://github.com/OpenSIPS/opensips/compare/1880111a33be...216bf4df007b From noreply at github.com Mon May 27 11:41:23 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 May 2019 15:41:23 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0efb9a: shm: Remove unused/deprecated functions Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 0efb9acaf0a1ca3b9ccb3110f59918ce2e137252 https://github.com/OpenSIPS/opensips/commit/0efb9acaf0a1ca3b9ccb3110f59918ce2e137252 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.c Log Message: ----------- shm: Remove unused/deprecated functions (cherry picked from commit 6ecd6bfbb2c50ac1c2a78e160e80709b9deb7063) Commit: 7f05359cef81a7da20b5ea5230b4a78804284318 https://github.com/OpenSIPS/opensips/commit/7f05359cef81a7da20b5ea5230b4a78804284318 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- rpm memory: Fix rpm_free() locking * fix "shm_unlock()" copy-paste error * the ifdefs are unnecessary, as the rpm_lock/unlock macros do exactly that (cherry picked from commit 4bd078f11be38534a32aa66e65c931dbd386c607) Commit: a433b47fbab656dc61f88791242df24aaae7ed09 https://github.com/OpenSIPS/opensips/commit/a433b47fbab656dc61f88791242df24aaae7ed09 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- shared memory: Fix unsafe shm_free() when debugging When HP_MALLOC was included in the build, the F_MALLOC_DBG and Q_MALLOC_DBG allocators were broken, since their shm_free() operation was purely lockless and could corrupt the memory at any time. (cherry picked from commit 24b0735076c20464f22047201674f78d184d72e0) Commit: 6490dcce7e372f1721f7532e1673ab19d389c0e8 https://github.com/OpenSIPS/opensips/commit/6490dcce7e372f1721f7532e1673ab19d389c0e8 Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- shared memory: Add support for bulk operations This patch adds the following functions: * shm_malloc_bulk() * shm_free_bulk() Their purpose is to minimize contention, in situations where the developer needs to perform lots of consecutive shared memory operations. In this case, their usage is as follows: shm_lock(); shm_malloc_bulk(); shm_malloc_bulk(); ... shm_free_bulk(...); shm_malloc_bulk(); shm_free_bulk(...); ... shm_unlock(); (cherry picked from commit 3a921cc3744408bea05fc49a85da8e337df6d2d3) Commit: f5a371ba360958bc6708d47ea369d431e2521abd https://github.com/OpenSIPS/opensips/commit/f5a371ba360958bc6708d47ea369d431e2521abd Author: Liviu Chircu Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M modules/tm/h_table.c M modules/tm/sip_msg.c M modules/tm/sip_msg.h M modules/tm/t_reply.c M usr_avp.c M usr_avp.h Log Message: ----------- tm: Refactor code to use bulk shm operations (cherry picked from commit 216bf4df007b2b2fbba43d9a292cad1982691c35) Compare: https://github.com/OpenSIPS/opensips/compare/5ff0afeea8de...f5a371ba3609 From noreply at github.com Tue May 28 01:25:54 2019 From: noreply at github.com (Dan Pascu) Date: Mon, 27 May 2019 22:25:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 74ff59: Be consistent with comments, spacing and NULL values Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 74ff59dc07907a02f542d211fe311ed45fd9f770 https://github.com/OpenSIPS/opensips/commit/74ff59dc07907a02f542d211fe311ed45fd9f770 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/call_control/call_control.c M modules/mediaproxy/mediaproxy.c M modules/nat_traversal/nat_traversal.c Log Message: ----------- Be consistent with comments, spacing and NULL values From noreply at github.com Tue May 28 01:26:43 2019 From: noreply at github.com (Dan Pascu) Date: Mon, 27 May 2019 22:26:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d7c944: Be consistent with comments, spacing and NULL values Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d7c9445c8c3df3326aa0dc4307614a41b2ce7ba0 https://github.com/OpenSIPS/opensips/commit/d7c9445c8c3df3326aa0dc4307614a41b2ce7ba0 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/call_control/call_control.c M modules/mediaproxy/mediaproxy.c M modules/nat_traversal/nat_traversal.c Log Message: ----------- Be consistent with comments, spacing and NULL values (cherry picked from commit 74ff59dc07907a02f542d211fe311ed45fd9f770) From noreply at github.com Tue May 28 02:31:14 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 27 May 2019 23:31:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 862a9e: Revert "tm: Fix crash in t_uac_dlg (uninitialized ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 862a9ea2d4bdd81dda8223f2facfc280f5f1931b https://github.com/OpenSIPS/opensips/commit/862a9ea2d4bdd81dda8223f2facfc280f5f1931b Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Revert "tm: Fix crash in t_uac_dlg (uninitialized stack var)" This reverts commit 061b7584d3b132eddb74472050ea20cc8ed0478c. Commit: a8a1c077c66350c7f4e9a9348642cab6ce43ae7a https://github.com/OpenSIPS/opensips/commit/a8a1c077c66350c7f4e9a9348642cab6ce43ae7a Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed handling of unset socket parameter. Compare: https://github.com/OpenSIPS/opensips/compare/74ff59dc0790...a8a1c077c663 From noreply at github.com Tue May 28 02:35:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 27 May 2019 23:35:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0bb6fb: Expose the real ports (src/dst) used by TC-based w... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 0bb6fb8a20a65177586b62cef58d9278eb32b1bb https://github.com/OpenSIPS/opensips/commit/0bb6fb8a20a65177586b62cef58d9278eb32b1bb Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M net/proto_tcp/proto_tcp.c M socket_info.h Log Message: ----------- Expose the real ports (src/dst) used by TC-based write op As src/dst ports may be ephemeral, expose (via holders in socket_info struct) the real used ports during the last write operation Related to #1692 (cherry picked from commit 9dde6d5f00626ac78cec948c84443b2caea33013) Commit: d3aa606ff440bdf900adb91dfee0069f89a62374 https://github.com/OpenSIPS/opensips/commit/d3aa606ff440bdf900adb91dfee0069f89a62374 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Trace the real ports (from IP level) instead of SIP level ports As the TCP based ops may report different ports at IP level versus SIP level, trace (if available) the IP level information. Related to #1692 (cherry picked from commit d6a663f9b9b33205120519b85135fe4bc34b852d) Commit: 088ffa1ed485aef0066ae0fd4014fa45975c6a41 https://github.com/OpenSIPS/opensips/commit/088ffa1ed485aef0066ae0fd4014fa45975c6a41 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Store in TCP conns the real ephemeral port and not the listening port Related to #1692 (cherry picked from commit 929c854b084cdbf9c6cf8e253f9fa60fcdec3c18) Commit: 46f4634ec70b6d4a44f65a7864fee6c2c8cc8e59 https://github.com/OpenSIPS/opensips/commit/46f4634ec70b6d4a44f65a7864fee6c2c8cc8e59 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Revert "tm: Fix crash in t_uac_dlg (uninitialized stack var)" This reverts commit f87c1857d55600ef6271a3de67709c3d92927af8. Commit: f125a64c88604d9f031b7a244d5b6b79e355aff4 https://github.com/OpenSIPS/opensips/commit/f125a64c88604d9f031b7a244d5b6b79e355aff4 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tm/mi.c Log Message: ----------- Fixed handling of unset socket parameter. (cherry picked from commit a8a1c077c66350c7f4e9a9348642cab6ce43ae7a) Compare: https://github.com/OpenSIPS/opensips/compare/d7c9445c8c3d...f125a64c8860 From noreply at github.com Tue May 28 02:38:37 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 27 May 2019 23:38:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 04be33: Fixed compile error with SHM_EXTRA_STATS. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 04be3350b315dc0e368369a7d0ad8933b73e3f07 https://github.com/OpenSIPS/opensips/commit/04be3350b315dc0e368369a7d0ad8933b73e3f07 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- Fixed compile error with SHM_EXTRA_STATS. Variable mismatch introduced with commit 24b0735076c20464f22047201674f78d184d72ee0 From noreply at github.com Tue May 28 02:38:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 27 May 2019 23:38:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 18ecc3: Fixed compile error with SHM_EXTRA_STATS. Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 18ecc3ab57577b71de784af68cf7befdb23fecaa https://github.com/OpenSIPS/opensips/commit/18ecc3ab57577b71de784af68cf7befdb23fecaa Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M mem/shm_mem.h Log Message: ----------- Fixed compile error with SHM_EXTRA_STATS. Variable mismatch introduced with commit 24b0735076c20464f22047201674f78d184d72ee0 (cherry picked from commit 04be3350b315dc0e368369a7d0ad8933b73e3f07) From noreply at github.com Tue May 28 03:37:09 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 00:37:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66f0f6: Fixed some compilation warnings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 66f0f60564445daed92f887d361888e048f2b060 https://github.com/OpenSIPS/opensips/commit/66f0f60564445daed92f887d361888e048f2b060 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M bin_interface.c M cfg_pp.c M cfg_reload.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/cachedb_redis/cachedb_redis_dbase.c M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c M modules/nathelper/nathelper.c M modules/nathelper/sip_pinger.h M modules/proto_hep/hep.c M modules/rtpproxy/rtpproxy.c M modules/tm/t_msgbuilder.h M modules/tracer/tracer.c M modules/usrloc/dlist.c Log Message: ----------- Fixed some compilation warnings From noreply at github.com Tue May 28 03:38:10 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 00:38:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 557e7b: Fixed some compilation warnings Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 557e7b7a03c9844ad8300df36ff3ba06ebd32569 https://github.com/OpenSIPS/opensips/commit/557e7b7a03c9844ad8300df36ff3ba06ebd32569 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M bin_interface.c M cfg_pp.c M cfg_reload.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/cachedb_redis/cachedb_redis_dbase.c M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c M modules/nathelper/nathelper.c M modules/nathelper/sip_pinger.h M modules/proto_hep/hep.c M modules/rtpproxy/rtpproxy.c M modules/tm/t_msgbuilder.h M modules/tracer/tracer.c M modules/usrloc/dlist.c Log Message: ----------- Fixed some compilation warnings (cherry picked from commit 66f0f60564445daed92f887d361888e048f2b060) From noreply at github.com Tue May 28 04:03:54 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 01:03:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dfc4a8: Fixed a few more warnings on 64 bit platforms Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dfc4a8fa949b911b577ad8c03a37b4c56dee19ff https://github.com/OpenSIPS/opensips/commit/dfc4a8fa949b911b577ad8c03a37b4c56dee19ff Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M bin_interface.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c M modules/nathelper/nathelper.c M modules/nathelper/sip_pinger.h Log Message: ----------- Fixed a few more warnings on 64 bit platforms From noreply at github.com Tue May 28 04:04:19 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 01:04:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 36c750: Fixed a few more warnings on 64 bit platforms Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 36c7507c89b2f253211bae0d2f767f5666091630 https://github.com/OpenSIPS/opensips/commit/36c7507c89b2f253211bae0d2f767f5666091630 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M bin_interface.c M modules/cachedb_mongodb/cachedb_mongodb_dbase.c M modules/mid_registrar/lookup.c M modules/mid_registrar/save.c M modules/nathelper/nathelper.c M modules/nathelper/sip_pinger.h Log Message: ----------- Fixed a few more warnings on 64 bit platforms (cherry picked from commit dfc4a8fa949b911b577ad8c03a37b4c56dee19ff) From noreply at github.com Tue May 28 04:09:24 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 08:09:24 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8f49a5: Use the size_t modifier to avoid an unnecessary cast Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8f49a55c03ea8a2340f56124567bbe610906df9d https://github.com/OpenSIPS/opensips/commit/8f49a55c03ea8a2340f56124567bbe610906df9d Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_postgres/pg_con.c M modules/gflags/gflags.c M modules/mediaproxy/mediaproxy.c M modules/nat_traversal/nat_traversal.c M modules/sql_cacher/sql_cacher.c Log Message: ----------- Use the size_t modifier to avoid an unnecessary cast From noreply at github.com Tue May 28 04:09:52 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 01:09:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6ccb1: Use the size_t modifier to avoid an unnecessary cast Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e6ccb1cb0788c2542b766f8951ea32c5de0065f0 https://github.com/OpenSIPS/opensips/commit/e6ccb1cb0788c2542b766f8951ea32c5de0065f0 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_postgres/pg_con.c M modules/gflags/gflags.c M modules/mediaproxy/mediaproxy.c M modules/nat_traversal/nat_traversal.c M modules/sql_cacher/sql_cacher.c Log Message: ----------- Use the size_t modifier to avoid an unnecessary cast (cherry picked from commit 8f49a55c03ea8a2340f56124567bbe610906df9d) From noreply at github.com Tue May 28 04:24:59 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 01:24:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 394409: Fixed travis error Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 394409a05d4193e064fc707b9df3a0155f0dd9c2 https://github.com/OpenSIPS/opensips/commit/394409a05d4193e064fc707b9df3a0155f0dd9c2 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/nathelper/nathelper.c Log Message: ----------- Fixed travis error From noreply at github.com Tue May 28 04:25:28 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 01:25:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f908c7: Fixed travis error Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f908c7953b35c68a3a066e87afc7ffed4bfd6427 https://github.com/OpenSIPS/opensips/commit/f908c7953b35c68a3a066e87afc7ffed4bfd6427 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/nathelper/nathelper.c Log Message: ----------- Fixed travis error (cherry picked from commit 394409a05d4193e064fc707b9df3a0155f0dd9c2) From dan at ag-projects.com Tue May 28 04:57:53 2019 From: dan at ag-projects.com (Dan Pascu) Date: Tue, 28 May 2019 11:57:53 +0300 Subject: [OpenSIPS-Devel] Compilation issues Message-ID: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> On 32 bit systems I noticed the following warnings when compiling which I think indicate that 32 bit systems can crash with an illegal memory access: ------------------------------------------------------- ucontact.c: In function ‘ucontact_coords_cmp’: ucontact.c:1036:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] a = (ucontact_sip_coords *)_a; ^ ucontact.c:1037:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] b = (ucontact_sip_coords *)_b; ^ In file included from ../../resolve.h:45, from ../../proxy.h:75, from ucontact.h:44, from ucontact.c:34: ucontact.c: In function ‘free_ucontact_coords’: ucontact.c:1049:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] shm_free((ucontact_sip_coords *)coords); ^ ../../mem/shm_mem.h:513:38: note: in definition of macro ‘shm_free’ #define shm_free( _ptr ) _shm_free( (_ptr), \ ^~~~ dlist.c: In function ‘delete_ucontact_from_coords’: dlist.c:1216:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (cdb_delete_ucontact_coords((ucontact_sip_coords *)ct_coords)) { ^ ------------------------------------------------------- The variables in question are of type ucontact_coords which is a 64 bit integer. Whenever that type is cast into a pointer it will be truncated to 32 bits on 32 bit platforms which can result in illegal memory access. I have not yet run opensips on a 32 bit system, but I noticed these while compiling it. Next I got this warning when compiling on both 32 and 64 bit systems: 32 bit warning: ------------------------------------------------------------- In file included from /usr/include/string.h:494, from /usr/include/i386-linux-gnu/sys/un.h:37, from timeout_process.c:27: In function ‘memcpy’, inlined from ‘sockaddr2ip_addr’ at ../../parser/../ip_addr.h:212:4, inlined from ‘timeout_listener_process’ at timeout_process.c:248:6: /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ forming offset [17, 24] is ou t of the bounds [0, 16] of object ‘rtpp_info’ with type ‘struct sockaddr’ [-Warray-bounds] return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout_process.c: In function ‘timeout_listener_process’: timeout_process.c:76:18: note: ‘rtpp_info’ declared here struct sockaddr rtpp_info; ^~~~~~~~~ timeout_process.c:235:8: warning: ‘__builtin_memcmp_eq’ reading 16 bytes from a region of size 8 [-Wstringop-overflow=] memcmp(rtpp_lst->addr, s_in6->sin6_addr.s6_addr, 16) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------- 64 bit warning: ------------------------------------------------------------- timeout_process.c: In function ‘timeout_listener_process’: timeout_process.c:235:8: warning: ‘__builtin_memcmp_eq’ reading 16 bytes from a region of size 8 [-Wstringop-overflow=] memcmp(rtpp_lst->addr, s_in6->sin6_addr.s6_addr, 16) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------- which also seems to indicate accessing memory out of bounds. The next warnings I only noticed when compiling on 64 bit. Not sure why they do not show up on 32 bit, if the problem depends on architecture or is caused by the slight difference in compilers (I used gcc 8.2.0 on 32 bit and gcc 8.3.0 on 64 bit): ------------------------------------------------------------- libsms_getsms.c: In function ‘splitascii.isra.1’: libsms_getsms.c:286:2: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] strncpy(sms->ascii,start,sizeof(sms->ascii)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libsms_getsms.c:302:2: warning: ‘strncpy’ specified bound 31 equals destination size [-Wstringop-truncation] strncpy(sms->sender,start,sizeof(sms->sender)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libsms_getsms.c:316:3: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] strncpy(sms->name,start,sizeof(sms->name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esl/src/esl.c: In function ‘esl_recv_event’: esl/src/esl.c:1406:4: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_reply, hval, sizeof(handle->last_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘esl_send_recv_timed.part.6’, inlined from ‘esl_send_recv_timed’ at esl/src/esl.c:1537:27: esl/src/esl.c:1604:5: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esl/src/esl_config.c:34: esl/src/esl_config.c: In function ‘esl_config_open_file’: esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) ^~~~~~~~~~~~~~~~~~~~~~~ esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) ^~~~~~~~~~~~~~~ esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ esl_set_string(cfg->path, path); ^~~~~~~~~~~~~~ xjab_wlist.c: In function ‘xj_wlist_set_aliases’: xjab_wlist.c:473:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p0, pa, i); ^~~~~~~~~~~~~~~~~~ xjab_wlist.c:455:34: note: length computed here i = jwl->aliases->proxy->len = strlen(pa); ^~~~~~~~~~ iniparser.c: In function ‘iniparser_add_entry’: iniparser.c:568:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(longkey, sec, len + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iniparser.c:565:17: note: length computed here size_t len = strlen(sec); ^~~~~~~~~~~ rest_methods.c: In function ‘trace_rest_request_cb’: rest_methods.c:142:4: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] strncpy( tparam->local_ip, ip, INET6_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rest_methods.c:152:4: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] strncpy( tparam->remote_ip, ip, INET6_ADDRSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opensipsunix.c: In function ‘main’: opensipsunix.c:93:2: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(from.sun_path, name, strlen(name)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdb_recover.c: In function ‘extract_key’: bdb_recover.c:487:2: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buf, d, len); ^~~~~~~~~~~~~~~~~~~~ bdb_recover.c:486:8: note: length computed here len = strlen(d); ^~~~~~~~~ bdb_recover.c:498:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p, s, len); ^~~~~~~~~~~~~~~~~~ bdb_recover.c:493:9: note: length computed here len = strlen(s); ^~~~~~~~~ bdb_recover.c: In function ‘create_table’: bdb_recover.c:795:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(tp->name, _s, i); ^~~~~~~~~~~~~~~~~~~~~~~~ bdb_recover.c:793:4: note: length computed here i=strlen(_s)+1; ^~~~~~~~~~ ------------------------------------------------------------- -- Dan From noreply at github.com Tue May 28 05:25:25 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 02:25:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 149e69: tls_mgm: make sure pthread locking has SHARED support Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 149e69e3f67013884623e7986c47742aad787ece https://github.com/OpenSIPS/opensips/commit/149e69e3f67013884623e7986c47742aad787ece Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tls_mgm/Makefile M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: make sure pthread locking has SHARED support Prevent system lock when using openssl 1.1, that is using phreads as syncrhonizing mechanisms. Close #1590 From noreply at github.com Tue May 28 05:25:44 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 02:25:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a9e0a9: tls_mgm: make sure pthread locking has SHARED support Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a9e0a9619b151ba42782be2a11e07df25c424a62 https://github.com/OpenSIPS/opensips/commit/a9e0a9619b151ba42782be2a11e07df25c424a62 Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tls_mgm/Makefile M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: make sure pthread locking has SHARED support Prevent system lock when using openssl 1.1, that is using phreads as syncrhonizing mechanisms. Close #1590 (cherry picked from commit 149e69e3f67013884623e7986c47742aad787ece) From noreply at github.com Tue May 28 05:25:59 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 09:25:59 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3d9132: tls_mgm: make sure pthread locking has SHARED support Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3d9132e722c18c048a66320265977654bccfa341 https://github.com/OpenSIPS/opensips/commit/3d9132e722c18c048a66320265977654bccfa341 Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tls_mgm/Makefile M modules/tls_mgm/tls_mgm.c Log Message: ----------- tls_mgm: make sure pthread locking has SHARED support Prevent system lock when using openssl 1.1, that is using phreads as syncrhonizing mechanisms. Close #1590 (cherry picked from commit 149e69e3f67013884623e7986c47742aad787ece) From noreply at github.com Tue May 28 07:33:50 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 04:33:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51719c: Fixed MI address_dump function Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 51719c77e00881bcc707225e1d3cc3297ecc2a04 https://github.com/OpenSIPS/opensips/commit/51719c77e00881bcc707225e1d3cc3297ecc2a04 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/permissions/mi.c Log Message: ----------- Fixed MI address_dump function From noreply at github.com Tue May 28 07:34:15 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 04:34:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 237a9e: Fixed MI address_dump function Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 237a9eda932cbe3f72f5c88e327d811af7bd4b4d https://github.com/OpenSIPS/opensips/commit/237a9eda932cbe3f72f5c88e327d811af7bd4b4d Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/permissions/mi.c Log Message: ----------- Fixed MI address_dump function (cherry picked from commit 51719c77e00881bcc707225e1d3cc3297ecc2a04) From noreply at github.com Tue May 28 07:37:56 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 28 May 2019 04:37:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 385d7c: python: fix calling of script module functions fro... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 385d7c36c10d4c59b905d07ec69e803b054cabc4 https://github.com/OpenSIPS/opensips/commit/385d7c36c10d4c59b905d07ec69e803b054cabc4 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/python/python_msgobj.c Log Message: ----------- python: fix calling of script module functions from python Commit: 0cd1b9f1aae68d983c4e4297cabfa59567252f61 https://github.com/OpenSIPS/opensips/commit/0cd1b9f1aae68d983c4e4297cabfa59567252f61 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipstate.c Log Message: ----------- lua: fix function param buffers size in lua_exec() Commit: 4b43ab5245435395b3c21457dd72f00e0771c023 https://github.com/OpenSIPS/opensips/commit/4b43ab5245435395b3c21457dd72f00e0771c023 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipapi.c M modules/lua/siplua.c M modules/lua/siplua.h M modules/lua/sipstate.c Log Message: ----------- lua: fix calling of script module functions from lua code Commit: f55b453a87020da226887109a4851cde857a57a0 https://github.com/OpenSIPS/opensips/commit/f55b453a87020da226887109a4851cde857a57a0 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/perl/opensipsxs.xs M modules/perl/perl.c Log Message: ----------- perl: fix calling of script module functions from perl code Commit: c6a66430209582f23ad91869b24f05bb499cc118 https://github.com/OpenSIPS/opensips/commit/c6a66430209582f23ad91869b24f05bb499cc118 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipapi.c M modules/perl/opensipsxs.xs M modules/python/python_msgobj.c Log Message: ----------- python, lua, perl: fix calling of module functions with regex params Compare: https://github.com/OpenSIPS/opensips/compare/51719c77e008...c6a664302095 From noreply at github.com Tue May 28 07:40:03 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 28 May 2019 04:40:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6c3538: python: fix calling of script module functions fro... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 6c35381cf1acf09c6736ac25a160647638ee09a3 https://github.com/OpenSIPS/opensips/commit/6c35381cf1acf09c6736ac25a160647638ee09a3 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/python/python_msgobj.c Log Message: ----------- python: fix calling of script module functions from python (cherry picked from commit 385d7c36c10d4c59b905d07ec69e803b054cabc4) Commit: f9640640b2a2f7be0d7a115d39cdbab3841dc961 https://github.com/OpenSIPS/opensips/commit/f9640640b2a2f7be0d7a115d39cdbab3841dc961 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipstate.c Log Message: ----------- lua: fix function param buffers size in lua_exec() (cherry picked from commit 0cd1b9f1aae68d983c4e4297cabfa59567252f61) Commit: 69be37c514427daa010f1f31f897597332311894 https://github.com/OpenSIPS/opensips/commit/69be37c514427daa010f1f31f897597332311894 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipapi.c M modules/lua/siplua.c M modules/lua/siplua.h M modules/lua/sipstate.c Log Message: ----------- lua: fix calling of script module functions from lua code (cherry picked from commit 4b43ab5245435395b3c21457dd72f00e0771c023) Commit: 97a0f803dc8b42e000f7262de79cddcedfc21729 https://github.com/OpenSIPS/opensips/commit/97a0f803dc8b42e000f7262de79cddcedfc21729 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/perl/opensipsxs.xs M modules/perl/perl.c Log Message: ----------- perl: fix calling of script module functions from perl code (cherry picked from commit f55b453a87020da226887109a4851cde857a57a0) Commit: c5032edcaf9b3e88827d9118a0bd44b46147f8ee https://github.com/OpenSIPS/opensips/commit/c5032edcaf9b3e88827d9118a0bd44b46147f8ee Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/lua/sipapi.c M modules/perl/opensipsxs.xs M modules/python/python_msgobj.c Log Message: ----------- python, lua, perl: fix calling of module functions with regex params (cherry picked from commit c6a66430209582f23ad91869b24f05bb499cc118) Compare: https://github.com/OpenSIPS/opensips/compare/237a9eda932c...c5032edcaf9b From noreply at github.com Tue May 28 07:51:39 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 04:51:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0d3794: More fixes for MI implementation errors Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0d3794f1b53d58461a385fc0f879fdf157e93f38 https://github.com/OpenSIPS/opensips/commit/0d3794f1b53d58461a385fc0f879fdf157e93f38 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/permissions/hash.c Log Message: ----------- More fixes for MI implementation errors From noreply at github.com Tue May 28 07:52:08 2019 From: noreply at github.com (Dan Pascu) Date: Tue, 28 May 2019 04:52:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f646eb: More fixes for MI implementation errors Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f646ebe96b8276c2453e6a3a96f90d5e9264ebe9 https://github.com/OpenSIPS/opensips/commit/f646ebe96b8276c2453e6a3a96f90d5e9264ebe9 Author: Dan Pascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/permissions/hash.c Log Message: ----------- More fixes for MI implementation errors (cherry picked from commit 0d3794f1b53d58461a385fc0f879fdf157e93f38) From noreply at github.com Tue May 28 09:17:44 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 28 May 2019 06:17:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3919f0: usrloc: Never leave 'pinging_mode' uninitialized Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3919f0a8e67092221faa800928ffada80585e688 https://github.com/OpenSIPS/opensips/commit/3919f0a8e67092221faa800928ffada80585e688 Author: Liviu Chircu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/usrloc/ul_mod.c Log Message: ----------- usrloc: Never leave 'pinging_mode' uninitialized When omitting 'working_mode_preset', the 'pinging_mode' would remain uninitialized, possibly leading to future crashes in the contact pinging routine. Thanks to Răzvan Crainea for catching this! From noreply at github.com Tue May 28 09:18:01 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 28 May 2019 06:18:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 466fcc: usrloc: Never leave 'pinging_mode' uninitialized Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 466fcc493bf6477592c65c4014e6e98e996996e6 https://github.com/OpenSIPS/opensips/commit/466fcc493bf6477592c65c4014e6e98e996996e6 Author: Liviu Chircu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/usrloc/ul_mod.c Log Message: ----------- usrloc: Never leave 'pinging_mode' uninitialized When omitting 'working_mode_preset', the 'pinging_mode' would remain uninitialized, possibly leading to future crashes in the contact pinging routine. Thanks to Răzvan Crainea for catching this! (cherry picked from commit 3919f0a8e67092221faa800928ffada80585e688) From noreply at github.com Tue May 28 09:48:30 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 13:48:30 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0300eb: usrloc: fix next hop compute for usrloc with DB Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0300eb1d5986a86bc6062dfb2b7b00a50eaad25d https://github.com/OpenSIPS/opensips/commit/0300eb1d5986a86bc6062dfb2b7b00a50eaad25d Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: fix next hop compute for usrloc with DB Thanks go to Jasper Hafkenscheid (hafkensite on GitHub) for reporting it Close #1710 From noreply at github.com Tue May 28 09:48:55 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 06:48:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 719dce: usrloc: fix next hop compute for usrloc with DB Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 719dcea4945ad5704d6785132d03bb4f81444fbe https://github.com/OpenSIPS/opensips/commit/719dcea4945ad5704d6785132d03bb4f81444fbe Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: fix next hop compute for usrloc with DB Thanks go to Jasper Hafkenscheid (hafkensite on GitHub) for reporting it Close #1710 (cherry picked from commit 0300eb1d5986a86bc6062dfb2b7b00a50eaad25d) From noreply at github.com Tue May 28 09:49:14 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 06:49:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 164cb4: usrloc: fix next hop compute for usrloc with DB Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 164cb4930d3d47a715cc2b7773ad4ea520b62caf https://github.com/OpenSIPS/opensips/commit/164cb4930d3d47a715cc2b7773ad4ea520b62caf Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: fix next hop compute for usrloc with DB Thanks go to Jasper Hafkenscheid (hafkensite on GitHub) for reporting it Close #1710 (cherry picked from commit 0300eb1d5986a86bc6062dfb2b7b00a50eaad25d) From noreply at github.com Tue May 28 10:37:03 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 07:37:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d3fa73: pi_http: fix LONGBLOB specification Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d3fa736c0fef59a5da069220efba0eacdfeaf467 https://github.com/OpenSIPS/opensips/commit/d3fa736c0fef59a5da069220efba0eacdfeaf467 Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/pr_xcap.xml M doc/dbschema/xsl/pi_framework_table.xsl M scripts/pi_http/pi_framework.xml M scripts/pi_http/presence-table Log Message: ----------- pi_http: fix LONGBLOB specification From noreply at github.com Tue May 28 10:37:20 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 14:37:20 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 32f56f: pi_http: fix LONGBLOB specification Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 32f56f7bf9657691431fd8456cb47fd2c14e55cb https://github.com/OpenSIPS/opensips/commit/32f56f7bf9657691431fd8456cb47fd2c14e55cb Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/pr_xcap.xml M doc/dbschema/xsl/pi_framework_table.xsl M scripts/pi_http/pi_framework.xml M scripts/pi_http/presence-table Log Message: ----------- pi_http: fix LONGBLOB specification (cherry picked from commit d3fa736c0fef59a5da069220efba0eacdfeaf467) From noreply at github.com Tue May 28 10:52:39 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 14:52:39 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1c3830: pi_http: fix LONGBLOB specification Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1c383047aaf3d8e325ec85a0ea7551bc331fdc73 https://github.com/OpenSIPS/opensips/commit/1c383047aaf3d8e325ec85a0ea7551bc331fdc73 Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/pr_xcap.xml M doc/dbschema/xsl/pi_framework_table.xsl M scripts/pi_http/pi_framework.xml M scripts/pi_http/presence-table Log Message: ----------- pi_http: fix LONGBLOB specification (cherry picked from commit d3fa736c0fef59a5da069220efba0eacdfeaf467) From noreply at github.com Tue May 28 10:54:07 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 07:54:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 154a15: tls_mgm: increase ca_list size Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 154a1560c84dace2661c61101038878cf6d8eeab https://github.com/OpenSIPS/opensips/commit/154a1560c84dace2661c61101038878cf6d8eeab Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/tls_mgm.xml M scripts/mysql/tls_mgm-create.sql Log Message: ----------- tls_mgm: increase ca_list size Thanks go to Alexey Vasilyev (vasilevalex on GitHub) for reporting it Close #1709 From noreply at github.com Tue May 28 10:54:33 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 07:54:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5af04e: tls_mgm: increase ca_list size Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 5af04ed618b4335f87aca0631d97a7713e684b7b https://github.com/OpenSIPS/opensips/commit/5af04ed618b4335f87aca0631d97a7713e684b7b Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/tls_mgm.xml M scripts/mysql/tls_mgm-create.sql Log Message: ----------- tls_mgm: increase ca_list size Thanks go to Alexey Vasilyev (vasilevalex on GitHub) for reporting it Close #1709 (cherry picked from commit 154a1560c84dace2661c61101038878cf6d8eeab) From noreply at github.com Tue May 28 10:55:09 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 07:55:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2234a4: tls_mgm: increase ca_list size Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2234a453015ee6e5ab29c8feaac143297f43cfa7 https://github.com/OpenSIPS/opensips/commit/2234a453015ee6e5ab29c8feaac143297f43cfa7 Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M db/schema/tls_mgm.xml M scripts/mysql/tls_mgm-create.sql Log Message: ----------- tls_mgm: increase ca_list size Thanks go to Alexey Vasilyev (vasilevalex on GitHub) for reporting it Close #1709 (cherry picked from commit 154a1560c84dace2661c61101038878cf6d8eeab) From noreply at github.com Tue May 28 11:08:00 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 08:08:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad1592: Load chain of certificates and all CA certificates... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad159240835932e5ea53dc5df914df44f1414e6a https://github.com/OpenSIPS/opensips/commit/ad159240835932e5ea53dc5df914df44f1414e6a Author: Alexey Vasilyev Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- Load chain of certificates and all CA certificates from DB Commit: b1b6f814e5589dc1a52b5486f05a017666fba1cd https://github.com/OpenSIPS/opensips/commit/b1b6f814e5589dc1a52b5486f05a017666fba1cd Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: make unused functions inline Compare: https://github.com/OpenSIPS/opensips/compare/154a1560c84d...b1b6f814e558 From noreply at github.com Tue May 28 11:10:17 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 08:10:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53f747: packaging: supporting arch-linux Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 53f74790ccbbbc7e6d2f3cb09b954fe54ecedf32 https://github.com/OpenSIPS/opensips/commit/53f74790ccbbbc7e6d2f3cb09b954fe54ecedf32 Author: Ralf Zerres Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: A packaging/arch/Makefile.conf.template A packaging/arch/PKGBUILD.git A packaging/arch/opensips.install A packaging/arch/opensips.service A packaging/arch/opensips.tmpfiles.conf Log Message: ----------- packaging: supporting arch-linux - PKGBUILD.git: install package from github branch "master" Split packages for opensips (core,parser), modules and documentation - Makefile.conf.template: adopt and customize for linux environment - systemd: include service and tmpfiles - opensips.install: run script after package is installed on target system Signed-off-by: Ralf Zerres Commit: 30f57419493528f1856a571ccd1f8a3d8a74dc7c https://github.com/OpenSIPS/opensips/commit/30f57419493528f1856a571ccd1f8a3d8a74dc7c Author: Ralf Zerres Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M mod_fix.h M modules/osp/osp_mod.c Log Message: ----------- osp: Fix module compilation - missing header (route_struct.h) - typo in array definition cmds[] Signed-off-by: Ralf Zerres Commit: f9dcc4be9ad7aa5950dc1a5fd9a028568e023db6 https://github.com/OpenSIPS/opensips/commit/f9dcc4be9ad7aa5950dc1a5fd9a028568e023db6 Author: Ralf Zerres Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M lib/json/opensips_json_c_helper.h Log Message: ----------- opensips_json_c_helper.h: fix preprocessor definition on __amd64__ - json.h moved to system include subdir json-c (json-c v0.13.1) Signed-off-by: Ralf Zerres Commit: faec7ebc9473b38e188a2507b1e8989e181da1ad https://github.com/OpenSIPS/opensips/commit/faec7ebc9473b38e188a2507b1e8989e181da1ad Author: Ralf Zerres Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M Makefile.defs Log Message: ----------- Makefile.defs: adapt default settings for XSL parser Signed-off-by: Ralf Zerres Commit: 6f577a9a910e2aab15830c2abefcd95f2be04a88 https://github.com/OpenSIPS/opensips/commit/6f577a9a910e2aab15830c2abefcd95f2be04a88 Author: Ralf Zerres Date: 2019-05-27 (Mon, 27 May 2019) Changed paths: M doc/doxygen/opensips-doxygen Log Message: ----------- doxygen: update config handling - comment out obeolete tags (as of doxygen v1.8.15) - update element list (include new objects, remove obsolete objects) - align in alphabetic order (decending) Signed-off-by: Ralf Zerres Commit: 3ed991ed447eaf6b0ec9254111739f7a541b216c https://github.com/OpenSIPS/opensips/commit/3ed991ed447eaf6b0ec9254111739f7a541b216c Author: Răzvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M Makefile.defs M doc/doxygen/opensips-doxygen M lib/json/opensips_json_c_helper.h M mod_fix.h M modules/osp/osp_mod.c A packaging/arch/Makefile.conf.template A packaging/arch/PKGBUILD.git A packaging/arch/opensips.install A packaging/arch/opensips.service A packaging/arch/opensips.tmpfiles.conf Log Message: ----------- Merge pull request #1716 from rzerres/makepkg Build on Arch Linux (v3.0.0), bugfix Compare: https://github.com/OpenSIPS/opensips/compare/b1b6f814e558...3ed991ed447e From noreply at github.com Tue May 28 11:16:36 2019 From: noreply at github.com (Ralf Zerres) Date: Tue, 28 May 2019 08:16:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d61b8: packaging: supporting arch-linux Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9d61b809665d8dd0e0d8497315d27c4c5e1244aa https://github.com/OpenSIPS/opensips/commit/9d61b809665d8dd0e0d8497315d27c4c5e1244aa Author: Ralf Zerres Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: A packaging/arch/Makefile.conf.template A packaging/arch/PKGBUILD.git A packaging/arch/opensips.install A packaging/arch/opensips.service A packaging/arch/opensips.tmpfiles.conf Log Message: ----------- packaging: supporting arch-linux - PKGBUILD.git: install package from github branch "master" Split packages for opensips (core,parser), modules and documentation - Makefile.conf.template: adopt and customize for linux environment - systemd: include service and tmpfiles - opensips.install: run script after package is installed on target system Signed-off-by: Ralf Zerres Commit: daf59781099a68303b6b83b3b5c97d92aace75bf https://github.com/OpenSIPS/opensips/commit/daf59781099a68303b6b83b3b5c97d92aace75bf Author: Ralf Zerres Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M doc/doxygen/opensips-doxygen Log Message: ----------- doxygen: update config handling - comment out obeolete tags (as of doxygen v1.8.15) - update element list (include new objects, remove obsolete objects) - align in alphabetic order (decending) Signed-off-by: Ralf Zerres (cherry picked from commit 6f577a9a910e2aab15830c2abefcd95f2be04a88) Commit: 4b2a87e06c7de1fbc4251f8d30d2e7165573af0c https://github.com/OpenSIPS/opensips/commit/4b2a87e06c7de1fbc4251f8d30d2e7165573af0c Author: Ralf Zerres Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M mod_fix.h M modules/osp/osp_mod.c Log Message: ----------- osp: Fix module compilation - missing header (route_struct.h) - typo in array definition cmds[] Signed-off-by: Ralf Zerres (cherry picked from commit 30f57419493528f1856a571ccd1f8a3d8a74dc7c) Compare: https://github.com/OpenSIPS/opensips/compare/5af04ed618b4...4b2a87e06c7d From noreply at github.com Tue May 28 11:22:09 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 28 May 2019 08:22:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bde5d0: packaging/debian: revert version to 3.0 Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: bde5d0b4333202ab6233ab4cec77e008aac64a8e https://github.com/OpenSIPS/opensips/commit/bde5d0b4333202ab6233ab4cec77e008aac64a8e Author: Razvan Crainea Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M packaging/debian/changelog Log Message: ----------- packaging/debian: revert version to 3.0 Credits go to Ovidiu Sas for reporting this From noreply at github.com Tue May 28 13:02:56 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 17:02:56 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e41465: Added proto function for extra conn matching. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e41465513c01a61b3ed33ad4eb71f91585a391a4 https://github.com/OpenSIPS/opensips/commit/e41465513c01a61b3ed33ad4eb71f91585a391a4 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_smpp/smpp.c M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/doc/proto_wss_admin.xml M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_conn_ops.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_select.c M net/api_proto_net.h M net/net_tcp.c M net/net_tcp.h M net/proto_tcp/proto_tcp.c Log Message: ----------- Added proto function for extra conn matching. A TCP-based protocol may export an API function for performing extra checks when comes to matching and re-using existing connections. For now the SSL using modules (TLS & WSS) are using the function to perform SSL cert matching, to avoid re-using connections with wrong SSL certificate. Fixes #1651 From noreply at github.com Tue May 28 13:09:17 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 10:09:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e72440: Added proto function for extra conn matching. Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e72440cb130d76306be6a652de09fc2bcb54a6a6 https://github.com/OpenSIPS/opensips/commit/e72440cb130d76306be6a652de09fc2bcb54a6a6 Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/proto_bin/proto_bin.c M modules/proto_hep/proto_hep.c M modules/proto_smpp/smpp.c M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/doc/proto_wss_admin.xml M modules/proto_wss/proto_wss.c M modules/tls_mgm/tls_conn_ops.h M modules/tls_mgm/tls_mgm.c M modules/tls_mgm/tls_select.c M net/api_proto_net.h M net/net_tcp.c M net/net_tcp.h M net/proto_tcp/proto_tcp.c Log Message: ----------- Added proto function for extra conn matching. A TCP-based protocol may export an API function for performing extra checks when comes to matching and re-using existing connections. For now the SSL using modules (TLS & WSS) are using the function to perform SSL cert matching, to avoid re-using connections with wrong SSL certificate. Fixes #1651 (cherry picked from commit e41465513c01a61b3ed33ad4eb71f91585a391a4) From noreply at github.com Tue May 28 13:11:34 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 10:11:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 236d46: [proto_tls] Added missing xreflabel in docs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 236d46619b4a021c8b4f98d35b0429e16337b48f https://github.com/OpenSIPS/opensips/commit/236d46619b4a021c8b4f98d35b0429e16337b48f Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/proto_tls/doc/proto_tls_admin.xml Log Message: ----------- [proto_tls] Added missing xreflabel in docs From noreply at github.com Tue May 28 13:11:59 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 10:11:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e81b92: [proto_tls] Added missing xreflabel in docs Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: e81b921127f338b919e940367b37e950d17a066c https://github.com/OpenSIPS/opensips/commit/e81b921127f338b919e940367b37e950d17a066c Author: Bogdan-Andrei Iancu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/proto_tls/doc/proto_tls_admin.xml Log Message: ----------- [proto_tls] Added missing xreflabel in docs (cherry picked from commit 236d46619b4a021c8b4f98d35b0429e16337b48f) From noreply at github.com Tue May 28 13:36:20 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 28 May 2019 10:36:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c6d31e: dialog: fix a crash when unrefing dialog Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: c6d31e34a1a779c5f89331e0804c33119c2ee2d8 https://github.com/OpenSIPS/opensips/commit/c6d31e34a1a779c5f89331e0804c33119c2ee2d8 Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_profile.c M modules/dialog/dlg_profile.h M modules/dialog/dlg_replication.c M modules/dialog/dlg_req_within.c Log Message: ----------- dialog: fix a crash when unrefing dialog Caused by accesing dialog through dangling pointer after it was freed. From noreply at github.com Tue May 28 13:43:16 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 28 May 2019 10:43:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9b30d7: dialog: complete the fix in commit: c6d31e3 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 9b30d717e4afbedf30d4fd718f4ff16c42b59ada https://github.com/OpenSIPS/opensips/commit/9b30d717e4afbedf30d4fd718f4ff16c42b59ada Author: Vlad Patrascu Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/dialog/dlg_profile.c Log Message: ----------- dialog: complete the fix in commit: c6d31e3 From noreply at github.com Tue May 28 14:38:32 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 11:38:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dd4a6a: db_oracle.c fix indentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dd4a6a8d9db7e6292899a59254bccaa4b1ac4b81 https://github.com/OpenSIPS/opensips/commit/dd4a6a8d9db7e6292899a59254bccaa4b1ac4b81 Author: dronord Date: 2017-12-21 (Thu, 21 Dec 2017) Changed paths: M modules/db_oracle/db_oracle.c Log Message: ----------- db_oracle.c fix indentation Commit: 30c6f5b7a43a47dc0b9ea37949ca160c4629e6d5 https://github.com/OpenSIPS/opensips/commit/30c6f5b7a43a47dc0b9ea37949ca160c4629e6d5 Author: dronord Date: 2017-12-21 (Thu, 21 Dec 2017) Changed paths: M modules/db_oracle/res.c Log Message: ----------- db_ora: res.c - fix OCI NUMBER Commit: d2542c03316e8df661d19d0e9d626685c100b9b8 https://github.com/OpenSIPS/opensips/commit/d2542c03316e8df661d19d0e9d626685c100b9b8 Author: dronord Date: 2017-12-21 (Thu, 21 Dec 2017) Changed paths: M modules/db_oracle/val.c Log Message: ----------- db_ora: val.c - fix OCI NUMBER Commit: a6c9376e7514bb0e7c4a7061057d1a59a2e421c1 https://github.com/OpenSIPS/opensips/commit/a6c9376e7514bb0e7c4a7061057d1a59a2e421c1 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/db_oracle.c M modules/db_oracle/res.c M modules/db_oracle/val.c Log Message: ----------- Merge pull request #1239 from dronord/ora_integer Oracle NUMBER not NUM in application Compare: https://github.com/OpenSIPS/opensips/compare/236d46619b4a...a6c9376e7514 From noreply at github.com Tue May 28 14:41:23 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 11:41:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 79c61a: Merge pull request #1239 from dronord/ora_integer Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 79c61aab2a6c9e28e63277dbeb78f0e053bd5510 https://github.com/OpenSIPS/opensips/commit/79c61aab2a6c9e28e63277dbeb78f0e053bd5510 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/db_oracle.c M modules/db_oracle/res.c M modules/db_oracle/val.c Log Message: ----------- Merge pull request #1239 from dronord/ora_integer Oracle NUMBER not NUM in application (cherry picked from commit a6c9376e7514bb0e7c4a7061057d1a59a2e421c1) From noreply at github.com Tue May 28 14:41:26 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 11:41:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7ab177: Merge pull request #1239 from dronord/ora_integer Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7ab1776f633d70c3541612e887bb2b2ecfbaa14c https://github.com/OpenSIPS/opensips/commit/7ab1776f633d70c3541612e887bb2b2ecfbaa14c Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/db_oracle.c M modules/db_oracle/res.c M modules/db_oracle/val.c Log Message: ----------- Merge pull request #1239 from dronord/ora_integer Oracle NUMBER not NUM in application (cherry picked from commit a6c9376e7514bb0e7c4a7061057d1a59a2e421c1) From noreply at github.com Tue May 28 14:51:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 11:51:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2cc203: Merge pull request #1239 from dronord/ora_integer Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 2cc2036142fdfebddf5e9cdf750e46a05d1e940c https://github.com/OpenSIPS/opensips/commit/2cc2036142fdfebddf5e9cdf750e46a05d1e940c Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/db_oracle.c M modules/db_oracle/res.c M modules/db_oracle/val.c Log Message: ----------- Merge pull request #1239 from dronord/ora_integer Oracle NUMBER not NUM in application (cherry picked from commit a6c9376e7514bb0e7c4a7061057d1a59a2e421c1) From noreply at github.com Tue May 28 15:53:34 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 12:53:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d604cd: net: do not decrement tcp_c->busy counter for conn... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d604cdeda974a262865ed440e49be25c0f5c0b9c https://github.com/OpenSIPS/opensips/commit/d604cdeda974a262865ed440e49be25c0f5c0b9c Author: Vitalii Aleksandrov Date: 2019-05-15 (Wed, 15 May 2019) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- net: do not decrement tcp_c->busy counter for connections previously acquired by tcp_conn_get() Commit: 55d95ecae41274fbeafed9b39a6251cbb0aa47b1 https://github.com/OpenSIPS/opensips/commit/55d95ecae41274fbeafed9b39a6251cbb0aa47b1 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Merge pull request #1701 from vitalikvoip/2.4_fix_tcpchild_busy_counter Fix TCP connections load balancing to use all TCP workers evenly Compare: https://github.com/OpenSIPS/opensips/compare/7ab1776f633d...55d95ecae412 From noreply at github.com Tue May 28 15:54:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 12:54:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab7954: Merge pull request #1701 from vitalikvoip/2.4_fix_... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: ab7954015c1ff0c42b8f59c0b6ab6403136f42e0 https://github.com/OpenSIPS/opensips/commit/ab7954015c1ff0c42b8f59c0b6ab6403136f42e0 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Merge pull request #1701 from vitalikvoip/2.4_fix_tcpchild_busy_counter Fix TCP connections load balancing to use all TCP workers evenly (cherry picked from commit 55d95ecae41274fbeafed9b39a6251cbb0aa47b1) From noreply at github.com Tue May 28 15:54:54 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 12:54:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c3c32: Merge pull request #1701 from vitalikvoip/2.4_fix_... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 5c3c32d8d19e03cfcf8c8e2a8e5a8cefc3fa2aee https://github.com/OpenSIPS/opensips/commit/5c3c32d8d19e03cfcf8c8e2a8e5a8cefc3fa2aee Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Merge pull request #1701 from vitalikvoip/2.4_fix_tcpchild_busy_counter Fix TCP connections load balancing to use all TCP workers evenly (cherry picked from commit 55d95ecae41274fbeafed9b39a6251cbb0aa47b1) From noreply at github.com Tue May 28 15:59:33 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 12:59:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fd1c2f: Merge pull request #1701 from vitalikvoip/2.4_fix_... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fd1c2f0cb9cfde1d53b4c8a1493ecfad11b8b98f https://github.com/OpenSIPS/opensips/commit/fd1c2f0cb9cfde1d53b4c8a1493ecfad11b8b98f Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M net/net_tcp.c M net/net_tcp_proc.c M net/tcp_conn.h Log Message: ----------- Merge pull request #1701 from vitalikvoip/2.4_fix_tcpchild_busy_counter Fix TCP connections load balancing to use all TCP workers evenly (cherry picked from commit 55d95ecae41274fbeafed9b39a6251cbb0aa47b1) (cherry picked from commit 5c3c32d8d19e03cfcf8c8e2a8e5a8cefc3fa2aee) From noreply at github.com Tue May 28 16:13:35 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:13:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a65f53: db_ora: alg: fetch OCI_FETCH_LAST, then from down ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a65f53dab931f994c8905af1b1c155406a06229d https://github.com/OpenSIPS/opensips/commit/a65f53dab931f994c8905af1b1c155406a06229d Author: dronord Date: 2017-11-03 (Fri, 03 Nov 2017) Changed paths: M modules/db_oracle/res.c Log Message: ----------- db_ora: alg: fetch OCI_FETCH_LAST, then from down to up by OCI_FETCH_PRIOR. Commit: 84f6e418f956378c2313f6ec0f62fea5a04f4bb5 https://github.com/OpenSIPS/opensips/commit/84f6e418f956378c2313f6ec0f62fea5a04f4bb5 Author: dronord Date: 2017-11-03 (Fri, 03 Nov 2017) Changed paths: M modules/db_oracle/res.c Log Message: ----------- db_ora: optimize fetch of large amount rows by OCI_ATTR_PREFETCH_ROWS Commit: f7e45ba6e02cb1b130d5eef4285aadf879e948f8 https://github.com/OpenSIPS/opensips/commit/f7e45ba6e02cb1b130d5eef4285aadf879e948f8 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1207 from dronord/ora_fetch fix and optimize oracle fetch Compare: https://github.com/OpenSIPS/opensips/compare/fd1c2f0cb9cf...f7e45ba6e02c From noreply at github.com Tue May 28 16:14:25 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:14:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b59484: Merge pull request #1207 from dronord/ora_fetch Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: b59484aa4682b176edf988a988ae4cb7f1f3f085 https://github.com/OpenSIPS/opensips/commit/b59484aa4682b176edf988a988ae4cb7f1f3f085 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1207 from dronord/ora_fetch fix and optimize oracle fetch (cherry picked from commit f7e45ba6e02cb1b130d5eef4285aadf879e948f8) From noreply at github.com Tue May 28 16:15:12 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:15:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad9191: Merge pull request #1207 from dronord/ora_fetch Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ad91916e0959615ca1a7453b8d1fe2a25c94b878 https://github.com/OpenSIPS/opensips/commit/ad91916e0959615ca1a7453b8d1fe2a25c94b878 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1207 from dronord/ora_fetch fix and optimize oracle fetch (cherry picked from commit f7e45ba6e02cb1b130d5eef4285aadf879e948f8) From noreply at github.com Tue May 28 16:15:53 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 20:15:53 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b5702: Merge pull request #1207 from dronord/ora_fetch Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 1b5702a8854f36821e424b96770ede0a45d14e96 https://github.com/OpenSIPS/opensips/commit/1b5702a8854f36821e424b96770ede0a45d14e96 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1207 from dronord/ora_fetch fix and optimize oracle fetch (cherry picked from commit f7e45ba6e02cb1b130d5eef4285aadf879e948f8) From noreply at github.com Tue May 28 16:18:01 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:18:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] abfd5a: db_ora: dont trim VAL_BIGINT Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: abfd5aae00a53f38f0b3bbaa6f4bb34bccfbd22e https://github.com/OpenSIPS/opensips/commit/abfd5aae00a53f38f0b3bbaa6f4bb34bccfbd22e Author: dronord Date: 2017-11-03 (Fri, 03 Nov 2017) Changed paths: M modules/db_oracle/res.c Log Message: ----------- db_ora: dont trim VAL_BIGINT Commit: 3ddbbf6275b381a8bee0f45a856595304a26d1ce https://github.com/OpenSIPS/opensips/commit/3ddbbf6275b381a8bee0f45a856595304a26d1ce Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1208 from dronord/ora_bigint db_ora: dont trim VAL_BIGINT Compare: https://github.com/OpenSIPS/opensips/compare/f7e45ba6e02c...3ddbbf6275b3 From noreply at github.com Tue May 28 16:18:37 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:18:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d35ace: Merge pull request #1208 from dronord/ora_bigint Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d35ace2d10e284d3dbf2143db321b4383f01a89b https://github.com/OpenSIPS/opensips/commit/d35ace2d10e284d3dbf2143db321b4383f01a89b Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1208 from dronord/ora_bigint db_ora: dont trim VAL_BIGINT (cherry picked from commit 3ddbbf6275b381a8bee0f45a856595304a26d1ce) From noreply at github.com Tue May 28 16:18:59 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:18:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ce502: Merge pull request #1208 from dronord/ora_bigint Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2ce502c12d1baa59dd836f4ef38530eb8c2eaf39 https://github.com/OpenSIPS/opensips/commit/2ce502c12d1baa59dd836f4ef38530eb8c2eaf39 Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1208 from dronord/ora_bigint db_ora: dont trim VAL_BIGINT (cherry picked from commit 3ddbbf6275b381a8bee0f45a856595304a26d1ce) From noreply at github.com Tue May 28 16:19:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 28 May 2019 13:19:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 75282b: Merge pull request #1208 from dronord/ora_bigint Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 75282ba87e6a56e2fe8eff60cc759b910f649a0a https://github.com/OpenSIPS/opensips/commit/75282ba87e6a56e2fe8eff60cc759b910f649a0a Author: Bogdan Andrei IANCU Date: 2019-05-28 (Tue, 28 May 2019) Changed paths: M modules/db_oracle/res.c Log Message: ----------- Merge pull request #1208 from dronord/ora_bigint db_ora: dont trim VAL_BIGINT (cherry picked from commit 3ddbbf6275b381a8bee0f45a856595304a26d1ce) From noreply at github.com Wed May 29 03:04:54 2019 From: noreply at github.com (Alexey Vasilyev) Date: Wed, 29 May 2019 00:04:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ff3588: tls_mgm: make unused functions inline Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ff3588c5b55843ca37c7fce3d14986ad9d8918eb https://github.com/OpenSIPS/opensips/commit/ff3588c5b55843ca37c7fce3d14986ad9d8918eb Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: make unused functions inline (cherry picked from commit b1b6f814e5589dc1a52b5486f05a017666fba1cd) Commit: 023eb2dc590f844d83ffe466d9a6290611a25eac https://github.com/OpenSIPS/opensips/commit/023eb2dc590f844d83ffe466d9a6290611a25eac Author: Alexey Vasilyev Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- Load chain of certificates and all CA certificates from DB (cherry picked from commit ad159240835932e5ea53dc5df914df44f1414e6a) Compare: https://github.com/OpenSIPS/opensips/compare/75282ba87e6a...023eb2dc590f From noreply at github.com Wed May 29 03:06:01 2019 From: noreply at github.com (Alexey Vasilyev) Date: Wed, 29 May 2019 00:06:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 37a0d1: tls_mgm: make unused functions inline Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 37a0d113296db7f009c3469f7f78940130b2f367 https://github.com/OpenSIPS/opensips/commit/37a0d113296db7f009c3469f7f78940130b2f367 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_conn_server.h Log Message: ----------- tls_mgm: make unused functions inline (cherry picked from commit b1b6f814e5589dc1a52b5486f05a017666fba1cd) Commit: 7fd38342bba96f732881dea769b9df9ce5ac3e03 https://github.com/OpenSIPS/opensips/commit/7fd38342bba96f732881dea769b9df9ce5ac3e03 Author: Alexey Vasilyev Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_mgm.c Log Message: ----------- Load chain of certificates and all CA certificates from DB (cherry picked from commit ad159240835932e5ea53dc5df914df44f1414e6a) Compare: https://github.com/OpenSIPS/opensips/compare/2ce502c12d1b...7fd38342bba9 From noreply at github.com Wed May 29 04:29:39 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 01:29:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] db8a52: Fix collision in local To-tag generation. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: db8a522aacbe9e6b6ce2b0e0b37186f875ca0c73 https://github.com/OpenSIPS/opensips/commit/db8a522aacbe9e6b6ce2b0e0b37186f875ca0c73 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/seas/seas_action.c M modules/sl/sl_funcs.c M modules/tm/dlg.c M modules/tm/t_reply.c M tags.h Log Message: ----------- Fix collision in local To-tag generation. Use MD5 on 128 (instead of CRC on 16 bits) for a better dispersion of the To-tag values. Solves problem (1) in #1662 From noreply at github.com Wed May 29 04:59:58 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 01:59:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eec31b: Makefile.defs: Improve docbook.xsl detection Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: eec31bd98ec1a8d398a963697687bf2555cf62b8 https://github.com/OpenSIPS/opensips/commit/eec31bd98ec1a8d398a963697687bf2555cf62b8 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M Makefile.defs Log Message: ----------- Makefile.defs: Improve docbook.xsl detection An adaptation of commit faec7ebc9473 which also helps preserve the previous behavior. From noreply at github.com Wed May 29 05:19:44 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 02:19:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 382f6e: Remove various deprecated parameters Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 382f6e3af688190eaa96f0fea82a7a0200749042 https://github.com/OpenSIPS/opensips/commit/382f6e3af688190eaa96f0fea82a7a0200749042 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/call_control/call_control.c M modules/call_control/doc/call_control_admin.xml M modules/nathelper/doc/nathelper_admin.xml M modules/nathelper/nathelper.c M modules/sst/doc/sst_admin.xml M modules/sst/sst.c M modules/tm/tm.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_mod.c Log Message: ----------- Remove various deprecated parameters * no longer accept deprecated flag modparams with integer values * tm: remove deprecated "fr_timer" and "fr_inv_timer" modparams From noreply at github.com Wed May 29 05:19:59 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 02:19:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ca1e9: Remove various deprecated parameters Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9ca1e9c1d536d4839af58c09fe7055ea9864b0f3 https://github.com/OpenSIPS/opensips/commit/9ca1e9c1d536d4839af58c09fe7055ea9864b0f3 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/call_control/call_control.c M modules/call_control/doc/call_control_admin.xml M modules/nathelper/doc/nathelper_admin.xml M modules/nathelper/nathelper.c M modules/sst/doc/sst_admin.xml M modules/sst/sst.c M modules/tm/tm.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_mod.c Log Message: ----------- Remove various deprecated parameters * no longer accept deprecated flag modparams with integer values * tm: remove deprecated "fr_timer" and "fr_inv_timer" modparams (cherry picked from commit 382f6e3af688190eaa96f0fea82a7a0200749042) From noreply at github.com Wed May 29 05:26:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 02:26:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2a8679: Fix collision in local To-tag generation. Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2a8679089c5de91f91339fd2253271902aa3c465 https://github.com/OpenSIPS/opensips/commit/2a8679089c5de91f91339fd2253271902aa3c465 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/seas/seas_action.c M modules/sl/sl_funcs.c M modules/tm/dlg.c M modules/tm/t_reply.c M tags.h Log Message: ----------- Fix collision in local To-tag generation. Use MD5 on 128 (instead of CRC on 16 bits) for a better dispersion of the To-tag values. Solves problem (1) in #1662 (cherry picked from commit db8a522aacbe9e6b6ce2b0e0b37186f875ca0c73) From noreply at github.com Wed May 29 05:27:52 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 02:27:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c90d25: cgrates: handle inter-mixing of requests and events Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c90d251cef30fb6a991b859652a3ba7bcb32c37c https://github.com/OpenSIPS/opensips/commit/c90d251cef30fb6a991b859652a3ba7bcb32c37c Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: handle inter-mixing of requests and events In case when OpenSIPS sends a request, but before receiving the reply on the same connection, it receives an event, we need to make sure the reply is not marked as completed. Before this fix, when the actual reply was coming back, we no longer had a reply handler, therefore OpenSIPS was crashing. Reported by Vasilios Tzanoudakis (vtzan on GitHub) in ticket #1713 From noreply at github.com Wed May 29 06:03:22 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 29 May 2019 10:03:22 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 802ee8: clusterer: fix MI commands that dispatch other com... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 802ee8c79ac7e62e50346783250385c8a13dc128 https://github.com/OpenSIPS/opensips/commit/802ee8c79ac7e62e50346783250385c8a13dc128 Author: Vlad Patrascu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer: fix MI commands that dispatch other commands in cluster Adapt 'cluster_send_mi' and 'cluster_broadcast_mi' commands to the new MI interface. From noreply at github.com Wed May 29 06:05:33 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 29 May 2019 03:05:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9d3e81: clusterer: fix MI commands that dispatch other com... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9d3e8197a66e840f510b6c2c764aef7372606178 https://github.com/OpenSIPS/opensips/commit/9d3e8197a66e840f510b6c2c764aef7372606178 Author: Vlad Patrascu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/clusterer/clusterer.c M modules/clusterer/clusterer.h M modules/clusterer/clusterer_mod.c M modules/clusterer/doc/clusterer_admin.xml Log Message: ----------- clusterer: fix MI commands that dispatch other commands in cluster Adapt 'cluster_send_mi' and 'cluster_broadcast_mi' commands to the new MI interface. (cherry picked from commit 802ee8c79ac7e62e50346783250385c8a13dc128) From noreply at github.com Wed May 29 07:04:09 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 29 May 2019 04:04:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 313b3f: tls_mgm: fix a bug when matching the tls domain Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 313b3fd5f29f3f124be9f8d630d8680f3c571273 https://github.com/OpenSIPS/opensips/commit/313b3fd5f29f3f124be9f8d630d8680f3c571273 Author: Vlad Patrascu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_domain.c Log Message: ----------- tls_mgm: fix a bug when matching the tls domain When matching a tls connection with a tls domain, use a null terminated sip domain filter string for fnmatch(). From noreply at github.com Wed May 29 07:05:33 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Wed, 29 May 2019 04:05:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3335de: tls_mgm: fix a bug when matching the tls domain Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3335de50e760952e78f39a376c382160802caac5 https://github.com/OpenSIPS/opensips/commit/3335de50e760952e78f39a376c382160802caac5 Author: Vlad Patrascu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/tls_mgm/tls_domain.c Log Message: ----------- tls_mgm: fix a bug when matching the tls domain When matching a tls connection with a tls domain, use a null terminated sip domain filter string for fnmatch(). (cherry picked from commit 313b3fd5f29f3f124be9f8d630d8680f3c571273) From noreply at github.com Wed May 29 08:08:36 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 05:08:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 566d8d: rr: fix uninitialized warning Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 566d8d4b1a6f2c7dc650c54e744440d5d05721c2 https://github.com/OpenSIPS/opensips/commit/566d8d4b1a6f2c7dc650c54e744440d5d05721c2 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rr/record.c Log Message: ----------- rr: fix uninitialized warning From noreply at github.com Wed May 29 08:08:58 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 05:08:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4c2c04: rr: fix uninitialized warning Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4c2c0483f4e8fa681226f94124d6654b8e61ecec https://github.com/OpenSIPS/opensips/commit/4c2c0483f4e8fa681226f94124d6654b8e61ecec Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rr/record.c Log Message: ----------- rr: fix uninitialized warning (cherry picked from commit 566d8d4b1a6f2c7dc650c54e744440d5d05721c2) From noreply at github.com Wed May 29 08:41:24 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 05:41:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3e2aed: rtpproxy: fix ipv6 handling of timeout socket Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3e2aed097518ca37862638d6dd7fe2b4ee3e583a https://github.com/OpenSIPS/opensips/commit/3e2aed097518ca37862638d6dd7fe2b4ee3e583a Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rtpproxy/timeout_process.c Log Message: ----------- rtpproxy: fix ipv6 handling of timeout socket Reported by Dan Pascu on mailing list From noreply at github.com Wed May 29 08:41:34 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 05:41:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 629ac2: rtpproxy: fix ipv6 handling of timeout socket Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 629ac23a5675ede390b438feb6ba2f4d5cc0e219 https://github.com/OpenSIPS/opensips/commit/629ac23a5675ede390b438feb6ba2f4d5cc0e219 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rtpproxy/timeout_process.c Log Message: ----------- rtpproxy: fix ipv6 handling of timeout socket Reported by Dan Pascu on mailing list (cherry picked from commit 3e2aed097518ca37862638d6dd7fe2b4ee3e583a) From noreply at github.com Wed May 29 08:41:43 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 05:41:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9ba0ec: rtpproxy: fix ipv6 handling of timeout socket Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 9ba0ec5b3190f561a15306ab4b03dcc80c363d74 https://github.com/OpenSIPS/opensips/commit/9ba0ec5b3190f561a15306ab4b03dcc80c363d74 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rtpproxy/timeout_process.c Log Message: ----------- rtpproxy: fix ipv6 handling of timeout socket Reported by Dan Pascu on mailing list (cherry picked from commit 3e2aed097518ca37862638d6dd7fe2b4ee3e583a) From noreply at github.com Wed May 29 09:21:00 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 06:21:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 266a2c: usrloc: fix warnings from casting pointers to uint64 Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 266a2cf7705870765e27f7e628d5d61ad4cb6493 https://github.com/OpenSIPS/opensips/commit/266a2cf7705870765e27f7e628d5d61ad4cb6493 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/ucontact.c Log Message: ----------- usrloc: fix warnings from casting pointers to uint64 This warning is raised on 32-bits systems Reported by Dan Pascu From noreply at github.com Wed May 29 09:21:10 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 06:21:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3f7a47: usrloc: fix warnings from casting pointers to uint64 Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 3f7a47104bca585ce8a4f12a65bca24e8f5c5912 https://github.com/OpenSIPS/opensips/commit/3f7a47104bca585ce8a4f12a65bca24e8f5c5912 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/ucontact.c Log Message: ----------- usrloc: fix warnings from casting pointers to uint64 This warning is raised on 32-bits systems Reported by Dan Pascu (cherry picked from commit 266a2cf7705870765e27f7e628d5d61ad4cb6493) From noreply at github.com Wed May 29 09:21:36 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 06:21:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 87748b: usrloc: fix warnings from casting pointers to uint64 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 87748b750debf723242623b69965318c9996a2f6 https://github.com/OpenSIPS/opensips/commit/87748b750debf723242623b69965318c9996a2f6 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/ucontact.c Log Message: ----------- usrloc: fix warnings from casting pointers to uint64 This warning is raised on 32-bits systems Reported by Dan Pascu (cherry picked from commit 266a2cf7705870765e27f7e628d5d61ad4cb6493) From noreply at github.com Wed May 29 09:34:18 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:34:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 73c2fe: [jabber] Fixed compiler warning. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 73c2fe907e59cb6ce79c7c4fef1caf68cc954aff https://github.com/OpenSIPS/opensips/commit/73c2fe907e59cb6ce79c7c4fef1caf68cc954aff Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/jabber/xjab_wlist.c Log Message: ----------- [jabber] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) From noreply at github.com Wed May 29 09:34:37 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:34:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b8cea: [jabber] Fixed compiler warning. Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 7b8cea7655ecd310bcd0f72c7f00119abb327381 https://github.com/OpenSIPS/opensips/commit/7b8cea7655ecd310bcd0f72c7f00119abb327381 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/jabber/xjab_wlist.c Log Message: ----------- [jabber] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit 73c2fe907e59cb6ce79c7c4fef1caf68cc954aff) From noreply at github.com Wed May 29 09:35:15 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:35:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 82f12d: [jabber] Fixed compiler warning. Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 82f12d0d93b85c1b0762b45b2a76f9b9d9cb0e92 https://github.com/OpenSIPS/opensips/commit/82f12d0d93b85c1b0762b45b2a76f9b9d9cb0e92 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/jabber/xjab_wlist.c Log Message: ----------- [jabber] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit 73c2fe907e59cb6ce79c7c4fef1caf68cc954aff) From noreply at github.com Wed May 29 09:44:38 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:44:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] decbd1: [utils] Fixed compiler warning Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: decbd1bddee7a77194fcc989f12b587e1b7ee548 https://github.com/OpenSIPS/opensips/commit/decbd1bddee7a77194fcc989f12b587e1b7ee548 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M utils/db_berkeley/bdb_recover.c Log Message: ----------- [utils] Fixed compiler warning Even if harmless, make the code consistent and avoid warnings - if using null-termiated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) From noreply at github.com Wed May 29 09:45:11 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:45:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8e0cb: [utils] Fixed compiler warning Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f8e0cbbecf9d6156bb3f9b4b9509bcf80f0a3ec1 https://github.com/OpenSIPS/opensips/commit/f8e0cbbecf9d6156bb3f9b4b9509bcf80f0a3ec1 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M utils/db_berkeley/bdb_recover.c Log Message: ----------- [utils] Fixed compiler warning Even if harmless, make the code consistent and avoid warnings - if using null-termiated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit decbd1bddee7a77194fcc989f12b587e1b7ee548) From noreply at github.com Wed May 29 09:46:12 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:46:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a589e1: [utils] Fixed compiler warning Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a589e10a0ef35a3fb97a5fe85a7e2723653c7a5f https://github.com/OpenSIPS/opensips/commit/a589e10a0ef35a3fb97a5fe85a7e2723653c7a5f Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M utils/db_berkeley/bdb_recover.c Log Message: ----------- [utils] Fixed compiler warning Even if harmless, make the code consistent and avoid warnings - if using null-termiated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit decbd1bddee7a77194fcc989f12b587e1b7ee548) From noreply at github.com Wed May 29 09:48:42 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 06:48:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d20f16: freeswitch ESL: Fix string truncation compiler war... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d20f163f3bceb213e4a7937a43074bf106ad9aaf https://github.com/OpenSIPS/opensips/commit/d20f163f3bceb213e4a7937a43074bf106ad9aaf Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/freeswitch/esl/src/esl.c M modules/freeswitch/esl/src/include/esl_config.h Log Message: ----------- freeswitch ESL: Fix string truncation compiler warnings esl/src/esl.c: In function ‘esl_recv_event’: esl/src/esl.c:1406:4: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_reply, hval, sizeof(handle->last_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘esl_send_recv_timed.part.6’, inlined from ‘esl_send_recv_timed’ at esl/src/esl.c:1537:27: esl/src/esl.c:1604:5: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esl/src/esl_config.c:34: esl/src/esl_config.c: In function ‘esl_config_open_file’: esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) ^~~~~~~~~~~~~~~~~~~~~~~ esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) ^~~~~~~~~~~~~~~ esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ esl_set_string(cfg->path, path); ^~~~~~~~~~~~~~ Reported by Dan Pascu From noreply at github.com Wed May 29 09:48:57 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 06:48:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23462a: freeswitch ESL: Fix string truncation compiler war... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 23462ab3bb9d303a752e589d618e4b67f51d2f3b https://github.com/OpenSIPS/opensips/commit/23462ab3bb9d303a752e589d618e4b67f51d2f3b Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/freeswitch/esl/src/esl.c M modules/freeswitch/esl/src/include/esl_config.h Log Message: ----------- freeswitch ESL: Fix string truncation compiler warnings esl/src/esl.c: In function ‘esl_recv_event’: esl/src/esl.c:1406:4: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_reply, hval, sizeof(handle->last_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘esl_send_recv_timed.part.6’, inlined from ‘esl_send_recv_timed’ at esl/src/esl.c:1537:27: esl/src/esl.c:1604:5: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esl/src/esl_config.c:34: esl/src/esl_config.c: In function ‘esl_config_open_file’: esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) ^~~~~~~~~~~~~~~~~~~~~~~ esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) ^~~~~~~~~~~~~~~ esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ esl_set_string(cfg->path, path); ^~~~~~~~~~~~~~ Reported by Dan Pascu (cherry picked from commit d20f163f3bceb213e4a7937a43074bf106ad9aaf) From noreply at github.com Wed May 29 09:49:13 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 06:49:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7305fa: freeswitch ESL: Fix string truncation compiler war... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7305fae088859d146d6ca913689cd4469c372965 https://github.com/OpenSIPS/opensips/commit/7305fae088859d146d6ca913689cd4469c372965 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/freeswitch/esl/src/esl.c M modules/freeswitch/esl/src/include/esl_config.h Log Message: ----------- freeswitch ESL: Fix string truncation compiler warnings esl/src/esl.c: In function ‘esl_recv_event’: esl/src/esl.c:1406:4: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_reply, hval, sizeof(handle->last_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘esl_send_recv_timed.part.6’, inlined from ‘esl_send_recv_timed’ at esl/src/esl.c:1537:27: esl/src/esl.c:1604:5: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from esl/src/esl_config.c:34: esl/src/esl_config.c: In function ‘esl_config_open_file’: esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) ^~~~~~~~~~~~~~~~~~~~~~~ esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) ^~~~~~~~~~~~~~~ esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ esl_set_string(cfg->path, path); ^~~~~~~~~~~~~~ Reported by Dan Pascu (cherry picked from commit d20f163f3bceb213e4a7937a43074bf106ad9aaf) From noreply at github.com Wed May 29 09:54:26 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 06:54:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a64d41: rest_client: Fix string truncation compiler warnings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a64d411d92a55b9348f9a3cfe98e08afbf4a6ec0 https://github.com/OpenSIPS/opensips/commit/a64d411d92a55b9348f9a3cfe98e08afbf4a6ec0 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Fix string truncation compiler warnings Reported by Dan Pascu From noreply at github.com Wed May 29 09:58:40 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 06:58:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56c04d: Dropped outdate & useless fifo relay (in php) Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 56c04d386908b7cc16df3b6bdf4369d72e0ae4cc https://github.com/OpenSIPS/opensips/commit/56c04d386908b7cc16df3b6bdf4369d72e0ae4cc Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: R utils/fifo_relay/fifo_server.php Log Message: ----------- Dropped outdate & useless fifo relay (in php) Commit: 606f7b38a930a7556946740e429a241cbbc27c4b https://github.com/OpenSIPS/opensips/commit/606f7b38a930a7556946740e429a241cbbc27c4b Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/doxygen/opensips-doxygen M packaging/debian/copyright Log Message: ----------- Purging references to fifo_relay Compare: https://github.com/OpenSIPS/opensips/compare/a64d411d92a5...606f7b38a930 From noreply at github.com Wed May 29 10:00:13 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:00:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a2f10e: Dropped outdate & useless fifo relay (in php) Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a2f10ed5879b7442fb773c684a20b61fd79bc19c https://github.com/OpenSIPS/opensips/commit/a2f10ed5879b7442fb773c684a20b61fd79bc19c Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: R utils/fifo_relay/fifo_server.php Log Message: ----------- Dropped outdate & useless fifo relay (in php) (cherry picked from commit 56c04d386908b7cc16df3b6bdf4369d72e0ae4cc) Commit: 92f403e472afc5b6175b0097efebfa245144ae69 https://github.com/OpenSIPS/opensips/commit/92f403e472afc5b6175b0097efebfa245144ae69 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/doxygen/opensips-doxygen M packaging/debian/copyright Log Message: ----------- Purging references to fifo_relay (cherry picked from commit 606f7b38a930a7556946740e429a241cbbc27c4b) Compare: https://github.com/OpenSIPS/opensips/compare/23462ab3bb9d...92f403e472af From noreply at github.com Wed May 29 10:10:38 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:10:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] de3e16: Dropped outdated & useless 'opensipsunix' Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: de3e16698ef28b4e382695990bbd3916a712a8ac https://github.com/OpenSIPS/opensips/commit/de3e16698ef28b4e382695990bbd3916a712a8ac Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M .gitignore M Makefile M Makefile.rules M doc/doxygen/opensips-doxygen M packaging/debian/rules M packaging/freebsd/Makefile M packaging/redhat_fedora/opensips.spec M packaging/solaris/base-Prototype M packaging/solaris/prototype M packaging/solaris/tls-Prototype R utils/opensipsunix/Makefile R utils/opensipsunix/opensipsunix.8 R utils/opensipsunix/opensipsunix.c Log Message: ----------- Dropped outdated & useless 'opensipsunix' From noreply at github.com Wed May 29 10:11:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:11:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 72c13c: Dropped outdated & useless 'opensipsunix' Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 72c13cde65918a61b7c94ecb800ada897058f764 https://github.com/OpenSIPS/opensips/commit/72c13cde65918a61b7c94ecb800ada897058f764 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M .gitignore M Makefile M Makefile.rules M doc/doxygen/opensips-doxygen M packaging/debian/rules M packaging/freebsd/Makefile M packaging/redhat_fedora/opensips.spec M packaging/solaris/base-Prototype M packaging/solaris/prototype M packaging/solaris/tls-Prototype R utils/opensipsunix/Makefile R utils/opensipsunix/opensipsunix.8 R utils/opensipsunix/opensipsunix.c Log Message: ----------- Dropped outdated & useless 'opensipsunix' (cherry picked from commit de3e16698ef28b4e382695990bbd3916a712a8ac) From noreply at github.com Wed May 29 10:14:36 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 07:14:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f6ad48: rest_client: Update commit a64d411d Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f6ad48444c0f0583a4319f333aca27be23779de4 https://github.com/OpenSIPS/opensips/commit/f6ad48444c0f0583a4319f333aca27be23779de4 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h Log Message: ----------- rest_client: Update commit a64d411d The input may be an IPv4 buffer, so memcpy() is not the way to go, as we'd segfault immediately in that case. Extending the destination buffer by 1 byte seems to be the cleanest way to solve this warning. From noreply at github.com Wed May 29 10:18:13 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 07:18:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9fa666: rest_client: Fix string truncation compiler warnings Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9fa666c5e7c3ea384508228faa6b6017e66889f9 https://github.com/OpenSIPS/opensips/commit/9fa666c5e7c3ea384508228faa6b6017e66889f9 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h Log Message: ----------- rest_client: Fix string truncation compiler warnings Reported by Dan Pascu (cherry picked from commit a64d411d92a55b9348f9a3cfe98e08afbf4a6ec0) From noreply at github.com Wed May 29 10:18:48 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 07:18:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c5d44a: rest_client: Fix string truncation compiler warnings Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: c5d44aa4e29e323e36a4ce41c324aa49dcead4a2 https://github.com/OpenSIPS/opensips/commit/c5d44aa4e29e323e36a4ce41c324aa49dcead4a2 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/rest_client/rest_methods.c M modules/rest_client/rest_methods.h Log Message: ----------- rest_client: Fix string truncation compiler warnings Reported by Dan Pascu (cherry picked from commit a64d411d92a55b9348f9a3cfe98e08afbf4a6ec0) (cherry picked from commit 9fa666c5e7c3ea384508228faa6b6017e66889f9) From noreply at github.com Wed May 29 10:26:22 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 07:26:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 80ec77: cgrates: fix resuming function for cgrates_cmd() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 80ec779e004fd69f343a56deab18c98c1e3079f3 https://github.com/OpenSIPS/opensips/commit/80ec779e004fd69f343a56deab18c98c1e3079f3 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: fix resuming function for cgrates_cmd() Reported by Vasilios Tzanoudakis #1713 From noreply at github.com Wed May 29 10:26:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 14:26:57 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cbe2c6: [sms] Fixed compiler warning. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cbe2c6509ee4ffc518b5feed26dd4375e4bae9f0 https://github.com/OpenSIPS/opensips/commit/cbe2c6509ee4ffc518b5feed26dd4375e4bae9f0 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/sms/libsms_getsms.c Log Message: ----------- [sms] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) From noreply at github.com Wed May 29 10:27:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:27:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1ca1a6: [sms] Fixed compiler warning. Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1ca1a6b6a24625705e009221f536064e0746ef6c https://github.com/OpenSIPS/opensips/commit/1ca1a6b6a24625705e009221f536064e0746ef6c Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/sms/libsms_getsms.c Log Message: ----------- [sms] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit cbe2c6509ee4ffc518b5feed26dd4375e4bae9f0) From noreply at github.com Wed May 29 10:27:43 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:27:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 719838: [sms] Fixed compiler warning. Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 71983858d356ab88605d7aab024f7a641235c9f2 https://github.com/OpenSIPS/opensips/commit/71983858d356ab88605d7aab024f7a641235c9f2 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/sms/libsms_getsms.c Log Message: ----------- [sms] Fixed compiler warning. Even if harmless, make the code consistent and avoid warnings - if using null-terimated functions, be sure you have the space for the the ending NULL. Reported by Dan Pascu ( @danpascu ) (cherry picked from commit cbe2c6509ee4ffc518b5feed26dd4375e4bae9f0) From bogdan at opensips.org Wed May 29 10:29:24 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 29 May 2019 17:29:24 +0300 Subject: [OpenSIPS-Devel] Compilation issues In-Reply-To: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> References: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> Message-ID: Thanks Dan, Fixes are pushed, hopefully we managed to get rid of them. If you could give it a try please. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 05/28/2019 11:57 AM, Dan Pascu wrote: > On 32 bit systems I noticed the following warnings when compiling which I think indicate that 32 bit systems can crash with an illegal memory access: > > ------------------------------------------------------- > > ucontact.c: In function ‘ucontact_coords_cmp’: > ucontact.c:1036:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > a = (ucontact_sip_coords *)_a; > ^ > ucontact.c:1037:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > b = (ucontact_sip_coords *)_b; > ^ > In file included from ../../resolve.h:45, > from ../../proxy.h:75, > from ucontact.h:44, > from ucontact.c:34: > ucontact.c: In function ‘free_ucontact_coords’: > ucontact.c:1049:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > shm_free((ucontact_sip_coords *)coords); > ^ > ../../mem/shm_mem.h:513:38: note: in definition of macro ‘shm_free’ > #define shm_free( _ptr ) _shm_free( (_ptr), \ > ^~~~ > > dlist.c: In function ‘delete_ucontact_from_coords’: > dlist.c:1216:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > if (cdb_delete_ucontact_coords((ucontact_sip_coords *)ct_coords)) { > ^ > ------------------------------------------------------- > > The variables in question are of type ucontact_coords which is a 64 bit integer. Whenever that type is cast into a pointer it will be truncated to 32 bits on 32 bit platforms which can result in illegal memory access. I have not yet run opensips on a 32 bit system, but I noticed these while compiling it. > > > Next I got this warning when compiling on both 32 and 64 bit systems: > > 32 bit warning: > ------------------------------------------------------------- > > In file included from /usr/include/string.h:494, > from /usr/include/i386-linux-gnu/sys/un.h:37, > from timeout_process.c:27: > In function ‘memcpy’, > inlined from ‘sockaddr2ip_addr’ at ../../parser/../ip_addr.h:212:4, > inlined from ‘timeout_listener_process’ at timeout_process.c:248:6: > /usr/include/i386-linux-gnu/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ forming offset [17, 24] is ou > t of the bounds [0, 16] of object ‘rtpp_info’ with type ‘struct sockaddr’ [-Warray-bounds] > return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > timeout_process.c: In function ‘timeout_listener_process’: > timeout_process.c:76:18: note: ‘rtpp_info’ declared here > struct sockaddr rtpp_info; > ^~~~~~~~~ > timeout_process.c:235:8: warning: ‘__builtin_memcmp_eq’ reading 16 bytes from a region of size 8 [-Wstringop-overflow=] > memcmp(rtpp_lst->addr, s_in6->sin6_addr.s6_addr, 16) == 0) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ------------------------------------------------------------- > > > 64 bit warning: > ------------------------------------------------------------- > > timeout_process.c: In function ‘timeout_listener_process’: > timeout_process.c:235:8: warning: ‘__builtin_memcmp_eq’ reading 16 bytes from a region of size 8 [-Wstringop-overflow=] > memcmp(rtpp_lst->addr, s_in6->sin6_addr.s6_addr, 16) == 0) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ------------------------------------------------------------- > > which also seems to indicate accessing memory out of bounds. > > The next warnings I only noticed when compiling on 64 bit. Not sure why they do not show up on 32 bit, if the problem depends on architecture or is caused by the slight difference in compilers (I used gcc 8.2.0 on 32 bit and gcc 8.3.0 on 64 bit): > > ------------------------------------------------------------- > > libsms_getsms.c: In function ‘splitascii.isra.1’: > libsms_getsms.c:286:2: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] > strncpy(sms->ascii,start,sizeof(sms->ascii)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > libsms_getsms.c:302:2: warning: ‘strncpy’ specified bound 31 equals destination size [-Wstringop-truncation] > strncpy(sms->sender,start,sizeof(sms->sender)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > libsms_getsms.c:316:3: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation] > strncpy(sms->name,start,sizeof(sms->name)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > esl/src/esl.c: In function ‘esl_recv_event’: > esl/src/esl.c:1406:4: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] > strncpy(handle->last_reply, hval, sizeof(handle->last_reply)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In function ‘esl_send_recv_timed.part.6’, > inlined from ‘esl_send_recv_timed’ at esl/src/esl.c:1537:27: > esl/src/esl.c:1604:5: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] > strncpy(handle->last_sr_reply, hval, sizeof(handle->last_sr_reply)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In file included from esl/src/esl_config.c:34: > esl/src/esl_config.c: In function ‘esl_config_open_file’: > esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] > #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) > ^~~~~~~~~~~~~~~~~~~~~~~ > esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ > #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) > ^~~~~~~~~~~~~~~ > esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ > esl_set_string(cfg->path, path); > ^~~~~~~~~~~~~~ > > > xjab_wlist.c: In function ‘xj_wlist_set_aliases’: > xjab_wlist.c:473:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > strncpy(p0, pa, i); > ^~~~~~~~~~~~~~~~~~ > xjab_wlist.c:455:34: note: length computed here > i = jwl->aliases->proxy->len = strlen(pa); > ^~~~~~~~~~ > > > iniparser.c: In function ‘iniparser_add_entry’: > iniparser.c:568:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] > strncpy(longkey, sec, len + 1); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > iniparser.c:565:17: note: length computed here > size_t len = strlen(sec); > ^~~~~~~~~~~ > > > rest_methods.c: In function ‘trace_rest_request_cb’: > rest_methods.c:142:4: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] > strncpy( tparam->local_ip, ip, INET6_ADDRSTRLEN); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > rest_methods.c:152:4: warning: ‘strncpy’ specified bound 46 equals destination size [-Wstringop-truncation] > strncpy( tparam->remote_ip, ip, INET6_ADDRSTRLEN); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > opensipsunix.c: In function ‘main’: > opensipsunix.c:93:2: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > strncpy(from.sun_path, name, strlen(name)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > bdb_recover.c: In function ‘extract_key’: > bdb_recover.c:487:2: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > strncpy(buf, d, len); > ^~~~~~~~~~~~~~~~~~~~ > bdb_recover.c:486:8: note: length computed here > len = strlen(d); > ^~~~~~~~~ > bdb_recover.c:498:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > strncpy(p, s, len); > ^~~~~~~~~~~~~~~~~~ > bdb_recover.c:493:9: note: length computed here > len = strlen(s); > ^~~~~~~~~ > bdb_recover.c: In function ‘create_table’: > bdb_recover.c:795:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] > strncpy(tp->name, _s, i); > ^~~~~~~~~~~~~~~~~~~~~~~~ > bdb_recover.c:793:4: note: length computed here > i=strlen(_s)+1; > ^~~~~~~~~~ > > ------------------------------------------------------------- > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel From noreply at github.com Wed May 29 10:53:11 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 14:53:11 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b14e87: More removal for opensipsunix Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b14e87109fcb4a2c7bc395182a6457fcae372e7d https://github.com/OpenSIPS/opensips/commit/b14e87109fcb4a2c7bc395182a6457fcae372e7d Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M Makefile Log Message: ----------- More removal for opensipsunix hacks will always hunt you back :P From noreply at github.com Wed May 29 10:56:08 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 29 May 2019 07:56:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 279ef5: More removal for opensipsunix Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 279ef5562327843546110a63669db5839dc2e4f4 https://github.com/OpenSIPS/opensips/commit/279ef5562327843546110a63669db5839dc2e4f4 Author: Bogdan-Andrei Iancu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M Makefile Log Message: ----------- More removal for opensipsunix hacks will always hunt you back :P (cherry picked from commit b14e87109fcb4a2c7bc395182a6457fcae372e7d) From noreply at github.com Wed May 29 11:02:51 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 08:02:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2fd249: cgrates: handle inter-mixing of requests and events Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 2fd249ccc54e7ec3388e7ee0da18fd4dd86957c2 https://github.com/OpenSIPS/opensips/commit/2fd249ccc54e7ec3388e7ee0da18fd4dd86957c2 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: handle inter-mixing of requests and events In case when OpenSIPS sends a request, but before receiving the reply on the same connection, it receives an event, we need to make sure the reply is not marked as completed. Before this fix, when the actual reply was coming back, we no longer had a reply handler, therefore OpenSIPS was crashing. Reported by Vasilios Tzanoudakis (vtzan on GitHub) in ticket #1713 (cherry picked from commit c90d251cef30fb6a991b859652a3ba7bcb32c37c) Commit: 2f63be9eaeee0d14c81bdc7d22f384aae6262497 https://github.com/OpenSIPS/opensips/commit/2f63be9eaeee0d14c81bdc7d22f384aae6262497 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: fix resuming function for cgrates_cmd() Reported by Vasilios Tzanoudakis #1713 (cherry picked from commit 80ec779e004fd69f343a56deab18c98c1e3079f3) Compare: https://github.com/OpenSIPS/opensips/compare/279ef5562327...2f63be9eaeee From noreply at github.com Wed May 29 11:04:00 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 08:04:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 85c952: cgrates: handle inter-mixing of requests and events Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 85c95231c4a9434f4e0d84a47353c504b63a7035 https://github.com/OpenSIPS/opensips/commit/85c95231c4a9434f4e0d84a47353c504b63a7035 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: handle inter-mixing of requests and events In case when OpenSIPS sends a request, but before receiving the reply on the same connection, it receives an event, we need to make sure the reply is not marked as completed. Before this fix, when the actual reply was coming back, we no longer had a reply handler, therefore OpenSIPS was crashing. Reported by Vasilios Tzanoudakis (vtzan on GitHub) in ticket #1713 (cherry picked from commit c90d251cef30fb6a991b859652a3ba7bcb32c37c) Commit: 121618821fbf27907d6cf948e67fb760f23aa241 https://github.com/OpenSIPS/opensips/commit/121618821fbf27907d6cf948e67fb760f23aa241 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M modules/cgrates/cgrates_common.c Log Message: ----------- cgrates: fix resuming function for cgrates_cmd() Reported by Vasilios Tzanoudakis #1713 (cherry picked from commit 80ec779e004fd69f343a56deab18c98c1e3079f3) Compare: https://github.com/OpenSIPS/opensips/compare/71983858d356...121618821fbf From noreply at github.com Wed May 29 11:11:43 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 08:11:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59f850: Fix various documentation typos or shortcomings Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 59f8505d3597c2848ca05f64879d97a8748997ea https://github.com/OpenSIPS/opensips/commit/59f8505d3597c2848ca05f64879d97a8748997ea Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/build-contrib.sh M main.c M mi/mi.h M modules/auth_db/doc/auth_db_admin.xml M modules/avpops/doc/avpops_admin.xml M modules/cachedb_local/doc/cachedb_local_admin.xml M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml M modules/cfgutils/doc/cfgutils_admin.xml M modules/clusterer/api.h M modules/dialog/doc/dialog_admin.xml M modules/dispatcher/dispatch.c M modules/dispatcher/ds_fixups.c M modules/mediaproxy/doc/mediaproxy_admin.xml M modules/mid_registrar/mid_registrar.h M modules/nathelper/doc/nathelper_admin.xml M modules/presence/doc/presence_admin.xml M modules/proto_tls/doc/proto_tls_admin.xml M modules/ratelimit/doc/ratelimit_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/sipmsgops/doc/sipmsgops_admin.xml M modules/tls_mgm/doc/tls_mgm_admin.xml M modules/tm/doc/tm_admin.xml M modules/usrloc/doc/usrloc_admin.xml Log Message: ----------- Fix various documentation typos or shortcomings From noreply at github.com Wed May 29 11:12:21 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 08:12:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a2d6b1: Fix various documentation typos or shortcomings Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: a2d6b1835387a69da3316bcc6973760ed22bd307 https://github.com/OpenSIPS/opensips/commit/a2d6b1835387a69da3316bcc6973760ed22bd307 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/build-contrib.sh M main.c M mi/mi.h M modules/auth_db/doc/auth_db_admin.xml M modules/avpops/doc/avpops_admin.xml M modules/cachedb_local/doc/cachedb_local_admin.xml M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml M modules/cfgutils/doc/cfgutils_admin.xml M modules/clusterer/api.h M modules/dialog/doc/dialog_admin.xml M modules/dispatcher/dispatch.c M modules/dispatcher/ds_fixups.c M modules/mediaproxy/doc/mediaproxy_admin.xml M modules/mid_registrar/mid_registrar.h M modules/nathelper/doc/nathelper_admin.xml M modules/presence/doc/presence_admin.xml M modules/proto_tls/doc/proto_tls_admin.xml M modules/ratelimit/doc/ratelimit_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/sipmsgops/doc/sipmsgops_admin.xml M modules/tls_mgm/doc/tls_mgm_admin.xml M modules/tm/doc/tm_admin.xml M modules/usrloc/doc/usrloc_admin.xml Log Message: ----------- Fix various documentation typos or shortcomings (cherry picked from commit 59f8505d3597c2848ca05f64879d97a8748997ea) From noreply at github.com Wed May 29 11:21:02 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 08:21:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 48ed54: Makefiles: remove beta & debugging Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 48ed5435434736ec49d53abb241d833014fdf799 https://github.com/OpenSIPS/opensips/commit/48ed5435434736ec49d53abb241d833014fdf799 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M Makefile.conf.template M Makefile.defs Log Message: ----------- Makefiles: remove beta & debugging Commit: 435890a06e9df21f7c4b4c026dd3b2276460a696 https://github.com/OpenSIPS/opensips/commit/435890a06e9df21f7c4b4c026dd3b2276460a696 Author: Razvan Crainea Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M ChangeLog Log Message: ----------- ChangeLog: update for 3.0 stable Compare: https://github.com/OpenSIPS/opensips/compare/a2d6b1835387...435890a06e9d From noreply at github.com Wed May 29 11:21:25 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 29 May 2019 15:21:25 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: Branch: refs/tags/3.0.0 Home: https://github.com/OpenSIPS/opensips From noreply at github.com Wed May 29 11:29:00 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 08:29:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b970d: Fix various documentation typos or shortcomings Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1b970d85e4af15ce879d7dfc3b796e9178bad082 https://github.com/OpenSIPS/opensips/commit/1b970d85e4af15ce879d7dfc3b796e9178bad082 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/build-contrib.sh M main.c M modules/auth_db/doc/auth_db_admin.xml M modules/avpops/doc/avpops_admin.xml M modules/cachedb_local/doc/cachedb_local_admin.xml M modules/cachedb_mongodb/doc/cachedb_mongodb_admin.xml M modules/cfgutils/doc/cfgutils_admin.xml M modules/dialog/doc/dialog_admin.xml M modules/mediaproxy/doc/mediaproxy_admin.xml M modules/nathelper/doc/nathelper_admin.xml M modules/presence/doc/presence_admin.xml M modules/ratelimit/doc/ratelimit_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/sipmsgops/doc/sipmsgops_admin.xml M modules/tm/doc/tm_admin.xml M modules/usrloc/doc/usrloc_admin.xml Log Message: ----------- Fix various documentation typos or shortcomings (cherry picked from commit 59f8505d3597c2848ca05f64879d97a8748997ea) From noreply at github.com Wed May 29 11:34:53 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 08:34:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 614127: Fix various documentation typos or shortcomings Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 6141270619bc2633854cce1a92ca784bb9419d84 https://github.com/OpenSIPS/opensips/commit/6141270619bc2633854cce1a92ca784bb9419d84 Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M doc/build-contrib.sh M main.c M modules/auth_db/doc/auth_db_admin.xml M modules/avpops/doc/avpops_admin.xml M modules/cfgutils/doc/cfgutils_admin.xml M modules/dialog/doc/dialog_admin.xml M modules/nathelper/doc/nathelper_admin.xml M modules/ratelimit/doc/ratelimit_admin.xml M modules/registrar/doc/registrar_admin.xml M modules/rest_client/doc/rest_client_admin.xml M modules/sipmsgops/doc/sipmsgops_admin.xml M modules/tm/doc/tm_admin.xml Log Message: ----------- Fix various documentation typos or shortcomings (cherry picked from commit 59f8505d3597c2848ca05f64879d97a8748997ea) (cherry picked from commit 1b970d85e4af15ce879d7dfc3b796e9178bad082) From noreply at github.com Wed May 29 11:41:29 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 May 2019 08:41:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e1630a: Use a QA memory allocator by default on the dev br... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e1630a91d2298e423f122b1473e7f24b8f648e4d https://github.com/OpenSIPS/opensips/commit/e1630a91d2298e423f122b1473e7f24b8f648e4d Author: Liviu Chircu Date: 2019-05-29 (Wed, 29 May 2019) Changed paths: M mem/common.c Log Message: ----------- Use a QA memory allocator by default on the dev branch From bogdan at opensips.org Wed May 29 12:33:09 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 29 May 2019 19:33:09 +0300 Subject: [OpenSIPS-Devel] [Release] OpenSIPS 3.0.0 release becomes stable Message-ID: <6233559d-f0b3-f41d-91f5-9d0ad4c03b08@opensips.org> Hi everyone ! One and half month of testing, reporting, debugging, fixing and re-testing - what was the result? The OpenSIPS 3.0 stable version is now ready. It was a tremendous collective effort to make this important step from beta to stable release - and this would not have been possible without the help of you, of the OpenSIPS community - people involved in testing, people contributing with fixes, people doing reports, people making OpenSIPS even a greater software. Now, it is the time to sit, sip and relax :) and Enjoy 3.0! -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ From dan at ag-projects.com Wed May 29 12:37:14 2019 From: dan at ag-projects.com (Dan Pascu) Date: Wed, 29 May 2019 19:37:14 +0300 Subject: [OpenSIPS-Devel] Compilation issues In-Reply-To: References: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> Message-ID: <62B460D4-AE61-49FE-BE2E-9B582C9D7B1E@ag-projects.com> On 29 May 2019, at 17:29, Bogdan-Andrei Iancu wrote: > Thanks Dan, > > Fixes are pushed, hopefully we managed to get rid of them. If you could give it a try please. > Compiling on 32 bit comes out clean, but many of the warnings are still present when compiling on 64 bit: --------------------------------------------------------------------- In file included from esl/src/esl_config.c:34: esl/src/esl_config.c: In function ‘esl_config_open_file’: esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation] #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) ^~~~~~~~~~~~~~~~~~~~~~~ esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) ^~~~~~~~~~~~~~~ esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ esl_set_string(cfg->path, path); ^~~~~~~~~~~~~~ xjab_wlist.c: In function ‘xj_wlist_set_aliases’: xjab_wlist.c:473:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p0, pa, i); ^~~~~~~~~~~~~~~~~~ xjab_wlist.c:455:34: note: length computed here i = jwl->aliases->proxy->len = strlen(pa); ^~~~~~~~~~ iniparser.c: In function ‘iniparser_add_entry’: iniparser.c:568:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(longkey, sec, len + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iniparser.c:565:17: note: length computed here size_t len = strlen(sec); ^~~~~~~~~~~ bdb_recover.c: In function ‘create_table’: bdb_recover.c:793:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(tp->name, _s, i); ^~~~~~~~~~~~~~~~~~~~~~~~ bdb_recover.c:791:4: note: length computed here i=strlen(_s)+1; ^~~~~~~~~~ --------------------------------------------------------------------- -- Dan From noreply at github.com Thu May 30 02:39:08 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 29 May 2019 23:39:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 53fd3c: Renamed refreshWatchers MI command to refresh_watc... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 53fd3cb669cc69db9b333526c72bb27d78be2010 https://github.com/OpenSIPS/opensips/commit/53fd3cb669cc69db9b333526c72bb27d78be2010 Author: Dan Pascu Date: 2019-05-30 (Thu, 30 May 2019) Changed paths: M modules/presence/presence.c Log Message: ----------- Renamed refreshWatchers MI command to refresh_watchers This was the only MI command that used camel-case notation. The refreshWatchers command is still available as an alias, for backwards compatibility, but it is considered deprecated and it will be removed in a future version. From noreply at github.com Thu May 30 02:39:33 2019 From: noreply at github.com (Dan Pascu) Date: Wed, 29 May 2019 23:39:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 705b49: Renamed refreshWatchers MI command to refresh_watc... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 705b49de73a89eb554b2352a53487efde7ae19d9 https://github.com/OpenSIPS/opensips/commit/705b49de73a89eb554b2352a53487efde7ae19d9 Author: Dan Pascu Date: 2019-05-30 (Thu, 30 May 2019) Changed paths: M modules/presence/presence.c Log Message: ----------- Renamed refreshWatchers MI command to refresh_watchers This was the only MI command that used camel-case notation. The refreshWatchers command is still available as an alias, for backwards compatibility, but it is considered deprecated and it will be removed in a future version. (cherry picked from commit 53fd3cb669cc69db9b333526c72bb27d78be2010) From noreply at github.com Thu May 30 04:30:21 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 May 2019 01:30:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 022166: Remove all remaining deprecated integer flags Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 022166a51f8a4a2b38e2070146fdf3021c79b0af https://github.com/OpenSIPS/opensips/commit/022166a51f8a4a2b38e2070146fdf3021c79b0af Author: Liviu Chircu Date: 2019-05-30 (Thu, 30 May 2019) Changed paths: M cfg.y M modules/auth_aaa/authaaa_mod.c M modules/auth_aaa/doc/auth_aaa_admin.xml M modules/call_control/call_control.c M modules/mid_registrar/mid_registrar.c M modules/nathelper/nathelper.c M modules/qos/doc/qos_admin.xml M modules/qos/qos.c M modules/registrar/doc/registrar_admin.xml M modules/registrar/reg_mod.c M modules/sst/sst.c M modules/tm/t_reply.c M modules/tm/t_reply.h M modules/tm/tm.c M modules/usrloc/ul_mod.c Log Message: ----------- Remove all remaining deprecated integer flags Completes commit 382f6e3af688. Thanks to Dan Pascu for spotting this problem! From basit.engg at gmail.com Thu May 30 05:04:50 2019 From: basit.engg at gmail.com (Abdul Basit) Date: Thu, 30 May 2019 14:04:50 +0500 Subject: [OpenSIPS-Devel] [OpenSIPS-Business] [Release] OpenSIPS 3.0.0 release becomes stable In-Reply-To: <6233559d-f0b3-f41d-91f5-9d0ad4c03b08@opensips.org> References: <6233559d-f0b3-f41d-91f5-9d0ad4c03b08@opensips.org> Message-ID: Appreciated and Congratulations to the community for achieving new milestone. -- regards, abdul basit On Wed, 29 May 2019 at 21:34, Bogdan-Andrei Iancu wrote: > Hi everyone ! > > One and half month of testing, reporting, debugging, fixing and > re-testing - what was the result? > > The OpenSIPS 3.0 stable version is now ready. > > It was a tremendous collective effort to make this important step from > beta to stable release - and this would not have been possible without > the help of you, of the OpenSIPS community - people involved in testing, > people contributing with fixes, people doing reports, people making > OpenSIPS even a greater software. > > Now, it is the time to sit, sip and relax :) > > and Enjoy 3.0! > > -- > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > > _______________________________________________ > Business mailing list > Business at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/business > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Thu May 30 07:24:55 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 30 May 2019 14:24:55 +0300 Subject: [OpenSIPS-Devel] Compilation issues In-Reply-To: <62B460D4-AE61-49FE-BE2E-9B582C9D7B1E@ag-projects.com> References: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> <62B460D4-AE61-49FE-BE2E-9B582C9D7B1E@ag-projects.com> Message-ID: :(....again what compiler version are you using ? it might be simpler to try to reproduce those warnings. Thanks, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 05/29/2019 07:37 PM, Dan Pascu wrote: > On 29 May 2019, at 17:29, Bogdan-Andrei Iancu wrote: > >> Thanks Dan, >> >> Fixes are pushed, hopefully we managed to get rid of them. If you could give it a try please. >> > Compiling on 32 bit comes out clean, but many of the warnings are still present when compiling on 64 bit: > > --------------------------------------------------------------------- > > In file included from esl/src/esl_config.c:34: > esl/src/esl_config.c: In function ‘esl_config_open_file’: > esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation] > #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) > ^~~~~~~~~~~~~~~~~~~~~~~ > esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ > #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) > ^~~~~~~~~~~~~~~ > esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ > esl_set_string(cfg->path, path); > ^~~~~~~~~~~~~~ > > > xjab_wlist.c: In function ‘xj_wlist_set_aliases’: > xjab_wlist.c:473:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > strncpy(p0, pa, i); > ^~~~~~~~~~~~~~~~~~ > xjab_wlist.c:455:34: note: length computed here > i = jwl->aliases->proxy->len = strlen(pa); > ^~~~~~~~~~ > > > iniparser.c: In function ‘iniparser_add_entry’: > iniparser.c:568:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] > strncpy(longkey, sec, len + 1); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > iniparser.c:565:17: note: length computed here > size_t len = strlen(sec); > ^~~~~~~~~~~ > > > bdb_recover.c: In function ‘create_table’: > bdb_recover.c:793:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] > strncpy(tp->name, _s, i); > ^~~~~~~~~~~~~~~~~~~~~~~~ > bdb_recover.c:791:4: note: length computed here > i=strlen(_s)+1; > ^~~~~~~~~~ > > > --------------------------------------------------------------------- > > > -- > Dan > > > > From dan at ag-projects.com Thu May 30 07:39:16 2019 From: dan at ag-projects.com (Dan Pascu) Date: Thu, 30 May 2019 14:39:16 +0300 Subject: [OpenSIPS-Devel] Compilation issues In-Reply-To: References: <8F0449EA-8B29-412F-B9BE-8CE11B3E058B@ag-projects.com> <62B460D4-AE61-49FE-BE2E-9B582C9D7B1E@ag-projects.com> Message-ID: <04CE7951-84D0-4DC0-BD9C-B69F4CC038D4@ag-projects.com> On 30 May 2019, at 14:24, Bogdan-Andrei Iancu wrote: > :(....again what compiler version are you using ? it might be simpler to try to reproduce those warnings. > gcc (Debian 8.3.0-2) 8.3.0 > Thanks, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 05/29/2019 07:37 PM, Dan Pascu wrote: >> On 29 May 2019, at 17:29, Bogdan-Andrei Iancu wrote: >> >>> Thanks Dan, >>> >>> Fixes are pushed, hopefully we managed to get rid of them. If you could give it a try please. >>> >> Compiling on 32 bit comes out clean, but many of the warnings are still present when compiling on 64 bit: >> >> --------------------------------------------------------------------- >> >> In file included from esl/src/esl_config.c:34: >> esl/src/esl_config.c: In function ‘esl_config_open_file’: >> esl/src/include/esl.h:43:37: warning: ‘strncpy’ output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation] >> #define esl_copy_string(_x, _y, _z) strncpy(_x, _y, _z - 1) >> ^~~~~~~~~~~~~~~~~~~~~~~ >> esl/src/include/esl.h:44:32: note: in expansion of macro ‘esl_copy_string’ >> #define esl_set_string(_x, _y) esl_copy_string(_x, _y, sizeof(_x)) >> ^~~~~~~~~~~~~~~ >> esl/src/esl_config.c:72:4: note: in expansion of macro ‘esl_set_string’ >> esl_set_string(cfg->path, path); >> ^~~~~~~~~~~~~~ >> >> >> xjab_wlist.c: In function ‘xj_wlist_set_aliases’: >> xjab_wlist.c:473:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] >> strncpy(p0, pa, i); >> ^~~~~~~~~~~~~~~~~~ >> xjab_wlist.c:455:34: note: length computed here >> i = jwl->aliases->proxy->len = strlen(pa); >> ^~~~~~~~~~ >> >> >> iniparser.c: In function ‘iniparser_add_entry’: >> iniparser.c:568:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] >> strncpy(longkey, sec, len + 1); >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> iniparser.c:565:17: note: length computed here >> size_t len = strlen(sec); >> ^~~~~~~~~~~ >> >> >> bdb_recover.c: In function ‘create_table’: >> bdb_recover.c:793:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] >> strncpy(tp->name, _s, i); >> ^~~~~~~~~~~~~~~~~~~~~~~~ >> bdb_recover.c:791:4: note: length computed here >> i=strlen(_s)+1; >> ^~~~~~~~~~ >> >> >> --------------------------------------------------------------------- >> >> >> -- >> Dan >> >> >> >> > -- Dan From noreply at github.com Thu May 30 21:33:10 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 May 2019 18:33:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0e40f6: load statistics: Fix an unsigned integer underflow... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0e40f6d46a635eae7b9587d71c49041802d6cc4b https://github.com/OpenSIPS/opensips/commit/0e40f6d46a635eae7b9587d71c49041802d6cc4b Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix an unsigned integer underflow bug This integer subtraction bug was leading to occasional, seamlessly random load1m and load10m statistic spikes, for example: 4 2 0 4 2 0 4 3 59 4 3 0 5 3 0 From noreply at github.com Thu May 30 21:33:21 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 May 2019 18:33:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7f14b6: load statistics: Fix a bunch of integer overflow bugs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7f14b6a30a79e6156ae732d1cbb8f1e3f102e3d3 https://github.com/OpenSIPS/opensips/commit/7f14b6a30a79e6156ae732d1cbb8f1e3f102e3d3 Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix a bunch of integer overflow bugs Most of the summed up load statistics were skewed by a factor of 10, due to a series of integer multiplications which was overflowing the 32-bit result holder. load, load1m, load10m before this patch (16 processes, 3 fully loaded): 12 99 9 12 99 9 12 101 10 13 103 10 13 104 10 12 106 10 ... and after: 12 9 0 11 10 1 12 10 1 13 10 1 Fixes #1650 From noreply at github.com Thu May 30 21:33:50 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 May 2019 18:33:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9abf9f: load statistics: Fix an unsigned integer underflow... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 9abf9fcf24fbb393a524f0288234c86fedb52a45 https://github.com/OpenSIPS/opensips/commit/9abf9fcf24fbb393a524f0288234c86fedb52a45 Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix an unsigned integer underflow bug This integer subtraction bug was leading to occasional, seamlessly random load1m and load10m statistic spikes, for example: 4 2 0 4 2 0 4 3 59 4 3 0 5 3 0 (cherry picked from commit 0e40f6d46a635eae7b9587d71c49041802d6cc4b) From noreply at github.com Thu May 30 21:33:56 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 May 2019 18:33:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 319b1b: load statistics: Fix a bunch of integer overflow bugs Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 319b1ba229dc25ec3ac903d3659a8e98dd85a0a2 https://github.com/OpenSIPS/opensips/commit/319b1ba229dc25ec3ac903d3659a8e98dd85a0a2 Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix a bunch of integer overflow bugs Most of the summed up load statistics were skewed by a factor of 10, due to a series of integer multiplications which was overflowing the 32-bit result holder. load, load1m, load10m before this patch (16 processes, 3 fully loaded): 12 99 9 12 99 9 12 101 10 13 103 10 13 104 10 12 106 10 ... and after: 12 9 0 11 10 1 12 10 1 13 10 1 Fixes #1650 (cherry picked from commit 7f14b6a30a79e6156ae732d1cbb8f1e3f102e3d3) From noreply at github.com Fri May 31 03:09:56 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 31 May 2019 00:09:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 96199d: load statistics: Fix an unsigned integer underflow... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 96199dd55fd687eae33f2bb66b3249384b80aa94 https://github.com/OpenSIPS/opensips/commit/96199dd55fd687eae33f2bb66b3249384b80aa94 Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix an unsigned integer underflow bug This integer subtraction bug was leading to occasional, seamlessly random load1m and load10m statistic spikes, for example: 4 2 0 4 2 0 4 3 59 4 3 0 5 3 0 (cherry picked from commit 0e40f6d46a635eae7b9587d71c49041802d6cc4b) (cherry picked from commit 9abf9fcf24fbb393a524f0288234c86fedb52a45) Commit: 60097425d0de465fbc3866b13146b851935e26e6 https://github.com/OpenSIPS/opensips/commit/60097425d0de465fbc3866b13146b851935e26e6 Author: Liviu Chircu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- load statistics: Fix a bunch of integer overflow bugs Most of the summed up load statistics were skewed by a factor of 10, due to a series of integer multiplications which was overflowing the 32-bit result holder. load, load1m, load10m before this patch (16 processes, 3 fully loaded): 12 99 9 12 99 9 12 101 10 13 103 10 13 104 10 12 106 10 ... and after: 12 9 0 11 10 1 12 10 1 13 10 1 Fixes #1650 (cherry picked from commit 7f14b6a30a79e6156ae732d1cbb8f1e3f102e3d3) (cherry picked from commit 319b1ba229dc25ec3ac903d3659a8e98dd85a0a2) Compare: https://github.com/OpenSIPS/opensips/compare/1b970d85e4af...60097425d0de From noreply at github.com Fri May 31 03:33:13 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 31 May 2019 00:33:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c6509: Revert "Added some auto-debug code for load stats." Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5c65090cf71f9ff9ff9a5248f03d6a0c93378f35 https://github.com/OpenSIPS/opensips/commit/5c65090cf71f9ff9ff9a5248f03d6a0c93378f35 Author: Bogdan-Andrei Iancu Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M pt_load.c Log Message: ----------- Revert "Added some auto-debug code for load stats." This reverts commit a2460ee74a4b3b43dd8be787931607cca2896e57. From noreply at github.com Fri May 31 08:24:53 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 May 2019 05:24:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 603a49: dialog: prevent crash when running in auto-CANCEL ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 603a493488d767757ee2122d8d03a555df883b71 https://github.com/OpenSIPS/opensips/commit/603a493488d767757ee2122d8d03a555df883b71 Author: Razvan Crainea Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: prevent crash when running in auto-CANCEL mode When auto-CANCEL mode is enabled, the node that receives the replicated CANCEL does not have a processing context, since it is running out of the script context. This patch prevents OpenSIPS from crashing. Reported by Pasan Meemaduma (pasanmdev on GitHub) in #1719 From noreply at github.com Fri May 31 08:25:12 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 May 2019 05:25:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 45815d: dialog: prevent crash when running in auto-CANCEL ... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 45815de1779d5843b6ae8b426fce49ff6695ed34 https://github.com/OpenSIPS/opensips/commit/45815de1779d5843b6ae8b426fce49ff6695ed34 Author: Razvan Crainea Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: prevent crash when running in auto-CANCEL mode When auto-CANCEL mode is enabled, the node that receives the replicated CANCEL does not have a processing context, since it is running out of the script context. This patch prevents OpenSIPS from crashing. Reported by Pasan Meemaduma (pasanmdev on GitHub) in #1719 (cherry picked from commit 603a493488d767757ee2122d8d03a555df883b71) From noreply at github.com Fri May 31 08:29:00 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 31 May 2019 05:29:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ddafbc: dialog: prevent crash when running in auto-CANCEL ... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ddafbc452a25cc17e8994ea08511e3dccfc98ece https://github.com/OpenSIPS/opensips/commit/ddafbc452a25cc17e8994ea08511e3dccfc98ece Author: Razvan Crainea Date: 2019-05-31 (Fri, 31 May 2019) Changed paths: M modules/dialog/dlg_handlers.c Log Message: ----------- dialog: prevent crash when running in auto-CANCEL mode When auto-CANCEL mode is enabled, the node that receives the replicated CANCEL does not have a processing context, since it is running out of the script context. This patch prevents OpenSIPS from crashing. Reported by Pasan Meemaduma (pasanmdev on GitHub) in #1719 (cherry picked from commit 603a493488d767757ee2122d8d03a555df883b71) From brett at nemeroff.com Wed May 29 14:48:40 2019 From: brett at nemeroff.com (Brett Nemeroff) Date: Wed, 29 May 2019 18:48:40 -0000 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] [Release] OpenSIPS 3.0.0 release becomes stable In-Reply-To: <6233559d-f0b3-f41d-91f5-9d0ad4c03b08@opensips.org> References: <6233559d-f0b3-f41d-91f5-9d0ad4c03b08@opensips.org> Message-ID: Great News Bogdan and Team! What an amazing accomplishment! Looking forward to seeing how OpenSIPs develops going forward from this milestone! -Brett On Wed, May 29, 2019 at 11:35 AM Bogdan-Andrei Iancu wrote: > Hi everyone ! > > One and half month of testing, reporting, debugging, fixing and > re-testing - what was the result? > > The OpenSIPS 3.0 stable version is now ready. > > It was a tremendous collective effort to make this important step from > beta to stable release - and this would not have been possible without > the help of you, of the OpenSIPS community - people involved in testing, > people contributing with fixes, people doing reports, people making > OpenSIPS even a greater software. > > Now, it is the time to sit, sip and relax :) > > and Enjoy 3.0! > > -- > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: