From noreply at github.com Fri Mar 1 04:16:29 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 01 Mar 2019 01:16:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2c7ab: Improve reporting for config file parsing errors Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b2c7ab2c7e8c57454ffab981b69ef1308ed27b2f https://github.com/OpenSIPS/opensips/commit/b2c7ab2c7e8c57454ffab981b69ef1308ed27b2f Author: Liviu Chircu Date: 2019-03-01 (Fri, 01 Mar 2019) Changed paths: M cfg.y M cfg_pp.c M cfg_pp.h Log Message: ----------- Improve reporting for config file parsing errors * print, if possible, two lines above the line which errored * highlight the incorrect syntax / tokens / etc. * print, if possible, two lines below the line which errored From noreply at github.com Fri Mar 1 06:08:58 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 01 Mar 2019 03:08:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fdefec: dialog: replicate profiles outside lock Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fdefec49d0415be9b499bb857e4b076d71729e78 https://github.com/OpenSIPS/opensips/commit/fdefec49d0415be9b499bb857e4b076d71729e78 Author: Razvan Crainea Date: 2019-03-01 (Fri, 01 Mar 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: replicate profiles outside lock From noreply at github.com Fri Mar 1 06:09:22 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 01 Mar 2019 03:09:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a93800: dialog: replicate profiles outside lock Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a9380095253455390db4952b3c99fe6853b54749 https://github.com/OpenSIPS/opensips/commit/a9380095253455390db4952b3c99fe6853b54749 Author: Razvan Crainea Date: 2019-03-01 (Fri, 01 Mar 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: replicate profiles outside lock (cherry picked from commit fdefec49d0415be9b499bb857e4b076d71729e78) From noreply at github.com Fri Mar 1 06:27:27 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 01 Mar 2019 03:27:27 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 637604: dialog: init ret value to skip warnings Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 637604dfd47056c7850e74b6582ba719ad09c34a https://github.com/OpenSIPS/opensips/commit/637604dfd47056c7850e74b6582ba719ad09c34a Author: Razvan Crainea Date: 2019-03-01 (Fri, 01 Mar 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: init ret value to skip warnings From noreply at github.com Fri Mar 1 11:48:03 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 01 Mar 2019 08:48:03 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b9c7b: Config Parser: Do not free filename buffers Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b9c7bf0f1c1db0df772861c7590a852ed2a873b https://github.com/OpenSIPS/opensips/commit/0b9c7bf0f1c1db0df772861c7590a852ed2a873b Author: Liviu Chircu Date: 2019-03-01 (Fri, 01 Mar 2019) Changed paths: M cfg_pp.c Log Message: ----------- Config Parser: Do not free filename buffers ... as they are referenced all over the place by the (struct action *) elements of the action tree. Kudos to Vlad Patrascu for catching this one! From noreply at github.com Sun Mar 3 15:10:50 2019 From: noreply at github.com (opensips-github) Date: Sun, 03 Mar 2019 12:10:50 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d7005: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 8d7005bca7b1db20340100d1cb665582e83fa91c https://github.com/OpenSIPS/opensips/commit/8d7005bca7b1db20340100d1cb665582e83fa91c Author: OpenSIPS Date: 2019-03-03 (Sun, 03 Mar 2019) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 3 15:32:51 2019 From: noreply at github.com (opensips-github) Date: Sun, 03 Mar 2019 12:32:51 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bbd6eb: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: bbd6eb84c7e022848fe511bd9727b1408f9acecf https://github.com/OpenSIPS/opensips/commit/bbd6eb84c7e022848fe511bd9727b1408f9acecf Author: OpenSIPS Date: 2019-03-03 (Sun, 03 Mar 2019) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 3 15:50:26 2019 From: noreply at github.com (opensips-github) Date: Sun, 03 Mar 2019 12:50:26 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ce0125: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ce0125cd759ec13641b505b5588a705f1051f958 https://github.com/OpenSIPS/opensips/commit/ce0125cd759ec13641b505b5588a705f1051f958 Author: OpenSIPS Date: 2019-03-03 (Sun, 03 Mar 2019) Changed paths: M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Mar 4 04:12:04 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 04 Mar 2019 09:12:04 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a8d485: Fix evaluation of variables in function parameters Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: a8d485aa085f9dae2d5a0f8417c47b61dc03e379 https://github.com/OpenSIPS/opensips/commit/a8d485aa085f9dae2d5a0f8417c47b61dc03e379 Author: Vlad Patrascu Date: 2019-03-04 (Mon, 04 Mar 2019) Changed paths: M action.c M route_struct.c M route_struct.h Log Message: ----------- Fix evaluation of variables in function parameters Commit: 11359e65dc7650b4c239b38a16328406f5610735 https://github.com/OpenSIPS/opensips/commit/11359e65dc7650b4c239b38a16328406f5610735 Author: Vlad Patrascu Date: 2019-03-04 (Mon, 04 Mar 2019) Changed paths: M route_struct.c M sr_module.h Log Message: ----------- Support regex fixups for script functions parameters Commit: 05f1789ade6ca2256ecd595464390f04f8cf27a1 https://github.com/OpenSIPS/opensips/commit/05f1789ade6ca2256ecd595464390f04f8cf27a1 Author: Vlad Patrascu Date: 2019-03-04 (Mon, 04 Mar 2019) Changed paths: M action.c M mod_fix.c M mod_fix.h M route.c M route_struct.c M route_struct.h Log Message: ----------- Move function parameter fixup code to mod_fix.c Compare: https://github.com/OpenSIPS/opensips/compare/a8661f7507f5...05f1789ade6c From razvan at opensips.org Mon Mar 4 09:38:12 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Mon, 4 Mar 2019 16:38:12 +0200 Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 2.4.5 minor release Message-ID: <49ffa512-f91e-b3a2-821c-fd350ca99a9d@opensips.org> Greetings! We are glad to announce you that we are planning a new minor release of OpenSIPS 2.4.5 for this Thursday, 7th of March 2019. If there are any outstanding issues that you are facing with OpenSIPS 2.4.4, please post them asap on our issue tracker. [1] https://github.com/OpenSIPS/opensips/issues Happy hacking! -- 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 Mar 5 03:03:43 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:03:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d72243: Fix the parsing of $rl_count name Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d7224382be37821026643e753de68c17b24307c3 https://github.com/OpenSIPS/opensips/commit/d7224382be37821026643e753de68c17b24307c3 Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix the parsing of $rl_count name From noreply at github.com Tue Mar 5 03:04:31 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:04:31 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c6440: Fix the parsing of $rl_count name Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0c64403e727925c0e3b11e3713a95fe1a12d530e https://github.com/OpenSIPS/opensips/commit/0c64403e727925c0e3b11e3713a95fe1a12d530e Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix the parsing of $rl_count name (cherry picked from commit d7224382be37821026643e753de68c17b24307c3) From noreply at github.com Tue Mar 5 03:04:58 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:04:58 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb901a: Fix the parsing of $rl_count name Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: bb901a900fd27eb7800918fe755f5056521ff1fe https://github.com/OpenSIPS/opensips/commit/bb901a900fd27eb7800918fe755f5056521ff1fe Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix the parsing of $rl_count name (cherry picked from commit d7224382be37821026643e753de68c17b24307c3) From noreply at github.com Tue Mar 5 03:12:37 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 08:12:37 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 732e3d: Fix cps counting for the SBT algorithm Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e https://github.com/OpenSIPS/opensips/commit/732e3d6157f92f22ab8ad83d1e87d8beb4aa838e Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix cps counting for the SBT algorithm Credits shared with @razvancrainea for sorting out the issue and reworking the alg implementation. From noreply at github.com Tue Mar 5 03:13:29 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:13:29 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7664d2: Fix cps counting for the SBT algorithm Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 7664d24d5cc812e47cde329d4c30649b78960152 https://github.com/OpenSIPS/opensips/commit/7664d24d5cc812e47cde329d4c30649b78960152 Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix cps counting for the SBT algorithm Credits shared with @razvancrainea for sorting out the issue and reworking the alg implementation. (cherry picked from commit 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e) From noreply at github.com Tue Mar 5 03:14:00 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:14:00 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5dfc23: Fix cps counting for the SBT algorithm Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 5dfc23aa854c53b5464bec7969f53f36648c59eb https://github.com/OpenSIPS/opensips/commit/5dfc23aa854c53b5464bec7969f53f36648c59eb Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Fix cps counting for the SBT algorithm Credits shared with @razvancrainea for sorting out the issue and reworking the alg implementation. (cherry picked from commit 732e3d6157f92f22ab8ad83d1e87d8beb4aa838e) From noreply at github.com Tue Mar 5 03:46:09 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:46:09 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 60024a: Remove some extensive logging (needed only for dev) Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 60024ad92931054104b88dce4a0ca04935cb76e5 https://github.com/OpenSIPS/opensips/commit/60024ad92931054104b88dce4a0ca04935cb76e5 Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Remove some extensive logging (needed only for dev) From noreply at github.com Tue Mar 5 03:47:20 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:47:20 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b1cc4: Remove some extensive logging (needed only for dev) Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0b1cc464aa37748623456315bd79f0e851393be9 https://github.com/OpenSIPS/opensips/commit/0b1cc464aa37748623456315bd79f0e851393be9 Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Remove some extensive logging (needed only for dev) (cherry picked from commit 60024ad92931054104b88dce4a0ca04935cb76e5) From noreply at github.com Tue Mar 5 03:47:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 05 Mar 2019 00:47:24 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ea5d85: Remove some extensive logging (needed only for dev) Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: ea5d858fdb68d7e223f4989f67e16a4c7ba38513 https://github.com/OpenSIPS/opensips/commit/ea5d858fdb68d7e223f4989f67e16a4c7ba38513 Author: Bogdan-Andrei Iancu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/ratelimit/ratelimit.c Log Message: ----------- Remove some extensive logging (needed only for dev) (cherry picked from commit 60024ad92931054104b88dce4a0ca04935cb76e5) From noreply at github.com Tue Mar 5 07:28:31 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 05 Mar 2019 04:28:31 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 48023a: clusterer: fix processes serialization when fetchi... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 48023acfe5a88cb36093c29596169eccb6ce38ee https://github.com/OpenSIPS/opensips/commit/48023acfe5a88cb36093c29596169eccb6ce38ee Author: Vlad Patrascu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/clusterer/sharing_tags.c Log Message: ----------- clusterer: fix processes serialization when fetching sharing tag state High contention on a RW lock aquired for switchable reading has the same downsides as direclty aquring it for writing. This commit improves this by switching from read to write in separate steps, with basic rw lock lock ops (start/stop read/write). From noreply at github.com Tue Mar 5 07:33:44 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 05 Mar 2019 04:33:44 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 67e346: dialog: fix processes serialization when fetching ... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 67e346d3de26a8d7973f310f2f289f71f5e4005b https://github.com/OpenSIPS/opensips/commit/67e346d3de26a8d7973f310f2f289f71f5e4005b Author: Vlad Patrascu Date: 2019-03-05 (Tue, 05 Mar 2019) Changed paths: M modules/dialog/dlg_replication.c Log Message: ----------- dialog: fix processes serialization when fetching sharing tag state High contention on a RW lock aquired for switchable reading has the same downsides as direclty aquring it for writing. This commit improves this by switching from read to write in separate steps, with basic rw lock ops (start/stop read/write). From noreply at github.com Wed Mar 6 06:02:34 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 11:02:34 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e1c48c: Allow IPv6 address in hostname Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e1c48c2f9c23bcdec4916107de22b81df12e6132 https://github.com/OpenSIPS/opensips/commit/e1c48c2f9c23bcdec4916107de22b81df12e6132 Author: Alexey Vasilyev Date: 2019-01-24 (Thu, 24 Jan 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- Allow IPv6 address in hostname Commit: 873bd820cb1770b048435dc5bb7a7b99a156539e https://github.com/OpenSIPS/opensips/commit/873bd820cb1770b048435dc5bb7a7b99a156539e Author: Răzvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- Merge pull request #1594 from vasilevalex/validate_ipv6 Allow IPv6 address in hostname Compare: https://github.com/OpenSIPS/opensips/compare/48023acfe5a8...873bd820cb17 From noreply at github.com Wed Mar 6 06:04:57 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 03:04:57 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 87cc07: Merge pull request #1594 from vasilevalex/validate... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 87cc072ea4a584f8504ea6a08c4a41b4b6de8e5a https://github.com/OpenSIPS/opensips/commit/87cc072ea4a584f8504ea6a08c4a41b4b6de8e5a Author: Răzvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- Merge pull request #1594 from vasilevalex/validate_ipv6 Allow IPv6 address in hostname (cherry picked from commit 873bd820cb1770b048435dc5bb7a7b99a156539e) From noreply at github.com Wed Mar 6 06:05:20 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 03:05:20 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f52064: Merge pull request #1594 from vasilevalex/validate... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: f52064dea1556b540cc3863417959f20f0058df0 https://github.com/OpenSIPS/opensips/commit/f52064dea1556b540cc3863417959f20f0058df0 Author: Răzvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/sipmsgops/sipmsgops.c Log Message: ----------- Merge pull request #1594 from vasilevalex/validate_ipv6 Allow IPv6 address in hostname (cherry picked from commit 873bd820cb1770b048435dc5bb7a7b99a156539e) From noreply at github.com Wed Mar 6 07:14:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 04:14:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9c4bb3: dialog: proper parsing of serialized dlg vals Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9c4bb36bcb7938409e317b2227e917150bb24855 https://github.com/OpenSIPS/opensips/commit/9c4bb36bcb7938409e317b2227e917150bb24855 Author: Razvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: proper parsing of serialized dlg vals Before this fix, if a value was having more than two "legitimate" `\` (ascii 92) chars inside the value, OpenSIPS would have crashed. Credits go to 46Labs for reporting! From noreply at github.com Wed Mar 6 07:14:38 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 04:14:38 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a12759: dialog: proper parsing of serialized dlg vals Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a127598bb6a5db2d56a1a917533a9011634f059c https://github.com/OpenSIPS/opensips/commit/a127598bb6a5db2d56a1a917533a9011634f059c Author: Razvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: proper parsing of serialized dlg vals Before this fix, if a value was having more than two "legitimate" `\` (ascii 92) chars inside the value, OpenSIPS would have crashed. Credits go to 46Labs for reporting! (cherry picked from commit 9c4bb36bcb7938409e317b2227e917150bb24855) From noreply at github.com Wed Mar 6 07:15:13 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 06 Mar 2019 04:15:13 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e8e837: dialog: proper parsing of serialized dlg vals Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: e8e83759594f6a80e65d3c5b992c7b5f74191575 https://github.com/OpenSIPS/opensips/commit/e8e83759594f6a80e65d3c5b992c7b5f74191575 Author: Razvan Crainea Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/dialog/dlg_db_handler.c Log Message: ----------- dialog: proper parsing of serialized dlg vals Before this fix, if a value was having more than two "legitimate" `\` (ascii 92) chars inside the value, OpenSIPS would have crashed. Credits go to 46Labs for reporting! (cherry picked from commit 9c4bb36bcb7938409e317b2227e917150bb24855) From noreply at github.com Wed Mar 6 12:24:02 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 06 Mar 2019 09:24:02 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f5525c: Preprocessor: Detect/Report edge case with no output Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f5525cd4145adf39c815fff57e5abbd33beffc9d https://github.com/OpenSIPS/opensips/commit/f5525cd4145adf39c815fff57e5abbd33beffc9d Author: Liviu Chircu Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M cfg_pp.c Log Message: ----------- Preprocessor: Detect/Report edge case with no output Credits to Ovidiu Sas for helping troubleshoot this issue! From noreply at github.com Wed Mar 6 12:25:23 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 06 Mar 2019 17:25:23 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 00345f: Fix bad datatype in previous commit Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 00345fffcf02a8b2d31691564e5d6e321f2a0250 https://github.com/OpenSIPS/opensips/commit/00345fffcf02a8b2d31691564e5d6e321f2a0250 Author: Liviu Chircu Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M cfg_pp.c Log Message: ----------- Fix bad datatype in previous commit From noreply at github.com Wed Mar 6 12:34:53 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 06 Mar 2019 09:34:53 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e14a8: clusterer: Fix missing lock_release() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1e14a83cbeb0f7f8e814037601ad65a693c7e52f https://github.com/OpenSIPS/opensips/commit/1e14a83cbeb0f7f8e814037601ad65a693c7e52f Author: Liviu Chircu Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: Fix missing lock_release() From noreply at github.com Wed Mar 6 12:35:16 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 06 Mar 2019 17:35:16 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d25602: clusterer: Fix missing lock_release() Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d25602ba46bf87dc73db042b49c2058c45a4d022 https://github.com/OpenSIPS/opensips/commit/d25602ba46bf87dc73db042b49c2058c45a4d022 Author: Liviu Chircu Date: 2019-03-06 (Wed, 06 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: Fix missing lock_release() (cherry picked from commit 1e14a83cbeb0f7f8e814037601ad65a693c7e52f) From bogdan at opensips.org Thu Mar 7 05:31:17 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 7 Mar 2019 12:31:17 +0200 Subject: [OpenSIPS-Devel] OpenSIPS Crashes In-Reply-To: <5F2D0C50-48D1-48B6-AFEE-4FBBB87D0CD3@genesys.com> References: <5F2D0C50-48D1-48B6-AFEE-4FBBB87D0CD3@genesys.com> Message-ID: <3c4607d5-20be-374b-4606-2b19359c7984@opensips.org> Hi Ben, Sorry, missed your emails - could you re-post the BTs (or send them as attachments offlist) ? Thanks, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/26/2019 12:27 AM, Ben Newlin wrote: > > Hello, > > Was anything useful able to be extracted from these crashes? I think > the Pastebin links have expired by now, but I can re-post the > information if it is desired. > > Ben Newlin > > *From: *Devel on behalf of Ben > Newlin > *Reply-To: *OpenSIPS devel mailling list > *Date: *Tuesday, February 5, 2019 at 10:58 AM > *To: *OpenSIPS devel mailling list > *Subject: *[OpenSIPS-Devel] OpenSIPS Crashes > > Hello, > > We have experienced several crashes of OpenSIPS recently. I have > collected all the backtraces and version information. Please let me > know if you need more info. > > Crash 1: > > https://pastebin.com/KBzDW5eT > > https://pastebin.com/GVW7Qe73 > > Crash 2: > > https://pastebin.com/Ci0mESiD > > https://pastebin.com/xhd4GG09 > > Crash 3: > > https://pastebin.com/TMAKRAPA > > https://pastebin.com/qhBTpNUV > > $ opensips -V > > version: opensips 2.4.4 (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: 52ff74af8 > > main.c compiled on 14:26:40 Jan 28 2019 with gcc 7 > > 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 bogdan at opensips.org Thu Mar 7 05:37:17 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 7 Mar 2019 12:37:17 +0200 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> Message-ID: <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> Hi Adam, Sorry for the late reply. How exactly are you trying to retrieve the dialog info (during the TERMINATED event) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/20/2019 04:55 PM, Adam Overbeeke wrote: > > Hello all, > > We are trying to use the dialog event routes and ran into some > unexpected behavior. The issue is that we cannot retrieve the dialog > information when the dialog state transitions to ENDED. We believe the > dialog have been destroyed or removed prior to firing the event > change. Is it possible to change this behavior in the synchronous > case? We understand design decision for asynchronous handling but > believe it should be possible to retrieve the information in the > synchronous case. > > If our assumptions are incorrect, we are open to ideas on how we could > get the dialog information during the ENDED state. We are considering > using a local cache in the meantime, but that will duplicate a lot of > information in our system. My hopes are that we are just missing some > function call. We appreciate your help/response. > > Thanks, > > Adam > > Adam Overbeeke > > Lead Voice Network Engineer, PureCloud > > cid:image001.png at 01D2DB78.7C3D8250 > > cid:image002.png at 01D2DB78.7C3D8250 > > cid:image003.png at 01D2DB78.7C3D8250 > cid:image004.png at 01D2DB78.7C3D8250 > cid:image005.png at 01D2DB78.7C3D8250 > cid:image006.png at 01D2DB78.7C3D8250 > cid:image007.png at 01D2DB78.7C3D8250 > cid:image008.png at 01D2DB78.7C3D8250 > > > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1242 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7162 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2054 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2041 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2044 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1920 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2057 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2071 bytes Desc: not available URL: From noreply at github.com Thu Mar 7 07:17:45 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Mar 2019 04:17:45 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 732038: Fixed access to acc vars in failure route during i... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 732038b6decf0809f52ef39ed97d7f025dca416e https://github.com/OpenSIPS/opensips/commit/732038b6decf0809f52ef39ed97d7f025dca416e Author: Bogdan-Andrei Iancu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/acc/acc_logic.c M modules/acc/acc_logic.h Log Message: ----------- Fixed access to acc vars in failure route during internally generated final replies(408) Register the internal TM callback for FAILURE all the time, as it will be responsible for populating the acc context in Transaction when handling an internally generated final reply (408). Credits for reporting and identifing the issue to @rrb3942 Closes #1602 From noreply at github.com Thu Mar 7 07:22:43 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Mar 2019 04:22:43 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 255060: Fixed access to acc vars in failure route during i... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2550609ab922622e3a34bb161b95254ca6c1d9cd https://github.com/OpenSIPS/opensips/commit/2550609ab922622e3a34bb161b95254ca6c1d9cd Author: Bogdan-Andrei Iancu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/acc/acc_logic.c M modules/acc/acc_logic.h Log Message: ----------- Fixed access to acc vars in failure route during internally generated final replies(408) Register the internal TM callback for FAILURE all the time, as it will be responsible for populating the acc context in Transaction when handling an internally generated final reply (408). Credits for reporting and identifing the issue to @rrb3942 Closes #1602 (cherry picked from commit 732038b6decf0809f52ef39ed97d7f025dca416e) From noreply at github.com Thu Mar 7 08:02:52 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 07 Mar 2019 05:02:52 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e53327: Fixed access to acc vars in failure route during i... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: e53327ccd3db31e5b67439a0b75a080c60040680 https://github.com/OpenSIPS/opensips/commit/e53327ccd3db31e5b67439a0b75a080c60040680 Author: Bogdan-Andrei Iancu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/acc/acc_logic.c M modules/acc/acc_logic.h Log Message: ----------- Fixed access to acc vars in failure route during internally generated final replies(408) Register the internal TM callback for FAILURE all the time, as it will be responsible for populating the acc context in Transaction when handling an internally generated final reply (408). Credits for reporting and identifing the issue to @rrb3942 Closes #1602 (cherry picked from commit 732038b6decf0809f52ef39ed97d7f025dca416e) From noreply at github.com Thu Mar 7 08:43:08 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 07 Mar 2019 05:43:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5c8937: mid_registrar: Do not ignore "advertised address" Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5c893731666ff374e9cc3183d3358f195dd7087d https://github.com/OpenSIPS/opensips/commit/5c893731666ff374e9cc3183d3358f195dd7087d Author: Liviu Chircu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/mid_registrar/save.c M msg_translator.h Log Message: ----------- mid_registrar: Do not ignore "advertised address" Whenever the send socket address is overridden, in decreasing precedence order, through either: * listen = AS * set_advertised_address() script function * advertised_address = global parameter ... the mid-registrar will now properly take this into account and include the advertised address in all REGISTER Contacts header fields it relays. Many thanks to Italo Rossi (@italorossi) for reporting this issue. Fixes #1619 From noreply at github.com Thu Mar 7 08:45:47 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 07 Mar 2019 05:45:47 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 303b00: mid_registrar: Do not ignore "advertised address" Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 303b00dec93051c1cd24f2bdb136fe32176d6bbd https://github.com/OpenSIPS/opensips/commit/303b00dec93051c1cd24f2bdb136fe32176d6bbd Author: Liviu Chircu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/mid_registrar/save.c M msg_translator.h Log Message: ----------- mid_registrar: Do not ignore "advertised address" Whenever the send socket address is overridden, in decreasing precedence order, through either: * listen = AS * set_advertised_address() script function * advertised_address = global parameter ... the mid-registrar will now properly take this into account and include the advertised address in all REGISTER Contacts header fields it relays. Many thanks to Italo Rossi (@italorossi) for reporting this issue. Fixes #1619 (cherry picked from commit 5c893731666ff374e9cc3183d3358f195dd7087d) From noreply at github.com Thu Mar 7 08:54:08 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 07 Mar 2019 05:54:08 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d8ad65: mid_registrar: Fix unnecessary error log Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d8ad6551c0cfbebc18995cfc79e40a7f38b0ea59 https://github.com/OpenSIPS/opensips/commit/d8ad6551c0cfbebc18995cfc79e40a7f38b0ea59 Author: Liviu Chircu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/mid_registrar/lookup.c Log Message: ----------- mid_registrar: Fix unnecessary error log Thanks to @StellaTeam for the report! Fixes #1620 From noreply at github.com Thu Mar 7 08:54:21 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 07 Mar 2019 05:54:21 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b92203: mid_registrar: Fix unnecessary error log Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b92203da3a50b65109348f77e47bf4a01a39be0a https://github.com/OpenSIPS/opensips/commit/b92203da3a50b65109348f77e47bf4a01a39be0a Author: Liviu Chircu Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/mid_registrar/lookup.c Log Message: ----------- mid_registrar: Fix unnecessary error log Thanks to @StellaTeam for the report! Fixes #1620 (cherry picked from commit d8ad6551c0cfbebc18995cfc79e40a7f38b0ea59) From noreply at github.com Thu Mar 7 09:41:51 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 14:41:51 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dc422e: enhance which to say what parameters can be used Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dc422ea661419814f077ee92010928711c790e1b https://github.com/OpenSIPS/opensips/commit/dc422ea661419814f077ee92010928711c790e1b Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M mi/mi_core.c Log Message: ----------- enhance which to say what parameters can be used From noreply at github.com Thu Mar 7 09:53:50 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 06:53:50 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6f181: b2b_entities: don't unref UNDEFINED tm Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e6f181e26129cf1ad64071723c0c2456bac60bb7 https://github.com/OpenSIPS/opensips/commit/e6f181e26129cf1ad64071723c0c2456bac60bb7 Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: don't unref UNDEFINED tm Close #1629 From noreply at github.com Thu Mar 7 09:54:11 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 06:54:11 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0d7521: b2b_entities: don't unref UNDEFINED tm Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0d752142dd0f18bac645d7d835041ace659dd199 https://github.com/OpenSIPS/opensips/commit/0d752142dd0f18bac645d7d835041ace659dd199 Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: don't unref UNDEFINED tm Close #1629 (cherry picked from commit e6f181e26129cf1ad64071723c0c2456bac60bb7) From noreply at github.com Thu Mar 7 09:54:27 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 06:54:27 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 51652f: b2b_entities: don't unref UNDEFINED tm Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 51652f6fc9d3a12de0412dcc2b07a02b238e9d2c https://github.com/OpenSIPS/opensips/commit/51652f6fc9d3a12de0412dcc2b07a02b238e9d2c Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: don't unref UNDEFINED tm Close #1629 (cherry picked from commit e6f181e26129cf1ad64071723c0c2456bac60bb7) From noreply at github.com Thu Mar 7 10:01:33 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 07:01:33 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b9eaf7: Bump version to 2.4.5 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b9eaf7dd2911a9533131010805286a026eaf5569 https://github.com/OpenSIPS/opensips/commit/b9eaf7dd2911a9533131010805286a026eaf5569 Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M Makefile.defs M packaging/debian/changelog M packaging/freebsd/Makefile R packaging/gentoo/opensips-2.4.4.ebuild A packaging/gentoo/opensips-2.4.5.ebuild M packaging/netbsd/Makefile M packaging/openbsd/Makefile M packaging/redhat_fedora/opensips.spec M packaging/solaris/base-pkginfo M packaging/solaris/berkeley-pkginfo M packaging/solaris/carrierroute-pkginfo M packaging/solaris/identity-pkginfo M packaging/solaris/ldap-pkginfo M packaging/solaris/mmgeoip-pkginfo M packaging/solaris/mysql-pkginfo M packaging/solaris/perl-pkginfo M packaging/solaris/pgsql-pkginfo M packaging/solaris/regex-pkginfo M packaging/solaris/snmp-pkginfo M packaging/solaris/tls-pkginfo M packaging/solaris/xmlrpc-pkginfo Log Message: ----------- Bump version to 2.4.5 Commit: d025b4f61ab932fbcddb31d971bad9a1c553ff22 https://github.com/OpenSIPS/opensips/commit/d025b4f61ab932fbcddb31d971bad9a1c553ff22 Author: Razvan Crainea Date: 2019-03-07 (Thu, 07 Mar 2019) Changed paths: M ChangeLog Log Message: ----------- Update ChangeLog for 2.4.5 Compare: https://github.com/OpenSIPS/opensips/compare/0d752142dd0f...d025b4f61ab9 From noreply at github.com Thu Mar 7 10:01:47 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 07 Mar 2019 07:01:47 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: Branch: refs/tags/2.4.5 Home: https://github.com/OpenSIPS/opensips From bogdan at opensips.org Thu Mar 7 10:10:02 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 7 Mar 2019 17:10:02 +0200 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> Message-ID: <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> HI Adam, When the Terminated event is triggered, the dialog is already in state 5/Terminated and it should still be foundable - is the termination of the dialog triggered by a BYE request or ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/07/2019 04:49 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > We are trying to access the dialog information during the event route. > The function that we are using is get_dialog_vals.During my testing, I > was able to get the expected parameters that was passed from the event > route, but the dialog variables was returning nothing. This happens > only when the state transitions to ENDED, all other states have the > information. This makes me believe that the dialog was destroy. > i.e. in this example: variableOne and variableTwo are dialog variables. > > event_route[E_DLG_STATE_CHANGED] { > > fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); > > fetch_event_params("hash_id=$avp(eparm_hash_id)"); > > fetch_event_params("callid=$avp(eparm_callid)"); > > fetch_event_params("from_tag=$avp(eparm_from_tag)"); > > fetch_event_params("to_tag=$avp(eparm_to_tag)"); > > fetch_event_params("old_state=$avp(eparm_old_state)"); > > fetch_event_params("new_state=$avp(eparm_new_state)"); > > if ( > get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) { > > $var(i) = 0; > > while ( $(avp(d_names)[$var(i)]) != NULL ) { > > $var(k) = $(avp(d_names)[$var(i)]); > > $var(v) = $(avp(d_vals)[$var(i)]); > > switch($var(k)) { > > case "variableOne": > > #// log statement here > > break; > > case "variableTwo": > > #// log statement here > > break; > > } > > $var(i) = $var(i) + 1; > > } > > } > > } > > ^ when the state is ENDED, get_dialog_vals returns nothing back for > the dialog’s callid. > Hope it helps, > Adam > > *From: *Bogdan-Andrei Iancu > *Date: *Thursday, March 7, 2019 at 5:37 AM > *To: *OpenSIPS devel mailling list , Adam > Overbeeke > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > Hi Adam, > > Sorry for the late reply. > > How exactly are you trying to retrieve the dialog info (during the > TERMINATED event) ? > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 02/20/2019 04:55 PM, Adam Overbeeke wrote: > > Hello all, > > We are trying to use the dialog event routes and ran into some > unexpected behavior. The issue is that we cannot retrieve the > dialog information when the dialog state transitions to ENDED. We > believe the dialog have been destroyed or removed prior to firing > the event change. Is it possible to change this behavior in the > synchronous case? We understand design decision for asynchronous > handling but believe it should be possible to retrieve the > information in the synchronous case. > > If our assumptions are incorrect, we are open to ideas on how we > could get the dialog information during the ENDED state. We are > considering using a local cache in the meantime, but that will > duplicate a lot of information in our system. My hopes are that we > are just missing some function call. We appreciate your > help/response. > > Thanks, > > Adam > > Adam Overbeeke > > Lead Voice Network Engineer, PureCloud > > cid:image001.png at 01D2DB78.7C3D8250 > > cid:image002.png at 01D2DB78.7C3D8250 > > cid:image003.png at 01D2DB78.7C3D8250 > cid:image004.png at 01D2DB78.7C3D8250 > cid:image005.png at 01D2DB78.7C3D8250 > cid:image006.png at 01D2DB78.7C3D8250 > cid:image007.png at 01D2DB78.7C3D8250 > cid:image008.png at 01D2DB78.7C3D8250 > > > > > > _______________________________________________ > > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1243 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7163 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2055 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2042 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2045 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1921 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2058 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2072 bytes Desc: not available URL: From Adam.Overbeeke at genesys.com Thu Mar 7 09:49:31 2019 From: Adam.Overbeeke at genesys.com (Adam Overbeeke) Date: Thu, 7 Mar 2019 14:49:31 +0000 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> Message-ID: <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> Hi Bogdan, We are trying to access the dialog information during the event route. The function that we are using is get_dialog_vals. During my testing, I was able to get the expected parameters that was passed from the event route, but the dialog variables was returning nothing. This happens only when the state transitions to ENDED, all other states have the information. This makes me believe that the dialog was destroy. i.e. in this example: variableOne and variableTwo are dialog variables. event_route[E_DLG_STATE_CHANGED] { fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); fetch_event_params("hash_id=$avp(eparm_hash_id)"); fetch_event_params("callid=$avp(eparm_callid)"); fetch_event_params("from_tag=$avp(eparm_from_tag)"); fetch_event_params("to_tag=$avp(eparm_to_tag)"); fetch_event_params("old_state=$avp(eparm_old_state)"); fetch_event_params("new_state=$avp(eparm_new_state)"); if ( get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) { $var(i) = 0; while ( $(avp(d_names)[$var(i)]) != NULL ) { $var(k) = $(avp(d_names)[$var(i)]); $var(v) = $(avp(d_vals)[$var(i)]); switch($var(k)) { case "variableOne": #// log statement here break; case "variableTwo": #// log statement here break; } $var(i) = $var(i) + 1; } } } ^ when the state is ENDED, get_dialog_vals returns nothing back for the dialog’s callid. Hope it helps, Adam From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 5:37 AM To: OpenSIPS devel mailling list , Adam Overbeeke Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Sorry for the late reply. How exactly are you trying to retrieve the dialog info (during the TERMINATED event) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/20/2019 04:55 PM, Adam Overbeeke wrote: Hello all, We are trying to use the dialog event routes and ran into some unexpected behavior. The issue is that we cannot retrieve the dialog information when the dialog state transitions to ENDED. We believe the dialog have been destroyed or removed prior to firing the event change. Is it possible to change this behavior in the synchronous case? We understand design decision for asynchronous handling but believe it should be possible to retrieve the information in the synchronous case. If our assumptions are incorrect, we are open to ideas on how we could get the dialog information during the ENDED state. We are considering using a local cache in the meantime, but that will duplicate a lot of information in our system. My hopes are that we are just missing some function call. We appreciate your help/response. Thanks, Adam Adam Overbeeke Lead Voice Network Engineer, PureCloud [cid:image001.png at 01D2DB78.7C3D8250] [cid:image002.png at 01D2DB78.7C3D8250] [cid:image003.png at 01D2DB78.7C3D8250][cid:image004.png at 01D2DB78.7C3D8250][cid:image005.png at 01D2DB78.7C3D8250][cid:image006.png at 01D2DB78.7C3D8250][cid:image007.png at 01D2DB78.7C3D8250][cid:image008.png at 01D2DB78.7C3D8250] _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1243 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7163 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2055 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2042 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2045 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1921 bytes Desc: image006.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2058 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2072 bytes Desc: image008.png URL: From razvan at opensips.org Thu Mar 7 10:12:10 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Thu, 7 Mar 2019 17:12:10 +0200 Subject: [OpenSIPS-Devel] [RELEASE] OpenSIPS 2.4.5 minor release In-Reply-To: <49ffa512-f91e-b3a2-821c-fd350ca99a9d@opensips.org> References: <49ffa512-f91e-b3a2-821c-fd350ca99a9d@opensips.org> Message-ID: <8297bd9c-a1b4-476d-e4aa-d265b3becad7@opensips.org> Hello to you all! I am happy to inform you that we've just released OpenSIPS 2.4.5, the latest release of the OpenSIPS 2.4 stable branch. We strongly encourage you to update your setup to the latest release as soon as possible, to make sure you get all the bug fixes we've done for this version. Happy hacking! On 3/4/19 4:38 PM, Răzvan Crainea wrote: > Greetings! > > We are glad to announce you that we are planning a new minor release of > OpenSIPS 2.4.5 for this Thursday, 7th of March 2019. > If there are any outstanding issues that you are facing with OpenSIPS > 2.4.4, please post them asap on our issue tracker. > > [1] https://github.com/OpenSIPS/opensips/issues > > Happy hacking! -- 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 bogdan at opensips.org Thu Mar 7 12:20:05 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 7 Mar 2019 19:20:05 +0200 Subject: [OpenSIPS-Devel] [Blog] Achieving service redundancy in two steps with unified clustering in OpenSIPS 3.0 Message-ID: A hot backup means redundancy, redundancy means more uptime, more uptime means a better SLA, a better SLA means happier customers and more money. Building redundancy is a must when moving your service into production. How can you achieve this with OpenSIPS 3.0? Well, thanks to the new unified clustering support, you are only 2 steps away from getting it done. https://blog.opensips.org/2019/03/07/achieving-service-redundancy-in-two-steps-with-unified-clustering-in-opensips-3-0/ Enjoy it, -- 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 Fri Mar 8 04:14:22 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 08 Mar 2019 01:14:22 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a256fd: mi: indicate integer error Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a256fdf9189e1dd34b01765fb3bd91042f71ccd4 https://github.com/OpenSIPS/opensips/commit/a256fdf9189e1dd34b01765fb3bd91042f71ccd4 Author: Razvan Crainea Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M mi/item.c Log Message: ----------- mi: indicate integer error From noreply at github.com Fri Mar 8 04:15:15 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 08 Mar 2019 01:15:15 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] aa276b: registrar: Clarify the 'm' lookup() flag Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: aa276bff046246f3d5fba8ec8161968119f7c44d https://github.com/OpenSIPS/opensips/commit/aa276bff046246f3d5fba8ec8161968119f7c44d Author: Liviu Chircu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/registrar/doc/registrar_admin.xml Log Message: ----------- registrar: Clarify the 'm' lookup() flag From noreply at github.com Fri Mar 8 04:15:29 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 08 Mar 2019 09:15:29 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5cd2af: registrar: Clarify the 'm' lookup() flag Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 5cd2afae6ec1383b83b3a493cc1c7395481a4f02 https://github.com/OpenSIPS/opensips/commit/5cd2afae6ec1383b83b3a493cc1c7395481a4f02 Author: Liviu Chircu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/registrar/doc/registrar_admin.xml Log Message: ----------- registrar: Clarify the 'm' lookup() flag (cherry picked from commit aa276bff046246f3d5fba8ec8161968119f7c44d) From noreply at github.com Fri Mar 8 04:16:23 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 08 Mar 2019 01:16:23 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 01247d: registrar: Clarify the 'm' lookup() flag Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 01247d4d913023975b49716277b519d19a50c551 https://github.com/OpenSIPS/opensips/commit/01247d4d913023975b49716277b519d19a50c551 Author: Liviu Chircu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M modules/registrar/doc/registrar_admin.xml Log Message: ----------- registrar: Clarify the 'm' lookup() flag (cherry picked from commit aa276bff046246f3d5fba8ec8161968119f7c44d) From noreply at github.com Fri Mar 8 14:21:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 08 Mar 2019 11:21:24 -0800 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b2640e: Renamed xlog_default_level to xlog_print_level Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b2640e64ae4299e9da59f5c6f92f78424e9d8b17 https://github.com/OpenSIPS/opensips/commit/b2640e64ae4299e9da59f5c6f92f78424e9d8b17 Author: Bogdan-Andrei Iancu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M cfg.lex M cfg.y M xlog.c M xlog.h Log Message: ----------- Renamed xlog_default_level to xlog_print_level Commit: 87893b6dfb6694ccfdca463acf5d74d1c46a053e https://github.com/OpenSIPS/opensips/commit/87893b6dfb6694ccfdca463acf5d74d1c46a053e Author: Bogdan-Andrei Iancu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M cfg.lex M cfg.y M pvar.c M xlog.c M xlog.h Log Message: ----------- Added "xlog_level" global parameter This acts as log_level, but for the logs generated via xlog. This gives you separately control the verbosity level for the xlog() calls. Added possibility to globally change the xlog_level during runtime (to be hooked later into an MI function) or to change the value per process (to be hooked later to the $xlog_level variable) Commit: 9d98ffae3a5db6ff6fcc24f511f7328e0e02094f https://github.com/OpenSIPS/opensips/commit/9d98ffae3a5db6ff6fcc24f511f7328e0e02094f Author: Bogdan-Andrei Iancu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M pvar.c Log Message: ----------- Refurbish $xlog_level to set/get the per proc xlog_level Commit: 42d8f2cea5ff38692c14cb4efd94aaaab3978e6f https://github.com/OpenSIPS/opensips/commit/42d8f2cea5ff38692c14cb4efd94aaaab3978e6f Author: Bogdan-Andrei Iancu Date: 2019-03-08 (Fri, 08 Mar 2019) Changed paths: M mi/mi_core.c Log Message: ----------- Added "xlog_level" MI cmd Used to change during runtime the xlog level (globally) Compare: https://github.com/OpenSIPS/opensips/compare/aa276bff0462...42d8f2cea5ff From Ben.Newlin at genesys.com Sun Mar 10 10:15:12 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Sun, 10 Mar 2019 14:15:12 +0000 Subject: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Message-ID: Hello, We are implemented some more detailed statistics capturing for our proxies which includes transaction statistics and requires that we track all transactions through the system. Implementing this with dialogs was very straightforward, thanks to the E_DLG_STATE_CHANGED events. I have opened a Feature Request [1] for similar functionality in the TM module if it is possible. In the meantime, I have created routes to track the transactions but I am running into an issue with the CANCEL transaction. It appears that the replies to a CANCEL will only ever trigger the global onreply_route. When I arm a different transaction reply route using t_on_reply it is never called. Since the transaction is not available in the global reply route, I cannot use it for my purposes. Is it intentional/expected that t_on_reply cannot be used with a CANCEL transaction? If so, are there other methods that also do not work? [1] - https://github.com/OpenSIPS/opensips/issues/1630 Ben Newlin -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Sun Mar 10 16:10:48 2019 From: noreply at github.com (opensips-github) Date: Sun, 10 Mar 2019 13:10:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 95daac: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 95daaca373303c6310677f6a88024a8b935d13ce https://github.com/OpenSIPS/opensips/commit/95daaca373303c6310677f6a88024a8b935d13ce Author: OpenSIPS Date: 2019-03-10 (Sun, 10 Mar 2019) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 10 16:33:14 2019 From: noreply at github.com (opensips-github) Date: Sun, 10 Mar 2019 13:33:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 431c8f: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 431c8f82f217d1434f6b4e0bf1f5b6fcad6a8ca5 https://github.com/OpenSIPS/opensips/commit/431c8f82f217d1434f6b4e0bf1f5b6fcad6a8ca5 Author: OpenSIPS Date: 2019-03-10 (Sun, 10 Mar 2019) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 10 16:51:37 2019 From: noreply at github.com (opensips-github) Date: Sun, 10 Mar 2019 13:51:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f1a164: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f1a164402fa24caa4a065366cdb5a384b43559fb https://github.com/OpenSIPS/opensips/commit/f1a164402fa24caa4a065366cdb5a384b43559fb Author: OpenSIPS Date: 2019-03-10 (Sun, 10 Mar 2019) Changed paths: M modules/acc/README M modules/acc/doc/contributors.xml M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/registrar/README M modules/registrar/doc/contributors.xml M modules/sipmsgops/README M modules/sipmsgops/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Mar 11 03:41:37 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Mar 2019 00:41:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cded19: Improve log Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: cded19c5db9aeca94e5863c475442de5aa2bf561 https://github.com/OpenSIPS/opensips/commit/cded19c5db9aeca94e5863c475442de5aa2bf561 Author: Bogdan-Andrei Iancu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M net/net_tcp.c Log Message: ----------- Improve log From Adam.Overbeeke at genesys.com Fri Mar 8 09:15:36 2019 From: Adam.Overbeeke at genesys.com (Adam Overbeeke) Date: Fri, 8 Mar 2019 14:15:36 +0000 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> Message-ID: <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> Hi Bogdan, I hope this answers your question. I’ve reconstructed the scenario and confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog variables are not available or return NULL. The trigger for the state change was a BYE. Let me know if you want me to try any thing else. I’ve provided some log output below. The first log is a state transistion from 3 to 4… You can see the presence of my variables dialog_org and dialog_dir. Please refer to the code I posted before. Thanks Adam STATE 3 --> 4 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, "new_state": 4 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", "dialog_dir": "Inbound" } } STATE 4 --> 5 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, "new_state": 5 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED" } From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 10:10 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. HI Adam, When the Terminated event is triggered, the dialog is already in state 5/Terminated and it should still be foundable - is the termination of the dialog triggered by a BYE request or ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/07/2019 04:49 PM, Adam Overbeeke wrote: Hi Bogdan, We are trying to access the dialog information during the event route. The function that we are using is get_dialog_vals. During my testing, I was able to get the expected parameters that was passed from the event route, but the dialog variables was returning nothing. This happens only when the state transitions to ENDED, all other states have the information. This makes me believe that the dialog was destroy. i.e. in this example: variableOne and variableTwo are dialog variables. event_route[E_DLG_STATE_CHANGED] { fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); fetch_event_params("hash_id=$avp(eparm_hash_id)"); fetch_event_params("callid=$avp(eparm_callid)"); fetch_event_params("from_tag=$avp(eparm_from_tag)"); fetch_event_params("to_tag=$avp(eparm_to_tag)"); fetch_event_params("old_state=$avp(eparm_old_state)"); fetch_event_params("new_state=$avp(eparm_new_state)"); if ( get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) { $var(i) = 0; while ( $(avp(d_names)[$var(i)]) != NULL ) { $var(k) = $(avp(d_names)[$var(i)]); $var(v) = $(avp(d_vals)[$var(i)]); switch($var(k)) { case "variableOne": #// log statement here break; case "variableTwo": #// log statement here break; } $var(i) = $var(i) + 1; } } } ^ when the state is ENDED, get_dialog_vals returns nothing back for the dialog’s callid. Hope it helps, Adam From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 5:37 AM To: OpenSIPS devel mailling list , Adam Overbeeke Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Sorry for the late reply. How exactly are you trying to retrieve the dialog info (during the TERMINATED event) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/20/2019 04:55 PM, Adam Overbeeke wrote: Hello all, We are trying to use the dialog event routes and ran into some unexpected behavior. The issue is that we cannot retrieve the dialog information when the dialog state transitions to ENDED. We believe the dialog have been destroyed or removed prior to firing the event change. Is it possible to change this behavior in the synchronous case? We understand design decision for asynchronous handling but believe it should be possible to retrieve the information in the synchronous case. If our assumptions are incorrect, we are open to ideas on how we could get the dialog information during the ENDED state. We are considering using a local cache in the meantime, but that will duplicate a lot of information in our system. My hopes are that we are just missing some function call. We appreciate your help/response. Thanks, Adam Adam Overbeeke Lead Voice Network Engineer, PureCloud [cid:image001.png at 01D2DB78.7C3D8250] [cid:image002.png at 01D2DB78.7C3D8250] [cid:image003.png at 01D2DB78.7C3D8250][cid:image004.png at 01D2DB78.7C3D8250][cid:image005.png at 01D2DB78.7C3D8250][cid:image006.png at 01D2DB78.7C3D8250][cid:image007.png at 01D2DB78.7C3D8250][cid:image008.png at 01D2DB78.7C3D8250] _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1244 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7164 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2056 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2043 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2046 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1922 bytes Desc: image006.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2059 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2073 bytes Desc: image008.png URL: From bogdan at opensips.org Mon Mar 11 04:37:58 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 11 Mar 2019 10:37:58 +0200 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> Message-ID: <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> Hi Adam, Checking a bit more the code, it seems that the inner get_dlg_by_callid() function (used for locating dialogs in the internal dlg table) does no return the dialogs in state 5 (terminated). So, once the dialog switched to final state 5, it becomes "invisible" to the get_dlg_vals() function. Same approach is also implemented by get_dialog_info(). I'm not saying it is good or bad, I'm just saying how it is right now. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/08/2019 04:15 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > I hope this answers your question. I’ve reconstructed the scenario and > confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog variables > are not available or return NULL. The trigger for the state change was > a BYE. Let me know if you want me to try any thing else. I’ve provided > some log output below. The first log is a state transistion from 3 to > 4… You can see the presence of my variables dialog_org and dialog_dir. > Please refer to the code I posted before. > > Thanks > > Adam > > _STATE 3 __à__4_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": "3352", > "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", > "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, > "new_state": 4 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", > "dialog_dir": "Inbound" } } > > _STATE 4 __à__5_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": "3352", > "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", > "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, > "new_state": 5 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED" } > > *From: *Bogdan-Andrei Iancu > *Date: *Thursday, March 7, 2019 at 10:10 AM > *To: *Adam Overbeeke , OpenSIPS devel > mailling list > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > HI Adam, > > When the Terminated event is triggered, the dialog is already in state > 5/Terminated and it should still be foundable - is the termination of > the dialog triggered by a BYE request or ? > > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/07/2019 04:49 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > We are trying to access the dialog information during the event > route. The function that we are using is get_dialog_vals.During my > testing, I was able to get the expected parameters that was passed > from the event route, but the dialog variables was returning > nothing. This happens only when the state transitions to ENDED, > all other states have the information. This makes me believe that > the dialog was destroy. > > i.e. in this example: variableOne and variableTwo are dialog > variables. > > event_route[E_DLG_STATE_CHANGED] { > > fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); > > fetch_event_params("hash_id=$avp(eparm_hash_id)"); > > fetch_event_params("callid=$avp(eparm_callid)"); > > fetch_event_params("from_tag=$avp(eparm_from_tag)"); > > fetch_event_params("to_tag=$avp(eparm_to_tag)"); > > fetch_event_params("old_state=$avp(eparm_old_state)"); > > fetch_event_params("new_state=$avp(eparm_new_state)"); > > if ( > get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") > ) { > > $var(i) = 0; > > while ( $(avp(d_names)[$var(i)]) != NULL ) { > > $var(k) = $(avp(d_names)[$var(i)]); > > $var(v) = $(avp(d_vals)[$var(i)]); > > switch($var(k)) { > > case "variableOne": > > #// log statement here > > break; > > case "variableTwo": > > #// log statement here > > break; > > } > > $var(i) = $var(i) + 1; > > } > > } > > } > > ^ when the state is ENDED, get_dialog_vals returns nothing back > for the dialog’s callid. > > Hope it helps, > > Adam > > *From: *Bogdan-Andrei Iancu > > *Date: *Thursday, March 7, 2019 at 5:37 AM > *To: *OpenSIPS devel mailling list > , Adam Overbeeke > > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > Hi Adam, > > Sorry for the late reply. > > How exactly are you trying to retrieve the dialog info (during the > TERMINATED event) ? > > Regards, > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 02/20/2019 04:55 PM, Adam Overbeeke wrote: > > Hello all, > > We are trying to use the dialog event routes and ran into some > unexpected behavior. The issue is that we cannot retrieve the > dialog information when the dialog state transitions to ENDED. > We believe the dialog have been destroyed or removed prior to > firing the event change. Is it possible to change this > behavior in the synchronous case? We understand design > decision for asynchronous handling but believe it should be > possible to retrieve the information in the synchronous case. > > If our assumptions are incorrect, we are open to ideas on how > we could get the dialog information during the ENDED state. We > are considering using a local cache in the meantime, but that > will duplicate a lot of information in our system. My hopes > are that we are just missing some function call. We appreciate > your help/response. > > Thanks, > > Adam > > Adam Overbeeke > > Lead Voice Network Engineer, PureCloud > > cid:image001.png at 01D2DB78.7C3D8250 > > cid:image002.png at 01D2DB78.7C3D8250 > > cid:image003.png at 01D2DB78.7C3D8250 > cid:image004.png at 01D2DB78.7C3D8250 > cid:image005.png at 01D2DB78.7C3D8250 > cid:image006.png at 01D2DB78.7C3D8250 > cid:image007.png at 01D2DB78.7C3D8250 > cid:image008.png at 01D2DB78.7C3D8250 > > > > > > > _______________________________________________ > > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1244 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7164 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2056 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2043 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2046 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1922 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2059 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2073 bytes Desc: not available URL: From bogdan at opensips.org Mon Mar 11 04:50:08 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 11 Mar 2019 10:50:08 +0200 Subject: [OpenSIPS-Devel] t_on_reply for CANCEL transaction In-Reply-To: References: Message-ID: Hi Ben, Let me check what the history behind the lack of on_reply for the CANCEL transaction, if it a simple miss or if there some good reasons (mainly related to SIP consistency) not to have it. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/10/2019 04:15 PM, Ben Newlin wrote: > > Hello, > > We are implemented some more detailed statistics capturing for our > proxies which includes transaction statistics and requires that we > track all transactions through the system. Implementing this with > dialogs was very straightforward, thanks to the > E_DLG_STATE_CHANGEDevents. I have opened a Feature Request [1] for > similar functionality in the TM module if it is possible. > > In the meantime, I have created routes to track the transactions but I > am running into an issue with the CANCEL transaction. It appears that > the replies to a CANCEL will only ever trigger the global > onreply_route. When I arm a different transaction reply route using > t_on_reply it is never called. Since the transaction is not available > in the global reply route, I cannot use it for my purposes. > > Is it intentional/expected that t_on_reply cannot be used with a > CANCEL transaction? If so, are there other methods that also do not work? > > [1] - https://github.com/OpenSIPS/opensips/issues/1630 > > > 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 Adam.Overbeeke at genesys.com Mon Mar 11 08:14:00 2019 From: Adam.Overbeeke at genesys.com (Adam Overbeeke) Date: Mon, 11 Mar 2019 12:14:00 +0000 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> Message-ID: Hi Bogdan, Thanks for confirming my suspicions. I am not saying it is bad or good, either. I can see why you would not be able to access the dialog information when processing event routes, asynchronous. I still would like a way to access the dialog variables around the time the dialog will be terminated. As I stated before, my first thought was that the variables would be available during synchronous event route processing, but you have confirmed that is not the case (now). Would you like me to create a feature request on github? I am sure you already have an idea what could be done; but my two cents would be something like a new WILL_TERMINATE state or have the information available in the terminated state for a period of time. Thank you for your time, Adam From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 4:38 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Checking a bit more the code, it seems that the inner get_dlg_by_callid() function (used for locating dialogs in the internal dlg table) does no return the dialogs in state 5 (terminated). So, once the dialog switched to final state 5, it becomes "invisible" to the get_dlg_vals() function. Same approach is also implemented by get_dialog_info(). I'm not saying it is good or bad, I'm just saying how it is right now. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/08/2019 04:15 PM, Adam Overbeeke wrote: Hi Bogdan, I hope this answers your question. I’ve reconstructed the scenario and confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog variables are not available or return NULL. The trigger for the state change was a BYE. Let me know if you want me to try any thing else. I’ve provided some log output below. The first log is a state transistion from 3 to 4… You can see the presence of my variables dialog_org and dialog_dir. Please refer to the code I posted before. Thanks Adam STATE 3 --> 4 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, "new_state": 4 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", "dialog_dir": "Inbound" } } STATE 4 --> 5 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, "new_state": 5 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED" } From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 10:10 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. HI Adam, When the Terminated event is triggered, the dialog is already in state 5/Terminated and it should still be foundable - is the termination of the dialog triggered by a BYE request or ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/07/2019 04:49 PM, Adam Overbeeke wrote: Hi Bogdan, We are trying to access the dialog information during the event route. The function that we are using is get_dialog_vals. During my testing, I was able to get the expected parameters that was passed from the event route, but the dialog variables was returning nothing. This happens only when the state transitions to ENDED, all other states have the information. This makes me believe that the dialog was destroy. i.e. in this example: variableOne and variableTwo are dialog variables. event_route[E_DLG_STATE_CHANGED] { fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); fetch_event_params("hash_id=$avp(eparm_hash_id)"); fetch_event_params("callid=$avp(eparm_callid)"); fetch_event_params("from_tag=$avp(eparm_from_tag)"); fetch_event_params("to_tag=$avp(eparm_to_tag)"); fetch_event_params("old_state=$avp(eparm_old_state)"); fetch_event_params("new_state=$avp(eparm_new_state)"); if ( get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) { $var(i) = 0; while ( $(avp(d_names)[$var(i)]) != NULL ) { $var(k) = $(avp(d_names)[$var(i)]); $var(v) = $(avp(d_vals)[$var(i)]); switch($var(k)) { case "variableOne": #// log statement here break; case "variableTwo": #// log statement here break; } $var(i) = $var(i) + 1; } } } ^ when the state is ENDED, get_dialog_vals returns nothing back for the dialog’s callid. Hope it helps, Adam From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 5:37 AM To: OpenSIPS devel mailling list , Adam Overbeeke Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Sorry for the late reply. How exactly are you trying to retrieve the dialog info (during the TERMINATED event) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/20/2019 04:55 PM, Adam Overbeeke wrote: Hello all, We are trying to use the dialog event routes and ran into some unexpected behavior. The issue is that we cannot retrieve the dialog information when the dialog state transitions to ENDED. We believe the dialog have been destroyed or removed prior to firing the event change. Is it possible to change this behavior in the synchronous case? We understand design decision for asynchronous handling but believe it should be possible to retrieve the information in the synchronous case. If our assumptions are incorrect, we are open to ideas on how we could get the dialog information during the ENDED state. We are considering using a local cache in the meantime, but that will duplicate a lot of information in our system. My hopes are that we are just missing some function call. We appreciate your help/response. Thanks, Adam Adam Overbeeke Lead Voice Network Engineer, PureCloud [cid:image001.png at 01D2DB78.7C3D8250] [cid:image002.png at 01D2DB78.7C3D8250] [cid:image003.png at 01D2DB78.7C3D8250][cid:image004.png at 01D2DB78.7C3D8250][cid:image005.png at 01D2DB78.7C3D8250][cid:image006.png at 01D2DB78.7C3D8250][cid:image007.png at 01D2DB78.7C3D8250][cid:image008.png at 01D2DB78.7C3D8250] _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1245 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7165 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2057 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2044 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2047 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1923 bytes Desc: image006.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2060 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2074 bytes Desc: image008.png URL: From bogdan at opensips.org Mon Mar 11 08:50:59 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 11 Mar 2019 14:50:59 +0200 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> Message-ID: Hi Adam, It is not about sync/async...from the point of view of accessing the data (as coding) everything is fine (with matching terminated calls also). It is more about the logic you have in the script, when using such functions (to fetch vars from a different dlg) - in my opinion, in 70% of the cases, your really want to work only with ongoing calls (once terminated, you want the dlg out of your equation). But lately, there are more and more where you need to fetch data from terminate calls too. A solution (to be sure we do not break anything and we are backward compatible) will be to addsome extra flags to the functions to "force" matching of the terminated calls too(as time as the dlg is still in memory, of course). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/11/2019 02:14 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > Thanks for confirming my suspicions. I am not saying it is bad or > good, either. I can see why you would not be able to access the dialog > information when processing event routes, asynchronous. I still would > like a way to access the dialog variables around the time the dialog > will be terminated. As I stated before, my first thought was that the > variables would be available during synchronous event route > processing, but you have confirmed that is not the case (now). Would > you like me to create a feature request on github? I am sure you > already have an idea what could be done; but my two cents would be > something like a new WILL_TERMINATE state or have the information > available in the terminated state for a period of time. > > Thank you for your time, > > Adam > > *From: *Bogdan-Andrei Iancu > *Date: *Monday, March 11, 2019 at 4:38 AM > *To: *Adam Overbeeke , OpenSIPS devel > mailling list > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > Hi Adam, > > Checking a bit more the code, it seems that the inner > get_dlg_by_callid() function (used for locating dialogs in the > internal dlg table) does no return the dialogs in state 5 (terminated). > > So, once the dialog switched to final state 5, it becomes "invisible" > to the get_dlg_vals() function. Same approach is also implemented by > get_dialog_info(). > > I'm not saying it is good or bad, I'm just saying how it is right now. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/08/2019 04:15 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > I hope this answers your question. I’ve reconstructed the scenario > and confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog > variables are not available or return NULL. The trigger for the > state change was a BYE. Let me know if you want me to try any > thing else. I’ve provided some log output below. The first log is > a state transistion from 3 to 4… You can see the presence of my > variables dialog_org and dialog_dir. Please refer to the code I > posted before. > > Thanks > > Adam > > _STATE 3 __à 4_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": "3352", > "hash_id": "1296669127", "callid": > "IB_MAP-27\/\/\/1-16 at 203.0.113.4" > , "from_tag": > "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, > "new_state": 4 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", > "dialog_dir": "Inbound" } } > > _STATE 4 __à 5_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": "3352", > "hash_id": "1296669127", "callid": > "IB_MAP-27\/\/\/1-16 at 203.0.113.4" > , "from_tag": > "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, > "new_state": 5 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED" } > > *From: *Bogdan-Andrei Iancu > > *Date: *Thursday, March 7, 2019 at 10:10 AM > *To: *Adam Overbeeke > , OpenSIPS devel mailling list > > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > HI Adam, > > When the Terminated event is triggered, the dialog is already in > state 5/Terminated and it should still be foundable - is the > termination of the dialog triggered by a BYE request or ? > > > Regards, > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/07/2019 04:49 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > We are trying to access the dialog information during the > event route. The function that we are using is > get_dialog_vals.During my testing, I was able to get the > expected parameters that was passed from the event route, but > the dialog variables was returning nothing. This happens only > when the state transitions to ENDED, all other states have the > information. This makes me believe that the dialog was destroy. > > i.e. in this example: variableOne and variableTwo are dialog > variables. > > event_route[E_DLG_STATE_CHANGED] { > > fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); > > fetch_event_params("hash_id=$avp(eparm_hash_id)"); > > fetch_event_params("callid=$avp(eparm_callid)"); > > fetch_event_params("from_tag=$avp(eparm_from_tag)"); > > fetch_event_params("to_tag=$avp(eparm_to_tag)"); > > fetch_event_params("old_state=$avp(eparm_old_state)"); > > fetch_event_params("new_state=$avp(eparm_new_state)"); > > if ( > get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") > ) { > > $var(i) = 0; > > while ( $(avp(d_names)[$var(i)]) != NULL ) { > > $var(k) = $(avp(d_names)[$var(i)]); > > $var(v) = $(avp(d_vals)[$var(i)]); > > switch($var(k)) { > > case "variableOne": > > #// log statement here > > break; > > case "variableTwo": > > #// log statement here > > break; > > } > > $var(i) = $var(i) + 1; > > } > > } > > } > > ^ when the state is ENDED, get_dialog_vals returns nothing > back for the dialog’s callid. > > Hope it helps, > > Adam > > *From: *Bogdan-Andrei Iancu > > *Date: *Thursday, March 7, 2019 at 5:37 AM > *To: *OpenSIPS devel mailling list > , Adam Overbeeke > > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing > dialog information for ENDED state. > > Hi Adam, > > Sorry for the late reply. > > How exactly are you trying to retrieve the dialog info (during > the TERMINATED event) ? > > Regards, > > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 02/20/2019 04:55 PM, Adam Overbeeke wrote: > > Hello all, > > We are trying to use the dialog event routes and ran into > some unexpected behavior. The issue is that we cannot > retrieve the dialog information when the dialog state > transitions to ENDED. We believe the dialog have been > destroyed or removed prior to firing the event change. Is > it possible to change this behavior in the synchronous > case? We understand design decision for asynchronous > handling but believe it should be possible to retrieve the > information in the synchronous case. > > If our assumptions are incorrect, we are open to ideas on > how we could get the dialog information during the ENDED > state. We are considering using a local cache in the > meantime, but that will duplicate a lot of information in > our system. My hopes are that we are just missing some > function call. We appreciate your help/response. > > Thanks, > > Adam > > Adam Overbeeke > > Lead Voice Network Engineer, PureCloud > > cid:image001.png at 01D2DB78.7C3D8250 > > cid:image002.png at 01D2DB78.7C3D8250 > > cid:image003.png at 01D2DB78.7C3D8250 > cid:image004.png at 01D2DB78.7C3D8250 > cid:image005.png at 01D2DB78.7C3D8250 > cid:image006.png at 01D2DB78.7C3D8250 > cid:image007.png at 01D2DB78.7C3D8250 > cid:image008.png at 01D2DB78.7C3D8250 > > > > > > > > _______________________________________________ > > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1245 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7165 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2057 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2044 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2047 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1923 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2060 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2074 bytes Desc: not available URL: From Adam.Overbeeke at genesys.com Mon Mar 11 09:05:53 2019 From: Adam.Overbeeke at genesys.com (Adam Overbeeke) Date: Mon, 11 Mar 2019 13:05:53 +0000 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> Message-ID: Hi Bogdan, Thanks for the detailed explanation. For now, I will continue with my caching implementation. I think your solution would be best and would save my memory resources. I will make sure to refactor our script when/if the functionality is available in the future. Thank you for your time, Adam From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 8:51 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, It is not about sync/async...from the point of view of accessing the data (as coding) everything is fine (with matching terminated calls also). It is more about the logic you have in the script, when using such functions (to fetch vars from a different dlg) - in my opinion, in 70% of the cases, your really want to work only with ongoing calls (once terminated, you want the dlg out of your equation). But lately, there are more and more where you need to fetch data from terminate calls too. A solution (to be sure we do not break anything and we are backward compatible) will be to add some extra flags to the functions to "force" matching of the terminated calls too (as time as the dlg is still in memory, of course). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/11/2019 02:14 PM, Adam Overbeeke wrote: Hi Bogdan, Thanks for confirming my suspicions. I am not saying it is bad or good, either. I can see why you would not be able to access the dialog information when processing event routes, asynchronous. I still would like a way to access the dialog variables around the time the dialog will be terminated. As I stated before, my first thought was that the variables would be available during synchronous event route processing, but you have confirmed that is not the case (now). Would you like me to create a feature request on github? I am sure you already have an idea what could be done; but my two cents would be something like a new WILL_TERMINATE state or have the information available in the terminated state for a period of time. Thank you for your time, Adam From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 4:38 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Checking a bit more the code, it seems that the inner get_dlg_by_callid() function (used for locating dialogs in the internal dlg table) does no return the dialogs in state 5 (terminated). So, once the dialog switched to final state 5, it becomes "invisible" to the get_dlg_vals() function. Same approach is also implemented by get_dialog_info(). I'm not saying it is good or bad, I'm just saying how it is right now. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/08/2019 04:15 PM, Adam Overbeeke wrote: Hi Bogdan, I hope this answers your question. I’ve reconstructed the scenario and confirmed that from OLD_STATE(4) to NEW_STATE(5) the dialog variables are not available or return NULL. The trigger for the state change was a BYE. Let me know if you want me to try any thing else. I’ve provided some log output below. The first log is a state transistion from 3 to 4… You can see the presence of my variables dialog_org and dialog_dir. Please refer to the code I posted before. Thanks Adam STATE 3 --> 4 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, "new_state": 4 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": "Org", "dialog_dir": "Inbound" } } STATE 4 --> 5 Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "event_dialog_log", "message": { "hash_entry": "3352", "hash_id": "1296669127", "callid": "IB_MAP-27\/\/\/1-16 at 203.0.113.4", "from_tag": "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, "new_state": 5 } } Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", "logger_name": "control", "thread_name": 371, "level": "INFO", "route": "E_DLG_STATE_CHANGED" } From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 10:10 AM To: Adam Overbeeke , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. HI Adam, When the Terminated event is triggered, the dialog is already in state 5/Terminated and it should still be foundable - is the termination of the dialog triggered by a BYE request or ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/07/2019 04:49 PM, Adam Overbeeke wrote: Hi Bogdan, We are trying to access the dialog information during the event route. The function that we are using is get_dialog_vals. During my testing, I was able to get the expected parameters that was passed from the event route, but the dialog variables was returning nothing. This happens only when the state transitions to ENDED, all other states have the information. This makes me believe that the dialog was destroy. i.e. in this example: variableOne and variableTwo are dialog variables. event_route[E_DLG_STATE_CHANGED] { fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); fetch_event_params("hash_id=$avp(eparm_hash_id)"); fetch_event_params("callid=$avp(eparm_callid)"); fetch_event_params("from_tag=$avp(eparm_from_tag)"); fetch_event_params("to_tag=$avp(eparm_to_tag)"); fetch_event_params("old_state=$avp(eparm_old_state)"); fetch_event_params("new_state=$avp(eparm_new_state)"); if ( get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") ) { $var(i) = 0; while ( $(avp(d_names)[$var(i)]) != NULL ) { $var(k) = $(avp(d_names)[$var(i)]); $var(v) = $(avp(d_vals)[$var(i)]); switch($var(k)) { case "variableOne": #// log statement here break; case "variableTwo": #// log statement here break; } $var(i) = $var(i) + 1; } } } ^ when the state is ENDED, get_dialog_vals returns nothing back for the dialog’s callid. Hope it helps, Adam From: Bogdan-Andrei Iancu Date: Thursday, March 7, 2019 at 5:37 AM To: OpenSIPS devel mailling list , Adam Overbeeke Subject: Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. Hi Adam, Sorry for the late reply. How exactly are you trying to retrieve the dialog info (during the TERMINATED event) ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 02/20/2019 04:55 PM, Adam Overbeeke wrote: Hello all, We are trying to use the dialog event routes and ran into some unexpected behavior. The issue is that we cannot retrieve the dialog information when the dialog state transitions to ENDED. We believe the dialog have been destroyed or removed prior to firing the event change. Is it possible to change this behavior in the synchronous case? We understand design decision for asynchronous handling but believe it should be possible to retrieve the information in the synchronous case. If our assumptions are incorrect, we are open to ideas on how we could get the dialog information during the ENDED state. We are considering using a local cache in the meantime, but that will duplicate a lot of information in our system. My hopes are that we are just missing some function call. We appreciate your help/response. Thanks, Adam Adam Overbeeke Lead Voice Network Engineer, PureCloud [cid:image001.png at 01D2DB78.7C3D8250] [cid:image002.png at 01D2DB78.7C3D8250] [cid:image003.png at 01D2DB78.7C3D8250][cid:image004.png at 01D2DB78.7C3D8250][cid:image005.png at 01D2DB78.7C3D8250][cid:image006.png at 01D2DB78.7C3D8250][cid:image007.png at 01D2DB78.7C3D8250][cid:image008.png at 01D2DB78.7C3D8250] _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1246 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7166 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2058 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2045 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2048 bytes Desc: image005.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1924 bytes Desc: image006.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2061 bytes Desc: image007.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2075 bytes Desc: image008.png URL: From noreply at github.com Mon Mar 11 10:03:35 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Mar 2019 07:03:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b465a: Fixed $log_level for returning negative values Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b465a386b4759dfb51b6265484deb5d9dd7710e https://github.com/OpenSIPS/opensips/commit/0b465a386b4759dfb51b6265484deb5d9dd7710e Author: Bogdan-Andrei Iancu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M pvar.c Log Message: ----------- Fixed $log_level for returning negative values Use signed function to covert from int to str, as log_leve may be negative (-1==ERR). From noreply at github.com Mon Mar 11 10:05:46 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Mar 2019 14:05:46 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f31de6: Fixed $log_level for returning negative values Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f31de6d6dfc33b289ca99e8e47bb746bb840f006 https://github.com/OpenSIPS/opensips/commit/f31de6d6dfc33b289ca99e8e47bb746bb840f006 Author: Bogdan-Andrei Iancu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M pvar.c Log Message: ----------- Fixed $log_level for returning negative values Use signed function to covert from int to str, as log_leve may be negative (-1==ERR). (cherry picked from commit 0b465a386b4759dfb51b6265484deb5d9dd7710e) From noreply at github.com Mon Mar 11 10:06:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Mar 2019 07:06:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d7ac87: Fixed $log_level for returning negative values Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d7ac87cf99481585cd63d75d53aca9c8de014b41 https://github.com/OpenSIPS/opensips/commit/d7ac87cf99481585cd63d75d53aca9c8de014b41 Author: Bogdan-Andrei Iancu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M pvar.c Log Message: ----------- Fixed $log_level for returning negative values Use signed function to covert from int to str, as log_leve may be negative (-1==ERR). (cherry picked from commit 0b465a386b4759dfb51b6265484deb5d9dd7710e) From noreply at github.com Mon Mar 11 10:07:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 11 Mar 2019 07:07:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2b670e: Fix small bugs related to xlog_level addition Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2b670e334a867ba6fc04441d1108944ac52db02b https://github.com/OpenSIPS/opensips/commit/2b670e334a867ba6fc04441d1108944ac52db02b Author: Bogdan-Andrei Iancu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M pvar.c M xlog.c Log Message: ----------- Fix small bugs related to xlog_level addition From bogdan at opensips.org Tue Mar 12 03:00:10 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 12 Mar 2019 09:00:10 +0200 Subject: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog information for ENDED state. In-Reply-To: References: <4909B6FC-C938-43FF-BA1F-4002081BFEBF@genesys.com> <157a4025-8890-b58f-7368-7a1ae585d149@opensips.org> <229C15D3-DE85-434B-955A-2BC32200A95C@genesys.com> <94c1d9b4-1667-1f47-7186-8e47bf05dd02@opensips.org> <613C6DB1-4716-4C1C-A705-C592C0164CCD@genesys.com> <554cb9c2-8386-cd11-99ef-3ec1a7ddd87a@opensips.org> Message-ID: <16bd04fe-0842-6ba1-f72d-c3ba12bfbb80@opensips.org> Hi Adam, Please open a feature request on GITHUB tracker- implementing this flag should be an easy one. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/11/2019 03:05 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > Thanks for the detailed explanation. For now, I will continue with my > caching implementation. I think your solution would be best and would > save my memory resources. I will make sure to refactor our script > when/if the functionality is available in the future. > > Thank you for your time, > > Adam > > *From: *Bogdan-Andrei Iancu > *Date: *Monday, March 11, 2019 at 8:51 AM > *To: *Adam Overbeeke , OpenSIPS devel > mailling list > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > Hi Adam, > > It is not about sync/async...from the point of view of accessing the > data (as coding) everything is fine (with matching terminated calls also). > It is more about the logic you have in the script, when using such > functions (to fetch vars from a different dlg) - in my opinion, in 70% > of the cases, your really want to work only with ongoing calls (once > terminated, you want the dlg out of your equation). But lately, there > are more and more where you need to fetch data from terminate calls too. > > A solution (to be sure we do not break anything and we are backward > compatible) will be to add some extra flags to the functions to > "force" matching of the terminated calls too (as time as the dlg is > still in memory, of course). > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/11/2019 02:14 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > Thanks for confirming my suspicions. I am not saying it is bad or > good, either. I can see why you would not be able to access the > dialog information when processing event routes, asynchronous. I > still would like a way to access the dialog variables around the > time the dialog will be terminated. As I stated before, my first > thought was that the variables would be available during > synchronous event route processing, but you have confirmed that is > not the case (now). Would you like me to create a feature request > on github? I am sure you already have an idea what could be done; > but my two cents would be something like a new WILL_TERMINATE > state or have the information available in the terminated state > for a period of time. > > Thank you for your time, > > Adam > > *From: *Bogdan-Andrei Iancu > > *Date: *Monday, March 11, 2019 at 4:38 AM > *To: *Adam Overbeeke > , OpenSIPS devel mailling list > > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing dialog > information for ENDED state. > > Hi Adam, > > Checking a bit more the code, it seems that the inner > get_dlg_by_callid() function (used for locating dialogs in the > internal dlg table) does no return the dialogs in state 5 > (terminated). > > So, once the dialog switched to final state 5, it becomes > "invisible" to the get_dlg_vals() function. Same approach is also > implemented by get_dialog_info(). > > I'm not saying it is good or bad, I'm just saying how it is right now. > > Regards, > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/08/2019 04:15 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > I hope this answers your question. I’ve reconstructed the > scenario and confirmed that from OLD_STATE(4) to NEW_STATE(5) > the dialog variables are not available or return NULL. The > trigger for the state change was a BYE. Let me know if you > want me to try any thing else. I’ve provided some log output > below. The first log is a state transistion from 3 to 4… You > can see the presence of my variables dialog_org and > dialog_dir. Please refer to the code I posted before. > > Thanks > > Adam > > _STATE 3 __à 4_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.428889Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": > "3352", "hash_id": "1296669127", "callid": > "IB_MAP-27\/\/\/1-16 at 203.0.113.4" > , "from_tag": > "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 3, > "new_state": 4 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.429075Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED", "message": { "dialog_org": > "Org", "dialog_dir": "Inbound" } } > > _STATE 4 __à 5_ > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934118Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "event_dialog_log", "message": { "hash_entry": > "3352", "hash_id": "1296669127", "callid": > "IB_MAP-27\/\/\/1-16 at 203.0.113.4" > , "from_tag": > "16SIPpTag61", "to_tag": "7SIPpTag92", "old_state": 4, > "new_state": 5 } } > > Mar 8 13:58:56 [371] { "t": "2019-03-08T13:58:56.934228Z", > "logger_name": "control", "thread_name": 371, "level": "INFO", > "route": "E_DLG_STATE_CHANGED" } > > *From: *Bogdan-Andrei Iancu > > *Date: *Thursday, March 7, 2019 at 10:10 AM > *To: *Adam Overbeeke > , OpenSIPS devel mailling > list > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED missing > dialog information for ENDED state. > > HI Adam, > > When the Terminated event is triggered, the dialog is already > in state 5/Terminated and it should still be foundable - is > the termination of the dialog triggered by a BYE request or ? > > > Regards, > > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/07/2019 04:49 PM, Adam Overbeeke wrote: > > Hi Bogdan, > > We are trying to access the dialog information during the > event route. The function that we are using is > get_dialog_vals.During my testing, I was able to get the > expected parameters that was passed from the event route, > but the dialog variables was returning nothing. This > happens only when the state transitions to ENDED, all > other states have the information. This makes me believe > that the dialog was destroy. > > i.e. in this example: variableOne and variableTwo are > dialog variables. > > event_route[E_DLG_STATE_CHANGED] { > > > fetch_event_params("hash_entry=$avp(eparm_hash_entry)"); > > fetch_event_params("hash_id=$avp(eparm_hash_id)"); > > fetch_event_params("callid=$avp(eparm_callid)"); > > fetch_event_params("from_tag=$avp(eparm_from_tag)"); > > fetch_event_params("to_tag=$avp(eparm_to_tag)"); > > fetch_event_params("old_state=$avp(eparm_old_state)"); > > fetch_event_params("new_state=$avp(eparm_new_state)"); > > if ( > get_dialog_vals("$avp(d_names)","$avp(d_vals)","$avp(eparm_callid)") > ) { > > $var(i) = 0; > > while ( $(avp(d_names)[$var(i)]) != NULL ) { > > $var(k) = $(avp(d_names)[$var(i)]); > > $var(v) = $(avp(d_vals)[$var(i)]); > > switch($var(k)) { > > case "variableOne": > > #// log statement here > > break; > > case "variableTwo": > > #// log statement here > > break; > > } > > $var(i) = $var(i) + 1; > > } > > } > > } > > ^ when the state is ENDED, get_dialog_vals returns nothing > back for the dialog’s callid. > > Hope it helps, > > Adam > > *From: *Bogdan-Andrei Iancu > > *Date: *Thursday, March 7, 2019 at 5:37 AM > *To: *OpenSIPS devel mailling list > > , Adam Overbeeke > > > *Subject: *Re: [OpenSIPS-Devel] E_DLG_STATE_CHANGED > missing dialog information for ENDED state. > > Hi Adam, > > Sorry for the late reply. > > How exactly are you trying to retrieve the dialog info > (during the TERMINATED event) ? > > Regards, > > > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > OpenSIPS Summit 2019 > > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 02/20/2019 04:55 PM, Adam Overbeeke wrote: > > Hello all, > > We are trying to use the dialog event routes and ran > into some unexpected behavior. The issue is that we > cannot retrieve the dialog information when the dialog > state transitions to ENDED. We believe the dialog have > been destroyed or removed prior to firing the event > change. Is it possible to change this behavior in the > synchronous case? We understand design decision for > asynchronous handling but believe it should be > possible to retrieve the information in the > synchronous case. > > If our assumptions are incorrect, we are open to ideas > on how we could get the dialog information during the > ENDED state. We are considering using a local cache in > the meantime, but that will duplicate a lot of > information in our system. My hopes are that we are > just missing some function call. We appreciate your > help/response. > > Thanks, > > Adam > > Adam Overbeeke > > Lead Voice Network Engineer, PureCloud > > cid:image001.png at 01D2DB78.7C3D8250 > > cid:image002.png at 01D2DB78.7C3D8250 > > > cid:image003.png at 01D2DB78.7C3D8250 > cid:image004.png at 01D2DB78.7C3D8250 > cid:image005.png at 01D2DB78.7C3D8250 > cid:image006.png at 01D2DB78.7C3D8250 > cid:image007.png at 01D2DB78.7C3D8250 > cid:image008.png at 01D2DB78.7C3D8250 > > > > > > > > > _______________________________________________ > > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 1246 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 7166 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 2058 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 2045 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 2048 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.png Type: image/png Size: 1924 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.png Type: image/png Size: 2061 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.png Type: image/png Size: 2075 bytes Desc: not available URL: From noreply at github.com Tue Mar 12 03:32:25 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 00:32:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 00a3ab: Fix t_reply_with_body() when called after t_newtran() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 00a3ab348b0400fc63d25f742916ec65602f7e3f https://github.com/OpenSIPS/opensips/commit/00a3ab348b0400fc63d25f742916ec65602f7e3f Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix t_reply_with_body() when called after t_newtran() Force an update of the cloned request (from transaction) with info from the real request before internally running t_reply_with_body(). As t_reply_with_body() works with the cloned request, we need to be sure it is up-2-date; and t_newtran() does a partial cloning of the requests - so, if the transaction already exists better update its cloned request to be sure it has all data. Credits for detailed reporting to @rrb3942 Closes #1632 From noreply at github.com Tue Mar 12 03:33:13 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 00:33:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16b47f: Fix t_reply_with_body() when called after t_newtran() Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 16b47f04fd020921e3011678e1eaf854629b9f6b https://github.com/OpenSIPS/opensips/commit/16b47f04fd020921e3011678e1eaf854629b9f6b Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix t_reply_with_body() when called after t_newtran() Force an update of the cloned request (from transaction) with info from the real request before internally running t_reply_with_body(). As t_reply_with_body() works with the cloned request, we need to be sure it is up-2-date; and t_newtran() does a partial cloning of the requests - so, if the transaction already exists better update its cloned request to be sure it has all data. Credits for detailed reporting to @rrb3942 Closes #1632 (cherry picked from commit 00a3ab348b0400fc63d25f742916ec65602f7e3f) From noreply at github.com Tue Mar 12 03:33:53 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 00:33:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 739f75: Fix t_reply_with_body() when called after t_newtran() Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 739f75999e5887ceed2892c2611e3acce86e60fc https://github.com/OpenSIPS/opensips/commit/739f75999e5887ceed2892c2611e3acce86e60fc Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix t_reply_with_body() when called after t_newtran() Force an update of the cloned request (from transaction) with info from the real request before internally running t_reply_with_body(). As t_reply_with_body() works with the cloned request, we need to be sure it is up-2-date; and t_newtran() does a partial cloning of the requests - so, if the transaction already exists better update its cloned request to be sure it has all data. Credits for detailed reporting to @rrb3942 Closes #1632 (cherry picked from commit 00a3ab348b0400fc63d25f742916ec65602f7e3f) From noreply at github.com Tue Mar 12 03:36:14 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 00:36:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] db53a8: Add s.reverse Transformation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: db53a8cb4d9613933dbcf3c23cd6008e5242b5c2 https://github.com/OpenSIPS/opensips/commit/db53a8cb4d9613933dbcf3c23cd6008e5242b5c2 Author: Ryan Bullock Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M transformations.c M transformations.h Log Message: ----------- Add s.reverse Transformation Commit: 912880f08c9c695036a96d4e0832580f9e26ce35 https://github.com/OpenSIPS/opensips/commit/912880f08c9c695036a96d4e0832580f9e26ce35 Author: Ryan Bullock Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M transformations.h Log Message: ----------- Tab to spaces Commit: 18e007397761e4a3395cade899d43f732d52fd5e https://github.com/OpenSIPS/opensips/commit/18e007397761e4a3395cade899d43f732d52fd5e Author: Bogdan Andrei IANCU Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M transformations.c M transformations.h Log Message: ----------- Merge pull request #1634 from rrb3942/tr_s_reverse New String Transformation: s.reverse Compare: https://github.com/OpenSIPS/opensips/compare/00a3ab348b04...18e007397761 From noreply at github.com Tue Mar 12 05:20:31 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 02:20:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2c7ebe: Improve docs on "define_blacklist" param Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2c7ebe6de1f45f531b566db28a76953bdfb779e2 https://github.com/OpenSIPS/opensips/commit/2c7ebe6de1f45f531b566db28a76953bdfb779e2 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- Improve docs on "define_blacklist" param From noreply at github.com Tue Mar 12 05:20:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 02:20:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49e752: Improve docs on "define_blacklist" param Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 49e752093f32cd46f57fb76b5410d8bac5601307 https://github.com/OpenSIPS/opensips/commit/49e752093f32cd46f57fb76b5410d8bac5601307 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- Improve docs on "define_blacklist" param (cherry picked from commit 2c7ebe6de1f45f531b566db28a76953bdfb779e2) From noreply at github.com Tue Mar 12 05:21:18 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 02:21:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7896f9: Improve docs on "define_blacklist" param Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7896f9af2231366b056a180f79dee13f0d3af128 https://github.com/OpenSIPS/opensips/commit/7896f9af2231366b056a180f79dee13f0d3af128 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/doc/drouting_admin.xml Log Message: ----------- Improve docs on "define_blacklist" param (cherry picked from commit 2c7ebe6de1f45f531b566db28a76953bdfb779e2) From noreply at github.com Tue Mar 12 05:39:49 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 02:39:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 427aff: Removed bogus critical logs. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 427affcf474d62305ddbe5a8616944a61ee69d80 https://github.com/OpenSIPS/opensips/commit/427affcf474d62305ddbe5a8616944a61ee69d80 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Removed bogus critical logs. Do not report errors if data does not exists - we may end up in such a cleanup situation during a failed startup (with no data loaded). From noreply at github.com Tue Mar 12 05:40:25 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 09:40:25 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 176721: Removed bogus critical logs. Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 17672103084519e8385add55cebbaad988d11c20 https://github.com/OpenSIPS/opensips/commit/17672103084519e8385add55cebbaad988d11c20 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Removed bogus critical logs. Do not report errors if data does not exists - we may end up in such a cleanup situation during a failed startup (with no data loaded). (cherry picked from commit 427affcf474d62305ddbe5a8616944a61ee69d80) From noreply at github.com Tue Mar 12 05:42:04 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 09:42:04 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 16e248: Removed bogus critical logs. Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 16e2486544bd94b5f9b10687ad21aee5b74c9653 https://github.com/OpenSIPS/opensips/commit/16e2486544bd94b5f9b10687ad21aee5b74c9653 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/drouting.c Log Message: ----------- Removed bogus critical logs. Do not report errors if data does not exists - we may end up in such a cleanup situation during a failed startup (with no data loaded). (cherry picked from commit 427affcf474d62305ddbe5a8616944a61ee69d80) From noreply at github.com Tue Mar 12 07:45:04 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 04:45:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d11ba5: Fix building blacklist's name when using partitions Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d11ba50413b53e2c0dafa091de98b6bb8bd5b972 https://github.com/OpenSIPS/opensips/commit/d11ba50413b53e2c0dafa091de98b6bb8bd5b972 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix building blacklist's name when using partitions Do not include the partition name in the name of the blacklist From noreply at github.com Tue Mar 12 07:50:15 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 04:50:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 71120b: Small fix in test during blacklist name parsing Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 71120b601371bf7d49e49ed4eb9f0e11f284b0b3 https://github.com/OpenSIPS/opensips/commit/71120b601371bf7d49e49ed4eb9f0e11f284b0b3 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Small fix in test during blacklist name parsing Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972 From noreply at github.com Tue Mar 12 08:23:54 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 05:23:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 11aebd: Avoid warnings when duplicates found in blacklists. Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 11aebdeb90cdcf850505cf3042f2591f80df018b https://github.com/OpenSIPS/opensips/commit/11aebdeb90cdcf850505cf3042f2591f80df018b Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Avoid warnings when duplicates found in blacklists. From noreply at github.com Tue Mar 12 08:24:25 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 05:24:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c09026: Avoid warnings when duplicates found in blacklists. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c0902697f50377a36d75c2788252a32313ab2145 https://github.com/OpenSIPS/opensips/commit/c0902697f50377a36d75c2788252a32313ab2145 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Avoid warnings when duplicates found in blacklists. (cherry picked from commit 11aebdeb90cdcf850505cf3042f2591f80df018b) From noreply at github.com Tue Mar 12 08:24:45 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 05:24:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 570eb6: Avoid warnings when duplicates found in blacklists. Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 570eb61643456cf62dce181413892647fb593d97 https://github.com/OpenSIPS/opensips/commit/570eb61643456cf62dce181413892647fb593d97 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Avoid warnings when duplicates found in blacklists. (cherry picked from commit 11aebdeb90cdcf850505cf3042f2591f80df018b) From noreply at github.com Tue Mar 12 11:24:48 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 12 Mar 2019 08:24:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0b5c28: net/udp: fix `ps` Type output Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0b5c28e3990b29317221e4905b57e45e25ad3287 https://github.com/OpenSIPS/opensips/commit/0b5c28e3990b29317221e4905b57e45e25ad3287 Author: Razvan Crainea Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M net/net_udp.c Log Message: ----------- net/udp: fix `ps` Type output From noreply at github.com Tue Mar 12 11:37:21 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 08:37:21 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0c80bc: Fix useless/bogus pointer reset Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8 https://github.com/OpenSIPS/opensips/commit/0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix useless/bogus pointer reset Related to previos commit From noreply at github.com Tue Mar 12 11:41:57 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 08:41:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0bc8bf: Fix building blacklist's name when using partitions Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 0bc8bf3a729bc2117f3ea849412f583d4913b204 https://github.com/OpenSIPS/opensips/commit/0bc8bf3a729bc2117f3ea849412f583d4913b204 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix building blacklist's name when using partitions Do not include the partition name in the name of the blacklist (cherry picked from commit d11ba50413b53e2c0dafa091de98b6bb8bd5b972) Commit: 3bc72d4933cd01809505316d26aed180472aaf14 https://github.com/OpenSIPS/opensips/commit/3bc72d4933cd01809505316d26aed180472aaf14 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Small fix in test during blacklist name parsing Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972 (cherry picked from commit 71120b601371bf7d49e49ed4eb9f0e11f284b0b3) Commit: f5ffb1a130542b74b9e49790b9d919e7d64e73c8 https://github.com/OpenSIPS/opensips/commit/f5ffb1a130542b74b9e49790b9d919e7d64e73c8 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix useless/bogus pointer reset Related to previos commit (cherry picked from commit 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8) Compare: https://github.com/OpenSIPS/opensips/compare/11aebdeb90cd...f5ffb1a13054 From noreply at github.com Tue Mar 12 11:42:40 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 12 Mar 2019 08:42:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b96d9c: Fix building blacklist's name when using partitions Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: b96d9cc14072f1b1cbcc7ac7644e05094a3397e4 https://github.com/OpenSIPS/opensips/commit/b96d9cc14072f1b1cbcc7ac7644e05094a3397e4 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix building blacklist's name when using partitions Do not include the partition name in the name of the blacklist (cherry picked from commit d11ba50413b53e2c0dafa091de98b6bb8bd5b972) Commit: 3dbb98fa4d5be3e1930dbde6fc6fa9ef539c90d3 https://github.com/OpenSIPS/opensips/commit/3dbb98fa4d5be3e1930dbde6fc6fa9ef539c90d3 Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Small fix in test during blacklist name parsing Related to d11ba50413b53e2c0dafa091de98b6bb8bd5b972 (cherry picked from commit 71120b601371bf7d49e49ed4eb9f0e11f284b0b3) Commit: 74296412e6fa8fe8731ff5237d5c3634e95b786e https://github.com/OpenSIPS/opensips/commit/74296412e6fa8fe8731ff5237d5c3634e95b786e Author: Bogdan-Andrei Iancu Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/drouting/dr_bl.c Log Message: ----------- Fix useless/bogus pointer reset Related to previos commit (cherry picked from commit 0c80bcaf68b34c99a8b62b2e3c88bae43df97ff8) Compare: https://github.com/OpenSIPS/opensips/compare/570eb6164345...74296412e6fa From noreply at github.com Wed Mar 13 03:57:11 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Mar 2019 00:57:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 37aea0: Fixed false-positive triggering on bogus error test. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 37aea0c97e55d0a5c7d7588248b615a7afe78586 https://github.com/OpenSIPS/opensips/commit/37aea0c97e55d0a5c7d7588248b615a7afe78586 Author: Bogdan-Andrei Iancu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M modules/pua_dialoginfo/pua_dialoginfo.c Log Message: ----------- Fixed false-positive triggering on bogus error test. Check for parsing error on the proper structure. Fix some bogus DBG logs From noreply at github.com Wed Mar 13 05:34:07 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Mar 2019 02:34:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2001e3: Add Session-Expires header to compact_form_hdrs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2001e3fcb5afe5903a925e5d1cf4a14dc3762496 https://github.com/OpenSIPS/opensips/commit/2001e3fcb5afe5903a925e5d1cf4a14dc3762496 Author: Ryan Bullock Date: 2019-03-12 (Tue, 12 Mar 2019) Changed paths: M modules/compression/compression.c Log Message: ----------- Add Session-Expires header to compact_form_hdrs Commit: 18a4b9024d9e6864693f27830d86e7ead4c77e3e https://github.com/OpenSIPS/opensips/commit/18a4b9024d9e6864693f27830d86e7ead4c77e3e Author: Bogdan Andrei IANCU Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M modules/compression/compression.c Log Message: ----------- Merge pull request #1635 from rrb3942/compact_session_expires Add Session-Expires header to compact_form_hdrs Compare: https://github.com/OpenSIPS/opensips/compare/37aea0c97e55...18a4b9024d9e From noreply at github.com Wed Mar 13 05:35:56 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Mar 2019 02:35:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] faa2b2: Merge pull request #1635 from rrb3942/compact_sess... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: faa2b27935d5071e81ccf8c787d42389562dbe4a https://github.com/OpenSIPS/opensips/commit/faa2b27935d5071e81ccf8c787d42389562dbe4a Author: Bogdan Andrei IANCU Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M modules/compression/compression.c Log Message: ----------- Merge pull request #1635 from rrb3942/compact_session_expires Add Session-Expires header to compact_form_hdrs (cherry picked from commit 18a4b9024d9e6864693f27830d86e7ead4c77e3e) From noreply at github.com Wed Mar 13 05:36:20 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Mar 2019 02:36:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dd45a8: Merge pull request #1635 from rrb3942/compact_sess... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: dd45a84fe89c6092b39ed2210b7d6e030e77caf1 https://github.com/OpenSIPS/opensips/commit/dd45a84fe89c6092b39ed2210b7d6e030e77caf1 Author: Bogdan Andrei IANCU Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M modules/compression/compression.c Log Message: ----------- Merge pull request #1635 from rrb3942/compact_session_expires Add Session-Expires header to compact_form_hdrs (cherry picked from commit 18a4b9024d9e6864693f27830d86e7ead4c77e3e) From noreply at github.com Wed Mar 13 07:14:09 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 13 Mar 2019 04:14:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b48e4: replace opensipsctl snippets with opensips-cli Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7b48e4ec97e0ef035f90c821f648ba60ad15cf09 https://github.com/OpenSIPS/opensips/commit/7b48e4ec97e0ef035f90c821f648ba60ad15cf09 Author: Razvan Crainea Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M INSTALL M modules/b2b_entities/doc/b2b_entities_admin.xml M modules/b2b_logic/doc/b2b_logic_admin.xml M modules/b2b_sca/doc/b2b_sca_admin.xml M modules/benchmark/doc/benchmark_admin.xml M modules/call_center/doc/call_center_admin.xml M modules/carrierroute/doc/carrierroute_admin.xml M modules/cfgutils/doc/cfgutils_admin.xml M modules/clusterer/doc/clusterer_admin.xml M modules/cpl_c/doc/cpl_c_admin.xml M modules/db_berkeley/bdb_lib.c M modules/db_berkeley/doc/db_berkeley_admin.xml M modules/db_flatstore/doc/db_flatstore_admin.xml M modules/db_text/doc/db_text_admin.xml M modules/db_virtual/doc/db_virtual_admin.xml M modules/dialog/doc/dialog_admin.xml M modules/dialplan/doc/dialplan_admin.xml M modules/dispatcher/doc/dispatcher_admin.xml M modules/domain/doc/domain_admin.xml M modules/drouting/doc/drouting_admin.xml M modules/event_flatstore/doc/event_flatstore_admin.xml M modules/gflags/doc/gflags_admin.xml M modules/httpd/doc/httpd_admin.xml M modules/imc/doc/imc_admin.xml M modules/load_balancer/doc/load_balancer_admin.xml M modules/lua/doc/lua_admin.xml M modules/nathelper/doc/nathelper_admin.xml M modules/pi_http/doc/pi_http_admin.xml M modules/pike/doc/pike_admin.xml M modules/presence/doc/presence_admin.xml M modules/proto_tls/doc/proto_tls_admin.xml M modules/proto_ws/doc/proto_ws_admin.xml M modules/proto_wss/doc/proto_wss_admin.xml M modules/pua_mi/doc/pua_mi_admin.xml M modules/ratelimit/doc/ratelimit_admin.xml M modules/regex/doc/regex_admin.xml M modules/rls/doc/rls_admin.xml M modules/rtpengine/doc/rtpengine_admin.xml M modules/rtpproxy/doc/rtpproxy_admin.xml M modules/sipcapture/doc/sipcapture_admin.xml M modules/siptrace/doc/siptrace_admin.xml M modules/snmpstats/doc/snmpstats_faq.xml M modules/sql_cacher/doc/sql_cacher_admin.xml M modules/tm/doc/tm_admin.xml M modules/uac_registrant/doc/uac_registrant_admin.xml M modules/userblacklist/doc/userblacklist_admin.xml M modules/xcap_client/doc/xcap_client_admin.xml M opensips-m4cfg.8 R test/10.sh M test/11.sh M test/12.sh M test/13.sh M test/14.sh R test/17.sh M test/22.sh M test/23.sh R test/24.sh M test/25.sh M test/26.sh M test/28.sh M test/29.sh R test/3.sh M test/33.sh M test/35.sh M test/4.sh M test/7.cfg R test/8.sh R test/9.sh M utils/opensipsunix/opensipsunix.8 M utils/opensipsunix/opensipsunix.c Log Message: ----------- replace opensipsctl snippets with opensips-cli This is just a rough update of all examples that contained opensipsctl, but should cover most of the cases. However, if there are any broken examples, they should be reported properly. Note that since opensipsctl was not yet removed, modules are still deploying opensipsctl-related files. These will be sorted out when opensipsctl and osipsconsole will be completely dropped From noreply at github.com Wed Mar 13 07:36:39 2019 From: noreply at github.com (opensips-github) Date: Wed, 13 Mar 2019 11:36:39 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 78afd2: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 78afd259e51a9ca909b9343b78155cda51f8c5df https://github.com/OpenSIPS/opensips/commit/78afd259e51a9ca909b9343b78155cda51f8c5df Author: OpenSIPS Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/b2b_sca/README M modules/b2b_sca/doc/contributors.xml M modules/benchmark/README M modules/benchmark/doc/contributors.xml M modules/call_center/README M modules/call_center/doc/contributors.xml M modules/carrierroute/README M modules/carrierroute/doc/contributors.xml M modules/cfgutils/README M modules/cfgutils/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/compression/README M modules/compression/doc/contributors.xml M modules/cpl_c/README M modules/cpl_c/doc/contributors.xml M modules/db_berkeley/README M modules/db_berkeley/doc/contributors.xml M modules/db_flatstore/README M modules/db_flatstore/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/dialplan/README M modules/dialplan/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/domain/README M modules/domain/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/event_flatstore/README M modules/event_flatstore/doc/contributors.xml M modules/gflags/README M modules/gflags/doc/contributors.xml M modules/httpd/README M modules/httpd/doc/contributors.xml M modules/imc/README M modules/imc/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/lua/README M modules/lua/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/pi_http/README M modules/pi_http/doc/contributors.xml M modules/pike/README M modules/pike/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml M modules/pua_mi/README M modules/pua_mi/doc/contributors.xml M modules/ratelimit/README M modules/ratelimit/doc/contributors.xml M modules/regex/README M modules/regex/doc/contributors.xml M modules/rls/README M modules/rls/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/sipcapture/README M modules/sipcapture/doc/contributors.xml M modules/siptrace/README M modules/siptrace/doc/contributors.xml M modules/snmpstats/README M modules/snmpstats/doc/contributors.xml M modules/sql_cacher/README M modules/sql_cacher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/uac_registrant/README M modules/uac_registrant/doc/contributors.xml M modules/userblacklist/README M modules/userblacklist/doc/contributors.xml M modules/xcap_client/README M modules/xcap_client/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Wed Mar 13 08:21:15 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Mar 2019 05:21:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ea959e: OPS-6 (Selectable Allocator): Clean up VQ_MALLOC Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: ea959e19a94b93b75c0871d2c92a25d5e2f101ea https://github.com/OpenSIPS/opensips/commit/ea959e19a94b93b75c0871d2c92a25d5e2f101ea Author: Liviu Chircu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_stats.c M mem/mem.c M mem/mem.h M mem/memtest.c M mem/q_malloc.c M mem/q_malloc.h M mem/shm_mem.c M mem/shm_mem.h R mem/vq_malloc.c R mem/vq_malloc.h M packaging/debian/copyright M version.h Log Message: ----------- OPS-6 (Selectable Allocator): Clean up VQ_MALLOC This allocator is both unmaintained and non-functional for several years now. Commit: 4e230863fe821fe2c48ad82afb68bbe520bbc28f https://github.com/OpenSIPS/opensips/commit/4e230863fe821fe2c48ad82afb68bbe520bbc28f Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M Makefile.conf.template A mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h A mem/f_malloc_dyn.h M mem/mem.c M mem/mem.h M mem/shm_mem.c M mem/shm_mem.h M modules/lua/sipstate.c Log Message: ----------- OPS-6: Major allocator rework - F_MALLOC is functional The purpose of this rework is to be able to do the following: * be able to compile an inlined allocator (same performance as now - minimal binary footprint) * be able to compile an inlined, dbg allocator (same dbg performance as now - larger binary footprint) * be able to compile multiple allocators (a bit slower, somewhat flexible, larger+ binary footprint) * be able to compile multiple, dbg allocators (just-as-slower, most flexible: 3 allocators + 3 dbg allocators, larger++ binary footprint) This commit creates the framework for the above. QM_MALLOC and HP_MALLOC are completely broken, but F_MALLOC inlining is working well, with or w/o DBG_MALLOC. Compare: https://github.com/OpenSIPS/opensips/compare/ea959e19a94b%5E...4e230863fe82 From noreply at github.com Wed Mar 13 10:18:13 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Mar 2019 14:18:13 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8804d: OPS-6: Major allocator rework - F_MALLOC is functi... Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: c8804d280d3f603e6846bdeaba501a5ebdcaafab https://github.com/OpenSIPS/opensips/commit/c8804d280d3f603e6846bdeaba501a5ebdcaafab Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M Makefile.conf.template A mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h A mem/f_malloc_dyn.h M mem/mem.c M mem/mem.h M mem/shm_mem.c M mem/shm_mem.h M modules/lua/sipstate.c Log Message: ----------- OPS-6: Major allocator rework - F_MALLOC is functional The purpose of this rework is to be able to do the following: * be able to compile an inlined allocator (same performance as now, same binary footprint) * be able to compile an inlined, dbg allocator (same dbg performance as now, same larger binary footprint) * be able to compile multiple allocators (a bit slower, somewhat flexible, larger+ binary footprint) * be able to compile multiple, dbg allocators (even slower, most flexible: 3 allocators + 3 dbg allocators, larger++ binary footprint) This commit creates the framework for the above. QM_MALLOC and HP_MALLOC are currently completely broken, but F_MALLOC inlining is working well, with or w/o DBG_MALLOC. Commit: af1f013425ac1cb95e321a17543f9ffd7ceadcf5 https://github.com/OpenSIPS/opensips/commit/af1f013425ac1cb95e321a17543f9ffd7ceadcf5 Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h A mem/qm_malloc_dyn.h Log Message: ----------- OPS-6: QM_MALLOC is once again functional Compare: https://github.com/OpenSIPS/opensips/compare/4e230863fe82...af1f013425ac From noreply at github.com Wed Mar 13 11:55:10 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Mar 2019 08:55:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 67ed0c: OPS-6: Fix some F_MALLOC issues Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 67ed0ccbaa83ac91dfad887b39a603db05fb23db https://github.com/OpenSIPS/opensips/commit/67ed0ccbaa83ac91dfad887b39a603db05fb23db Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc_dyn.h Log Message: ----------- OPS-6: Fix some F_MALLOC issues * fix missing #ifdef * fix badly migrated #ifdef Commit: 5e6cf56ff94145b11388c00468e46283bf2ab69e https://github.com/OpenSIPS/opensips/commit/5e6cf56ff94145b11388c00468e46283bf2ab69e Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/common.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h A mem/hp_malloc_dyn.h M mem/mem.c M mem/mem.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: HP_MALLOC is once again functional Compare: https://github.com/OpenSIPS/opensips/compare/af1f013425ac...5e6cf56ff941 From noreply at github.com Wed Mar 13 12:21:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 13 Mar 2019 09:21:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 320e41: Add transformation {ip.matches, ip/masklen} Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 320e4126bd96a36384c1b6c08ff6f10429d8719d https://github.com/OpenSIPS/opensips/commit/320e4126bd96a36384c1b6c08ff6f10429d8719d Author: Bogdan-Andrei Iancu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M transformations.c M transformations.h Log Message: ----------- Add transformation {ip.matches,ip/masklen} From noreply at github.com Wed Mar 13 13:50:30 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Mar 2019 10:50:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e4e9e6: OPS-6: F_MALLOC and QM_MALLOC may now compile toge... Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: e4e9e69412a97bcb520fd0d68c85b83c893b339c https://github.com/OpenSIPS/opensips/commit/e4e9e69412a97bcb520fd0d68c85b83c893b339c Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/mem.c M mem/mem.h M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: F_MALLOC and QM_MALLOC may now compile together From noreply at github.com Wed Mar 13 14:19:33 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 13 Mar 2019 11:19:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 900288: OPS-6: F_MALLOC and HP_MALLOC may now compile toge... Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 9002881a67d8bf6e8d0ed0938186c047d541761d https://github.com/OpenSIPS/opensips/commit/9002881a67d8bf6e8d0ed0938186c047d541761d Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- OPS-6: F_MALLOC and HP_MALLOC may now compile together From noreply at github.com Thu Mar 14 05:38:40 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 02:38:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9e8421: rest_client: Explicitly set retcode_pv to 0 on error Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9e842178d6c3d96143f4d1881bb57cdd180153f6 https://github.com/OpenSIPS/opensips/commit/9e842178d6c3d96143f4d1881bb57cdd180153f6 Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M modules/rest_client/rest_client.c Log Message: ----------- rest_client: Explicitly set retcode_pv to 0 on error This avoids any scripting mistakes where: * the user does not init $var(http_rc) to 0 prior to rest_get() * rest_get() fails (e.g. connection timeout -- web server is down) * $var(http_rc) is untouched, yet mistakenly holds 200 from a previous (successful) run of the same process From noreply at github.com Thu Mar 14 05:39:46 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 09:39:46 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3a566f: rest_client: Explicitly set retcode_pv to 0 on error Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3a566f156b1eab5d4e74bc60522fe94a781ee6f2 https://github.com/OpenSIPS/opensips/commit/3a566f156b1eab5d4e74bc60522fe94a781ee6f2 Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M modules/rest_client/rest_client.c Log Message: ----------- rest_client: Explicitly set retcode_pv to 0 on error This avoids any scripting mistakes where: * the user does not init $var(http_rc) to 0 prior to rest_get() * rest_get() fails (e.g. connection timeout -- web server is down) * $var(http_rc) is untouched, yet mistakenly holds 200 from a previous (successful) run of the same process (cherry picked from commit 9e842178d6c3d96143f4d1881bb57cdd180153f6) From razvan at opensips.org Thu Mar 14 05:40:19 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Thu, 14 Mar 2019 11:40:19 +0200 Subject: [OpenSIPS-Devel] NEW OpenSIPS CLI interactive management tool Message-ID: <389f53b3-7ac9-21f5-e137-bc56864b907a@opensips.org> Hi, all! In order to improve your operational experience of the new OpenSIPS 3.0, we have developed a new interactive command tool, named OpenSIPS CLI, that is strongly coupled with the new OpenSIPS MI interface. You can find the new tool on GitHub at: https://github.com/OpenSIPS/opensips-cli Compared to the old opensipsctl, the new tool has a lot of cool features such as: * Commands auto-completion * History and commands navigation * Remote execution support * Support for multiple instances from the same session Check out our blog to find out more information about OpenSIPS CLI: https://blog.opensips.org/2019/03/13/new-opensips-cli-tool-for-the-new-management-interface-in-opensips-3-0/ Happy hacking! -- 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 Thu Mar 14 05:57:16 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 14 Mar 2019 02:57:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ad60d1: Fix pres/subs listing via new MI Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ad60d1f7cdacce45d70f907a4043ea41f55271c6 https://github.com/OpenSIPS/opensips/commit/ad60d1f7cdacce45d70f907a4043ea41f55271c6 Author: Bogdan-Andrei Iancu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M modules/presence/presence.c Log Message: ----------- Fix pres/subs listing via new MI From noreply at github.com Thu Mar 14 07:08:08 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 04:08:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a58f76: OPS-6: All 3 allocators may now compile together Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: a58f76c0df6645a9a4fd44144e155becebfd03af https://github.com/OpenSIPS/opensips/commit/a58f76c0df6645a9a4fd44144e155becebfd03af Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M main.c M mem/common.c M mem/common.h M mem/hp_malloc.c M mem/hp_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: All 3 allocators may now compile together With or without -DDBG_MALLOC From noreply at github.com Thu Mar 14 07:19:41 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 04:19:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7a1cf1: OPS-6: Drop USE_SHM_MEM support Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 7a1cf1d923de9f2dbb9d1b5dce1586eaecceae98 https://github.com/OpenSIPS/opensips/commit/7a1cf1d923de9f2dbb9d1b5dce1586eaecceae98 Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M cfg.y M main.c M mem/mem.c M mem/mem.h M reactor.c M version.h Log Message: ----------- OPS-6: Drop USE_SHM_MEM support This compile flag has never had a useful application, yet it has constantly required careful attending / maintenance. From noreply at github.com Thu Mar 14 12:39:57 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 09:39:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d43fe: OPS-6: USE_SHM_STATS is once again functional Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 8d43fe53cccf445e95ddd3c5318d70960afcbf9a https://github.com/OpenSIPS/opensips/commit/8d43fe53cccf445e95ddd3c5318d70960afcbf9a Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template M mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/module_info.c M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: USE_SHM_STATS is once again functional From noreply at github.com Thu Mar 14 12:40:29 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 09:40:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c202cf: OPS-6: SHM_EXTRA_STATS is once again functional Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: c202cfc2a4f0f663cee0585d7bbb687e7fe42b3d https://github.com/OpenSIPS/opensips/commit/c202cfc2a4f0f663cee0585d7bbb687e7fe42b3d Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template M mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/module_info.c M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: SHM_EXTRA_STATS is once again functional From noreply at github.com Thu Mar 14 12:49:59 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 09:49:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 23fea2: OPS-6: Update Makefile.conf.template comments Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 23fea2f8c8d6f6811abebd34c3efdadb3c6e49ec https://github.com/OpenSIPS/opensips/commit/23fea2f8c8d6f6811abebd34c3efdadb3c6e49ec Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template Log Message: ----------- OPS-6: Update Makefile.conf.template comments From noreply at github.com Thu Mar 14 13:40:51 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 14 Mar 2019 10:40:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6d7b8e: OPS-6: Fix some subtle bugs Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 6d7b8ec714edb9b7e25345754ea4ba41f8b566dd https://github.com/OpenSIPS/opensips/commit/6d7b8ec714edb9b7e25345754ea4ba41f8b566dd Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M mem/common.c M mem/f_malloc.h M mem/q_malloc.c M mem/q_malloc.h M mem/shm_mem.c Log Message: ----------- OPS-6: Fix some subtle bugs * QM_MALLOC + HP_MALLOC with no DBG_MALLOC failed with QM_MALLOC because of incorrectly shared "ROUNDTO" constant between .h files * bad copy-pasted functions, leading to linker errors * undefined NULL symbol From noreply at github.com Fri Mar 15 06:07:55 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 03:07:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a6a0d8: OPS-6: Fix additional incompatibilities Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: a6a0d812fb5a506324e363e88cd39167e66abe45 https://github.com/OpenSIPS/opensips/commit/a6a0d812fb5a506324e363e88cd39167e66abe45 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M main.c M mem/f_malloc_dyn.h M mem/hp_malloc_stats.c M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: Fix additional incompatibilities * fix broken inlined F_MALLOC * fix missing symbols when inlining allocators From noreply at github.com Fri Mar 15 06:30:22 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Mar 2019 03:30:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4a3435: Migrated to new function param interface. Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: 4a34354d6f162fd7d2e6d00bb0b20c43898c0d15 https://github.com/OpenSIPS/opensips/commit/4a34354d6f162fd7d2e6d00bb0b20c43898c0d15 Author: Bogdan-Andrei Iancu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M modules/dialplan/dialplan.c M modules/dialplan/doc/dialplan_admin.xml Log Message: ----------- Migrated to new function param interface. In script and MI function dp_translate, the partition is now a separate optional param (from the dpid). Also, the script dp_translate() has the input string and output variable split in two different paramters. From noreply at github.com Fri Mar 15 06:51:50 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 03:51:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 41ad67: OPS-6: Fix shutdown issues with multi-allocators Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 41ad6727f3d7a17370c38db5d06f0dcdf450b30b https://github.com/OpenSIPS/opensips/commit/41ad6727f3d7a17370c38db5d06f0dcdf450b30b Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c Log Message: ----------- OPS-6: Fix shutdown issues with multi-allocators The "(fm|qm|hp)_status()" functions also require "_dbg" versions From noreply at github.com Fri Mar 15 06:58:16 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 03:58:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c7d02c: OPS-6: Add a memory manager printing function Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: c7d02c0a7e1e29d05b635ea6e0981bfb87330fa3 https://github.com/OpenSIPS/opensips/commit/c7d02c0a7e1e29d05b635ea6e0981bfb87330fa3 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/common.h M mem/mem.c M mem/shm_mem.c Log Message: ----------- OPS-6: Add a memory manager printing function From noreply at github.com Fri Mar 15 07:33:48 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Mar 2019 04:33:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips From noreply at github.com Fri Mar 15 08:47:32 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Mar 2019 05:47:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cb12ef: Pack all the types of routes in a single structure Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: cb12ef1f2cd91e66f3924b0ba9a8a1cd0038fc11 https://github.com/OpenSIPS/opensips/commit/cb12ef1f2cd91e66f3924b0ba9a8a1cd0038fc11 Author: Bogdan-Andrei Iancu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M action.c M async.c M cfg.y M main.c M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/dlg.c M modules/cpl_c/cpl.c M modules/cpl_c/cpl_sig.c M modules/drouting/dr_load.c M modules/drouting/drouting.c M modules/event_route/event_route.c M modules/event_routing/ebr_data.c M modules/event_routing/event_routing.c M modules/pike/pike.c M modules/pike/pike_funcs.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_wss/proto_wss.c M modules/script_helper/script_helper.c M modules/sipcapture/sipcapture.c M modules/tm/async.c M modules/tm/t_fwd.c M modules/tm/t_reply.c M modules/tm/tm.c M modules/tm/uac.c M net/proto_tcp/proto_tcp.c M net/trans_trace.c M receive.c M route.c M route.h M timer.c Log Message: ----------- Pack all the types of routes in a single structure From noreply at github.com Fri Mar 15 11:12:25 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 08:12:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4adb1b: OPS-6: Better organize some SHM_EXTRA_STATS code Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 4adb1bb5035b422de95dbf587890b9b75efb61ba https://github.com/OpenSIPS/opensips/commit/4adb1bb5035b422de95dbf587890b9b75efb61ba Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.h M mem/q_malloc.h Log Message: ----------- OPS-6: Better organize some SHM_EXTRA_STATS code Commit: 572f0df73ea9f70ee9fcb85206312a9be25c7a00 https://github.com/OpenSIPS/opensips/commit/572f0df73ea9f70ee9fcb85206312a9be25c7a00 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h Log Message: ----------- OPS-6: HP_MALLOC / F_MALLOC - remove redundant logic There is no need for a separate frag->is_free field, as this task is already achieved by the optimally managed frag->prev field in both allocators. Compare: https://github.com/OpenSIPS/opensips/compare/c7d02c0a7e1e...572f0df73ea9 From noreply at github.com Fri Mar 15 11:16:17 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 08:16:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 243fce: OPS-6: HP_MALLOC - don't always allocate the stats... Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 243fcee7abbfeb7595a77263d9b8fa8a8bde259b https://github.com/OpenSIPS/opensips/commit/243fcee7abbfeb7595a77263d9b8fa8a8bde259b Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- OPS-6: HP_MALLOC - don't always allocate the stats lock This lock is only required when HP_MALLOC_FAST_STATS is enabled, which gives lockless mem stats, but with come at a price of reduced precision. From noreply at github.com Fri Mar 15 11:48:16 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Mar 2019 15:48:16 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d84cbb: Added support to free the scripting routes. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: d84cbbdafb28aacde01ee4d6b410e602e1ab82b6 https://github.com/OpenSIPS/opensips/commit/d84cbbdafb28aacde01ee4d6b410e602e1ab82b6 Author: Bogdan-Andrei Iancu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M main.c M route.c M route.h M route_struct.c M route_struct.h Log Message: ----------- Added support to free the scripting routes. NOTE: things related to fixups or attached var specs are not yet freed. From noreply at github.com Fri Mar 15 12:35:58 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 16:35:58 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8b054a: OPS-6: Refactor QM_MALLOC into Q_MALLOC Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 8b054a173f678541f1066e96c3d44b4e2027c158 https://github.com/OpenSIPS/opensips/commit/8b054a173f678541f1066e96c3d44b4e2027c158 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M main.c M mem/common.h M mem/mem.c M mem/mem.h M mem/q_malloc.c M mem/q_malloc.h A mem/q_malloc_dyn.h R mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h M mi/mi_core.c M version.h Log Message: ----------- OPS-6: Refactor QM_MALLOC into Q_MALLOC From noreply at github.com Fri Mar 15 12:47:20 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 09:47:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9349a0: OPS-6: Add new "allocator" cmdline options (-a, -k... Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: 9349a061a2bc21991ddbdb7db5b1fbdaaf18c528 https://github.com/OpenSIPS/opensips/commit/9349a061a2bc21991ddbdb7db5b1fbdaaf18c528 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M main.c M mem/common.c M mem/common.h M mem/mem.c M mem/mem.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: Add new "allocator" cmdline options (-a, -k, -s) Description: * -a, sets the global allocator * -k, sets the PKG allocator, overrides -a * -s, sets the SHM allocator, overrides -a The maximally supported set of string values for each of these options: * F_MALLOC * F_MALLOC_DBG * Q_MALLOC * Q_MALLOC_DBG * HP_MALLOC * HP_MALLOC_DBG (case-insensitive matching) Now, depending whether OpenSIPS was compiled in a more optimized manner, with less allocators, some of these values MAY not be available, case in which appropriate error logs will be printed at startup. From noreply at github.com Fri Mar 15 13:01:24 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Fri, 15 Mar 2019 17:01:24 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d0f3b: Free also the var specs allocated from script parser Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: 8d0f3b821d43d3a4d6b4843209173055b7114304 https://github.com/OpenSIPS/opensips/commit/8d0f3b821d43d3a4d6b4843209173055b7114304 Author: Bogdan-Andrei Iancu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M route_struct.c Log Message: ----------- Free also the var specs allocated from script parser From noreply at github.com Fri Mar 15 13:05:28 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 17:05:28 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d2f780: OPS-6: Allocator codebase - fix coding style Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips Commit: d2f780cb8be6eef5d9cccd219e5516a9792aae69 https://github.com/OpenSIPS/opensips/commit/d2f780cb8be6eef5d9cccd219e5516a9792aae69 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h M mem/q_malloc_dyn.h Log Message: ----------- OPS-6: Allocator codebase - fix coding style * "type *name" * "type *(func)" * fix "qm" -> "fm" copy-paste leftover * consistent func source strings in q_malloc.c From noreply at github.com Fri Mar 15 13:14:11 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 10:14:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ea959e: OPS-6 (Selectable Allocator): Clean up VQ_MALLOC Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ea959e19a94b93b75c0871d2c92a25d5e2f101ea https://github.com/OpenSIPS/opensips/commit/ea959e19a94b93b75c0871d2c92a25d5e2f101ea Author: Liviu Chircu Date: 2019-03-11 (Mon, 11 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_stats.c M mem/mem.c M mem/mem.h M mem/memtest.c M mem/q_malloc.c M mem/q_malloc.h M mem/shm_mem.c M mem/shm_mem.h R mem/vq_malloc.c R mem/vq_malloc.h M packaging/debian/copyright M version.h Log Message: ----------- OPS-6 (Selectable Allocator): Clean up VQ_MALLOC This allocator is both unmaintained and non-functional for several years now. Commit: c8804d280d3f603e6846bdeaba501a5ebdcaafab https://github.com/OpenSIPS/opensips/commit/c8804d280d3f603e6846bdeaba501a5ebdcaafab Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M Makefile.conf.template A mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h A mem/f_malloc_dyn.h M mem/mem.c M mem/mem.h M mem/shm_mem.c M mem/shm_mem.h M modules/lua/sipstate.c Log Message: ----------- OPS-6: Major allocator rework - F_MALLOC is functional The purpose of this rework is to be able to do the following: * be able to compile an inlined allocator (same performance as now, same binary footprint) * be able to compile an inlined, dbg allocator (same dbg performance as now, same larger binary footprint) * be able to compile multiple allocators (a bit slower, somewhat flexible, larger+ binary footprint) * be able to compile multiple, dbg allocators (even slower, most flexible: 3 allocators + 3 dbg allocators, larger++ binary footprint) This commit creates the framework for the above. QM_MALLOC and HP_MALLOC are currently completely broken, but F_MALLOC inlining is working well, with or w/o DBG_MALLOC. Commit: af1f013425ac1cb95e321a17543f9ffd7ceadcf5 https://github.com/OpenSIPS/opensips/commit/af1f013425ac1cb95e321a17543f9ffd7ceadcf5 Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h A mem/qm_malloc_dyn.h Log Message: ----------- OPS-6: QM_MALLOC is once again functional Commit: 67ed0ccbaa83ac91dfad887b39a603db05fb23db https://github.com/OpenSIPS/opensips/commit/67ed0ccbaa83ac91dfad887b39a603db05fb23db Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc_dyn.h Log Message: ----------- OPS-6: Fix some F_MALLOC issues * fix missing #ifdef * fix badly migrated #ifdef Commit: 5e6cf56ff94145b11388c00468e46283bf2ab69e https://github.com/OpenSIPS/opensips/commit/5e6cf56ff94145b11388c00468e46283bf2ab69e Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/common.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h A mem/hp_malloc_dyn.h M mem/mem.c M mem/mem.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: HP_MALLOC is once again functional Commit: e4e9e69412a97bcb520fd0d68c85b83c893b339c https://github.com/OpenSIPS/opensips/commit/e4e9e69412a97bcb520fd0d68c85b83c893b339c Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/mem.c M mem/mem.h M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: F_MALLOC and QM_MALLOC may now compile together Commit: 9002881a67d8bf6e8d0ed0938186c047d541761d https://github.com/OpenSIPS/opensips/commit/9002881a67d8bf6e8d0ed0938186c047d541761d Author: Liviu Chircu Date: 2019-03-13 (Wed, 13 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- OPS-6: F_MALLOC and HP_MALLOC may now compile together Commit: a58f76c0df6645a9a4fd44144e155becebfd03af https://github.com/OpenSIPS/opensips/commit/a58f76c0df6645a9a4fd44144e155becebfd03af Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M main.c M mem/common.c M mem/common.h M mem/hp_malloc.c M mem/hp_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: All 3 allocators may now compile together With or without -DDBG_MALLOC Commit: 7a1cf1d923de9f2dbb9d1b5dce1586eaecceae98 https://github.com/OpenSIPS/opensips/commit/7a1cf1d923de9f2dbb9d1b5dce1586eaecceae98 Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M cfg.y M main.c M mem/mem.c M mem/mem.h M reactor.c M version.h Log Message: ----------- OPS-6: Drop USE_SHM_MEM support This compile flag has never had a useful application, yet it has constantly required careful attending / maintenance. Commit: c202cfc2a4f0f663cee0585d7bbb687e7fe42b3d https://github.com/OpenSIPS/opensips/commit/c202cfc2a4f0f663cee0585d7bbb687e7fe42b3d Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template M mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/module_info.c M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: SHM_EXTRA_STATS is once again functional Commit: 23fea2f8c8d6f6811abebd34c3efdadb3c6e49ec https://github.com/OpenSIPS/opensips/commit/23fea2f8c8d6f6811abebd34c3efdadb3c6e49ec Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M Makefile.conf.template Log Message: ----------- OPS-6: Update Makefile.conf.template comments Commit: 6d7b8ec714edb9b7e25345754ea4ba41f8b566dd https://github.com/OpenSIPS/opensips/commit/6d7b8ec714edb9b7e25345754ea4ba41f8b566dd Author: Liviu Chircu Date: 2019-03-14 (Thu, 14 Mar 2019) Changed paths: M mem/common.c M mem/f_malloc.h M mem/q_malloc.c M mem/q_malloc.h M mem/shm_mem.c Log Message: ----------- OPS-6: Fix some subtle bugs * QM_MALLOC + HP_MALLOC with no DBG_MALLOC failed with QM_MALLOC because of incorrectly shared "ROUNDTO" constant between .h files * bad copy-pasted functions, leading to linker errors * undefined NULL symbol Commit: a6a0d812fb5a506324e363e88cd39167e66abe45 https://github.com/OpenSIPS/opensips/commit/a6a0d812fb5a506324e363e88cd39167e66abe45 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M main.c M mem/f_malloc_dyn.h M mem/hp_malloc_stats.c M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: Fix additional incompatibilities * fix broken inlined F_MALLOC * fix missing symbols when inlining allocators Commit: 41ad6727f3d7a17370c38db5d06f0dcdf450b30b https://github.com/OpenSIPS/opensips/commit/41ad6727f3d7a17370c38db5d06f0dcdf450b30b Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h M mem/qm_malloc_dyn.h M mem/shm_mem.c Log Message: ----------- OPS-6: Fix shutdown issues with multi-allocators The "(fm|qm|hp)_status()" functions also require "_dbg" versions Commit: c7d02c0a7e1e29d05b635ea6e0981bfb87330fa3 https://github.com/OpenSIPS/opensips/commit/c7d02c0a7e1e29d05b635ea6e0981bfb87330fa3 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/common.h M mem/mem.c M mem/shm_mem.c Log Message: ----------- OPS-6: Add a memory manager printing function Commit: 4adb1bb5035b422de95dbf587890b9b75efb61ba https://github.com/OpenSIPS/opensips/commit/4adb1bb5035b422de95dbf587890b9b75efb61ba Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.h M mem/q_malloc.h Log Message: ----------- OPS-6: Better organize some SHM_EXTRA_STATS code Commit: 572f0df73ea9f70ee9fcb85206312a9be25c7a00 https://github.com/OpenSIPS/opensips/commit/572f0df73ea9f70ee9fcb85206312a9be25c7a00 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h Log Message: ----------- OPS-6: HP_MALLOC / F_MALLOC - remove redundant logic There is no need for a separate frag->is_free field, as this task is already achieved by the optimally managed frag->prev field in both allocators. Commit: 243fcee7abbfeb7595a77263d9b8fa8a8bde259b https://github.com/OpenSIPS/opensips/commit/243fcee7abbfeb7595a77263d9b8fa8a8bde259b Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- OPS-6: HP_MALLOC - don't always allocate the stats lock This lock is only required when HP_MALLOC_FAST_STATS is enabled, which gives lockless mem stats, but with come at a price of reduced precision. Commit: 8b054a173f678541f1066e96c3d44b4e2027c158 https://github.com/OpenSIPS/opensips/commit/8b054a173f678541f1066e96c3d44b4e2027c158 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M main.c M mem/common.h M mem/mem.c M mem/mem.h M mem/q_malloc.c M mem/q_malloc.h A mem/q_malloc_dyn.h R mem/qm_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h M mi/mi_core.c M version.h Log Message: ----------- OPS-6: Refactor QM_MALLOC into Q_MALLOC Commit: 9349a061a2bc21991ddbdb7db5b1fbdaaf18c528 https://github.com/OpenSIPS/opensips/commit/9349a061a2bc21991ddbdb7db5b1fbdaaf18c528 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M main.c M mem/common.c M mem/common.h M mem/mem.c M mem/mem.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- OPS-6: Add new "allocator" cmdline options (-a, -k, -s) Description: * -a, sets the global allocator * -k, sets the PKG allocator, overrides -a * -s, sets the SHM allocator, overrides -a The maximally supported set of string values for each of these options: * F_MALLOC * F_MALLOC_DBG * Q_MALLOC * Q_MALLOC_DBG * HP_MALLOC * HP_MALLOC_DBG (case-insensitive matching) Now, depending whether OpenSIPS was compiled in a more optimized manner, with less allocators, some of these values MAY not be available, case in which appropriate error logs will be printed at startup. Commit: d2f780cb8be6eef5d9cccd219e5516a9792aae69 https://github.com/OpenSIPS/opensips/commit/d2f780cb8be6eef5d9cccd219e5516a9792aae69 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/q_malloc.c M mem/q_malloc.h M mem/q_malloc_dyn.h Log Message: ----------- OPS-6: Allocator codebase - fix coding style * "type *name" * "type *(func)" * fix "qm" -> "fm" copy-paste leftover * consistent func source strings in q_malloc.c Commit: 1f821b1ac864eda75b06675ecc3b7af63f4d56c8 https://github.com/OpenSIPS/opensips/commit/1f821b1ac864eda75b06675ecc3b7af63f4d56c8 Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M cfg.y M main.c A mem/common.c M mem/common.h M mem/f_malloc.c M mem/f_malloc.h A mem/f_malloc_dyn.h M mem/hp_malloc.c M mem/hp_malloc.h A mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h M mem/mem.c M mem/mem.h M mem/memtest.c M mem/module_info.c M mem/q_malloc.c M mem/q_malloc.h A mem/q_malloc_dyn.h M mem/shm_mem.c M mem/shm_mem.h R mem/vq_malloc.c R mem/vq_malloc.h M mi/mi_core.c M modules/lua/sipstate.c M packaging/debian/copyright M reactor.c M version.h Log Message: ----------- Merge branch 'feature/selectable-allocator' Compare: https://github.com/OpenSIPS/opensips/compare/ad60d1f7cdac...1f821b1ac864 From noreply at github.com Fri Mar 15 13:14:43 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 10:14:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: Branch: refs/heads/feature/selectable-allocator Home: https://github.com/OpenSIPS/opensips From noreply at github.com Fri Mar 15 13:29:46 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 15 Mar 2019 17:29:46 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fbecd4: Add new compile flag: CC_O0 (zero compiler optimiz... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fbecd4397a26b28dfee5eec283de17214c178eaf https://github.com/OpenSIPS/opensips/commit/fbecd4397a26b28dfee5eec283de17214c178eaf Author: Liviu Chircu Date: 2019-03-15 (Fri, 15 Mar 2019) Changed paths: M Makefile.conf.template M Makefile.defs M version.h Log Message: ----------- Add new compile flag: CC_O0 (zero compiler optimizations) The idea is to decouple DBG_MALLOC from also completely disabling compiler optimizations. Maybe someone wants to deploy a debugging build to production that doesn't run like a wheelbarrow. From osas at voipembedded.com Fri Mar 15 14:05:11 2019 From: osas at voipembedded.com (Ovidiu Sas) Date: Fri, 15 Mar 2019 14:05:11 -0400 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fbecd4: Add new compile flag: CC_O0 (zero compiler optimiz... In-Reply-To: References: Message-ID: Nice one! :) On Fri, Mar 15, 2019 at 1:30 PM Liviu Chircu wrote: > > Branch: refs/heads/master > Home: https://github.com/OpenSIPS/opensips > Commit: fbecd4397a26b28dfee5eec283de17214c178eaf > https://github.com/OpenSIPS/opensips/commit/fbecd4397a26b28dfee5eec283de17214c178eaf > Author: Liviu Chircu > Date: 2019-03-15 (Fri, 15 Mar 2019) > > Changed paths: > M Makefile.conf.template > M Makefile.defs > M version.h > > Log Message: > ----------- > Add new compile flag: CC_O0 (zero compiler optimizations) > > The idea is to decouple DBG_MALLOC from also completely disabling > compiler optimizations. Maybe someone wants to deploy a debugging build > to production that doesn't run like a wheelbarrow. > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- VoIP Embedded, Inc. http://www.voipembedded.com From noreply at github.com Sun Mar 17 16:10:58 2019 From: noreply at github.com (opensips-github) Date: Sun, 17 Mar 2019 13:10:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3dff94: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 3dff9436e895742cc8ef3b483d746ef73770498c https://github.com/OpenSIPS/opensips/commit/3dff9436e895742cc8ef3b483d746ef73770498c Author: OpenSIPS Date: 2019-03-17 (Sun, 17 Mar 2019) Changed paths: M modules/compression/README M modules/compression/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 17 16:33:59 2019 From: noreply at github.com (opensips-github) Date: Sun, 17 Mar 2019 13:33:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dfbab5: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: dfbab5d082aca929bfd615b81837a0505ac6c7ab https://github.com/OpenSIPS/opensips/commit/dfbab5d082aca929bfd615b81837a0505ac6c7ab Author: OpenSIPS Date: 2019-03-17 (Sun, 17 Mar 2019) Changed paths: M modules/compression/README M modules/compression/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 17 16:54:26 2019 From: noreply at github.com (opensips-github) Date: Sun, 17 Mar 2019 13:54:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e7a283: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e7a28399350689acc9ff5c4cf8896741b901e9ea https://github.com/OpenSIPS/opensips/commit/e7a28399350689acc9ff5c4cf8896741b901e9ea Author: OpenSIPS Date: 2019-03-17 (Sun, 17 Mar 2019) Changed paths: M modules/lua/README M modules/lua/doc/contributors.xml M modules/presence/README M modules/presence/doc/contributors.xml M modules/rest_client/README M modules/rest_client/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Mar 18 04:48:44 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 18 Mar 2019 01:48:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a6688: PKG mem: Clean up header file Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8a668851eecc6b822cca6c4679c014b870dbaa09 https://github.com/OpenSIPS/opensips/commit/8a668851eecc6b822cca6c4679c014b870dbaa09 Author: Liviu Chircu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mem/mem.h Log Message: ----------- PKG mem: Clean up header file * normalize #ifdef coding style * remove redundant "no allocator" warnings (mem/common.h does this) Commit: 67026770d7e0f54351baefa9d3eee6982ce25581 https://github.com/OpenSIPS/opensips/commit/67026770d7e0f54351baefa9d3eee6982ce25581 Author: Liviu Chircu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- HP_MALLOC: Update copyrights Compare: https://github.com/OpenSIPS/opensips/compare/e7a283993506...67026770d7e0 From noreply at github.com Mon Mar 18 09:25:34 2019 From: noreply at github.com (Liviu Chircu) Date: Mon, 18 Mar 2019 06:25:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bc7423: Fix compile warning Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bc74237c11921e72cabeb8698c8be6e5aeed31f1 https://github.com/OpenSIPS/opensips/commit/bc74237c11921e72cabeb8698c8be6e5aeed31f1 Author: Liviu Chircu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mem/common.c Log Message: ----------- Fix compile warning Commit: 4a22a7ba90c7e3a13c569828d8519fdfbad7ef4b https://github.com/OpenSIPS/opensips/commit/4a22a7ba90c7e3a13c569828d8519fdfbad7ef4b Author: Liviu Chircu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mem/shm_mem.c M mem/shm_mem.h M modules/tm/t_fwd.c M modules/tm/t_reply.c Log Message: ----------- shared memory: Drop shm_resize() It has the same purpose and uses the same parameters as shm_realloc()... Compare: https://github.com/OpenSIPS/opensips/compare/67026770d7e0...4a22a7ba90c7 From noreply at github.com Mon Mar 18 11:04:54 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 18 Mar 2019 08:04:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a06a8c: [permissions] migrated to new func's param interface. Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: a06a8c9a5132fb384eaab4099a10ece783962fdb https://github.com/OpenSIPS/opensips/commit/a06a8c9a5132fb384eaab4099a10ece783962fdb Author: Bogdan-Andrei Iancu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/permissions/address.c M modules/permissions/address.h M modules/permissions/doc/permissions_admin.xml M modules/permissions/hash.c M modules/permissions/hash.h M modules/permissions/partitions.c M modules/permissions/partitions.h M modules/permissions/permissions.c Log Message: ----------- [permissions] migrated to new func's param interface. Partition is no longer part of the same param as the group, but an optional last parameter. allow_routing/register(allow,deny) dropped as they were broken - keeping only the allow_routing/register(basename) should do it. From noreply at github.com Mon Mar 18 11:11:49 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 18 Mar 2019 08:11:49 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7a65e: [permission] Fixed partition fixup function Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: f7a65edc97f8521d2348531bc7cd137b36116360 https://github.com/OpenSIPS/opensips/commit/f7a65edc97f8521d2348531bc7cd137b36116360 Author: Bogdan-Andrei Iancu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/permissions/permissions.c Log Message: ----------- [permission] Fixed partition fixup function From noreply at github.com Mon Mar 18 11:13:44 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 18 Mar 2019 08:13:44 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 329a6f: [dialplan] Use flag to force lookup of default par... Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: 329a6ff578733d71d5a4cd442ec5f87999c62e83 https://github.com/OpenSIPS/opensips/commit/329a6ff578733d71d5a4cd442ec5f87999c62e83 Author: Bogdan-Andrei Iancu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/dialplan/dialplan.c Log Message: ----------- [dialplan] Use flag to force lookup of default partision it is missing as param From noreply at github.com Mon Mar 18 12:36:16 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 18 Mar 2019 09:36:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f95014: uac_registrant: force single registration for reco... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f95014d0717cb061eaf4a71696a69fcf3a814d8a https://github.com/OpenSIPS/opensips/commit/f95014d0717cb061eaf4a71696a69fcf3a814d8a Author: Ovidiu Sas Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/uac_registrant/reg_db_handler.c M modules/uac_registrant/reg_records.c M modules/uac_registrant/reg_records.h M modules/uac_registrant/registrant.c Log Message: ----------- uac_registrant: force single registration for records with reg-id and +sip.instance params From bogdan at opensips.org Mon Mar 18 12:58:14 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Mon, 18 Mar 2019 18:58:14 +0200 Subject: [OpenSIPS-Devel] OpenSIPS 3.0 interim update Message-ID: Hello all, We are getting closer and closer to the 3.0 beta release, so here are some updates in regards to what was already done (according to the initial planning), what we are working on and what is the foreseen release date. Starting from the list we had under scrutiny (see https://www.opensips.org/Development/Opensips-3-0-Planning, the listing at the end). What was completed ------------------ * OPS-1 - Auto-Scale the Number of Workers - https://blog.opensips.org/2019/02/25/auto-process-scaling-a-cure-for-load-and-resources-concerns/ * ITG-1 - Management Interface Rework & OpenSIPS CLI - https://blog.opensips.org/2019/03/13/new-opensips-cli-tool-for-the-new-management-interface-in-opensips-3-0/ * DEV-1 - Pluggable Preprocessor - https://blog.opensips.org/2019/03/05/generic-preprocessor-support-in-opensips-3-0/ * OPS-4 - Separate xlog() Logging Level ( new xlog_level parameter, variable and MI function) * OPS-6 - Selectable Memory Allocator -branch "feature/selectable-allocator", to be posted this week * OPS-7 - Unified Sharing Tags - https://blog.opensips.org/2019/03/07/achieving-service-redundancy-in-two-steps-with-unified-clustering-in-opensips-3-0/ * ITG-2 - SMPP Integration - https://blog.opensips.org/2019/01/24/gateway-between-sip-and-smpp-messages/ Work in progress ---------------- * OPS-3 - Script Reloading - "script_reload" branch * OPS-9 - Self-Diagnosis Tool * DEV-3 - Full Variable Support for Functions - "func_params" branch * OPS-8 - Tracing/Traffic Filtering Console * OPS-10 - Persistent Shared Memory on Restart - designed and planned, to be implemented Still pending ------------- * OPS-2 - Edit Module Params at Runtime * DEV-5 - Route entry point per Listener * DEV-6 - Standard Format for Complex Modparams * ITG-3 - RabbitMQ Consumer Module * DEV-4 - Better Naming for Variables * DEV-2 - Script Format Change Based on the our evaluation on the necessary work to complete (at least) what is in progress, we foreseen the beta release for OpenSIPS 3.0 for *16th of April 2019*. 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 noreply at github.com Mon Mar 18 13:19:48 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 18 Mar 2019 10:19:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c41c69: uac_registrant: doc updates Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c41c690a5bfa649b7d8d99f8a34645ee43b58b66 https://github.com/OpenSIPS/opensips/commit/c41c690a5bfa649b7d8d99f8a34645ee43b58b66 Author: Ovidiu Sas Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/uac_registrant/doc/uac_registrant_admin.xml Log Message: ----------- uac_registrant: doc updates From noreply at github.com Mon Mar 18 13:21:50 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 18 Mar 2019 10:21:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b46346: uac_registrant: fix copy/paste error Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b46346f12a3807c4cdbacb487023ed8035b0e85d https://github.com/OpenSIPS/opensips/commit/b46346f12a3807c4cdbacb487023ed8035b0e85d Author: Ovidiu Sas Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/uac_registrant/reg_db_handler.c Log Message: ----------- uac_registrant: fix copy/paste error From noreply at github.com Mon Mar 18 13:30:48 2019 From: noreply at github.com (Ovidiu Sas) Date: Mon, 18 Mar 2019 17:30:48 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 59669b: uac_registrant: doc: fix escaping Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 59669b27dd7c1b9c7d7473036fd923412403a292 https://github.com/OpenSIPS/opensips/commit/59669b27dd7c1b9c7d7473036fd923412403a292 Author: Ovidiu Sas Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M modules/uac_registrant/doc/uac_registrant_admin.xml Log Message: ----------- uac_registrant: doc: fix escaping From noreply at github.com Mon Mar 18 13:44:25 2019 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Mon, 18 Mar 2019 10:44:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f4f0cd: Run custom fixups for variable parameters at startup Message-ID: Branch: refs/heads/func_params Home: https://github.com/OpenSIPS/opensips Commit: f4f0cd1b56f36a0731160ba05a5f22952ef94c6d https://github.com/OpenSIPS/opensips/commit/f4f0cd1b56f36a0731160ba05a5f22952ef94c6d Author: Vlad Patrascu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mod_fix.c Log Message: ----------- Run custom fixups for variable parameters at startup Commit: 5960f821453a89d040d4ef855b0fe867acb85147 https://github.com/OpenSIPS/opensips/commit/5960f821453a89d040d4ef855b0fe867acb85147 Author: Vlad Patrascu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M sr_module.h Log Message: ----------- Fix size of parameters array in cmd export Commit: 0a0616c959a83ab75ad29fbe336cb568913a4a67 https://github.com/OpenSIPS/opensips/commit/0a0616c959a83ab75ad29fbe336cb568913a4a67 Author: Vlad Patrascu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M action.c M async.c M modules/tm/async.c M route_struct.h M sr_module.h Log Message: ----------- Support up to 8 parameters for script functions Commit: 705f432462ede6e22d148ef4247cb68ab3dd7c7f https://github.com/OpenSIPS/opensips/commit/705f432462ede6e22d148ef4247cb68ab3dd7c7f Author: Vlad Patrascu Date: 2019-03-18 (Mon, 18 Mar 2019) Changed paths: M mod_fix.c M sr_module.h Log Message: ----------- Allow fixups to be run for omitted optional parameters Compare: https://github.com/OpenSIPS/opensips/compare/329a6ff57873...705f432462ed From sobomax at sippysoft.com Mon Mar 18 17:28:10 2019 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 18 Mar 2019 14:28:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a58f76: OPS-6: All 3 allocators may now compile together In-Reply-To: References: Message-ID: Hi guys, looks like OpenSIPS/master is broken for 3 days after this particular commit (a58f76c0df66). It would be nice if you can investigate and fix as appropriate. Thanks! https://travis-ci.org/sippy/voiptests/builds/507613725 https://travis-ci.org/sippy/voiptests/builds/507324318 https://travis-ci.org/sippy/voiptests/builds/507011435 The last successful build is here: https://travis-ci.org/sippy/voiptests/builds/506522695 -Max On Thu, Mar 14, 2019 at 4:08 AM Liviu Chircu wrote: > Branch: refs/heads/feature/selectable-allocator > Home: https://github.com/OpenSIPS/opensips > Commit: a58f76c0df6645a9a4fd44144e155becebfd03af > > https://github.com/OpenSIPS/opensips/commit/a58f76c0df6645a9a4fd44144e155becebfd03af > Author: Liviu Chircu > Date: 2019-03-14 (Thu, 14 Mar 2019) > > Changed paths: > M main.c > M mem/common.c > M mem/common.h > M mem/hp_malloc.c > M mem/hp_malloc_dyn.h > M mem/shm_mem.c > M mem/shm_mem.h > > Log Message: > ----------- > OPS-6: All 3 allocators may now compile together > > With or without -DDBG_MALLOC > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel (Canada): +1-778-783-0474 Tel (Toll-Free): +1-855-747-7779 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Tue Mar 19 02:37:06 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 18 Mar 2019 23:37:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5b0bea: Create issue templates Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5b0beac7c21868852b4004e9d02e6c14e03a7d8d https://github.com/OpenSIPS/opensips/commit/5b0beac7c21868852b4004e9d02e6c14e03a7d8d Author: Răzvan Crainea Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: A .github/ISSUE_TEMPLATE/bug_report.md A .github/ISSUE_TEMPLATE/crash-report.md A .github/ISSUE_TEMPLATE/feature_request.md Log Message: ----------- Create issue templates From noreply at github.com Tue Mar 19 05:24:19 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Mar 2019 02:24:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a2a305: clusterer: Fix missing lock_release() calls Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a2a305fc2e5e56b2ce17c1ed6c25c0b2c561c5f1 https://github.com/OpenSIPS/opensips/commit/a2a305fc2e5e56b2ce17c1ed6c25c0b2c561c5f1 Author: Liviu Chircu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: Fix missing lock_release() calls From noreply at github.com Tue Mar 19 05:24:34 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Mar 2019 02:24:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 47b960: clusterer: Fix missing lock_release() calls Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 47b960d9aa5ab0f3cbcdb78cbe54d93995d3fa30 https://github.com/OpenSIPS/opensips/commit/47b960d9aa5ab0f3cbcdb78cbe54d93995d3fa30 Author: Liviu Chircu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- clusterer: Fix missing lock_release() calls (cherry picked from commit a2a305fc2e5e56b2ce17c1ed6c25c0b2c561c5f1) From noreply at github.com Tue Mar 19 05:48:20 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Mar 2019 09:48:20 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7dc0a: Removed useless wraper function Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: f7dc0a474f4678993bee105b9ebe9ae4e4cb2dc1 https://github.com/OpenSIPS/opensips/commit/f7dc0a474f4678993bee105b9ebe9ae4e4cb2dc1 Author: Bogdan-Andrei Iancu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M modules/emergency/emergency_methods.c Log Message: ----------- Removed useless wraper function From noreply at github.com Tue Mar 19 06:00:43 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Mar 2019 03:00:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 586857: More re-structuring around the script routes. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: 586857bc9827617cb6555612158910841169a583 https://github.com/OpenSIPS/opensips/commit/586857bc9827617cb6555612158910841169a583 Author: Bogdan-Andrei Iancu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M cfg.y M main.c M route.c M route.h Log Message: ----------- More re-structuring around the script routes. Separate script routes data from parsing versus interpreter - this will allow to load/parse/fix a new script while running with another script. The parser may ignore (dry run) the non-routing part of the script (like global params, module related stuff) and parse and load ONLY the script routes. From noreply at github.com Tue Mar 19 06:49:20 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Mar 2019 03:49:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 158f98: Red Hat init.d: Adjust stop command to 2.4 shutdow... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 158f98e93fcd8dfe719d76ed632686e75a74d8cc https://github.com/OpenSIPS/opensips/commit/158f98e93fcd8dfe719d76ed632686e75a74d8cc Author: Liviu Chircu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M packaging/redhat_fedora/opensips.init Log Message: ----------- Red Hat init.d: Adjust stop command to 2.4 shutdown behavior The default `killproc` timeout of 3 seconds is too short, causing it to incorrectly SIGKILL the attendant before it gets a chance to properly finish the shutdown sequence: * broadcast graceful termination jobs * wait up to 5 sec * forcefully kill all workers * commit seppuku From noreply at github.com Tue Mar 19 12:18:37 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 19 Mar 2019 16:18:37 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 541f80: Red Hat init.d: Adjust stop command to 2.4 shutdow... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 541f808645188b3a571ef239c9e1332fb4747984 https://github.com/OpenSIPS/opensips/commit/541f808645188b3a571ef239c9e1332fb4747984 Author: Liviu Chircu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M packaging/redhat_fedora/opensips.init Log Message: ----------- Red Hat init.d: Adjust stop command to 2.4 shutdown behavior The default `killproc` timeout of 3 seconds is too short, causing it to incorrectly SIGKILL the attendant before it gets a chance to properly finish the shutdown sequence: * broadcast graceful termination jobs * wait up to 5 sec * forcefully kill all workers * commit seppuku (cherry picked from commit 158f98e93fcd8dfe719d76ed632686e75a74d8cc) From noreply at github.com Tue Mar 19 15:03:16 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Mar 2019 12:03:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 430b94: Rework the approach on handling multiple scripts. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: 430b94d443f858ca5b1edc6e25668c5d713d058b https://github.com/OpenSIPS/opensips/commit/430b94d443f858ca5b1edc6e25668c5d713d058b Author: Bogdan-Andrei Iancu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: M cfg.y M main.c M route.c M route.h Log Message: ----------- Rework the approach on handling multiple scripts. As we do this per proc, we do not actually parser_sroutes and sroutes, it is safe to change the sroute while parsing the new script. From noreply at github.com Tue Mar 19 15:05:00 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 19 Mar 2019 19:05:00 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cc7a8f: Added a "reload_script" simple MI function. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: cc7a8fd024bc8df1ff92ecdf88ae23060bb27868 https://github.com/OpenSIPS/opensips/commit/cc7a8fd024bc8df1ff92ecdf88ae23060bb27868 Author: Bogdan-Andrei Iancu Date: 2019-03-19 (Tue, 19 Mar 2019) Changed paths: A cfg_reload.c A cfg_reload.h M mi/mi_core.c Log Message: ----------- Added a "reload_script" simple MI function. For the moment, this MI function simply triggeres (in parallel to the existing script), the parsing of the new cfg, the fixing and validation and its freeing. From noreply at github.com Wed Mar 20 03:39:09 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 00:39:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] da2023: mem debugging: Use the proper "status" functions Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: da20233c68cde670b7f53bdd18f120ab36610896 https://github.com/OpenSIPS/opensips/commit/da20233c68cde670b7f53bdd18f120ab36610896 Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M mem/mem.c Log Message: ----------- mem debugging: Use the proper "status" functions From noreply at github.com Wed Mar 20 06:03:17 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 03:03:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d87169: pua_dialoginfo: Fix pkg memleak Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: d87169c7a1f22e06a2569c72535a561575937daa https://github.com/OpenSIPS/opensips/commit/d87169c7a1f22e06a2569c72535a561575937daa Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M modules/pua_dialoginfo/pua_dialoginfo.c Log Message: ----------- pua_dialoginfo: Fix pkg memleak From noreply at github.com Wed Mar 20 06:03:46 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 03:03:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1ca927: pua_dialoginfo: Fix pkg memleak Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 1ca9273e6ed901b84d4cf7dd9ab26753a5274c63 https://github.com/OpenSIPS/opensips/commit/1ca9273e6ed901b84d4cf7dd9ab26753a5274c63 Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M modules/pua_dialoginfo/pua_dialoginfo.c Log Message: ----------- pua_dialoginfo: Fix pkg memleak (cherry picked from commit d87169c7a1f22e06a2569c72535a561575937daa) From liviu at opensips.org Wed Mar 20 06:32:54 2019 From: liviu at opensips.org (Liviu Chircu) Date: Wed, 20 Mar 2019 12:32:54 +0200 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a58f76: OPS-6: All 3 allocators may now compile together In-Reply-To: References: Message-ID: <232cf0d9-e899-e84f-bf20-06bad404c721@opensips.org> Hi, Maxim! Thank you for the nice report -- is the error still relevant?  I'm asking because the latest "master" branch seems to pass all tests[1]... or does it? :) Regards, [1]: https://travis-ci.org/sippy/voiptests Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 18.03.2019 23:28, Maxim Sobolev wrote: > Hi guys, looks like OpenSIPS/master is broken for 3 days after this > particular commit (a58f76c0df66). It would be nice if you can > investigate and fix as appropriate. Thanks! > > https://travis-ci.org/sippy/voiptests/builds/507613725 > https://travis-ci.org/sippy/voiptests/builds/507324318 > https://travis-ci.org/sippy/voiptests/builds/507011435 > > The last successful build is here: > > https://travis-ci.org/sippy/voiptests/builds/506522695 > > -Max > > On Thu, Mar 14, 2019 at 4:08 AM Liviu Chircu > wrote: > > Branch: refs/heads/feature/selectable-allocator >   Home: https://github.com/OpenSIPS/opensips >   Commit: a58f76c0df6645a9a4fd44144e155becebfd03af > https://github.com/OpenSIPS/opensips/commit/a58f76c0df6645a9a4fd44144e155becebfd03af >   Author: Liviu Chircu > >   Date:   2019-03-14 (Thu, 14 Mar 2019) > >   Changed paths: >     M main.c >     M mem/common.c >     M mem/common.h >     M mem/hp_malloc.c >     M mem/hp_malloc_dyn.h >     M mem/shm_mem.c >     M mem/shm_mem.h > >   Log Message: >   ----------- >   OPS-6:  All 3 allocators may now compile together > > With or without -DDBG_MALLOC > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > > > > -- > Maksym Sobolyev > Sippy Software, Inc. > Internet Telephony (VoIP) Experts > Tel (Canada): +1-778-783-0474 > Tel (Toll-Free): +1-855-747-7779 > Fax: +1-866-857-6942 > Web: http://www.sippysoft.com > MSN: sales at sippysoft.com > Skype: SippySoft > > _______________________________________________ > 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 Wed Mar 20 10:50:18 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 20 Mar 2019 14:50:18 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 811a78: Remember the startup wdir for later reload usage. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: 811a78ffc5eb0191188a85ff272d5ba3b505b717 https://github.com/OpenSIPS/opensips/commit/811a78ffc5eb0191188a85ff272d5ba3b505b717 Author: Bogdan-Andrei Iancu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M cfg_reload.c M daemonize.c M daemonize.h Log Message: ----------- Remember the startup wdir for later reload usage. As cfg file (and other files provided via cli params) may be relative to the startup working dir, we need to remember this dir and switch to it when doing a cfg reload. From noreply at github.com Wed Mar 20 10:54:16 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 20 Mar 2019 07:54:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 94674e: Make preproc options runtime persistent. Message-ID: Branch: refs/heads/script_reload Home: https://github.com/OpenSIPS/opensips Commit: 94674e52e01aea00d6bc89f3c55093315926bf15 https://github.com/OpenSIPS/opensips/commit/94674e52e01aea00d6bc89f3c55093315926bf15 Author: Bogdan-Andrei Iancu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M cfg_reload.c M globals.h M main.c Log Message: ----------- Make preproc options runtime persistent. From noreply at github.com Wed Mar 20 11:46:25 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 15:46:25 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d4f023: mid_registrar: Fix possible crash in mode == 2 Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d4f023e8da8fc6bda92b4d4aa8e58cde0282ee67 https://github.com/OpenSIPS/opensips/commit/d4f023e8da8fc6bda92b4d4aa8e58cde0282ee67 Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix possible crash in mode == 2 It seems commit d8fe587cef17 broke the handling for non-star de-registrations which remove the last standing contact, causing replies from the main registrar to not include a "Contact" header field. The latter, in itself, is perfectly fine -- however, it must be handled properly. Commit: 0fd7b9ff9f2556d4d0fb60cfbc9f1681ad5cd660 https://github.com/OpenSIPS/opensips/commit/0fd7b9ff9f2556d4d0fb60cfbc9f1681ad5cd660 Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M mem/common.h Log Message: ----------- mem/common.h: Relocate inline allocator detection code ... to a more logical place, before including allocator header files. Compare: https://github.com/OpenSIPS/opensips/compare/da20233c68cd...0fd7b9ff9f25 From noreply at github.com Wed Mar 20 11:49:08 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 08:49:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 181c2d: mid_registrar: Fix possible crash in mode == 2 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 181c2d22fc612a9120c8f833112a500d155c2dea https://github.com/OpenSIPS/opensips/commit/181c2d22fc612a9120c8f833112a500d155c2dea Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix possible crash in mode == 2 It seems commit d8fe587cef17 broke the handling for non-star de-registrations which remove the last standing contact, causing replies from the main registrar to not include a "Contact" header field. The latter, in itself, is perfectly fine -- however, it must be handled properly. (cherry picked from commit d4f023e8da8fc6bda92b4d4aa8e58cde0282ee67) From noreply at github.com Wed Mar 20 12:07:43 2019 From: noreply at github.com (Liviu Chircu) Date: Wed, 20 Mar 2019 09:07:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2af3aa: F_MALLOC: Remove unused "sanity checking" logic Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2af3aa1c4224deb3ce266203781c5a7b5a2a0d1e https://github.com/OpenSIPS/opensips/commit/2af3aa1c4224deb3ce266203781c5a7b5a2a0d1e Author: Liviu Chircu Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M mem/f_malloc.c M mem/f_malloc.h M mem/f_malloc_dyn.h Log Message: ----------- F_MALLOC: Remove unused "sanity checking" logic Users who want extra sanity checks can just restart OpenSIPS using the Q_MALLOC or Q_MALLOC_DBG allocators. From bogdan at opensips.org Thu Mar 21 11:41:14 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 21 Mar 2019 17:41:14 +0200 Subject: [OpenSIPS-Devel] Available trainings during OpenSIPS Summit 2019 Message-ID: Hello, This year, for the OpenSIPS Summit 2019, we have a again two flavors for the one-day trainings - this year flavors are OpenSIPS and Asterisk - as usual, we try to bring the best to you. But keep in mind the number of seats is limited and ... first come, first served :). OpenSIPS Training The OpenSIPS Training will focus this year on security, by teaching you how to prevent, detect and protect an OpenSIPS based VoIP system against various external attack. The training will also show you how to take advantage of the OpenSIPS 2.4 capabilities to secure your SIP and RTP traffic. * Training content: * - Securing the registration process * - Best practices for SIP authentication * - Detecting and blocking DoS attacks * - Preventing injections via SIP traffic * - Fighting back attacks based on DNS poisoning * - Privacy with TLS and SRTP * - TLS based authentication and authorization * - Fraud detection by OpenSIPS Team Asterisk, PJSIP and trouble-shooting This training will start with a review of the basics, before introducing PJSIP (and comparing it, in terms of configuration and command line activity, with chan_sip) and then moving on to trouble-shooting. * Training content: * - Asterisk installation options review * - Asterisk architecture * - Asterisk configuration overview * - PJSIP introduction * - PJSIP configuration structure * - PJSIP commands * - Trouble-shooting SIP in Asterisk * - Trouble-shooting in the dialplan * - Review, general Q&A by David Duffett -- 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 sobomax at sippysoft.com Thu Mar 21 11:58:08 2019 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Thu, 21 Mar 2019 08:58:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a58f76: OPS-6: All 3 allocators may now compile together In-Reply-To: <232cf0d9-e899-e84f-bf20-06bad404c721@opensips.org> References: <232cf0d9-e899-e84f-bf20-06bad404c721@opensips.org> Message-ID: No, it's gone in latest version. Thanks! -Max On Wed, Mar 20, 2019, 3:33 AM Liviu Chircu wrote: > Hi, Maxim! > > Thank you for the nice report -- is the error still relevant? I'm asking > because the latest "master" branch seems to pass all tests[1]... or does > it? :) > > Regards, > > [1]: https://travis-ci.org/sippy/voiptests > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 18.03.2019 23:28, Maxim Sobolev wrote: > > Hi guys, looks like OpenSIPS/master is broken for 3 days after this > particular commit (a58f76c0df66). It would be nice if you can investigate > and fix as appropriate. Thanks! > > https://travis-ci.org/sippy/voiptests/builds/507613725 > https://travis-ci.org/sippy/voiptests/builds/507324318 > https://travis-ci.org/sippy/voiptests/builds/507011435 > > The last successful build is here: > > https://travis-ci.org/sippy/voiptests/builds/506522695 > > -Max > > On Thu, Mar 14, 2019 at 4:08 AM Liviu Chircu wrote: > >> Branch: refs/heads/feature/selectable-allocator >> Home: https://github.com/OpenSIPS/opensips >> Commit: a58f76c0df6645a9a4fd44144e155becebfd03af >> >> https://github.com/OpenSIPS/opensips/commit/a58f76c0df6645a9a4fd44144e155becebfd03af >> Author: Liviu Chircu >> Date: 2019-03-14 (Thu, 14 Mar 2019) >> >> Changed paths: >> M main.c >> M mem/common.c >> M mem/common.h >> M mem/hp_malloc.c >> M mem/hp_malloc_dyn.h >> M mem/shm_mem.c >> M mem/shm_mem.h >> >> Log Message: >> ----------- >> OPS-6: All 3 allocators may now compile together >> >> With or without -DDBG_MALLOC >> >> >> >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel >> > > > -- > Maksym Sobolyev > Sippy Software, Inc. > Internet Telephony (VoIP) Experts > Tel (Canada): +1-778-783-0474 > Tel (Toll-Free): +1-855-747-7779 > Fax: +1-866-857-6942 > Web: http://www.sippysoft.com > MSN: sales at sippysoft.com > Skype: SippySoft > > _______________________________________________ > Devel mailing listDevel at lists.opensips.orghttp://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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Thu Mar 21 12:29:13 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 21 Mar 2019 09:29:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8bdca1: shmem: make shm_getmem() receive fixed address Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: 8bdca19a39b3c136fdbfda14aa0709ecdf950494 https://github.com/OpenSIPS/opensips/commit/8bdca19a39b3c136fdbfda14aa0709ecdf950494 Author: Razvan Crainea Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- shmem: make shm_getmem() receive fixed address Using this commit mmap() and can receive a specific address that indicates where a mapping should be done Commit: d9f07fcbf7827c3f07cba55b3ba3d18c5b871853 https://github.com/OpenSIPS/opensips/commit/d9f07fcbf7827c3f07cba55b3ba3d18c5b871853 Author: Razvan Crainea Date: 2019-03-20 (Wed, 20 Mar 2019) Changed paths: M cfg.y M main.c M socket_info.c Log Message: ----------- fix harmless compile warnings Commit: c453ff511d176a3e0b612322273db480a46211a6 https://github.com/OpenSIPS/opensips/commit/c453ff511d176a3e0b612322273db480a46211a6 Author: Razvan Crainea Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M cfg.lex M cfg.y M config.h M mem/common.h A mem/rpm_mem.c A mem/rpm_mem.h M mem/shm_mem.c Log Message: ----------- mem: add support for persistent memory storage Commit: a2255c8f8ced3c68b9cb61bd3c7ada43efc2f02c https://github.com/OpenSIPS/opensips/commit/a2255c8f8ced3c68b9cb61bd3c7ada43efc2f02c Author: Razvan Crainea Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/rpm_mem.c M mem/rpm_mem.h M mem/shm_mem.h Log Message: ----------- mem: add support for HP malloc for restart persistency Commit: 3718301a995f9c5b4e42f3ea214f5f5a0822f611 https://github.com/OpenSIPS/opensips/commit/3718301a995f9c5b4e42f3ea214f5f5a0822f611 Author: Razvan Crainea Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M mem/rpm_mem.c M mem/rpm_mem.h Log Message: ----------- mem: add flexible key-value restart persistent storage Commit: 40ad9010af8afc1123b5575aeb84ae0be05a233a https://github.com/OpenSIPS/opensips/commit/40ad9010af8afc1123b5575aeb84ae0be05a233a Author: Razvan Crainea Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h M mem/rpm_mem.c M mem/rpm_mem.h M mi/mi_core.c M statistics.c Log Message: ----------- mem: add rpm statistics Compare: https://github.com/OpenSIPS/opensips/compare/8bdca19a39b3%5E...40ad9010af8a From noreply at github.com Thu Mar 21 22:14:48 2019 From: noreply at github.com (Ovidiu Sas) Date: Thu, 21 Mar 2019 19:14:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f575d1: uac_registrant: when transitioning a shtag to back... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f575d1fe1eefff08163dd675ca7083932d3c1a80 https://github.com/OpenSIPS/opensips/commit/f575d1fe1eefff08163dd675ca7083932d3c1a80 Author: Ovidiu Sas Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M modules/uac_registrant/registrant.c Log Message: ----------- uac_registrant: when transitioning a shtag to backup state, move shtag-ed records to NOT_REGISTERED_STATE state From noreply at github.com Fri Mar 22 03:41:34 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 22 Mar 2019 00:41:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e5fd28: mid_registrar: Fix poorly handled lifetime reductions Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e5fd28efa238b5d25b5ebbce81d0a6421b04f1b8 https://github.com/OpenSIPS/opensips/commit/e5fd28efa238b5d25b5ebbce81d0a6421b04f1b8 Author: Liviu Chircu Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix poorly handled lifetime reductions If the downstream registrar reduces the lifetime of the contacts we advertise to it, we (the mid-registrar) should properly adhere to the change, and not utterly ignore it. This bug was only present in modes 0 and 1. Thanks to Jeff Pyle for the report! From noreply at github.com Fri Mar 22 03:41:51 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 22 Mar 2019 00:41:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6412b: mid_registrar: Fix poorly handled lifetime reductions Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: e6412b14981d5272cf5253da077afddbae840ed1 https://github.com/OpenSIPS/opensips/commit/e6412b14981d5272cf5253da077afddbae840ed1 Author: Liviu Chircu Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M modules/mid_registrar/save.c Log Message: ----------- mid_registrar: Fix poorly handled lifetime reductions If the downstream registrar reduces the lifetime of the contacts we advertise to it, we (the mid-registrar) should properly adhere to the change, and not utterly ignore it. This bug was only present in modes 0 and 1. Thanks to Jeff Pyle for the report! (cherry picked from commit e5fd28efa238b5d25b5ebbce81d0a6421b04f1b8) From noreply at github.com Fri Mar 22 06:34:15 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 22 Mar 2019 03:34:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 92a501: mem: fix magic warning Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: 92a50142b74cda06650edadc9b9f587aac701d83 https://github.com/OpenSIPS/opensips/commit/92a50142b74cda06650edadc9b9f587aac701d83 Author: Razvan Crainea Date: 2019-03-21 (Thu, 21 Mar 2019) Changed paths: M mem/rpm_mem.c Log Message: ----------- mem: fix magic warning Commit: 9e073d11815e5cc6a1ef810413bb1ed555b00a39 https://github.com/OpenSIPS/opensips/commit/9e073d11815e5cc6a1ef810413bb1ed555b00a39 Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M modules/drouting/dr_bl.c M modules/drouting/dr_clustering.c M modules/drouting/dr_partitions.h M modules/drouting/drouting.c Log Message: ----------- drouting: cleanup module Compare: https://github.com/OpenSIPS/opensips/compare/40ad9010af8a...9e073d11815e From noreply at github.com Fri Mar 22 07:00:43 2019 From: noreply at github.com (Dan Pascu) Date: Fri, 22 Mar 2019 11:00:43 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] be8d3a: deb packaging: add mi_html module Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: be8d3a8f0e8c959630ae7b626497834e114925a2 https://github.com/OpenSIPS/opensips/commit/be8d3a8f0e8c959630ae7b626497834e114925a2 Author: Dan Pascu Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M packaging/debian/rules Log Message: ----------- deb packaging: add mi_html module From dan at ag-projects.com Fri Mar 22 07:32:44 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 22 Mar 2019 13:32:44 +0200 Subject: [OpenSIPS-Devel] New MI module names Message-ID: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> I see that mi_http was renamed to mi_html and mi_json to mi_http. However the module parameters kept their old names, which makes that mi_html has mi_http_* parameters and mi_http has parameters named mi_json_* Is this intentional or is the module rename still work in progress? As it stands it's very confusing. -- Dan From dan at ag-projects.com Fri Mar 22 07:58:08 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 22 Mar 2019 13:58:08 +0200 Subject: [OpenSIPS-Devel] New MI module names In-Reply-To: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> References: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> Message-ID: Another thing just occurred to me after I sent the message: I understand that mi_http was renamed to mi_html because it actually produces HTML output (over HTTP). Similarly, shouldn't mi_json have kept its name as it produces JSON (over HTTP)? On 22 Mar 2019, at 13:32, Dan Pascu wrote: > > I see that mi_http was renamed to mi_html and mi_json to mi_http. However the module parameters kept their old names, which makes that mi_html has mi_http_* parameters and mi_http has parameters named mi_json_* > > Is this intentional or is the module rename still work in progress? As it stands it's very confusing. > > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel -- Dan From vladp at opensips.org Fri Mar 22 08:33:27 2019 From: vladp at opensips.org (Vlad Patrascu) Date: Fri, 22 Mar 2019 14:33:27 +0200 Subject: [OpenSIPS-Devel] New MI module names In-Reply-To: References: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> Message-ID: Hi Dan, Indeed, those module parameters will be renamed accordingly, it's still on the todo list. As for the module names, they should now reflect the transport protocol and not the encoding, since the majority of modules use JSON. 'mi_html' and 'mi_xmlrpc_ng' are the only exceptions. Even though they are also over HTTP, it makes sense to differentiate them by encoding since they don't align with the internal MI interface(which is now JSON-RPC) and do a translation. Regards, Vlad Patrascu OpenSIPS Developer http://www.opensips-solutions.com On 03/22/2019 01:58 PM, Dan Pascu wrote: > Another thing just occurred to me after I sent the message: > > I understand that mi_http was renamed to mi_html because it actually produces HTML output (over HTTP). Similarly, shouldn't mi_json have kept its name as it produces JSON (over HTTP)? > > On 22 Mar 2019, at 13:32, Dan Pascu wrote: > >> I see that mi_http was renamed to mi_html and mi_json to mi_http. However the module parameters kept their old names, which makes that mi_html has mi_http_* parameters and mi_http has parameters named mi_json_* >> >> Is this intentional or is the module rename still work in progress? As it stands it's very confusing. >> >> -- >> Dan >> >> >> >> >> >> _______________________________________________ >> Devel mailing list >> Devel at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel > > -- > 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 Mar 22 09:00:46 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 22 Mar 2019 15:00:46 +0200 Subject: [OpenSIPS-Devel] New MI module names In-Reply-To: References: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> Message-ID: <4A52569E-9906-4AD9-B3BF-F3E5B76F06A8@ag-projects.com> Thanks for the clarification. On 22 Mar 2019, at 14:33, Vlad Patrascu wrote: > Hi Dan, > > Indeed, those module parameters will be renamed accordingly, it's still on the todo list. > > As for the module names, they should now reflect the transport protocol and not the encoding, since the majority of modules use JSON. 'mi_html' and 'mi_xmlrpc_ng' are the only exceptions. Even though they are also over HTTP, it makes sense to differentiate them by encoding since they don't align with the internal MI interface(which is now JSON-RPC) and do a translation. > > Regards, > > Vlad Patrascu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 03/22/2019 01:58 PM, Dan Pascu wrote: >> Another thing just occurred to me after I sent the message: >> >> I understand that mi_http was renamed to mi_html because it actually produces HTML output (over HTTP). Similarly, shouldn't mi_json have kept its name as it produces JSON (over HTTP)? >> >> On 22 Mar 2019, at 13:32, Dan Pascu wrote: >> >>> I see that mi_http was renamed to mi_html and mi_json to mi_http. However the module parameters kept their old names, which makes that mi_html has mi_http_* parameters and mi_http has parameters named mi_json_* >>> >>> Is this intentional or is the module rename still work in progress? As it stands it's very confusing. >>> >>> -- >>> Dan >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Devel mailing list >>> Devel at lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel >> >> -- >> 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 noreply at github.com Fri Mar 22 10:53:39 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 22 Mar 2019 07:53:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1205e7: drouting: remove useless free_rt_data() all param Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: 1205e70461b1b017da15fb718ece7b434eab15e5 https://github.com/OpenSIPS/opensips/commit/1205e70461b1b017da15fb718ece7b434eab15e5 Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M modules/drouting/dr_load.c M modules/drouting/drouting.c M modules/drouting/routing.c M modules/drouting/routing.h Log Message: ----------- drouting: remove useless free_rt_data() all param Commit: e56280471fc78ca192cc01abfd72f7ba3fa64c90 https://github.com/OpenSIPS/opensips/commit/e56280471fc78ca192cc01abfd72f7ba3fa64c90 Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- mem: fix hp_block warning Commit: afa01ded85c3a59f32a984c005951f4971d623e1 https://github.com/OpenSIPS/opensips/commit/afa01ded85c3a59f32a984c005951f4971d623e1 Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M mem/common.h M mem/mem.c M mem/mem.h M mem/rpm_mem.c M mem/rpm_mem.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- mem: provide functions for alloc "macros" Commit: cea1b211c225d2df79f7cab2cb81b2190787785b https://github.com/OpenSIPS/opensips/commit/cea1b211c225d2df79f7cab2cb81b2190787785b Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M mem/mem.c M mem/mem.h M mem/rpm_mem.h M mem/shm_mem.h Log Message: ----------- mem: make functions signatures consistent Compare: https://github.com/OpenSIPS/opensips/compare/9e073d11815e...cea1b211c225 From noreply at github.com Fri Mar 22 11:37:59 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 22 Mar 2019 08:37:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ab2bcd: mem: fix gen_rpm_* signatures Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: ab2bcdf7c71da190512a84bccf14edcb353013f8 https://github.com/OpenSIPS/opensips/commit/ab2bcdf7c71da190512a84bccf14edcb353013f8 Author: Razvan Crainea Date: 2019-03-22 (Fri, 22 Mar 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- mem: fix gen_rpm_* signatures complete previous commit From dan at ag-projects.com Sat Mar 23 07:32:28 2019 From: dan at ag-projects.com (Dan Pascu) Date: Sat, 23 Mar 2019 13:32:28 +0200 Subject: [OpenSIPS-Devel] New MI module names In-Reply-To: <4A52569E-9906-4AD9-B3BF-F3E5B76F06A8@ag-projects.com> References: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> <4A52569E-9906-4AD9-B3BF-F3E5B76F06A8@ag-projects.com> Message-ID: <9762EAA9-C22E-4FEE-9EC4-80A20C5A7CAA@ag-projects.com> One thing that came to mind to help mitigate the need for changing everything when a module is renamed and also simplify the naming for module parameters is to remove the redundant module names prefixing each module parameter name. Right now they are like: loadmodule "mi_http" modparam("mi_http", "mi_http_root", "some_path") we can get rid of the module name prefix, since module parameters are already in the namespace of the module, making the prefix redundant. so it will be like: loadmodule "mi_http" modparam("mi_http", "root", "some_path") > On 22 Mar 2019, at 14:33, Vlad Patrascu wrote: > >> Hi Dan, >> >> Indeed, those module parameters will be renamed accordingly, it's still on the todo list. >> >> As for the module names, they should now reflect the transport protocol and not the encoding, since the majority of modules use JSON. 'mi_html' and 'mi_xmlrpc_ng' are the only exceptions. Even though they are also over HTTP, it makes sense to differentiate them by encoding since they don't align with the internal MI interface(which is now JSON-RPC) and do a translation. >> >> Regards, >> >> Vlad Patrascu >> OpenSIPS Developer >> http://www.opensips-solutions.com -- Dan From noreply at github.com Sun Mar 24 16:10:55 2019 From: noreply at github.com (opensips-github) Date: Sun, 24 Mar 2019 13:10:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 66676d: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 66676dfd52aba6598e441b4f37e4211e7cc24799 https://github.com/OpenSIPS/opensips/commit/66676dfd52aba6598e441b4f37e4211e7cc24799 Author: OpenSIPS Date: 2019-03-24 (Sun, 24 Mar 2019) Changed paths: M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 24 16:33:52 2019 From: noreply at github.com (opensips-github) Date: Sun, 24 Mar 2019 13:33:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 29cb09: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 29cb099a75a0bd50fcf34d00ce03e92beb4acfc6 https://github.com/OpenSIPS/opensips/commit/29cb099a75a0bd50fcf34d00ce03e92beb4acfc6 Author: OpenSIPS Date: 2019-03-24 (Sun, 24 Mar 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 24 16:54:31 2019 From: noreply at github.com (opensips-github) Date: Sun, 24 Mar 2019 13:54:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c6ee82: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c6ee8265b16af42433a398221991dec15ddde26e https://github.com/OpenSIPS/opensips/commit/c6ee8265b16af42433a398221991dec15ddde26e Author: OpenSIPS Date: 2019-03-24 (Sun, 24 Mar 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/mid_registrar/README M modules/mid_registrar/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/uac_registrant/README M modules/uac_registrant/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Tue Mar 26 01:51:07 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Mon, 25 Mar 2019 22:51:07 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f99eee: Correct spelling of 'typically' from 'tipically' Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f99eeee21b6ae8bebff84981305d7c1ac5fe4972 https://github.com/OpenSIPS/opensips/commit/f99eeee21b6ae8bebff84981305d7c1ac5fe4972 Author: John Kiniston Date: 2019-03-25 (Mon, 25 Mar 2019) Changed paths: M Makefile.conf.template Log Message: ----------- Correct spelling of 'typically' from 'tipically' Commit: c0e12b420dedab8e91c3d500dc8e6d5375cf2f7b https://github.com/OpenSIPS/opensips/commit/c0e12b420dedab8e91c3d500dc8e6d5375cf2f7b Author: Răzvan Crainea Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M Makefile.conf.template Log Message: ----------- Merge pull request #1644 from SB-JohnK/patch-1 Correct spelling of 'typically' from 'tipically' Compare: https://github.com/OpenSIPS/opensips/compare/c6ee8265b16a...c0e12b420ded From bogdan at opensips.org Tue Mar 26 05:22:09 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 26 Mar 2019 11:22:09 +0200 Subject: [OpenSIPS-Devel] New MI module names In-Reply-To: <9762EAA9-C22E-4FEE-9EC4-80A20C5A7CAA@ag-projects.com> References: <65F4A408-F3AC-48DD-B3B2-7DF90711A978@ag-projects.com> <4A52569E-9906-4AD9-B3BF-F3E5B76F06A8@ag-projects.com> <9762EAA9-C22E-4FEE-9EC4-80A20C5A7CAA@ag-projects.com> Message-ID: I second that, it is a bad and useless practice to include the name of the module in the modparam names - these params are to be exclusively used in combination with the name of the module. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/23/2019 01:32 PM, Dan Pascu wrote: > One thing that came to mind to help mitigate the need for changing everything when a module is renamed and also simplify the naming for module parameters is to remove the redundant module names prefixing each module parameter name. > > Right now they are like: > > loadmodule "mi_http" > modparam("mi_http", "mi_http_root", "some_path") > > we can get rid of the module name prefix, since module parameters are already in the namespace of the module, making the prefix redundant. so it will be like: > > loadmodule "mi_http" > modparam("mi_http", "root", "some_path") > > >> On 22 Mar 2019, at 14:33, Vlad Patrascu wrote: >> >>> Hi Dan, >>> >>> Indeed, those module parameters will be renamed accordingly, it's still on the todo list. >>> >>> As for the module names, they should now reflect the transport protocol and not the encoding, since the majority of modules use JSON. 'mi_html' and 'mi_xmlrpc_ng' are the only exceptions. Even though they are also over HTTP, it makes sense to differentiate them by encoding since they don't align with the internal MI interface(which is now JSON-RPC) and do a translation. >>> >>> Regards, >>> >>> Vlad Patrascu >>> OpenSIPS Developer >>> http://www.opensips-solutions.com > -- > Dan > > > > > > _______________________________________________ > Devel mailing list > Devel at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/devel From noreply at github.com Tue Mar 26 07:14:32 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:14:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bf2531: Fix AVP context over sending requests via local ro... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: bf25311d92f412f8e735ce6919c0689ff117d4a0 https://github.com/OpenSIPS/opensips/commit/bf25311d92f412f8e735ce6919c0689ff117d4a0 Author: Bogdan-Andrei Iancu Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Fix AVP context over sending requests via local route. Be sure the internally expose the same AVP list for running the local route and sending the request out. Fixes #1642 From noreply at github.com Tue Mar 26 07:15:03 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 26 Mar 2019 04:15:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 56f9a8: dispatcher: add partition support to ds_list MI cmd Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 56f9a8bf2c5a5dc1ab8e1a5aace96c35d413b174 https://github.com/OpenSIPS/opensips/commit/56f9a8bf2c5a5dc1ab8e1a5aace96c35d413b174 Author: Razvan Crainea Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml Log Message: ----------- dispatcher: add partition support to ds_list MI cmd From noreply at github.com Tue Mar 26 07:15:23 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:15:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4b865f: Fix AVP context over sending requests via local ro... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4b865f72f4a4184a568377e1af968f88a16cea2d https://github.com/OpenSIPS/opensips/commit/4b865f72f4a4184a568377e1af968f88a16cea2d Author: Bogdan-Andrei Iancu Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Fix AVP context over sending requests via local route. Be sure the internally expose the same AVP list for running the local route and sending the request out. Fixes #1642 (cherry picked from commit bf25311d92f412f8e735ce6919c0689ff117d4a0) From noreply at github.com Tue Mar 26 07:16:13 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Tue, 26 Mar 2019 11:16:13 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4ffc27: dispatcher: add partition support to ds_list MI cmd Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 4ffc279b7e79b464002bc116254514b7a6a2a11f https://github.com/OpenSIPS/opensips/commit/4ffc279b7e79b464002bc116254514b7a6a2a11f Author: Razvan Crainea Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml Log Message: ----------- dispatcher: add partition support to ds_list MI cmd (cherry picked from commit 56f9a8bf2c5a5dc1ab8e1a5aace96c35d413b174) From noreply at github.com Tue Mar 26 07:17:52 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:17:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 44394e: Fix AVP context over sending requests via local ro... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 44394e322eb2c52565629c6889d15e9e35837b39 https://github.com/OpenSIPS/opensips/commit/44394e322eb2c52565629c6889d15e9e35837b39 Author: Bogdan-Andrei Iancu Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/tm/uac.c Log Message: ----------- Fix AVP context over sending requests via local route. Be sure the internally expose the same AVP list for running the local route and sending the request out. Fixes #1642 (cherry picked from commit bf25311d92f412f8e735ce6919c0689ff117d4a0) From noreply at github.com Tue Mar 26 07:47:32 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:47:32 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d1ef89: Fix errors on bulk insert after delete/update Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d1ef89600d7036c911f594585a86db4246ff55dd https://github.com/OpenSIPS/opensips/commit/d1ef89600d7036c911f594585a86db4246ff55dd Author: Ryan Bullock Date: 2019-03-25 (Mon, 25 Mar 2019) Changed paths: M modules/db_postgres/dbase.c Log Message: ----------- Fix errors on bulk insert after delete/update Commit: b931ffe57d207f99f831a19a2a571e29ed0d3279 https://github.com/OpenSIPS/opensips/commit/b931ffe57d207f99f831a19a2a571e29ed0d3279 Author: Bogdan Andrei IANCU Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/db_postgres/dbase.c Log Message: ----------- Merge pull request #1643 from rrb3942/postgresql_bulk_fix db_postgres: Fix errors on bulk insert after delete/update Compare: https://github.com/OpenSIPS/opensips/compare/44394e322eb2...b931ffe57d20 From noreply at github.com Tue Mar 26 07:50:10 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:50:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f13777: Merge pull request #1643 from rrb3942/postgresql_b... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f137771f6c30f133d935f443847f8a27609fd5cb https://github.com/OpenSIPS/opensips/commit/f137771f6c30f133d935f443847f8a27609fd5cb Author: Bogdan Andrei IANCU Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/db_postgres/dbase.c Log Message: ----------- Merge pull request #1643 from rrb3942/postgresql_bulk_fix db_postgres: Fix errors on bulk insert after delete/update (cherry picked from commit b931ffe57d207f99f831a19a2a571e29ed0d3279) From noreply at github.com Tue Mar 26 07:51:28 2019 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 26 Mar 2019 04:51:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d429a3: Merge pull request #1643 from rrb3942/postgresql_b... Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: d429a3b85ad4d8b245d3b3bf0670ae1ca67a8722 https://github.com/OpenSIPS/opensips/commit/d429a3b85ad4d8b245d3b3bf0670ae1ca67a8722 Author: Bogdan Andrei IANCU Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/db_postgres/dbase.c Log Message: ----------- Merge pull request #1643 from rrb3942/postgresql_bulk_fix db_postgres: Fix errors on bulk insert after delete/update (cherry picked from commit b931ffe57d207f99f831a19a2a571e29ed0d3279) From noreply at github.com Tue Mar 26 13:29:51 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 26 Mar 2019 10:29:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b8cf93: Fixed bug where any addr get positive match in con... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b8cf9336dd9885e2bcc5472d8a06684cc63dfc52 https://github.com/OpenSIPS/opensips/commit/b8cf9336dd9885e2bcc5472d8a06684cc63dfc52 Author: Gohar Ahmed Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- Fixed bug where any addr get positive match in config if cluster_id is invalid or Invalid IP addr is given to cluster_check_addr() Commit: 3c4918887a036ca051e990ab42f33776b4787512 https://github.com/OpenSIPS/opensips/commit/3c4918887a036ca051e990ab42f33776b4787512 Author: Liviu Chircu Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- Merge pull request #1645 from goharahmed/master Fixed bug where any addr get positive match in config if cluster_id i… Compare: https://github.com/OpenSIPS/opensips/compare/b931ffe57d20...3c4918887a03 From noreply at github.com Tue Mar 26 13:30:57 2019 From: noreply at github.com (Liviu Chircu) Date: Tue, 26 Mar 2019 17:30:57 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2f8301: Fixed bug where any addr get positive match in con... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2f83013363e62b1509d7e03c1f210f9a331986ef https://github.com/OpenSIPS/opensips/commit/2f83013363e62b1509d7e03c1f210f9a331986ef Author: Gohar Ahmed Date: 2019-03-26 (Tue, 26 Mar 2019) Changed paths: M modules/clusterer/clusterer.c Log Message: ----------- Fixed bug where any addr get positive match in config if cluster_id is invalid or Invalid IP addr is given to cluster_check_addr() (cherry picked from commit b8cf9336dd9885e2bcc5472d8a06684cc63dfc52) From Ben.Newlin at genesys.com Tue Mar 26 16:32:54 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Tue, 26 Mar 2019 20:32:54 +0000 Subject: [OpenSIPS-Devel] t_on_reply for CANCEL transaction In-Reply-To: References: Message-ID: Bogdan, Would you like me to open a github issue to track this? Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 4:50 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Hi Ben, Let me check what the history behind the lack of on_reply for the CANCEL transaction, if it a simple miss or if there some good reasons (mainly related to SIP consistency) not to have it. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/10/2019 04:15 PM, Ben Newlin wrote: Hello, We are implemented some more detailed statistics capturing for our proxies which includes transaction statistics and requires that we track all transactions through the system. Implementing this with dialogs was very straightforward, thanks to the E_DLG_STATE_CHANGED events. I have opened a Feature Request [1] for similar functionality in the TM module if it is possible. In the meantime, I have created routes to track the transactions but I am running into an issue with the CANCEL transaction. It appears that the replies to a CANCEL will only ever trigger the global onreply_route. When I arm a different transaction reply route using t_on_reply it is never called. Since the transaction is not available in the global reply route, I cannot use it for my purposes. Is it intentional/expected that t_on_reply cannot be used with a CANCEL transaction? If so, are there other methods that also do not work? [1] - https://github.com/OpenSIPS/opensips/issues/1630 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 bogdan at opensips.org Wed Mar 27 09:33:27 2019 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 27 Mar 2019 15:33:27 +0200 Subject: [OpenSIPS-Devel] t_on_reply for CANCEL transaction In-Reply-To: References: Message-ID: Yes Ben, please do that ! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/26/2019 10:32 PM, Ben Newlin wrote: > > Bogdan, > > Would you like me to open a github issue to track this? > > Ben Newlin > > *From: *Bogdan-Andrei Iancu > *Date: *Monday, March 11, 2019 at 4:50 AM > *To: *OpenSIPS devel mailling list , Ben > Newlin > *Subject: *Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction > > Hi Ben, > > Let me check what the history behind the lack of on_reply for the > CANCEL transaction, if it a simple miss or if there some good reasons > (mainly related to SIP consistency) not to have it. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 2019 > https://www.opensips.org/events/Summit-2019Amsterdam/ > > On 03/10/2019 04:15 PM, Ben Newlin wrote: > > Hello, > > We are implemented some more detailed statistics capturing for our > proxies which includes transaction statistics and requires that we > track all transactions through the system. Implementing this with > dialogs was very straightforward, thanks to the > E_DLG_STATE_CHANGEDevents. I have opened a Feature Request [1] for > similar functionality in the TM module if it is possible. > > In the meantime, I have created routes to track the transactions > but I am running into an issue with the CANCEL transaction. It > appears that the replies to a CANCEL will only ever trigger the > global onreply_route. When I arm a different transaction reply > route using t_on_reply it is never called. Since the transaction > is not available in the global reply route, I cannot use it for my > purposes. > > Is it intentional/expected that t_on_reply cannot be used with a > CANCEL transaction? If so, are there other methods that also do > not work? > > [1] - https://github.com/OpenSIPS/opensips/issues/1630 > > > 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 Ben.Newlin at genesys.com Wed Mar 27 10:19:46 2019 From: Ben.Newlin at genesys.com (Ben Newlin) Date: Wed, 27 Mar 2019 14:19:46 +0000 Subject: [OpenSIPS-Devel] t_on_reply for CANCEL transaction In-Reply-To: References: Message-ID: <8E8C09B6-1E73-4632-BB3C-F432DD35C5FF@genesys.com> Bogdan, Thanks. I have created https://github.com/OpenSIPS/opensips/issues/1648. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, March 27, 2019 at 9:33 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Yes Ben, please do that ! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/26/2019 10:32 PM, Ben Newlin wrote: Bogdan, Would you like me to open a github issue to track this? Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 4:50 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Hi Ben, Let me check what the history behind the lack of on_reply for the CANCEL transaction, if it a simple miss or if there some good reasons (mainly related to SIP consistency) not to have it. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 03/10/2019 04:15 PM, Ben Newlin wrote: Hello, We are implemented some more detailed statistics capturing for our proxies which includes transaction statistics and requires that we track all transactions through the system. Implementing this with dialogs was very straightforward, thanks to the E_DLG_STATE_CHANGED events. I have opened a Feature Request [1] for similar functionality in the TM module if it is possible. In the meantime, I have created routes to track the transactions but I am running into an issue with the CANCEL transaction. It appears that the replies to a CANCEL will only ever trigger the global onreply_route. When I arm a different transaction reply route using t_on_reply it is never called. Since the transaction is not available in the global reply route, I cannot use it for my purposes. Is it intentional/expected that t_on_reply cannot be used with a CANCEL transaction? If so, are there other methods that also do not work? [1] - https://github.com/OpenSIPS/opensips/issues/1630 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 Wed Mar 27 13:02:00 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Wed, 27 Mar 2019 10:02:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f7c7e4: mem: fix pkg_malloc_func Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: f7c7e4e4a657e176442e886fd36d3a4f3b926c57 https://github.com/OpenSIPS/opensips/commit/f7c7e4e4a657e176442e886fd36d3a4f3b926c57 Author: Razvan Crainea Date: 2019-03-27 (Wed, 27 Mar 2019) Changed paths: M mem/mem.h Log Message: ----------- mem: fix pkg_malloc_func Commit: 0e6333d0fc36b934b6ca1978facc4bb8e49c9365 https://github.com/OpenSIPS/opensips/commit/0e6333d0fc36b934b6ca1978facc4bb8e49c9365 Author: Razvan Crainea Date: 2019-03-27 (Wed, 27 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- map: add support for persistent storage Compare: https://github.com/OpenSIPS/opensips/compare/ab2bcdf7c71d...0e6333d0fc36 From noreply at github.com Thu Mar 28 06:50:11 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Mar 2019 10:50:11 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 41f85f: Revert "map: add support for persistent storage" Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: 41f85f80fb36b7bd2741daa7f7ee9afe71402454 https://github.com/OpenSIPS/opensips/commit/41f85f80fb36b7bd2741daa7f7ee9afe71402454 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- Revert "map: add support for persistent storage" This reverts commit 0e6333d0fc36b934b6ca1978facc4bb8e49c9365. Commit: 6861ec93132a5e8ec76bae6323f66221b4b7f378 https://github.com/OpenSIPS/opensips/commit/6861ec93132a5e8ec76bae6323f66221b4b7f378 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- map: rework persistent storage Compare: https://github.com/OpenSIPS/opensips/compare/0e6333d0fc36...6861ec93132a From noreply at github.com Thu Mar 28 09:56:11 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Mar 2019 06:56:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6c307: drouting: add support for persistent storage Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips Commit: e6c3070bcec9d90f666d62513497f8d056de4409 https://github.com/OpenSIPS/opensips/commit/e6c3070bcec9d90f666d62513497f8d056de4409 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M modules/drouting/doc/drouting_admin.xml M modules/drouting/dr_api_internal.c M modules/drouting/dr_load.c M modules/drouting/dr_load.h M modules/drouting/dr_partitions.h M modules/drouting/drouting.c M modules/drouting/prefix_tree.c M modules/drouting/prefix_tree.h M modules/drouting/routing.c M modules/drouting/routing.h Log Message: ----------- drouting: add support for persistent storage From noreply at github.com Thu Mar 28 10:49:48 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Mar 2019 14:49:48 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a1c117: shmem: make shm_getmem() receive fixed address Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: a1c1172ad47865c8eeb24557dc672cd6f65a7891 https://github.com/OpenSIPS/opensips/commit/a1c1172ad47865c8eeb24557dc672cd6f65a7891 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- shmem: make shm_getmem() receive fixed address Using this commit mmap() and can receive a specific address that indicates where a mapping should be done Commit: 0846b2bd8572b078902955dbd2224df4225ee15c https://github.com/OpenSIPS/opensips/commit/0846b2bd8572b078902955dbd2224df4225ee15c Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M cfg.y M main.c M socket_info.c Log Message: ----------- fix harmless compile warnings Commit: a426d7dfdc7dad374aed1f681866b54161b1400d https://github.com/OpenSIPS/opensips/commit/a426d7dfdc7dad374aed1f681866b54161b1400d Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M cfg.lex M cfg.y M config.h M mem/common.h A mem/rpm_mem.c A mem/rpm_mem.h M mem/shm_mem.c Log Message: ----------- mem: add support for persistent memory storage Commit: c7cca6be82a0330c3493b5bf0b703ef9376c486f https://github.com/OpenSIPS/opensips/commit/c7cca6be82a0330c3493b5bf0b703ef9376c486f Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/rpm_mem.c M mem/rpm_mem.h M mem/shm_mem.h Log Message: ----------- mem: add support for HP malloc for restart persistency Commit: 2ed7d0c061fd99d3f948cf601420c4cd15a297fa https://github.com/OpenSIPS/opensips/commit/2ed7d0c061fd99d3f948cf601420c4cd15a297fa Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/rpm_mem.c M mem/rpm_mem.h Log Message: ----------- mem: add flexible key-value restart persistent storage Commit: a5393b6b25594f598b99c6509f645d48e9fe38bf https://github.com/OpenSIPS/opensips/commit/a5393b6b25594f598b99c6509f645d48e9fe38bf Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h M mem/rpm_mem.c M mem/rpm_mem.h M mi/mi_core.c M statistics.c Log Message: ----------- mem: add rpm statistics Commit: c6eb2335b3a766a9013710552d1fc116963943ba https://github.com/OpenSIPS/opensips/commit/c6eb2335b3a766a9013710552d1fc116963943ba Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/rpm_mem.c Log Message: ----------- mem: fix magic warning Commit: 8792c5b8371f4ce7c1acc31a43978ccc2e6e0aa7 https://github.com/OpenSIPS/opensips/commit/8792c5b8371f4ce7c1acc31a43978ccc2e6e0aa7 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M modules/drouting/dr_bl.c M modules/drouting/dr_clustering.c M modules/drouting/dr_partitions.h M modules/drouting/drouting.c Log Message: ----------- drouting: cleanup module Commit: b6a8ec3223dec987a790b27b640931e2fdacc38f https://github.com/OpenSIPS/opensips/commit/b6a8ec3223dec987a790b27b640931e2fdacc38f Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M modules/drouting/dr_load.c M modules/drouting/drouting.c M modules/drouting/routing.c M modules/drouting/routing.h Log Message: ----------- drouting: remove useless free_rt_data() all param Commit: c2a2033d64042d258f0c453d85476884585787da https://github.com/OpenSIPS/opensips/commit/c2a2033d64042d258f0c453d85476884585787da Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- mem: fix hp_block warning Commit: 6e05a4d3a7c78a5a1cb2a9d305ccdbc40bfd92d3 https://github.com/OpenSIPS/opensips/commit/6e05a4d3a7c78a5a1cb2a9d305ccdbc40bfd92d3 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/common.h M mem/mem.c M mem/mem.h M mem/rpm_mem.c M mem/rpm_mem.h M mem/shm_mem.c M mem/shm_mem.h Log Message: ----------- mem: provide functions for alloc "macros" Commit: 7f84a9be384aedea5c84fd79695ba89e6e12e727 https://github.com/OpenSIPS/opensips/commit/7f84a9be384aedea5c84fd79695ba89e6e12e727 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/mem.c M mem/mem.h M mem/rpm_mem.h M mem/shm_mem.h Log Message: ----------- mem: make functions signatures consistent Commit: abb33165b8f81a1f59f87a53321f9000ff7ed906 https://github.com/OpenSIPS/opensips/commit/abb33165b8f81a1f59f87a53321f9000ff7ed906 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/rpm_mem.h Log Message: ----------- mem: fix gen_rpm_* signatures complete previous commit Commit: 27d355f57f7f8b1cfd2483f2292eefff7f4ca7d2 https://github.com/OpenSIPS/opensips/commit/27d355f57f7f8b1cfd2483f2292eefff7f4ca7d2 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M mem/mem.h Log Message: ----------- mem: fix pkg_malloc_func Commit: d1fbd99e6a33521b1093fce16ea342381825dc6b https://github.com/OpenSIPS/opensips/commit/d1fbd99e6a33521b1093fce16ea342381825dc6b Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- map: add support for persistent storage Commit: a45544ed124ea42924fb316993658ba09ae0740e https://github.com/OpenSIPS/opensips/commit/a45544ed124ea42924fb316993658ba09ae0740e Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- Revert "map: add support for persistent storage" This reverts commit 0e6333d0fc36b934b6ca1978facc4bb8e49c9365. Commit: d1d319d9cc1c70cc2fe005d41ebe60b9aaaa525b https://github.com/OpenSIPS/opensips/commit/d1d319d9cc1c70cc2fe005d41ebe60b9aaaa525b Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M map.c M map.h Log Message: ----------- map: rework persistent storage Commit: f89b020f04b855edd70de32452accc2c3536eb10 https://github.com/OpenSIPS/opensips/commit/f89b020f04b855edd70de32452accc2c3536eb10 Author: Razvan Crainea Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M modules/drouting/doc/drouting_admin.xml M modules/drouting/dr_api_internal.c M modules/drouting/dr_load.c M modules/drouting/dr_load.h M modules/drouting/dr_partitions.h M modules/drouting/drouting.c M modules/drouting/prefix_tree.c M modules/drouting/prefix_tree.h M modules/drouting/routing.c M modules/drouting/routing.h Log Message: ----------- drouting: add support for persistent storage Compare: https://github.com/OpenSIPS/opensips/compare/3c4918887a03...f89b020f04b8 From noreply at github.com Thu Mar 28 10:50:37 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Thu, 28 Mar 2019 07:50:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] Message-ID: Branch: refs/heads/feature/restart-persistent-storage Home: https://github.com/OpenSIPS/opensips From noreply at github.com Thu Mar 28 13:19:31 2019 From: noreply at github.com (Liviu Chircu) Date: Thu, 28 Mar 2019 10:19:31 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3b3825: Makefile.defs: Auto-fix the "no allocator" edge case Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 3b382563c71f0de09265738bf544f44494fd2285 https://github.com/OpenSIPS/opensips/commit/3b382563c71f0de09265738bf544f44494fd2285 Author: Liviu Chircu Date: 2019-03-28 (Thu, 28 Mar 2019) Changed paths: M Makefile.defs Log Message: ----------- Makefile.defs: Auto-fix the "no allocator" edge case From noreply at github.com Fri Mar 29 04:05:19 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Mar 2019 08:05:19 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 932833: Normalize free(NULL) logging across all allocators Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9328335f5bf58d43fad82bd01b935567d08639d7 https://github.com/OpenSIPS/opensips/commit/9328335f5bf58d43fad82bd01b935567d08639d7 Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M mem/f_malloc_dyn.h M mem/hp_malloc_dyn.h M mem/q_malloc_dyn.h Log Message: ----------- Normalize free(NULL) logging across all allocators Many thanks to Ryan Bullock for reporting! Fixes #1646 From noreply at github.com Fri Mar 29 04:07:51 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Mar 2019 01:07:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] cd5fe0: Normalize free(NULL) logging across all allocators Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: cd5fe0b088635b43ce8393900a24116d64c19f5f https://github.com/OpenSIPS/opensips/commit/cd5fe0b088635b43ce8393900a24116d64c19f5f Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M mem/hp_malloc.c M mem/q_malloc.c Log Message: ----------- Normalize free(NULL) logging across all allocators Many thanks to Ryan Bullock for reporting! Fixes #1646 From dan at ag-projects.com Fri Mar 29 08:12:08 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 29 Mar 2019 14:12:08 +0200 Subject: [OpenSIPS-Devel] Package dependencies Message-ID: Since migrating to the json format for MI, opensipsctl now uses json_pp which is part of perl. This would need ${perl:Depends} to be added to Depends (or at least Recommends) for opensips in debian/control. Alternatively, since opensips already depends on python, json_pp can be replaced with: python -c "import json,sys; print(json.dumps(json.loads(sys.stdin.read()), indent=3))" which yields the same result. The advantage of the python version (besides avoiding an extra dependency) is that the order of the items in the output is always consistent (json_pp outputs items in a random order that differs from run to run). Personally I prefer the python version since it offers 2 advantages while json_pp offers none. What do you think? -- Dan From noreply at github.com Fri Mar 29 08:20:33 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 29 Mar 2019 12:20:33 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 38d733: rpm: fix statistics name and crash when not used Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 38d73399fc2b6bc9c9291e65a94f332f3e5d5489 https://github.com/OpenSIPS/opensips/commit/38d73399fc2b6bc9c9291e65a94f332f3e5d5489 Author: Razvan Crainea Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M mem/rpm_mem.c M mem/rpm_mem.h Log Message: ----------- rpm: fix statistics name and crash when not used From razvan at opensips.org Fri Mar 29 08:23:30 2019 From: razvan at opensips.org (=?UTF-8?Q?R=c4=83zvan_Crainea?=) Date: Fri, 29 Mar 2019 14:23:30 +0200 Subject: [OpenSIPS-Devel] Package dependencies In-Reply-To: References: Message-ID: <0954bcfa-6bfe-7254-ac6f-b74785a90de9@opensips.org> Hi, Dan! opensipsctl will soon be dropped in favor of the new opensips-cli :). That's why there was no time invested to support opensipsclt any longer, the json_pp was only a temporary hack to run some tests for the new MI interface. If you do want to make this change, then I do agree the python version is better. Cheers, Răzvan On 3/29/19 2:12 PM, Dan Pascu wrote: > > Since migrating to the json format for MI, opensipsctl now uses json_pp which is part of perl. This would need ${perl:Depends} to be added to Depends (or at least Recommends) for opensips in debian/control. > > Alternatively, since opensips already depends on python, json_pp can be replaced with: > > python -c "import json,sys; print(json.dumps(json.loads(sys.stdin.read()), indent=3))" > > which yields the same result. The advantage of the python version (besides avoiding an extra dependency) is that the order of the items in the output is always consistent (json_pp outputs items in a random order that differs from run to run). > > Personally I prefer the python version since it offers 2 advantages while json_pp offers none. What do you think? > > -- > 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 Mar 29 09:05:04 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Mar 2019 06:05:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b16e9d: mi_fifo: Do not crash if client dies (e.g. on a ^C... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b16e9d3ed96e73a00530ce1d0cfb296d634125a6 https://github.com/OpenSIPS/opensips/commit/b16e9d3ed96e73a00530ce1d0cfb296d634125a6 Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M modules/mi_fifo/fifo_fnc.c Log Message: ----------- mi_fifo: Do not crash if client dies (e.g. on a ^C keypress) From dan at ag-projects.com Fri Mar 29 09:12:49 2019 From: dan at ag-projects.com (Dan Pascu) Date: Fri, 29 Mar 2019 15:12:49 +0200 Subject: [OpenSIPS-Devel] Package dependencies In-Reply-To: <0954bcfa-6bfe-7254-ac6f-b74785a90de9@opensips.org> References: <0954bcfa-6bfe-7254-ac6f-b74785a90de9@opensips.org> Message-ID: <388C429F-9F22-44E4-B294-E0CE1798213F@ag-projects.com> On 29 Mar 2019, at 14:23, Răzvan Crainea wrote: > Hi, Dan! > > opensipsctl will soon be dropped in favor of the new opensips-cli :). While I agree with the sentiment and I'm all in favor of providing better tools written in better languages than bash scripting, while opensipsctl is still there it should be functional. > That's why there was no time invested to support opensipsclt any longer, the json_pp was only a temporary hack to run some tests for the new MI interface. > If you do want to make this change, then I do agree the python version is better. > > Cheers, > Răzvan > > On 3/29/19 2:12 PM, Dan Pascu wrote: >> Since migrating to the json format for MI, opensipsctl now uses json_pp which is part of perl. This would need ${perl:Depends} to be added to Depends (or at least Recommends) for opensips in debian/control. >> Alternatively, since opensips already depends on python, json_pp can be replaced with: >> python -c "import json,sys; print(json.dumps(json.loads(sys.stdin.read()), indent=3))" >> which yields the same result. The advantage of the python version (besides avoiding an extra dependency) is that the order of the items in the output is always consistent (json_pp outputs items in a random order that differs from run to run). >> Personally I prefer the python version since it offers 2 advantages while json_pp offers none. What do you think? >> -- >> 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 Fri Mar 29 11:15:01 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Mar 2019 15:15:01 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 3dc72f: OPS-9 (Self Diagnosis): Complete support for DNS d... Message-ID: Branch: refs/heads/feature/self-diagnosis Home: https://github.com/OpenSIPS/opensips Commit: 3dc72fb0f76543dc5d9ec812b0f400e82379d112 https://github.com/OpenSIPS/opensips/commit/3dc72fb0f76543dc5d9ec812b0f400e82379d112 Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M main.c M resolve.c M statistics.h Log Message: ----------- OPS-9 (Self Diagnosis): Complete support for DNS diagnosis * also time the DNS A record lookups in addition to NAPTR and SRV * export some relevant DNS-related statistics Commit: 88862c1f3e11be4ae1fda3e73f09d301ec60150c https://github.com/OpenSIPS/opensips/commit/88862c1f3e11be4ae1fda3e73f09d301ec60150c Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M Makefile.conf.template M resolve.c Log Message: ----------- Coding style: Fix inconsistent verbs and whitespace Compare: https://github.com/OpenSIPS/opensips/compare/3dc72fb0f765%5E...88862c1f3e11 From noreply at github.com Fri Mar 29 12:38:26 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 29 Mar 2019 16:38:26 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e162f5: usrloc: make next_hop point within the shared buffer Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e162f5f1024f8dad4bf5554600aa25183fcf92fc https://github.com/OpenSIPS/opensips/commit/e162f5f1024f8dad4bf5554600aa25183fcf92fc Author: Razvan Crainea Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: make next_hop point within the shared buffer Before this commit, the `next_hop` fields returned by `get_domain_*_ucontacts()` were pointing to a shared memory, that might dissapear when the contact is gone, resulting in a crash. This patch re-points the `next_hop.name` field within the buffer. Crash reported in ticket #1652 From noreply at github.com Fri Mar 29 12:39:01 2019 From: noreply at github.com (Liviu Chircu) Date: Fri, 29 Mar 2019 09:39:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 883e75: OPS-9: Add a generic query timing wrapper Message-ID: Branch: refs/heads/feature/self-diagnosis Home: https://github.com/OpenSIPS/opensips Commit: 883e75faa8de38bd5e387c033386c2edc7c2479f https://github.com/OpenSIPS/opensips/commit/883e75faa8de38bd5e387c033386c2edc7c2479f Author: Liviu Chircu Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M resolve.c M ut.h Log Message: ----------- OPS-9: Add a generic query timing wrapper From noreply at github.com Fri Mar 29 12:47:09 2019 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Fri, 29 Mar 2019 16:47:09 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b75703: usrloc: make next_hop point within the shared buffer Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: b7570319ef0e150053a124275bc74cd87ff7bf03 https://github.com/OpenSIPS/opensips/commit/b7570319ef0e150053a124275bc74cd87ff7bf03 Author: Razvan Crainea Date: 2019-03-29 (Fri, 29 Mar 2019) Changed paths: M modules/usrloc/dlist.c Log Message: ----------- usrloc: make next_hop point within the shared buffer Before this commit, the `next_hop` fields returned by `get_domain_*_ucontacts()` were pointing to a shared memory, that might dissapear when the contact is gone, resulting in a crash. This patch re-points the `next_hop.name` field within the buffer. Crash reported in ticket #1652 (cherry picked from commit e162f5f1024f8dad4bf5554600aa25183fcf92fc) From noreply at github.com Sun Mar 31 15:10:55 2019 From: noreply at github.com (opensips-github) Date: Sun, 31 Mar 2019 12:10:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6cf292: Rebuild documentation Message-ID: Branch: refs/heads/2.2 Home: https://github.com/OpenSIPS/opensips Commit: 6cf292a3049921ffd8c92ef518dfae3ad767c622 https://github.com/OpenSIPS/opensips/commit/6cf292a3049921ffd8c92ef518dfae3ad767c622 Author: OpenSIPS Date: 2019-03-31 (Sun, 31 Mar 2019) Changed paths: M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 31 15:33:25 2019 From: noreply at github.com (opensips-github) Date: Sun, 31 Mar 2019 12:33:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 22fe15: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 22fe15c1bb0d851872fd00dedd23b78c004f2ba3 https://github.com/OpenSIPS/opensips/commit/22fe15c1bb0d851872fd00dedd23b78c004f2ba3 Author: OpenSIPS Date: 2019-03-31 (Sun, 31 Mar 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Mar 31 15:53:57 2019 From: noreply at github.com (opensips-github) Date: Sun, 31 Mar 2019 12:53:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d845b2: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d845b22f43f0bf6138ec2e34843446521a289bdc https://github.com/OpenSIPS/opensips/commit/d845b22f43f0bf6138ec2e34843446521a289bdc Author: OpenSIPS Date: 2019-03-31 (Sun, 31 Mar 2019) Changed paths: M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_postgres/README M modules/db_postgres/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/mi_fifo/README M modules/mi_fifo/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/usrloc/README M modules/usrloc/doc/contributors.xml Log Message: ----------- Rebuild documentation