From noreply at github.com Wed Apr 1 09:22:54 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 Apr 2020 02:22:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1a9030: Contact matching: Fix bad test; Improve coding style Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 1a9030660d968f534fba36827f6577f7ec08fdd6 https://github.com/OpenSIPS/opensips/commit/1a9030660d968f534fba36827f6577f7ec08fdd6 Author: Liviu Chircu Date: 2020-03-31 (Tue, 31 Mar 2020) Changed paths: M modules/usrloc/urecord.c M parser/parse_uri.c Log Message: ----------- Contact matching: Fix bad test; Improve coding style From noreply at github.com Wed Apr 1 09:24:53 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 Apr 2020 02:24:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 35ff55: SIP PN: Add handling for capability querying Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 35ff5510bb7ca2c1cbedc95e10ecb257f7ac22f6 https://github.com/OpenSIPS/opensips/commit/35ff5510bb7ca2c1cbedc95e10ecb257f7ac22f6 Author: Liviu Chircu Date: 2020-04-01 (Wed, 01 Apr 2020) Changed paths: M error.c M lib/reg/pn.c M lib/reg/pn.h M lib/reg/rerrno.c M lib/reg/rerrno.h M modules/mid_registrar/save.c M modules/registrar/Makefile M modules/registrar/doc/pn_modparams.xml M modules/registrar/reply.c M modules/registrar/save.c Log Message: ----------- SIP PN: Add handling for capability querying ... via the newly introduced header field, Feature-Caps. From noreply at github.com Wed Apr 1 11:48:04 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 01 Apr 2020 04:48:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 43ad14: usrloc: Move event interface code in its own file Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 43ad14f90f279f97da197d377dc4f26ce7289907 https://github.com/OpenSIPS/opensips/commit/43ad14f90f279f97da197d377dc4f26ce7289907 Author: Liviu Chircu Date: 2020-04-01 (Wed, 01 Apr 2020) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/ucontact.c M modules/usrloc/udomain.c A modules/usrloc/ul_evi.c A modules/usrloc/ul_evi.h M modules/usrloc/urecord.c Log Message: ----------- usrloc: Move event interface code in its own file From noreply at github.com Thu Apr 2 10:47:50 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 02 Apr 2020 03:47:50 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6a2e08: usrloc: Add the E_UL_CONTACT_REFRESH event Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 6a2e085ab91bc215e269f10182cf456359b6a2ec https://github.com/OpenSIPS/opensips/commit/6a2e085ab91bc215e269f10182cf456359b6a2ec Author: Liviu Chircu Date: 2020-04-02 (Thu, 02 Apr 2020) Changed paths: M lib/reg/ci.c M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_mi.c M modules/usrloc/ul_mod.c M modules/usrloc/ul_mod.h A modules/usrloc/ul_timer.c A modules/usrloc/ul_timer.h M modules/usrloc/urecord.h Log Message: ----------- usrloc: Add the E_UL_CONTACT_REFRESH event By enabling 'contact_refresh_timer', the usrloc module will periodically scan for contacts which are near expiration and raise E_UL_CONTACT_REFRESH before the binding is about to expire. Currently, the triggering duration is given by registrar's 'pn_trigger_interval' module parameter (default: 120s before expiry). From noreply at github.com Thu Apr 2 14:42:23 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 02 Apr 2020 07:42:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4150ec: registrar: Document 'pn_trigger_interval' Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 4150ec6da93e82d5c24c5d59081b96cec4c10fb5 https://github.com/OpenSIPS/opensips/commit/4150ec6da93e82d5c24c5d59081b96cec4c10fb5 Author: Liviu Chircu Date: 2020-04-02 (Thu, 02 Apr 2020) Changed paths: M modules/registrar/doc/pn_modparams.xml M modules/usrloc/udomain.h Log Message: ----------- registrar: Document 'pn_trigger_interval' From noreply at github.com Thu Apr 2 15:03:57 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 02 Apr 2020 08:03:57 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6e9ee4: usrloc: Detach contact from timer list on expiry Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 6e9ee4fca47e1f824780782334f1abcd1f0bc889 https://github.com/OpenSIPS/opensips/commit/6e9ee4fca47e1f824780782334f1abcd1f0bc889 Author: Liviu Chircu Date: 2020-04-02 (Thu, 02 Apr 2020) Changed paths: M modules/usrloc/ul_timer.c M modules/usrloc/ul_timer.h M modules/usrloc/urecord.c Log Message: ----------- usrloc: Detach contact from timer list on expiry From bogdan at opensips.org Thu Apr 2 17:16:55 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 2 Apr 2020 20:16:55 +0300 Subject: [OpenSIPS-Devel] [Blog] BLF reloaded, or a more accurate and detailed approach Message-ID: Hi all, The BLF (or dialoginfo) support has in the upcoming OpenSIPS 3.1 a more accurate and detailed reporting, being able to handle parallel and serial call forking. This is an important milestone on the #class5 path. https://blog.opensips.org/2020/04/02/blf-reloaded-or-a-more-accurate-and-detailed-approach/ Enjoy and happy usage ;) -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Fri Apr 3 13:44:16 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 06:44:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc9344: HP_MALLOC: Dramatically reduce memory fragmentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fc9344a5b22d0da088bfa066cd22f2cbd2450338 https://github.com/OpenSIPS/opensips/commit/fc9344a5b22d0da088bfa066cd22f2cbd2450338 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/common.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 M statistics.c Log Message: ----------- HP_MALLOC: Dramatically reduce memory fragmentation For HP_MALLOC to offer optimal parallel allocation performance, it needs the memory to be fragmented: the more available chunks, the better its performance. However, there needs to be some coalescing as well, otherwise variable-length allocations past the 10K range will quickly deplete (fragment) even SHM pools of 10+ GB. This patch adds the following heuristics to HP_MALLOC and HP_MALLOC_DBG: * shm_malloc(): only split a fragment if the resulting chunk is at least MIN_SPLIT_SIZE bytes (default 256 for PKG, 4096 for SHM) * shm_free(): try to coalesce the next fragment (enough to fix all fragmentation issues) Many thanks to 46Labs for supporting this work! Commit: 3634b398226306a90999318b2aeb37e99191f484 https://github.com/OpenSIPS/opensips/commit/3634b398226306a90999318b2aeb37e99191f484 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- HP_MALLOC: Fix computation of PKG stats Many thanks to 46Labs for supporting this work! Commit: 0d6d33e586f050d7ea5f375cab66fc60c4dbe1a2 https://github.com/OpenSIPS/opensips/commit/0d6d33e586f050d7ea5f375cab66fc60c4dbe1a2 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h Log Message: ----------- HP_MALLOC: Add "re-scanning" logic Given that HP_MALLOC has fine-grained locking, if the big fragment shifts down from hash bucket N to bucket N-1 due to another process performing the allocation, we may actually "lose" it during our own scan, since bucket N-1 was empty and we're now waiting for bucket N to unlock. When it does unlock, it will also be empty. As a solution: retry the scan up to N times, as long as it's feasible! Many thanks to 46Labs for supporting this work! Commit: 54d4af2f34fab12637c06605141fdd008b6054b9 https://github.com/OpenSIPS/opensips/commit/54d4af2f34fab12637c06605141fdd008b6054b9 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h Log Message: ----------- HP_MALLOC: Aggregate SHM statistic updates It is better to update the stats with a diff of the attached/detached/split/merged fragment changes. Updating the stats in a "step by step" manner has the side-effect of creating temporarily bogus values. (i.e. negative "used" and/or "real_used") Many thanks to 46Labs for supporting this work! Compare: https://github.com/OpenSIPS/opensips/compare/1897599fd8a5...54d4af2f34fa From noreply at github.com Fri Apr 3 13:46:19 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 06:46:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1983e0: HP_MALLOC: Dramatically reduce memory fragmentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 1983e0cf55ea9794a60e7a3b297b4da1430cfeeb https://github.com/OpenSIPS/opensips/commit/1983e0cf55ea9794a60e7a3b297b4da1430cfeeb Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/common.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 M statistics.c Log Message: ----------- HP_MALLOC: Dramatically reduce memory fragmentation For HP_MALLOC to offer optimal parallel allocation performance, it needs the memory to be fragmented: the more available chunks, the better its performance. However, there needs to be some coalescing as well, otherwise variable-length allocations past the 10K range will quickly deplete (fragment) even SHM pools of 10+ GB. This patch adds the following heuristics to HP_MALLOC and HP_MALLOC_DBG: * shm_malloc(): only split a fragment if the resulting chunk is at least MIN_SPLIT_SIZE bytes (default 256 for PKG, 4096 for SHM) * shm_free(): try to coalesce the next fragment (enough to fix all fragmentation issues) Many thanks to 46Labs for supporting this work! Commit: d5e8801eb5b534cde8962a237b95bc7cfcfe0fb7 https://github.com/OpenSIPS/opensips/commit/d5e8801eb5b534cde8962a237b95bc7cfcfe0fb7 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- HP_MALLOC: Fix computation of PKG stats Commit: b62b9766ab78685d979c41f604d4535950b10a98 https://github.com/OpenSIPS/opensips/commit/b62b9766ab78685d979c41f604d4535950b10a98 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h Log Message: ----------- HP_MALLOC: Add "re-scanning" logic Given that HP_MALLOC has fine-grained locking, if the big fragment shifts down from hash bucket N to bucket N-1 due to another process performing the allocation, we may actually "lose" it during our own scan, since bucket N-1 was empty and we're now waiting for bucket N to unlock. When it does unlock, it will also be empty. As a solution: retry the scan up to N times, as long as it's feasible! Commit: 6e97055c8164820992606719d94580088be73ffe https://github.com/OpenSIPS/opensips/commit/6e97055c8164820992606719d94580088be73ffe Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M mem/hp_malloc_dyn.h Log Message: ----------- HP_MALLOC: Aggregate SHM statistic updates It is better to update the stats with a diff of the attached/detached/split/merged fragment changes. Updating the stats in a "step by step" manner has the side-effect of creating temporarily bogus values. (i.e. negative "used" and/or "real_used") Compare: https://github.com/OpenSIPS/opensips/compare/f907c569559d...6e97055c8164 From noreply at github.com Fri Apr 3 16:46:39 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 09:46:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ea12ed: Core: Add a memory allocator stress testing suite Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ea12edba564db7568ae89d3715c234203e9017b7 https://github.com/OpenSIPS/opensips/commit/ea12edba564db7568ae89d3715c234203e9017b7 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M Makefile.test A mem/test/test_malloc.c A mem/test/test_malloc.h M pt.c M test/unit_tests.c Log Message: ----------- Core: Add a memory allocator stress testing suite From noreply at github.com Fri Apr 3 16:59:23 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 09:59:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b6e5d0: Fix potential out-of-bounds access of sroutes->req... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b6e5d0127254e78ffe735185eef26ae06293552b https://github.com/OpenSIPS/opensips/commit/b6e5d0127254e78ffe735185eef26ae06293552b Author: Zero King Date: 2020-03-16 (Mon, 16 Mar 2020) Changed paths: M action.c Log Message: ----------- Fix potential out-of-bounds access of sroutes->request Commit: 5378fd0076fe7c9e86a947302046ea09e73361bb https://github.com/OpenSIPS/opensips/commit/5378fd0076fe7c9e86a947302046ea09e73361bb Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M action.c Log Message: ----------- Merge pull request #2041 from l2dy/action Fix potential out-of-bounds access of sroutes->request Compare: https://github.com/OpenSIPS/opensips/compare/ea12edba564d...5378fd0076fe From noreply at github.com Fri Apr 3 17:02:54 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:02:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 9da92c: exec: fix potential use of uninitialized pointer Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 9da92ced576d18e5487cf5dfa584ee638c170520 https://github.com/OpenSIPS/opensips/commit/9da92ced576d18e5487cf5dfa584ee638c170520 Author: Zero King Date: 2020-03-16 (Mon, 16 Mar 2020) Changed paths: M modules/exec/exec.c Log Message: ----------- exec: fix potential use of uninitialized pointer Commit: 31fbdc99f7839fce284a93f221928766b6435caf https://github.com/OpenSIPS/opensips/commit/31fbdc99f7839fce284a93f221928766b6435caf Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec.c Log Message: ----------- Merge pull request #2040 from l2dy/exec exec: fix potential use of uninitialized pointer Compare: https://github.com/OpenSIPS/opensips/compare/5378fd0076fe...31fbdc99f783 From noreply at github.com Fri Apr 3 17:03:38 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:03:38 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c8a99a: osp: actually fix potential use of uninitialized p... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c8a99ad3d1dea71ddaa73ed4cac42f4c56b49a38 https://github.com/OpenSIPS/opensips/commit/c8a99ad3d1dea71ddaa73ed4cac42f4c56b49a38 Author: Zero King Date: 2020-03-16 (Mon, 16 Mar 2020) Changed paths: M modules/osp/orig_transaction.c Log Message: ----------- osp: actually fix potential use of uninitialized pointer If OSPPTransactionNew() failed, callids[0] is still uninitialized. Commit: f1f892b03348cfc54a531362eab5822d30e5cb84 https://github.com/OpenSIPS/opensips/commit/f1f892b03348cfc54a531362eab5822d30e5cb84 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/osp/orig_transaction.c Log Message: ----------- Merge pull request #2039 from l2dy/osp osp: actually fix potential use of uninitialized pointer Compare: https://github.com/OpenSIPS/opensips/compare/31fbdc99f783...f1f892b03348 From noreply at github.com Fri Apr 3 17:16:10 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:16:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eeaab5: tm: type cast before shift to avoid overflow Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: eeaab52550fce37e3d2713308603e1531cc2e23e https://github.com/OpenSIPS/opensips/commit/eeaab52550fce37e3d2713308603e1531cc2e23e Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: type cast before shift to avoid overflow Commit: ae42930f7db79d7b6a31938a4d1f7d7b7adb19be https://github.com/OpenSIPS/opensips/commit/ae42930f7db79d7b6a31938a4d1f7d7b7adb19be Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/tm/tm.c Log Message: ----------- Merge pull request #2046 from l2dy/tm tm: type cast before shift to avoid overflow Compare: https://github.com/OpenSIPS/opensips/compare/f1f892b03348...ae42930f7db7 From noreply at github.com Fri Apr 3 17:16:51 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:16:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2132b1: dialog: fix possible overflow Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2132b1246d0490a7b22af7471065c92f83d9927f https://github.com/OpenSIPS/opensips/commit/2132b1246d0490a7b22af7471065c92f83d9927f Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- dialog: fix possible overflow Commit: b64d072cb0ee6aaedf5694d9f6952bde583c262d https://github.com/OpenSIPS/opensips/commit/b64d072cb0ee6aaedf5694d9f6952bde583c262d Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- Merge pull request #2047 from l2dy/dialog dialog: fix possible overflow Compare: https://github.com/OpenSIPS/opensips/compare/ae42930f7db7...b64d072cb0ee From noreply at github.com Fri Apr 3 17:20:18 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:20:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bbbe69: db_virtual: check NULL before log Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bbbe695ea8d64efe8a6152ed69aca88896d7a3dc https://github.com/OpenSIPS/opensips/commit/bbbe695ea8d64efe8a6152ed69aca88896d7a3dc Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M modules/db_virtual/dbase.c Log Message: ----------- db_virtual: check NULL before log Commit: 962ba0718db395cbda8b8a2c762176a3fd237637 https://github.com/OpenSIPS/opensips/commit/962ba0718db395cbda8b8a2c762176a3fd237637 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/db_virtual/dbase.c Log Message: ----------- Merge branch 'db_virtual' of https://github.com/l2dy/opensips into l2dy-db_virtual Compare: https://github.com/OpenSIPS/opensips/compare/b64d072cb0ee...962ba0718db3 From noreply at github.com Fri Apr 3 17:22:06 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:22:06 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f33f1d: rtpengine: check NULL before assignment Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f33f1d839102a24342a91f15a6902c05ee90ea45 https://github.com/OpenSIPS/opensips/commit/f33f1d839102a24342a91f15a6902c05ee90ea45 Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: check NULL before assignment Commit: f103dd47b50b410d726c9c8349591ab53ea0719e https://github.com/OpenSIPS/opensips/commit/f103dd47b50b410d726c9c8349591ab53ea0719e Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- Merge pull request #2044 from l2dy/rtpengine rtpengine: check NULL before assignment Compare: https://github.com/OpenSIPS/opensips/compare/962ba0718db3...f103dd47b50b From noreply at github.com Fri Apr 3 17:24:16 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:24:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8d7e2f: exec: fix NULL check after malloc Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8d7e2f310d7f43535dea1dff6b6889df02d95c02 https://github.com/OpenSIPS/opensips/commit/8d7e2f310d7f43535dea1dff6b6889df02d95c02 Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M modules/exec/exec_mod.c Log Message: ----------- exec: fix NULL check after malloc hf->next_other should be checked instead. Commit: a0b69ed08bb107f3e3565004f9ac5d6bb898435c https://github.com/OpenSIPS/opensips/commit/a0b69ed08bb107f3e3565004f9ac5d6bb898435c Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec_mod.c Log Message: ----------- Merge pull request #2043 from l2dy/exec-check exec: fix NULL check after malloc Compare: https://github.com/OpenSIPS/opensips/compare/f103dd47b50b...a0b69ed08bb1 From noreply at github.com Fri Apr 3 17:26:47 2020 From: noreply at github.com (Liviu Chircu) Date: Fri, 03 Apr 2020 10:26:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7edd72: Add missing NULL check Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7edd729e40d962d014f5caa9f1ec024543e93bc6 https://github.com/OpenSIPS/opensips/commit/7edd729e40d962d014f5caa9f1ec024543e93bc6 Author: Zero King Date: 2020-03-17 (Tue, 17 Mar 2020) Changed paths: M route.c Log Message: ----------- Add missing NULL check Commit: 28fe6671c8fb90ec7e7c2636b31c94b9adb3b952 https://github.com/OpenSIPS/opensips/commit/28fe6671c8fb90ec7e7c2636b31c94b9adb3b952 Author: Liviu Chircu Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M route.c Log Message: ----------- Merge pull request #2042 from l2dy/route Add missing NULL check Compare: https://github.com/OpenSIPS/opensips/compare/a0b69ed08bb1...28fe6671c8fb From noreply at github.com Fri Apr 3 17:30:34 2020 From: noreply at github.com (Zero King) Date: Fri, 03 Apr 2020 10:30:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a6d45: osp: actually fix potential use of uninitialized p... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8a6d458ec72243c667b39ac1f97cfe7e7e98d1ec https://github.com/OpenSIPS/opensips/commit/8a6d458ec72243c667b39ac1f97cfe7e7e98d1ec Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/osp/orig_transaction.c Log Message: ----------- osp: actually fix potential use of uninitialized pointer If OSPPTransactionNew() failed, callids[0] is still uninitialized. (cherry picked from commit c8a99ad3d1dea71ddaa73ed4cac42f4c56b49a38) Commit: a4da730c13d52b494f834fdd5c7ff5d61a17937f https://github.com/OpenSIPS/opensips/commit/a4da730c13d52b494f834fdd5c7ff5d61a17937f Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec.c Log Message: ----------- exec: fix potential use of uninitialized pointer (cherry picked from commit 9da92ced576d18e5487cf5dfa584ee638c170520) Commit: 4467d246b09c12e2ce2b689992bef458577f9a59 https://github.com/OpenSIPS/opensips/commit/4467d246b09c12e2ce2b689992bef458577f9a59 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M action.c Log Message: ----------- Fix potential out-of-bounds access of sroutes->request (cherry picked from commit b6e5d0127254e78ffe735185eef26ae06293552b) Commit: 9c2660c68f5bb00733088c15679a2404442e57c7 https://github.com/OpenSIPS/opensips/commit/9c2660c68f5bb00733088c15679a2404442e57c7 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M route.c Log Message: ----------- Add missing NULL check (cherry picked from commit 7edd729e40d962d014f5caa9f1ec024543e93bc6) Commit: bcd723680b506f6ac0a6ec095e3920777bcb6b65 https://github.com/OpenSIPS/opensips/commit/bcd723680b506f6ac0a6ec095e3920777bcb6b65 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec_mod.c Log Message: ----------- exec: fix NULL check after malloc hf->next_other should be checked instead. (cherry picked from commit 8d7e2f310d7f43535dea1dff6b6889df02d95c02) Commit: b428f119fb179d00f47d1917362b33484ebaf4b1 https://github.com/OpenSIPS/opensips/commit/b428f119fb179d00f47d1917362b33484ebaf4b1 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: check NULL before assignment (cherry picked from commit f33f1d839102a24342a91f15a6902c05ee90ea45) Commit: 39a3a06fd2486848d7e22736182602a741d42f5d https://github.com/OpenSIPS/opensips/commit/39a3a06fd2486848d7e22736182602a741d42f5d Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/db_virtual/dbase.c Log Message: ----------- db_virtual: check NULL before log (cherry picked from commit bbbe695ea8d64efe8a6152ed69aca88896d7a3dc) Commit: 341c869764e08dde05df89231988f86af07aff2b https://github.com/OpenSIPS/opensips/commit/341c869764e08dde05df89231988f86af07aff2b Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/tm/tm.c Log Message: ----------- tm: type cast before shift to avoid overflow (cherry picked from commit eeaab52550fce37e3d2713308603e1531cc2e23e) Commit: 7140c22bf11e47724cffd9b98ecc61943a574cc5 https://github.com/OpenSIPS/opensips/commit/7140c22bf11e47724cffd9b98ecc61943a574cc5 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/dialog/dialog.c Log Message: ----------- dialog: fix possible overflow (cherry picked from commit 2132b1246d0490a7b22af7471065c92f83d9927f) Compare: https://github.com/OpenSIPS/opensips/compare/6e97055c8164...7140c22bf11e From noreply at github.com Fri Apr 3 17:34:09 2020 From: noreply at github.com (Zero King) Date: Fri, 03 Apr 2020 10:34:09 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fedd1f: osp: actually fix potential use of uninitialized p... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: fedd1f7322643c7e9b2fda1f4ca6e7f4f1d31b83 https://github.com/OpenSIPS/opensips/commit/fedd1f7322643c7e9b2fda1f4ca6e7f4f1d31b83 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/osp/orig_transaction.c Log Message: ----------- osp: actually fix potential use of uninitialized pointer If OSPPTransactionNew() failed, callids[0] is still uninitialized. (cherry picked from commit c8a99ad3d1dea71ddaa73ed4cac42f4c56b49a38) (cherry picked from commit 8a6d458ec72243c667b39ac1f97cfe7e7e98d1ec) Commit: 3cae597de6592e9e2970c79c2f65fe443eb16764 https://github.com/OpenSIPS/opensips/commit/3cae597de6592e9e2970c79c2f65fe443eb16764 Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec.c Log Message: ----------- exec: fix potential use of uninitialized pointer (cherry picked from commit 9da92ced576d18e5487cf5dfa584ee638c170520) (cherry picked from commit a4da730c13d52b494f834fdd5c7ff5d61a17937f) Commit: 2534ee9f9d41e6996ed80bf34ffdd92d06f0d17d https://github.com/OpenSIPS/opensips/commit/2534ee9f9d41e6996ed80bf34ffdd92d06f0d17d Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/exec/exec_mod.c Log Message: ----------- exec: fix NULL check after malloc hf->next_other should be checked instead. (cherry picked from commit 8d7e2f310d7f43535dea1dff6b6889df02d95c02) (cherry picked from commit bcd723680b506f6ac0a6ec095e3920777bcb6b65) Commit: f11aa63035a2d3e1c3f67f3b50448bc91b85a27f https://github.com/OpenSIPS/opensips/commit/f11aa63035a2d3e1c3f67f3b50448bc91b85a27f Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/rtpengine/rtpengine.c Log Message: ----------- rtpengine: check NULL before assignment (cherry picked from commit f33f1d839102a24342a91f15a6902c05ee90ea45) (cherry picked from commit b428f119fb179d00f47d1917362b33484ebaf4b1) Commit: a28d270fd0195c9e178180ccbc62626363cc7a4f https://github.com/OpenSIPS/opensips/commit/a28d270fd0195c9e178180ccbc62626363cc7a4f Author: Zero King Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/db_virtual/dbase.c Log Message: ----------- db_virtual: check NULL before log (cherry picked from commit bbbe695ea8d64efe8a6152ed69aca88896d7a3dc) (cherry picked from commit 39a3a06fd2486848d7e22736182602a741d42f5d) Compare: https://github.com/OpenSIPS/opensips/compare/f2d6e7b5cdc3...a28d270fd019 From noreply at github.com Sun Apr 5 19:34:53 2020 From: noreply at github.com (opensips-github) Date: Sun, 05 Apr 2020 12:34:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 495b98: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 495b98030356f6bb9f3bf1825ac42764c987c6ee https://github.com/OpenSIPS/opensips/commit/495b98030356f6bb9f3bf1825ac42764c987c6ee Author: OpenSIPS Date: 2020-04-05 (Sun, 05 Apr 2020) Changed paths: M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/exec/README M modules/exec/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 5 19:49:18 2020 From: noreply at github.com (opensips-github) Date: Sun, 05 Apr 2020 12:49:18 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d89d0e: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: d89d0ec2db9a65ee77f995e554bc7300296621b5 https://github.com/OpenSIPS/opensips/commit/d89d0ec2db9a65ee77f995e554bc7300296621b5 Author: OpenSIPS Date: 2020-04-05 (Sun, 05 Apr 2020) Changed paths: M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/exec/README M modules/exec/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 5 20:03:28 2020 From: noreply at github.com (opensips-github) Date: Sun, 05 Apr 2020 13:03:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] dfe7b0: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: dfe7b0511b5e7b942ae9b6f3cb16f483b30c6180 https://github.com/OpenSIPS/opensips/commit/dfe7b0511b5e7b942ae9b6f3cb16f483b30c6180 Author: OpenSIPS Date: 2020-04-05 (Sun, 05 Apr 2020) Changed paths: M modules/db_virtual/README M modules/db_virtual/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/exec/README M modules/exec/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/rtpengine/README M modules/rtpengine/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From bogdan at opensips.org Tue Apr 7 10:13:31 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 7 Apr 2020 13:13:31 +0300 Subject: [OpenSIPS-Devel] [BLOG] Real-Time Rating and Cost Based Routing in OpenSIPS 3.1 Message-ID: <81cf4783-41ea-def7-14d5-3ddf7cd111ef@opensips.org> While there are numerous external rating and billing engines available in the wild, having a quick and easy way of putting a price for a call, without relying on external applications, can be a valuable asset to have. https://blog.opensips.org/2020/04/07/real-time-rating-and-cost-based-routing-in-opensips-3-1/ Thank you Vlad Paiu for the valuable contribution and post ! Best Regards, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Thu Apr 9 15:07:22 2020 From: noreply at github.com (vladpaiu) Date: Thu, 09 Apr 2020 08:07:22 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d9d1b9: Added script attributes per dispatcher entry & add... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d9d1b9660b0f017898d9bfc298c9641213b4bf61 https://github.com/OpenSIPS/opensips/commit/d9d1b9660b0f017898d9bfc298c9641213b4bf61 Author: Vlad Paiu Date: 2020-04-09 (Thu, 09 Apr 2020) Changed paths: M action.c M action.h M modules/dispatcher/README M modules/dispatcher/dispatch.c M modules/dispatcher/dispatch.h M modules/dispatcher/dispatcher.c M modules/dispatcher/doc/dispatcher_admin.xml Log Message: ----------- Added script attributes per dispatcher entry & added algo 10 From noreply at github.com Fri Apr 10 05:39:25 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 09 Apr 2020 22:39:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ebb1ce: usrloc/tm: Refactor event code (avoid copy-paste) Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: ebb1ce45f21711368ebc11783f41abfabd5d5b25 https://github.com/OpenSIPS/opensips/commit/ebb1ce45f21711368ebc11783f41abfabd5d5b25 Author: Liviu Chircu Date: 2020-04-08 (Wed, 08 Apr 2020) Changed paths: M modules/tm/t_fwd.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc/tm: Refactor event code (avoid copy-paste) Commit: 2d896a30d7ec93b92a894e7fc2c4ecb8b9ad7b9a https://github.com/OpenSIPS/opensips/commit/2d896a30d7ec93b92a894e7fc2c4ecb8b9ad7b9a Author: Liviu Chircu Date: 2020-04-08 (Wed, 08 Apr 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- t_inject_branches(): Do not load contact attributes Loading the attributes was completely redundant, as they were not used afterwards. Commit: 907b1417dc918ea41e6439d42e2230a1b580eae0 https://github.com/OpenSIPS/opensips/commit/907b1417dc918ea41e6439d42e2230a1b580eae0 Author: Liviu Chircu Date: 2020-04-09 (Thu, 09 Apr 2020) Changed paths: A modules/event_routing/api.h M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c Log Message: ----------- event_routing: Add module API interface & function stubs Commit: 7933e38d550aa39766497c44ac8204331b188741 https://github.com/OpenSIPS/opensips/commit/7933e38d550aa39766497c44ac8204331b188741 Author: Liviu Chircu Date: 2020-04-09 (Thu, 09 Apr 2020) Changed paths: M parser/parse_uri.c M parser/parse_uri.h Log Message: ----------- get_uri_param_idx(): Export as static inline Commit: 07b431daca862ab7a5c32eb3343a3a9ff188c07d https://github.com/OpenSIPS/opensips/commit/07b431daca862ab7a5c32eb3343a3a9ff188c07d Author: Liviu Chircu Date: 2020-04-09 (Thu, 09 Apr 2020) Changed paths: M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c Log Message: ----------- event_routing: Add API loading; Begin implementation Commit: 5e432c1d9471df380768198c2a37cfdd12b2c92e https://github.com/OpenSIPS/opensips/commit/5e432c1d9471df380768198c2a37cfdd12b2c92e Author: Liviu Chircu Date: 2020-04-09 (Thu, 09 Apr 2020) Changed paths: M modules/event_routing/ebr_data.c M ut.h Log Message: ----------- event_routing: Implement event SIP URI param filters Commit: c70ea29c2228f1a18d08f98f9edd46c66b9b14e9 https://github.com/OpenSIPS/opensips/commit/c70ea29c2228f1a18d08f98f9edd46c66b9b14e9 Author: Liviu Chircu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c M ut.h Log Message: ----------- event_routing: Implement api.notify_on_event() Compare: https://github.com/OpenSIPS/opensips/compare/6e9ee4fca47e...c70ea29c2228 From noreply at github.com Fri Apr 10 18:26:13 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 10 Apr 2020 11:26:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c92f8e: b2b_entities: inform callback about serialization ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: c92f8e69484e92eb5902383c6db4827a16d036c9 https://github.com/OpenSIPS/opensips/commit/c92f8e69484e92eb5902383c6db4827a16d036c9 Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2b_entities.h M modules/b2b_entities/b2be_clustering.c M modules/b2b_entities/b2be_load.h M modules/b2b_entities/dlg.c M modules/b2b_entities/dlg.h M modules/media_exchange/media_utils.c M modules/media_exchange/media_utils.h Log Message: ----------- b2b_entities: inform callback about serialization backend type The entity callback now has an extra param which describes the serialization backend used (cluster or DB). Commit: d838df07bc93910de96ab490625f90b83540d269 https://github.com/OpenSIPS/opensips/commit/d838df07bc93910de96ab490625f90b83540d269 Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2be_clustering.c M modules/b2b_entities/b2be_clustering.h M modules/b2b_entities/b2be_load.h M modules/b2b_entities/dlg.c M modules/media_exchange/media_utils.c Log Message: ----------- b2b_entities: add ACK event type for entity callbacks Split the sending/receiving of an ACK from the B2B_EVENT_UPDATE entity callback event type into a new type. Commit: f866dc9554914392b15e7c332a0812d73a02faa0 https://github.com/OpenSIPS/opensips/commit/f866dc9554914392b15e7c332a0812d73a02faa0 Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_entities/b2be_load.h M modules/b2b_entities/dlg.c M modules/b2b_entities/dlg.h M modules/b2b_logic/logic.c M modules/b2b_logic/records.c M modules/media_exchange/media_exchange.c M modules/media_exchange/media_sessions.c M modules/siprec/siprec_logic.c Log Message: ----------- b2b_entities: instruct entity_delete if replication should be done Commit: 5b579d7a7c32354ff3a8c028f84201122d8b9ed9 https://github.com/OpenSIPS/opensips/commit/5b579d7a7c32354ff3a8c028f84201122d8b9ed9 Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_logic/b2b_logic.c A modules/b2b_logic/b2bl_clustering.c A modules/b2b_logic/b2bl_clustering.h M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/b2bl_db.h M modules/b2b_logic/logic.c M modules/b2b_logic/records.c M modules/b2b_logic/records.h Log Message: ----------- b2b_logic: add replication through entities storage Commit: fd19afa9804726242af6934ed7756c6d59ab3daa https://github.com/OpenSIPS/opensips/commit/fd19afa9804726242af6934ed7756c6d59ab3daa Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_entities/b2be_clustering.c M modules/b2b_entities/dlg.c M modules/b2b_entities/dlg.h Log Message: ----------- b2b_entities: do not call the entity callbacks under lock Commit: 07f7fdbfaaf0611db302151a711c8c3d0f20d13a https://github.com/OpenSIPS/opensips/commit/07f7fdbfaaf0611db302151a711c8c3d0f20d13a Author: Vlad Patrascu Date: 2020-04-10 (Fri, 10 Apr 2020) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix a crash when no entity storage backend is used Compare: https://github.com/OpenSIPS/opensips/compare/d9d1b9660b0f...07f7fdbfaaf0 From noreply at github.com Sat Apr 11 17:45:40 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sat, 11 Apr 2020 10:45:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8a7b6f: Fix bad err check and reporting Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8a7b6f58f930266fb4a72fba8a4ce1c3625fc9e3 https://github.com/OpenSIPS/opensips/commit/8a7b6f58f930266fb4a72fba8a4ce1c3625fc9e3 Author: Bogdan-Andrei Iancu Date: 2020-04-11 (Sat, 11 Apr 2020) Changed paths: M modules/load_balancer/lb_clustering.c Log Message: ----------- Fix bad err check and reporting Reported by Vasilios Tzanoudakis From noreply at github.com Sun Apr 12 20:03:43 2020 From: noreply at github.com (opensips-github) Date: Sun, 12 Apr 2020 13:03:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1b8adc: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 1b8adc7b2926b0f2c311852ce371314727057fef https://github.com/OpenSIPS/opensips/commit/1b8adc7b2926b0f2c311852ce371314727057fef Author: OpenSIPS Date: 2020-04-12 (Sun, 12 Apr 2020) Changed paths: M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/load_balancer/README M modules/load_balancer/doc/contributors.xml M modules/media_exchange/README M modules/media_exchange/doc/contributors.xml M modules/siprec/README M modules/siprec/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Apr 13 08:47:39 2020 From: noreply at github.com (vladpaiu) Date: Mon, 13 Apr 2020 01:47:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ac6f2: Added support for early BYE vs 200OK race condition Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 2ac6f2bcf89d1df9e0d1187687ea8cb4e6aebf93 https://github.com/OpenSIPS/opensips/commit/2ac6f2bcf89d1df9e0d1187687ea8cb4e6aebf93 Author: Vlad Paiu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/dialog/README M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/doc/dialog_admin.xml Log Message: ----------- Added support for early BYE vs 200OK race condition Also polished docs a little bit From noreply at github.com Mon Apr 13 08:57:41 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 13 Apr 2020 01:57:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fa4e4f: Fix compilation warnings with -DUSE_FUTEX Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fa4e4fa70085db9da4dc72f856e0648341b0f5a6 https://github.com/OpenSIPS/opensips/commit/fa4e4fa70085db9da4dc72f856e0648341b0f5a6 Author: Liviu Chircu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/identity/identity.c M modules/presence_dialoginfo/pidf.c M modules/presence_xml/pidf.c Log Message: ----------- Fix compilation warnings with -DUSE_FUTEX It seems that whenever "time.h" is included without first enabling _GNU_SOURCE, including "unistd.h" afterwards will leave the "syscall" function undeclared, regardless whether _GNU_SOURCE is defined or not. ../../parser/../mem/../futex_lock.h: In function ‘get_lock’: ../../parser/../mem/../futex_lock.h:78:31: warning: implicit declaration of function ‘syscall’; did you mean ‘sysconf’? [-Wimplicit-function-declaration] #define futex_wait(lock, val) syscall(SYS_futex, lock, FUTEX_WAIT, val, 0, 0, 0) ^ ../../parser/../mem/../futex_lock.h:268:4: note: in expansion of macro ‘futex_wait’ futex_wait(lock, 2); ^~~~~~~~~~ From noreply at github.com Mon Apr 13 08:59:33 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 13 Apr 2020 01:59:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4d61b9: Fix compilation warnings with -DUSE_FUTEX Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 4d61b934d54c4b56144ede65a16a385c2d6e2e2d https://github.com/OpenSIPS/opensips/commit/4d61b934d54c4b56144ede65a16a385c2d6e2e2d Author: Liviu Chircu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/identity/identity.c M modules/presence_dialoginfo/pidf.c M modules/presence_xml/pidf.c Log Message: ----------- Fix compilation warnings with -DUSE_FUTEX It seems that whenever "time.h" is included without first enabling _GNU_SOURCE, including "unistd.h" afterwards will leave the "syscall" function undeclared, regardless whether _GNU_SOURCE is defined or not. ../../parser/../mem/../futex_lock.h: In function ‘get_lock’: ../../parser/../mem/../futex_lock.h:78:31: warning: implicit declaration of function ‘syscall’; did you mean ‘sysconf’? [-Wimplicit-function-declaration] #define futex_wait(lock, val) syscall(SYS_futex, lock, FUTEX_WAIT, val, 0, 0, 0) ^ ../../parser/../mem/../futex_lock.h:268:4: note: in expansion of macro ‘futex_wait’ futex_wait(lock, 2); ^~~~~~~~~~ (cherry picked from commit fa4e4fa70085db9da4dc72f856e0648341b0f5a6) From noreply at github.com Mon Apr 13 09:00:29 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 13 Apr 2020 02:00:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 2ee910: Fix compilation warnings with -DUSE_FUTEX Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 2ee910093066f9578da6583727ad49ee0aef19f4 https://github.com/OpenSIPS/opensips/commit/2ee910093066f9578da6583727ad49ee0aef19f4 Author: Liviu Chircu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/identity/identity.c M modules/presence_dialoginfo/pidf.c M modules/presence_xml/pidf.c Log Message: ----------- Fix compilation warnings with -DUSE_FUTEX It seems that whenever "time.h" is included without first enabling _GNU_SOURCE, including "unistd.h" afterwards will leave the "syscall" function undeclared, regardless whether _GNU_SOURCE is defined or not. ../../parser/../mem/../futex_lock.h: In function ‘get_lock’: ../../parser/../mem/../futex_lock.h:78:31: warning: implicit declaration of function ‘syscall’; did you mean ‘sysconf’? [-Wimplicit-function-declaration] #define futex_wait(lock, val) syscall(SYS_futex, lock, FUTEX_WAIT, val, 0, 0, 0) ^ ../../parser/../mem/../futex_lock.h:268:4: note: in expansion of macro ‘futex_wait’ futex_wait(lock, 2); ^~~~~~~~~~ (cherry picked from commit fa4e4fa70085db9da4dc72f856e0648341b0f5a6) From noreply at github.com Mon Apr 13 09:58:45 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 13 Apr 2020 02:58:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7221b9: Fix un-released transaction upon t_wait_for_new_br... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 7221b984d555cb68fd07e1bfb502607446345d42 https://github.com/OpenSIPS/opensips/commit/7221b984d555cb68fd07e1bfb502607446345d42 Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix un-released transaction upon t_wait_for_new_branches + cancel. If t_wait_for_new_branches() is used and no real signaling branch is added, the caller canceling must not be ignored upon branch selection. The injected 408 timeout on the phony branch must be considered, leading the transaction termination. Thanks to Chris Maciejewski for reporting and providing troubleshooting info. Also thanks to Razvan Crainea ( @razvancrainea ) for investigating and reproducing the problem. Commit: 8af80a40bb9877b91380da670353a68c53f0a36b https://github.com/OpenSIPS/opensips/commit/8af80a40bb9877b91380da670353a68c53f0a36b Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- Improve canceling of transactions doing only t_wait_for_new_branches(). If a transaction has no real signalling branch, but only doing t_wait_for_new_branches(), upon caller cancel inject a 487 reply on the phony/waiting branch in order to terminate the transaction on the spot. The provious behavior was to wait (even after the cancel) for the phony/waiting branch timeout (fr_inv_timeout) and to generate an 408 timeout. Now, there is no useless waiting and a proper 487 is generated. Compare: https://github.com/OpenSIPS/opensips/compare/4d61b934d54c...8af80a40bb98 From noreply at github.com Mon Apr 13 10:00:58 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 13 Apr 2020 03:00:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ddc2ac: Fix un-released transaction upon t_wait_for_new_br... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: ddc2ac911131862b4ad1d6f0a0a06d65ae3ae2f0 https://github.com/OpenSIPS/opensips/commit/ddc2ac911131862b4ad1d6f0a0a06d65ae3ae2f0 Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix un-released transaction upon t_wait_for_new_branches + cancel. If t_wait_for_new_branches() is used and no real signaling branch is added, the caller canceling must not be ignored upon branch selection. The injected 408 timeout on the phony branch must be considered, leading the transaction termination. Thanks to Chris Maciejewski for reporting and providing troubleshooting info. Also thanks to Razvan Crainea ( @razvancrainea ) for investigating and reproducing the problem. (cherry picked from commit 7221b984d555cb68fd07e1bfb502607446345d42) Commit: dec009ee2e9164f9fcba020b7dbf7dae25704705 https://github.com/OpenSIPS/opensips/commit/dec009ee2e9164f9fcba020b7dbf7dae25704705 Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- Improve canceling of transactions doing only t_wait_for_new_branches(). If a transaction has no real signalling branch, but only doing t_wait_for_new_branches(), upon caller cancel inject a 487 reply on the phony/waiting branch in order to terminate the transaction on the spot. The provious behavior was to wait (even after the cancel) for the phony/waiting branch timeout (fr_inv_timeout) and to generate an 408 timeout. Now, there is no useless waiting and a proper 487 is generated. (cherry picked from commit 8af80a40bb9877b91380da670353a68c53f0a36b) Compare: https://github.com/OpenSIPS/opensips/compare/fa4e4fa70085...dec009ee2e91 From noreply at github.com Mon Apr 13 10:01:33 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 13 Apr 2020 03:01:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1bbe7a: Fix un-released transaction upon t_wait_for_new_br... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1bbe7ab88271f58916cd60debe63f728f5598e82 https://github.com/OpenSIPS/opensips/commit/1bbe7ab88271f58916cd60debe63f728f5598e82 Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_reply.c Log Message: ----------- Fix un-released transaction upon t_wait_for_new_branches + cancel. If t_wait_for_new_branches() is used and no real signaling branch is added, the caller canceling must not be ignored upon branch selection. The injected 408 timeout on the phony branch must be considered, leading the transaction termination. Thanks to Chris Maciejewski for reporting and providing troubleshooting info. Also thanks to Razvan Crainea ( @razvancrainea ) for investigating and reproducing the problem. (cherry picked from commit 7221b984d555cb68fd07e1bfb502607446345d42) Commit: ef3ffb0f3890c824026439a6e7b8ec28093f291e https://github.com/OpenSIPS/opensips/commit/ef3ffb0f3890c824026439a6e7b8ec28093f291e Author: Bogdan-Andrei Iancu Date: 2020-04-13 (Mon, 13 Apr 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- Improve canceling of transactions doing only t_wait_for_new_branches(). If a transaction has no real signalling branch, but only doing t_wait_for_new_branches(), upon caller cancel inject a 487 reply on the phony/waiting branch in order to terminate the transaction on the spot. The provious behavior was to wait (even after the cancel) for the phony/waiting branch timeout (fr_inv_timeout) and to generate an 408 timeout. Now, there is no useless waiting and a proper 487 is generated. (cherry picked from commit 8af80a40bb9877b91380da670353a68c53f0a36b) Compare: https://github.com/OpenSIPS/opensips/compare/2ee910093066...ef3ffb0f3890 From noreply at github.com Tue Apr 14 11:25:11 2020 From: noreply at github.com (Liviu Chircu) Date: Tue, 14 Apr 2020 04:25:11 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4990e6: Add support for writing module unit tests Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 4990e69699bcf4094519fbf4597786da9acdfd60 https://github.com/OpenSIPS/opensips/commit/4990e69699bcf4094519fbf4597786da9acdfd60 Author: Liviu Chircu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M Makefile.modules M Makefile.test M globals.h M main.c A modules/registrar/test/opensips.cfg A modules/registrar/test/test.c M sr_module.c M sr_module.h M test/unit_tests.c M test/unit_tests.h Log Message: ----------- Add support for writing module unit tests Developers may easily write module unit tests as follows: 1. any testing code .c files must be placed in modules//test/ 2. you must provide a "modules//test/opensips.cfg" file for the module tests to run on top of (TODO: ideally, there should be support for multiple of these) 3. the tests will be executed using an entry-point function, which _must_ be named "mod_tests: typedef int (*mod_tests_f) (void); 4. "make test module=registrar" in order to start OpenSIPS using your opensips.cfg and run your 'mod_tests' function From noreply at github.com Tue Apr 14 12:32:56 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 Apr 2020 05:32:56 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fb3736: Added new dialoginfo_mute_branch() function. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fb37365992b8f2cd34fba45e2a6baf63246a62ee https://github.com/OpenSIPS/opensips/commit/fb37365992b8f2cd34fba45e2a6baf63246a62ee Author: Bogdan-Andrei Iancu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M modules/pua_dialoginfo/pua_dialoginfo.c Log Message: ----------- Added new dialoginfo_mute_branch() function. This function mutes the publishing for a certain branch of the call (to be used from branch route). The muting may be total (caller and callee) or only for caller or callee (controlled via the optional param of the function). Commit: bfdc1e34f7796a75292ed9fe614375ef675a11b1 https://github.com/OpenSIPS/opensips/commit/bfdc1e34f7796a75292ed9fe614375ef675a11b1 Author: Bogdan-Andrei Iancu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml Log Message: ----------- Docs updated with dialoginfo_mute_branch() Compare: https://github.com/OpenSIPS/opensips/compare/dec009ee2e91...bfdc1e34f779 From noreply at github.com Tue Apr 14 20:15:54 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 14 Apr 2020 13:15:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 39d85a: stir_shaken: use the proper signature format Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 39d85a22d9a97926c103b6899a96bdca51cf0c8d https://github.com/OpenSIPS/opensips/commit/39d85a22d9a97926c103b6899a96bdca51cf0c8d Author: Vlad Patrascu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M modules/stir_shaken/stir_shaken.c M modules/stir_shaken/stir_shaken.h Log Message: ----------- stir_shaken: use the proper signature format Use the raw octet sequence of the R and S integer components instead of the DER encoding as the signature value before base64 encoding. Reported by Alexandru Tripon. From noreply at github.com Tue Apr 14 20:49:20 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 Apr 2020 13:49:20 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 65ba3d: Add support for upcoming json-c 0.14.0. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 65ba3d4c78c0001fbf7b96c99dc43d20fdd2ebee https://github.com/OpenSIPS/opensips/commit/65ba3d4c78c0001fbf7b96c99dc43d20fdd2ebee Author: Björn Esser Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M lib/json/opensips_json_c_helper.h Log Message: ----------- Add support for upcoming json-c 0.14.0. TRUE/FALSE are not defined anymore. 1 and 0 are used instead. Commit: fe24824e042486575daa01e20df2c8380b9e0b07 https://github.com/OpenSIPS/opensips/commit/fe24824e042486575daa01e20df2c8380b9e0b07 Author: Bogdan Andrei IANCU Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M lib/json/opensips_json_c_helper.h Log Message: ----------- Merge pull request #2074 from besser82/topic/besser82/json_c_014_so_5 Add support for upcoming json-c 0.14.0. Compare: https://github.com/OpenSIPS/opensips/compare/39d85a22d9a9...fe24824e0424 From noreply at github.com Tue Apr 14 20:50:40 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 Apr 2020 13:50:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 0bc4e9: Merge pull request #2074 from besser82/topic/besse... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 0bc4e92b873a03dfab4c5baf33ea96c0860f603f https://github.com/OpenSIPS/opensips/commit/0bc4e92b873a03dfab4c5baf33ea96c0860f603f Author: Bogdan Andrei IANCU Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M lib/json/opensips_json_c_helper.h Log Message: ----------- Merge pull request #2074 from besser82/topic/besser82/json_c_014_so_5 Add support for upcoming json-c 0.14.0. (cherry picked from commit fe24824e042486575daa01e20df2c8380b9e0b07) From noreply at github.com Tue Apr 14 20:51:01 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Tue, 14 Apr 2020 13:51:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1df57e: Merge pull request #2074 from besser82/topic/besse... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 1df57e94cf41f0527367a43b6c8c3528fd8db9bf https://github.com/OpenSIPS/opensips/commit/1df57e94cf41f0527367a43b6c8c3528fd8db9bf Author: Bogdan Andrei IANCU Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M lib/json/opensips_json_c_helper.h Log Message: ----------- Merge pull request #2074 from besser82/topic/besser82/json_c_014_so_5 Add support for upcoming json-c 0.14.0. (cherry picked from commit fe24824e042486575daa01e20df2c8380b9e0b07) From noreply at github.com Wed Apr 15 17:39:04 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 15 Apr 2020 10:39:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 1e9f53: usrloc/registrar: Minor clean-ups Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 1e9f539c26cbbf09d8c4bdff24a6af2b3b5eaa00 https://github.com/OpenSIPS/opensips/commit/1e9f539c26cbbf09d8c4bdff24a6af2b3b5eaa00 Author: Liviu Chircu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M modules/registrar/lookup.c M modules/usrloc/ul_dbg.h M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc/registrar: Minor clean-ups Commit: c0ba6a0eabdac4eb41b376b6aad8a3a0810cc0b3 https://github.com/OpenSIPS/opensips/commit/c0ba6a0eabdac4eb41b376b6aad8a3a0810cc0b3 Author: Liviu Chircu Date: 2020-04-14 (Tue, 14 Apr 2020) Changed paths: M Makefile.modules M context.c M context.h M test/unit_tests.c A test/ut.c A test/ut.h Log Message: ----------- Improve module test infrastructure * ensure a global context while the tests are run * add an utility for quickly building parsed sip_msg structs * fix a Makefile wildcard expansion bug Commit: a7bd7b9322b85264f8c88cb480e82635954ccd60 https://github.com/OpenSIPS/opensips/commit/a7bd7b9322b85264f8c88cb480e82635954ccd60 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/reg_mod.c Log Message: ----------- SIP Push Notifications: Add the "pn_skip_pn_interval" modparam Sometimes, it may be useful to skip sending a PN if a wake-up + re-registration were recently triggered. Default value: 0 seconds (always trigger a PN) Commit: 36327d8f758d30c2e0849a0e46a525a572a5cb47 https://github.com/OpenSIPS/opensips/commit/36327d8f758d30c2e0849a0e46a525a572a5cb47 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c M modules/registrar/test/opensips.cfg Log Message: ----------- registrar: Add SIP PN contact detection & iteration Commit: addff7724fac715e5dad287f6ace6c40d0014351 https://github.com/OpenSIPS/opensips/commit/addff7724fac715e5dad287f6ace6c40d0014351 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/reg_mod.c Log Message: ----------- registrar: Add 'pn_inv_timeout' modparam Controls the amount of time that the EBR subscription will be valid for. Commit: e72629d1522570448c1f47e252a902f222e75778 https://github.com/OpenSIPS/opensips/commit/e72629d1522570448c1f47e252a902f222e75778 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Export E_UL_CONTACT_REFRESH via API Commit: 4ab7ce39c40e349a263dba7fbc9c986b18970ff0 https://github.com/OpenSIPS/opensips/commit/4ab7ce39c40e349a263dba7fbc9c986b18970ff0 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M ipc.h M lib/reg/pn.c M lib/reg/pn.h M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/registrar/lookup.c M modules/registrar/test/opensips.cfg Log Message: ----------- registrar SIP PN: Finalize integration with EBR & usrloc Commit: c2616473c193ea170c8f2807d5b9e6c8ab34b5ee https://github.com/OpenSIPS/opensips/commit/c2616473c193ea170c8f2807d5b9e6c8ab34b5ee Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M modules/registrar/test/test.c Log Message: ----------- registrar: Add some lookup() unit tests Compare: https://github.com/OpenSIPS/opensips/compare/4990e69699bc...c2616473c193 From noreply at github.com Wed Apr 15 20:46:37 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 15 Apr 2020 13:46:37 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 812868: evi: Be more compatible with calling code Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 81286801df4228bf613bbb55b6183f7f244b319d https://github.com/OpenSIPS/opensips/commit/81286801df4228bf613bbb55b6183f7f244b319d Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M evi/evi_params.c M evi/evi_params.h Log Message: ----------- evi: Be more compatible with calling code Commit: cd3be8c0ca5f925e9816ce95f2b1aff67fb39695 https://github.com/OpenSIPS/opensips/commit/cd3be8c0ca5f925e9816ce95f2b1aff67fb39695 Author: Liviu Chircu Date: 2020-04-15 (Wed, 15 Apr 2020) Changed paths: M lib/reg/pn.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- SIP PN: Rework the async Push Notification support Although the previous version seemed to work, it was broken conceptually, since passing a (ucontact_t *) without a ref counting mechanism may lead to invalid SHM memory access whenever the contact is freed before the PN job gets to be executed. Compare: https://github.com/OpenSIPS/opensips/compare/c2616473c193...cd3be8c0ca5f From noreply at github.com Wed Apr 15 21:24:10 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 15 Apr 2020 14:24:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc21ab: usrloc: Add the 'domain' attribute to all events Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: fc21ab79c11243dd2a790fbb1fa902ab52433bdb https://github.com/OpenSIPS/opensips/commit/fc21ab79c11243dd2a790fbb1fa902ab52433bdb Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/registrar/test/opensips.cfg M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc: Add the 'domain' attribute to all events Fixes #2062 From noreply at github.com Thu Apr 16 12:06:04 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 05:06:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f117d3: tm: Minor improvements Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: f117d3f20af6e88ecd42f289f7116a6878561903 https://github.com/OpenSIPS/opensips/commit/f117d3f20af6e88ecd42f289f7116a6878561903 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/tm/h_table.h M modules/tm/t_fwd.c Log Message: ----------- tm: Minor improvements * t_forward_nonack(): Avoid redundant str copying * improve docs on t->nr_of_outgoings Commit: 56b6950746d672f2217165583c727f13b6c446c5 https://github.com/OpenSIPS/opensips/commit/56b6950746d672f2217165583c727f13b6c446c5 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/tm/t_fwd.c M modules/tm/t_fwd.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: Extend the API with await/inject functions Specifically: * tm.t_wait_for_new_branches(msg) * tm.t_inject_ul_event_branch(msg) Commit: 9e6545346cbc6fde30cb9e5d754f2318d99e2d47 https://github.com/OpenSIPS/opensips/commit/9e6545346cbc6fde30cb9e5d754f2318d99e2d47 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M lib/reg/pn.c M modules/registrar/lookup.c M parser/msg_parser.h Log Message: ----------- registrar SIP PN: Finalize integration with tm Commit: 54064b4614d42164b49105b43f9a5dc1ce308a92 https://github.com/OpenSIPS/opensips/commit/54064b4614d42164b49105b43f9a5dc1ce308a92 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M socket_info.h Log Message: ----------- proto2a(): Do not segfault on PROTO_NONE (0) Commit: 51c39c41c96d75c4e9cd650e0fef935a79330c54 https://github.com/OpenSIPS/opensips/commit/51c39c41c96d75c4e9cd650e0fef935a79330c54 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M test/ut.c Log Message: ----------- mk_sip_req(): Properly init the sip_msg This way, parse_headers() will work as expected Compare: https://github.com/OpenSIPS/opensips/compare/fc21ab79c112...51c39c41c96d From noreply at github.com Thu Apr 16 12:57:10 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 05:57:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 7b70ec: Update rtpproxy.c Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 7b70ecc9e11bd0be5a81bf19f6ff4dcee63950a6 https://github.com/OpenSIPS/opensips/commit/7b70ecc9e11bd0be5a81bf19f6ff4dcee63950a6 Author: robdyck <58280584+robdyck at users.noreply.github.com> Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Update rtpproxy.c Commit: 8516ae53868849201ac38c12f29380c61fa08a12 https://github.com/OpenSIPS/opensips/commit/8516ae53868849201ac38c12f29380c61fa08a12 Author: robdyck <58280584+robdyck at users.noreply.github.com> Date: 2020-04-03 (Fri, 03 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Update rtpproxy.c Commit: 4558e7af66240a2e359a1ffbeee114bad3b4f71d https://github.com/OpenSIPS/opensips/commit/4558e7af66240a2e359a1ffbeee114bad3b4f71d Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Merge branch 'master' of https://github.com/robdyck/opensips into robdyck-master Commit: b47d7a617cd8384f2929655f497f3b52c554028d https://github.com/OpenSIPS/opensips/commit/b47d7a617cd8384f2929655f497f3b52c554028d Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Removed extra space Commit: 223157444e28747c286d48459dba0c2c71c5b52f https://github.com/OpenSIPS/opensips/commit/223157444e28747c286d48459dba0c2c71c5b52f Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Merge branch 'robdyck-master' Compare: https://github.com/OpenSIPS/opensips/compare/fe24824e0424...223157444e28 From noreply at github.com Thu Apr 16 13:12:43 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 06:12:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 938ff2: Merge branch 'master' of https://github.com/robdyc... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 938ff2b089574ef1c26c1015e998691c88d77352 https://github.com/OpenSIPS/opensips/commit/938ff2b089574ef1c26c1015e998691c88d77352 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Merge branch 'master' of https://github.com/robdyck/opensips into robdyck-master (cherry picked from commit 4558e7af66240a2e359a1ffbeee114bad3b4f71d) Commit: f94af1ec006fcbea2ce1281c374e05f7981c9165 https://github.com/OpenSIPS/opensips/commit/f94af1ec006fcbea2ce1281c374e05f7981c9165 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Removed extra space (cherry picked from commit b47d7a617cd8384f2929655f497f3b52c554028d) Compare: https://github.com/OpenSIPS/opensips/compare/0bc4e92b873a...f94af1ec006f From noreply at github.com Thu Apr 16 13:13:29 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 06:13:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 085232: Merge branch 'master' of https://github.com/robdyc... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 08523266d68b231baeda17fbec7e6dd8ed0fffca https://github.com/OpenSIPS/opensips/commit/08523266d68b231baeda17fbec7e6dd8ed0fffca Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Merge branch 'master' of https://github.com/robdyck/opensips into robdyck-master (cherry picked from commit 4558e7af66240a2e359a1ffbeee114bad3b4f71d) Commit: 0dc4efdcc71f62ae2a85121c3bd3f22da6840974 https://github.com/OpenSIPS/opensips/commit/0dc4efdcc71f62ae2a85121c3bd3f22da6840974 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/rtpproxy/rtpproxy.c Log Message: ----------- Removed extra space (cherry picked from commit b47d7a617cd8384f2929655f497f3b52c554028d) Compare: https://github.com/OpenSIPS/opensips/compare/1df57e94cf41...0dc4efdcc71f From noreply at github.com Thu Apr 16 13:22:13 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 06:22:13 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bb7afd: [exec] improve docs on exec async + launch Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bb7afdc2dc4363f24d8e28e00ab337c7c174d1e5 https://github.com/OpenSIPS/opensips/commit/bb7afdc2dc4363f24d8e28e00ab337c7c174d1e5 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/exec/doc/exec_admin.xml Log Message: ----------- [exec] improve docs on exec async + launch Related to #2049 From noreply at github.com Thu Apr 16 13:22:55 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 06:22:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 980bd1: [exec] improve docs on exec async + launch Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 980bd163b06c2d293e4d25e4d9855c5a73447aa8 https://github.com/OpenSIPS/opensips/commit/980bd163b06c2d293e4d25e4d9855c5a73447aa8 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/exec/doc/exec_admin.xml Log Message: ----------- [exec] improve docs on exec async + launch Related to #2049 (cherry picked from commit bb7afdc2dc4363f24d8e28e00ab337c7c174d1e5) From noreply at github.com Thu Apr 16 13:24:55 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 16 Apr 2020 06:24:55 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52d957: [exec] improve docs on exec async + launch Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 52d957a200709a3b13b4d05b26c98584cda8c901 https://github.com/OpenSIPS/opensips/commit/52d957a200709a3b13b4d05b26c98584cda8c901 Author: Bogdan-Andrei Iancu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M modules/exec/doc/exec_admin.xml Log Message: ----------- [exec] improve docs on exec async + launch Related to #2049 (cherry picked from commit bb7afdc2dc4363f24d8e28e00ab337c7c174d1e5) From noreply at github.com Thu Apr 16 13:44:01 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 06:44:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 251244: module dependencies: Be able to easily specify N d... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 25124449e807f9918a8d01d64f0e50d3cc2405c7 https://github.com/OpenSIPS/opensips/commit/25124449e807f9918a8d01d64f0e50d3cc2405c7 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M sr_module_deps.c M sr_module_deps.h Log Message: ----------- module dependencies: Be able to easily specify N dependencies Commit: 92e7d5416b5b5a025a00806a600228e7c42d8b34 https://github.com/OpenSIPS/opensips/commit/92e7d5416b5b5a025a00806a600228e7c42d8b34 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/reg_mod.c Log Message: ----------- SIP PN Support: Add conditional module dependencies Compare: https://github.com/OpenSIPS/opensips/compare/51c39c41c96d...92e7d5416b5b From noreply at github.com Thu Apr 16 13:48:34 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 06:48:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 99b285: proto2a(): Do not segfault on PROTO_NONE (0) Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 99b285081e79d2529dfb5ae599e65b9b088b6f5a https://github.com/OpenSIPS/opensips/commit/99b285081e79d2529dfb5ae599e65b9b088b6f5a Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M socket_info.h Log Message: ----------- proto2a(): Do not segfault on PROTO_NONE (0) (cherry picked from commit 54064b4614d42164b49105b43f9a5dc1ce308a92) From noreply at github.com Thu Apr 16 13:49:02 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 06:49:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e38af9: proto2a(): Do not segfault on PROTO_NONE (0) Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: e38af9e78c951ec31b4e9309544b167745267360 https://github.com/OpenSIPS/opensips/commit/e38af9e78c951ec31b4e9309544b167745267360 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M socket_info.h Log Message: ----------- proto2a(): Do not segfault on PROTO_NONE (0) (cherry picked from commit 54064b4614d42164b49105b43f9a5dc1ce308a92) From noreply at github.com Thu Apr 16 14:06:40 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 07:06:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 041d10: registrar: Move common Feature-Caps code under lib... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 041d1012360366e08efc64da239e1ff6e1746c73 https://github.com/OpenSIPS/opensips/commit/041d1012360366e08efc64da239e1ff6e1746c73 Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/reply.c Log Message: ----------- registrar: Move common Feature-Caps code under lib/reg/ From noreply at github.com Thu Apr 16 15:55:12 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 16 Apr 2020 08:55:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6219be: registrar lookup(): Add a new retcode + unit tests Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 6219beb9f86fe470f4a2c58248afab3b99fff06d https://github.com/OpenSIPS/opensips/commit/6219beb9f86fe470f4a2c58248afab3b99fff06d Author: Liviu Chircu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M lib/reg/sip_msg.h M modules/mid_registrar/lookup.c M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c M modules/registrar/test/test.c M ut.h Log Message: ----------- registrar lookup(): Add a new retcode + unit tests The new return code "2" of lookup() is needed when all found contacts are PN-enabled. In this case, script developers must NOT call t_relay() afterwards. From noreply at github.com Thu Apr 16 19:38:59 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 Apr 2020 12:38:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 22cbb4: Properly check script functions parameter types wi... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 22cbb4e71a792d8b2ae38b987ce46739d761b790 https://github.com/OpenSIPS/opensips/commit/22cbb4e71a792d8b2ae38b987ce46739d761b790 Author: Vlad Patrascu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M mod_fix.c M mod_fix.h M route.c Log Message: ----------- Properly check script functions parameter types with the -c option Also, do not omit from syntax checking functions that are part of IF statement experssions. Closes #1993 From noreply at github.com Thu Apr 16 19:39:58 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 16 Apr 2020 12:39:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae403f: Properly check script functions parameter types wi... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ae403f0e462cb4d38d808262794e16dc613482b3 https://github.com/OpenSIPS/opensips/commit/ae403f0e462cb4d38d808262794e16dc613482b3 Author: Vlad Patrascu Date: 2020-04-16 (Thu, 16 Apr 2020) Changed paths: M mod_fix.c M mod_fix.h M route.c Log Message: ----------- Properly check script functions parameter types with the -c option Also, do not omit from syntax checking functions that are part of IF statement experssions. Closes #1993 (cherry picked from commit 22cbb4e71a792d8b2ae38b987ce46739d761b790) From noreply at github.com Fri Apr 17 08:31:16 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 17 Apr 2020 01:31:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49622b: b2b_logic: replicate tuple's extra headers Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 49622ba491dc0d4ed7f70ad6c023fb52debe2061 https://github.com/OpenSIPS/opensips/commit/49622ba491dc0d4ed7f70ad6c023fb52debe2061 Author: Vlad Patrascu Date: 2020-04-17 (Fri, 17 Apr 2020) Changed paths: M modules/b2b_logic/b2bl_clustering.c M modules/b2b_logic/records.c Log Message: ----------- b2b_logic: replicate tuple's extra headers From donat.zenichev at gmail.com Fri Apr 17 08:36:24 2020 From: donat.zenichev at gmail.com (Donat Zenichev) Date: Fri, 17 Apr 2020 11:36:24 +0300 Subject: [OpenSIPS-Devel] Labels in OpenSIPS - is it possible? Message-ID: Good day! I wasn't sure if my question relates more to users mailing list, or to dev mailing list. Please move it to users mailing if my question relates more to it. So, basically my question is, if there is some implementation similar to what we have in C language, when we want to jump from one part of the code, to another part - with 'goto' and 'label'. In OpenSIPS we can jump to another route simply. But what if we need to jump from one part of the code to another part of the code within certain route block? Might be, my question sounds weird, and most of the OpenSIPS community would find this as unnecessary, but it would be great to hear some hints. Thanks in advance, and have a nice day! -- Best regards, Donat Zenichev -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Fri Apr 17 08:41:05 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 17 Apr 2020 01:41:05 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 17b44e: xml: allow access to nodes with undefined namespac... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 17b44ea1f2270be8e59b893ab70b3aac8d5a3826 https://github.com/OpenSIPS/opensips/commit/17b44ea1f2270be8e59b893ab70b3aac8d5a3826 Author: Vlad Patrascu Date: 2020-04-17 (Fri, 17 Apr 2020) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: allow access to nodes with undefined namespace prefixes Related to #1988 From noreply at github.com Fri Apr 17 08:43:43 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 17 Apr 2020 01:43:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ec9d7f: xml: allow access to nodes with undefined namespac... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: ec9d7fc4bd420d2ddd55434faf6e825839659ec4 https://github.com/OpenSIPS/opensips/commit/ec9d7fc4bd420d2ddd55434faf6e825839659ec4 Author: Vlad Patrascu Date: 2020-04-17 (Fri, 17 Apr 2020) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: allow access to nodes with undefined namespace prefixes Related to #1988 (cherry picked from commit 17b44ea1f2270be8e59b893ab70b3aac8d5a3826) From noreply at github.com Fri Apr 17 08:45:00 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Fri, 17 Apr 2020 01:45:00 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 90e06c: xml: allow access to nodes with undefined namespac... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 90e06c6649a3ca952e5f145d97907a6e4629dc28 https://github.com/OpenSIPS/opensips/commit/90e06c6649a3ca952e5f145d97907a6e4629dc28 Author: Vlad Patrascu Date: 2020-04-17 (Fri, 17 Apr 2020) Changed paths: M modules/xml/xml.c Log Message: ----------- xml: allow access to nodes with undefined namespace prefixes Related to #1988 (cherry picked from commit 17b44ea1f2270be8e59b893ab70b3aac8d5a3826) From sobomax at sippysoft.com Sat Apr 18 01:03:31 2020 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Fri, 17 Apr 2020 18:03:31 -0700 Subject: [OpenSIPS-Devel] Labels in OpenSIPS - is it possible? In-Reply-To: References: Message-ID: Idea sounds interesting, IMHO. -Max On Fri., Apr. 17, 2020, 1:37 a.m. Donat Zenichev, wrote: > Good day! > I wasn't sure if my question relates more to users mailing list, or to dev > mailing list. > Please move it to users mailing if my question relates more to it. > > So, basically my question is, if there is some implementation similar to > what we have in C language, when we want to jump from one part of the code, > to another part - with 'goto' and 'label'. > > In OpenSIPS we can jump to another route simply. But what if we need to > jump from one part of the code to another part of the code within certain > route block? > > Might be, my question sounds weird, and most of the OpenSIPS community > would find this as unnecessary, but it would be great to hear some hints. > > Thanks in advance, and have a nice day! > > -- > > Best regards, > Donat Zenichev > > _______________________________________________ > 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 Sat Apr 18 20:36:51 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sat, 18 Apr 2020 13:36:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 49f45b: [call_center] Improved wrapup time support Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 49f45b2b930b03b704f66bec01751cf60f029d2c https://github.com/OpenSIPS/opensips/commit/49f45b2b930b03b704f66bec01751cf60f029d2c Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_data.c M modules/call_center/cc_data.h M modules/call_center/cc_db.c M modules/call_center/cc_db.h Log Message: ----------- [call_center] Improved wrapup time support The flows and agents may have optional wrapup time. Rules: * if no per-agent wrapup time, use the global value * the per-flow wrapup overrides the per-agent value Commit: 81b56167a7750cd639c0dd1669aaab46a5592c52 https://github.com/OpenSIPS/opensips/commit/81b56167a7750cd639c0dd1669aaab46a5592c52 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M db/schema/cc_agents.xml M db/schema/cc_flows.xml M scripts/db_berkeley/opensips/cc_agents M scripts/db_berkeley/opensips/cc_flows M scripts/dbtext/opensips/cc_agents M scripts/dbtext/opensips/cc_flows M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/pi_http/call_center-mod M scripts/pi_http/call_center-table M scripts/pi_http/pi_framework.xml M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] Added wrapup time column to cc_flow and cc_agent Commit: a419fef6700a02c68979f1296b8b67dee93bcd51 https://github.com/OpenSIPS/opensips/commit/a419fef6700a02c68979f1296b8b67dee93bcd51 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] updated docs on wrapup time Commit: 934c2ba553887aca4e770c9110d0bd18e416b8eb https://github.com/OpenSIPS/opensips/commit/934c2ba553887aca4e770c9110d0bd18e416b8eb Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/cc_db.c Log Message: ----------- [call_center] Accept empty tables for flows & agents This allows the module to start even if there is no data provisioned Commit: 15f284e37a5b08471cfb305800fb581af426388a https://github.com/OpenSIPS/opensips/commit/15f284e37a5b08471cfb305800fb581af426388a Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_data.c M modules/call_center/cc_data.h M modules/call_center/cc_db.c M modules/call_center/cc_db.h M modules/call_center/cc_queue.c Log Message: ----------- [call_center] Adds call dissuading support Configurable per flow, the dissuading means to redirect a call to another destination, if the queue/flow is overloaded: * if the number of calls already in the queue exceeds the diss_qsize_th threshold * if the estimated time to wait of the queue exceeds the diss_ewt_th threshold * if the call was waiting in the queue for longer than diss_onhold_th threshold Commit: 0306a0b728788f067f04c8eb6b80ff562abcdc2b https://github.com/OpenSIPS/opensips/commit/0306a0b728788f067f04c8eb6b80ff562abcdc2b Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M db/schema/cc_flows.xml M scripts/db_berkeley/opensips/cc_flows M scripts/dbtext/opensips/cc_flows M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/pi_http/call_center-mod M scripts/pi_http/call_center-table M scripts/pi_http/pi_framework.xml M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] Adding the dissuading columns in cc_flows table Commit: c5526ec22f1fe57bfed2d607e6f8c5ca89393378 https://github.com/OpenSIPS/opensips/commit/c5526ec22f1fe57bfed2d607e6f8c5ca89393378 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] docs on the dissuading capabilities Commit: 8bba471ba997c80338b01b23f619898b2a91bec6 https://github.com/OpenSIPS/opensips/commit/8bba471ba997c80338b01b23f619898b2a91bec6 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M db/schema/cc_flows.xml M scripts/db_berkeley/opensips/cc_flows M scripts/dbtext/opensips/cc_flows M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/pi_http/call_center-mod M scripts/pi_http/call_center-table M scripts/pi_http/pi_framework.xml M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] added the message_dissuading column to cc_flows Commit: 2cf897536c12ad0ccfbb4ffd0ef7552fa4984d4c https://github.com/OpenSIPS/opensips/commit/2cf897536c12ad0ccfbb4ffd0ef7552fa4984d4c Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M db/schema/cc_agents.xml M db/schema/cc_flows.xml M modules/call_center/cc_db.h M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/version M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] boost the version for cc_agents and cc_flows tables Commit: 95ba92ded33cbdd6c50331b30ad28cfa4d20d6de https://github.com/OpenSIPS/opensips/commit/95ba92ded33cbdd6c50331b30ad28cfa4d20d6de Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_db.c M modules/call_center/cc_db.h M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] Make cc_agents table customizable Name and columns may be changed via modparams This makes easier to mapp the agents table on other DB tables Commit: 0567aa4efaa74fb299bb1716c712a947df2026c8 https://github.com/OpenSIPS/opensips/commit/0567aa4efaa74fb299bb1716c712a947df2026c8 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/cc_db.c Log Message: ----------- [call_center] Fixed bad number of columns in DB query Commit: bdb7e532a446abaec281ec363d4b5b6168aa8098 https://github.com/OpenSIPS/opensips/commit/bdb7e532a446abaec281ec363d4b5b6168aa8098 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/cc_data.c Log Message: ----------- [call_center] Fix condition for persistent wrapup time Compare: https://github.com/OpenSIPS/opensips/compare/17b44ea1f227...bdb7e532a446 From noreply at github.com Sat Apr 18 20:57:41 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sat, 18 Apr 2020 13:57:41 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 463d09: [call_center] Split a separate DB conn for runtime... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 463d09d3b0ac12a5349b9908dd428d80c332558a https://github.com/OpenSIPS/opensips/commit/463d09d3b0ac12a5349b9908dd428d80c332558a Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_db.c M modules/call_center/cc_db.h M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] Split a separate DB conn for runtime tables (cc_calls) Commit: e02bcb753cfc05148eee0146c429966ae7754dd4 https://github.com/OpenSIPS/opensips/commit/e02bcb753cfc05148eee0146c429966ae7754dd4 Author: Bogdan-Andrei Iancu Date: 2020-04-18 (Sat, 18 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] Added option to queue calls if no agents logged Compare: https://github.com/OpenSIPS/opensips/compare/bdb7e532a446...e02bcb753cfc From noreply at github.com Sat Apr 18 22:16:10 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sat, 18 Apr 2020 15:16:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e9c608: [call_center] add flow_id announcement/message sup... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e9c6081fe141d7be5b0db1783972d9f91305fcd4 https://github.com/OpenSIPS/opensips/commit/e9c6081fe141d7be5b0db1783972d9f91305fcd4 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M db/schema/cc_flows.xml M modules/call_center/Makefile M modules/call_center/call_center.c M modules/call_center/cc_data.c M modules/call_center/cc_data.h M modules/call_center/cc_db.c M modules/call_center/cc_db.h M modules/call_center/cc_queue.c M modules/call_center/doc/call_center_admin.xml M scripts/db_berkeley/opensips/cc_flows M scripts/dbtext/opensips/cc_flows M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/pi_http/call_center-mod M scripts/pi_http/call_center-table M scripts/pi_http/pi_framework.xml M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] add flow_id announcement/message support This is an optional audio announcement to be played to the agent (to get info about the flow) right before getting the call distributed from the flow. That's it, a audio identification of the flow which distributed the incoming call. From noreply at github.com Sat Apr 18 22:29:04 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sat, 18 Apr 2020 15:29:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 89b122: [b2b_logic] fix bridge_extern to consider cb mask Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 89b122335dd4f1112e9eb76b1a033fc05599a261 https://github.com/OpenSIPS/opensips/commit/89b122335dd4f1112e9eb76b1a033fc05599a261 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/b2b_logic/b2b_load.h M modules/b2b_logic/b2b_logic.c Log Message: ----------- [b2b_logic] fix bridge_extern to consider cb mask Commit: 6d34960a95d10de52892f6ad242d4420d0ee1be9 https://github.com/OpenSIPS/opensips/commit/6d34960a95d10de52892f6ad242d4420d0ee1be9 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/b2b_logic/records.c Log Message: ----------- [b2b_logic] suppress delete not found warning Commit: d2fc255f076bf5b2c90ffdb9413a7a1dde5744f9 https://github.com/OpenSIPS/opensips/commit/d2fc255f076bf5b2c90ffdb9413a7a1dde5744f9 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/b2b_logic/logic.c M modules/b2b_logic/records.h Log Message: ----------- [b2b_logic] add reject indication prevent CANCEL from being generated for entities that have been declined This only happens when bridging two calls Compare: https://github.com/OpenSIPS/opensips/compare/e9c6081fe141...d2fc255f076b From noreply at github.com Sat Apr 18 22:31:42 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sat, 18 Apr 2020 15:31:42 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52b655: [call_center] add flags to bridge extern Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 52b655c245e896f803f7041bb47b97ea1104a94d https://github.com/OpenSIPS/opensips/commit/52b655c245e896f803f7041bb47b97ea1104a94d Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c Log Message: ----------- [call_center] add flags to bridge extern From noreply at github.com Sun Apr 19 14:04:02 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 19 Apr 2020 07:04:02 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bfc16d: [call_center] added the b2b XML scenario needed by... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bfc16d65ceeda16011a1932a9a9c0f602d4eb396 https://github.com/OpenSIPS/opensips/commit/bfc16d65ceeda16011a1932a9a9c0f602d4eb396 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: A modules/call_center/scenario_agent.xml Log Message: ----------- [call_center] added the b2b XML scenario needed by audio ID Commit: c6132f2dac9323b56cc4d751674a0c0b3310b540 https://github.com/OpenSIPS/opensips/commit/c6132f2dac9323b56cc4d751674a0c0b3310b540 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_db.c M modules/call_center/cc_db.h M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] expose flow columns as module parameters Compare: https://github.com/OpenSIPS/opensips/compare/52b655c245e8...c6132f2dac93 From noreply at github.com Sun Apr 19 14:35:30 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 19 Apr 2020 07:35:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bd17b2: [call_center] pass via cc_handle_call() a custom p... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bd17b24c345899a35f1504e407d5902309b2c4b5 https://github.com/OpenSIPS/opensips/commit/bd17b24c345899a35f1504e407d5902309b2c4b5 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M db/schema/cc_calls.xml M db/schema/cc_flows.xml M modules/call_center/call_center.c M modules/call_center/cc_data.c M modules/call_center/cc_data.h M modules/call_center/cc_db.c M modules/call_center/doc/call_center_admin.xml M modules/call_center/scenario_agent.xml M modules/call_center/scenario_callcenter.xml M scripts/db_berkeley/opensips/cc_calls M scripts/db_berkeley/opensips/version M scripts/dbtext/opensips/cc_calls M scripts/dbtext/opensips/cc_flows M scripts/dbtext/opensips/version M scripts/mysql/call_center-create.sql M scripts/oracle/call_center-create.sql M scripts/pi_http/call_center-mod M scripts/pi_http/call_center-table M scripts/pi_http/pi_framework.xml M scripts/postgres/call_center-create.sql M scripts/sqlite/call_center-create.sql Log Message: ----------- [call_center] pass via cc_handle_call() a custom param to B2B scripts an opaque string to be passed as parameter to the "callcenter" and "agent" B2B scenarios. It is itended for custom integration of the call center module and it is 100% up to the script writer about the value and purpose of this parameter, OpenSIPS will not touch or iterpret it. Commit: 0937e60519bf6ddc6d1a77c655797ce319596fb9 https://github.com/OpenSIPS/opensips/commit/0937e60519bf6ddc6d1a77c655797ce319596fb9 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] some spellchecking on docs Compare: https://github.com/OpenSIPS/opensips/compare/c6132f2dac93...0937e60519bf From noreply at github.com Sun Apr 19 14:44:19 2020 From: noreply at github.com (=?UTF-8?B?UsSDenZhbiBDcmFpbmVh?=) Date: Sun, 19 Apr 2020 07:44:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f8a1b9: [call-center] if a flow_id recording is available, ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f8a1b98849d86f7e0b1f7a9ea1a2d84f5d51d6fe https://github.com/OpenSIPS/opensips/commit/f8a1b98849d86f7e0b1f7a9ea1a2d84f5d51d6fe Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/cc_queue.c Log Message: ----------- [call-center] if a flow_id recording is available, leave the call in queue Commit: b15b02490767cc6483cba9773b35b77bae5dcfb6 https://github.com/OpenSIPS/opensips/commit/b15b02490767cc6483cba9773b35b77bae5dcfb6 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c Log Message: ----------- [call_center] allow negative replies from media flow recording Commit: e4375ef900f1c415b2d44c26582bfe391c56e085 https://github.com/OpenSIPS/opensips/commit/e4375ef900f1c415b2d44c26582bfe391c56e085 Author: Razvan Crainea Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c Log Message: ----------- [call_center] bridge call_center agent and customer Compare: https://github.com/OpenSIPS/opensips/compare/0937e60519bf...e4375ef900f1 From noreply at github.com Sun Apr 19 14:45:46 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sun, 19 Apr 2020 07:45:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5dd5aa: [call_center] better error handling Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5dd5aa5c0bf537ae2bc8021324f59124652aceca https://github.com/OpenSIPS/opensips/commit/5dd5aa5c0bf537ae2bc8021324f59124652aceca Author: Bogdan-Andrei Iancu Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_db.c Log Message: ----------- [call_center] better error handling From noreply at github.com Sun Apr 19 15:19:59 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sun, 19 Apr 2020 08:19:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 769ae0: [call_center] fix init of custom table/column name... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 769ae098a897ac77a9ef39e9a978fe7de139ac90 https://github.com/OpenSIPS/opensips/commit/769ae098a897ac77a9ef39e9a978fe7de139ac90 Author: Bogdan-Andrei Iancu Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c Log Message: ----------- [call_center] fix init of custom table/column names for cc_flows From noreply at github.com Sun Apr 19 18:08:53 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Sun, 19 Apr 2020 11:08:53 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b1faba: [call_center] added E_CALLCENTER_AGENT_REPORT event Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b1faba4c3cd8a2a90ec5b2dbcdb2f956574757ac https://github.com/OpenSIPS/opensips/commit/b1faba4c3cd8a2a90ec5b2dbcdb2f956574757ac Author: Bogdan-Andrei Iancu Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/call_center/call_center.c M modules/call_center/cc_data.c M modules/call_center/cc_data.h M modules/call_center/cc_queue.c M modules/call_center/doc/call_center_admin.xml Log Message: ----------- [call_center] added E_CALLCENTER_AGENT_REPORT event This reports any change in the agent status From noreply at github.com Sun Apr 19 19:35:19 2020 From: noreply at github.com (opensips-github) Date: Sun, 19 Apr 2020 12:35:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 40c5c4: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 40c5c48801d330d99cac79953e34874b47428899 https://github.com/OpenSIPS/opensips/commit/40c5c48801d330d99cac79953e34874b47428899 Author: OpenSIPS Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/exec/README M modules/exec/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/presence_dialoginfo/README M modules/presence_dialoginfo/doc/contributors.xml M modules/presence_xml/README M modules/presence_xml/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/xml/README M modules/xml/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 19 19:49:39 2020 From: noreply at github.com (opensips-github) Date: Sun, 19 Apr 2020 12:49:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 550f77: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 550f7730277f58696ba118b476ae17f2f3e28bae https://github.com/OpenSIPS/opensips/commit/550f7730277f58696ba118b476ae17f2f3e28bae Author: OpenSIPS Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/exec/README M modules/exec/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/presence_dialoginfo/README M modules/presence_dialoginfo/doc/contributors.xml M modules/presence_xml/README M modules/presence_xml/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/xml/README M modules/xml/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 19 20:03:52 2020 From: noreply at github.com (opensips-github) Date: Sun, 19 Apr 2020 13:03:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] bddfe1: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: bddfe1a87b23eba336d871eb164e724c1553f9c4 https://github.com/OpenSIPS/opensips/commit/bddfe1a87b23eba336d871eb164e724c1553f9c4 Author: OpenSIPS Date: 2020-04-19 (Sun, 19 Apr 2020) Changed paths: M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/call_center/README M modules/call_center/doc/contributors.xml M modules/dialog/README M modules/dialog/doc/contributors.xml M modules/exec/README M modules/exec/doc/contributors.xml M modules/identity/README M modules/identity/doc/contributors.xml M modules/presence_dialoginfo/README M modules/presence_dialoginfo/doc/contributors.xml M modules/presence_xml/README M modules/presence_xml/doc/contributors.xml M modules/pua_dialoginfo/README M modules/pua_dialoginfo/doc/contributors.xml M modules/rtpproxy/README M modules/rtpproxy/doc/contributors.xml M modules/stir_shaken/README M modules/stir_shaken/doc/contributors.xml M modules/tm/README M modules/tm/doc/contributors.xml M modules/xml/README M modules/xml/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Mon Apr 20 14:40:40 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 20 Apr 2020 07:40:40 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] d57760: tracer: fix null pointer dereference Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: d577608fd83f72a2e1b37d61a19ae68b9616596a https://github.com/OpenSIPS/opensips/commit/d577608fd83f72a2e1b37d61a19ae68b9616596a Author: Zero King Date: 2020-03-16 (Mon, 16 Mar 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- tracer: fix null pointer dereference Commit: d59715ec3614c5c9d5afb40aa17704d86fca6021 https://github.com/OpenSIPS/opensips/commit/d59715ec3614c5c9d5afb40aa17704d86fca6021 Author: Bogdan Andrei IANCU Date: 2020-04-20 (Mon, 20 Apr 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #2037 from l2dy/tracer tracer: fix null pointer dereference Compare: https://github.com/OpenSIPS/opensips/compare/bddfe1a87b23...d59715ec3614 From noreply at github.com Mon Apr 20 14:43:26 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 20 Apr 2020 07:43:26 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5f9afd: Merge pull request #2037 from l2dy/tracer Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 5f9afd3570af854aa4bbe87b2ff86d5c089a8a6d https://github.com/OpenSIPS/opensips/commit/5f9afd3570af854aa4bbe87b2ff86d5c089a8a6d Author: Bogdan Andrei IANCU Date: 2020-04-20 (Mon, 20 Apr 2020) Changed paths: M modules/tracer/tracer.c Log Message: ----------- Merge pull request #2037 from l2dy/tracer tracer: fix null pointer dereference (cherry picked from commit d59715ec3614c5c9d5afb40aa17704d86fca6021) From noreply at github.com Mon Apr 20 14:46:01 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Mon, 20 Apr 2020 07:46:01 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 169aef: Merge pull request #2037 from l2dy/tracer Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 169aefef56f00c5f0cd55428f7197aaf214e2d49 https://github.com/OpenSIPS/opensips/commit/169aefef56f00c5f0cd55428f7197aaf214e2d49 Author: Bogdan Andrei IANCU Date: 2020-04-20 (Mon, 20 Apr 2020) Changed paths: M modules/siptrace/siptrace.c Log Message: ----------- Merge pull request #2037 from l2dy/tracer tracer: fix null pointer dereference (cherry picked from commit d59715ec3614c5c9d5afb40aa17704d86fca6021) From noreply at github.com Tue Apr 21 11:27:59 2020 From: noreply at github.com (vladpaiu) Date: Tue, 21 Apr 2020 04:27:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 822231: Fixed crash in dispatcher mod_ini Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 8222313dc9a15a5e27b039cc1af10afcf2a17c01 https://github.com/OpenSIPS/opensips/commit/8222313dc9a15a5e27b039cc1af10afcf2a17c01 Author: Vlad Paiu Date: 2020-04-21 (Tue, 21 Apr 2020) Changed paths: M modules/dispatcher/dispatcher.c Log Message: ----------- Fixed crash in dispatcher mod_ini From bogdan at opensips.org Tue Apr 21 11:35:21 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 21 Apr 2020 14:35:21 +0300 Subject: [OpenSIPS-Devel] Labels in OpenSIPS - is it possible? In-Reply-To: References: Message-ID: <83d9f232-c9c9-ed31-9999-eadb75bc6d7a@opensips.org> Hey Donat, Please open a feature request on the github tracker, please. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/17/20 11:36 AM, Donat Zenichev wrote: > Good day! > I wasn't sure if my question relates more to users mailing list, or to > dev mailing list. > Please move it to users mailing if my question relates more to it. > > So, basically my question is, if there is some implementation similar > to what we have in C language, when we want to jump from one part of > the code, to another part - with 'goto' and 'label'. > > In OpenSIPS we can jump to another route simply. But what if we need > to jump from one part of the code to another part of the code within > certain route block? > > Might be, my question sounds weird, and most of the OpenSIPS community > would find this as unnecessary, but it would be great to hear some hints. > > Thanks in advance, and have a nice day! > > -- > > Best regards, > Donat Zenichev > > > _______________________________________________ > 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 Tue Apr 21 16:05:43 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 21 Apr 2020 19:05:43 +0300 Subject: [OpenSIPS-Devel] =?utf-8?q?=5BBlog=5D_Call_Center_=E2=80=93_an_ea?= =?utf-8?q?sier_integration_with_OpenSIPS_3=2E1?= Message-ID: <2767a302-7bce-a060-fec1-578848efa330@opensips.org> Flexible wrap-up time? Call dissuading? Pre-call agent announcements? Events on agents activity ? Starting with version 3.1, the Call Center got several improvements to make easier the integration of the module with different external tools for the agent side, to overall improve the agent capabilities and experience in an OpenSIPS based solution. https://blog.opensips.org/2020/04/21/call-center-an-easier-integration-with-opensips-3-1/ Enjoy, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Tue Apr 21 19:53:29 2020 From: noreply at github.com (Liviu Chircu) Date: Tue, 21 Apr 2020 12:53:29 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 96fe12: drouting: Clean up incorrect error log Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 96fe12e5054c8ce6f9a2554fc79c1e9f89d0fec2 https://github.com/OpenSIPS/opensips/commit/96fe12e5054c8ce6f9a2554fc79c1e9f89d0fec2 Author: Liviu Chircu Date: 2020-04-21 (Tue, 21 Apr 2020) Changed paths: M modules/drouting/drouting.c Log Message: ----------- drouting: Clean up incorrect error log During use_next_gw(), if there is no AVP available for qrouting accounting, it means do_routing() was called w/o a QR profile! From noreply at github.com Tue Apr 21 20:39:48 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Tue, 21 Apr 2020 13:39:48 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6ca59: b2b_entities: document the cluster_id modparam Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e6ca5949ddcb1f6cb0a665f63c64013ba008c342 https://github.com/OpenSIPS/opensips/commit/e6ca5949ddcb1f6cb0a665f63c64013ba008c342 Author: Vlad Patrascu Date: 2020-04-21 (Tue, 21 Apr 2020) Changed paths: M modules/b2b_entities/doc/b2b_entities_admin.xml M modules/b2b_logic/doc/b2b_logic_admin.xml Log Message: ----------- b2b_entities: document the cluster_id modparam Commit: 629c19127be27655757c3f4e92807500648e6c7a https://github.com/OpenSIPS/opensips/commit/629c19127be27655757c3f4e92807500648e6c7a Author: Vlad Patrascu Date: 2020-04-21 (Tue, 21 Apr 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2b_entities.h M modules/b2b_entities/client.c M modules/b2b_entities/doc/b2b_entities_admin.xml Log Message: ----------- b2b_entities: drop the "replication_mode" module parameter Possibly generating the same callid for new client entities from multiple instances has no use in the actual replication mechanism based on the clusterer module. Compare: https://github.com/OpenSIPS/opensips/compare/96fe12e5054c...629c19127be2 From noreply at github.com Wed Apr 22 09:13:08 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 02:13:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b22d98: Move from "listen" to "socket" for listner definition Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b22d980cf993966dadf74d9bc14d426f160d12e5 https://github.com/OpenSIPS/opensips/commit/b22d980cf993966dadf74d9bc14d426f160d12e5 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.lex M cfg.y Log Message: ----------- Move from "listen" to "socket" for listner definition listen -> socket tcp_listen_backlog -> tcp_socket_backlog Old versions are still accepted, but with warning Commit: 8487730a8c873eb983655f70dc720050fa16cb55 https://github.com/OpenSIPS/opensips/commit/8487730a8c873eb983655f70dc720050fa16cb55 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.lex M cfg.y Log Message: ----------- Removed deprecated "debug" keyword Replaced by log_level Commit: 39e9a98ddabe54b62c30f2945a1eb61726eef55b https://github.com/OpenSIPS/opensips/commit/39e9a98ddabe54b62c30f2945a1eb61726eef55b Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.lex M cfg.y Log Message: ----------- Removed deprecared "fork" keyword Use "debug_mode" instead Commit: 6ccc45b631d6044d3d67808d9ba58bbd196e3e22 https://github.com/OpenSIPS/opensips/commit/6ccc45b631d6044d3d67808d9ba58bbd196e3e22 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.lex M cfg.y Log Message: ----------- Removed deprecated 'children', 'use_chidlren' and 'tcp_children' Commit: 21cc02f1865fcea8ea9e499df2b1ccbd44507d5e https://github.com/OpenSIPS/opensips/commit/21cc02f1865fcea8ea9e499df2b1ccbd44507d5e Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.y M globals.h M net/net_tcp.c M net/tcp_conn.h Log Message: ----------- Rename tcp_listen_backlog var to tcp_socket_backlog Commit: 5cd1f52db625d2cb36a7eadee55490bb5bb20fe4 https://github.com/OpenSIPS/opensips/commit/5cd1f52db625d2cb36a7eadee55490bb5bb20fe4 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M utils/vim/opensips.vim Log Message: ----------- Updated keywords list for vim Commit: a938e8d169f30857b9e3a1e2384df218d19ba933 https://github.com/OpenSIPS/opensips/commit/a938e8d169f30857b9e3a1e2384df218d19ba933 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M cfg.y M main.c M net/trans.c M net/trans.h Log Message: ----------- Rename functions for operating with listener->sockets Commit: dc26f908b411af5c1152e7fbd2e4457a1cd772ed https://github.com/OpenSIPS/opensips/commit/dc26f908b411af5c1152e7fbd2e4457a1cd772ed Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M pvar.c M pvar.h Log Message: ----------- Added $socket_in(field) and $socket_in variables Commit: bf57444c385fc4bc3114c0e70c2ff3ff2cc1528a https://github.com/OpenSIPS/opensips/commit/bf57444c385fc4bc3114c0e70c2ff3ff2cc1528a Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M pvar.c M pvar.h Log Message: ----------- Added $socket_out and $socket_out(field) variable. This gives RW access to the outbound socket. If not explicitly set, the inbound will be used (as out==in will be assummed) Compare: https://github.com/OpenSIPS/opensips/compare/629c19127be2...bf57444c385f From noreply at github.com Wed Apr 22 17:47:04 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 10:47:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fc6f8f: rest_client: Disable "Expect: 100-continue" by def... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fc6f8f04091e86a4cc697dacf82ad4c215d5e73a https://github.com/OpenSIPS/opensips/commit/fc6f8f04091e86a4cc697dacf82ad4c215d5e73a Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M modules/rest_client/doc/rest_client_admin.xml M modules/rest_client/rest_client.c M modules/rest_client/rest_client.h M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Disable "Expect: 100-continue" by default Although the "100 Continue" flow sometimes saves bandwidth when the server replies with an error response, it also has some drawbacks: * extra roundtrips, adding latency and complicating the async handling * the client body upload and server body download must be performed within the same curl_multi_perform() loop, during the async resume callback, limiting the amount of parallelism that can be obtained when compared to the simple flow >From now on, the "100 Continue" flow for POST/PUT requests with bodies larger than 1024 bytes is disabled by default. Developers may enable it using a new, backwards-compatible, "enable_expect_100" module parameter. Fixes #2081 From noreply at github.com Wed Apr 22 17:55:03 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 10:55:03 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] afb721: async statement: Improve error log when tm is missing Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: afb721ed164206855130202cf5b0ff4c83bf2394 https://github.com/OpenSIPS/opensips/commit/afb721ed164206855130202cf5b0ff4c83bf2394 Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M action.c Log Message: ----------- async statement: Improve error log when tm is missing From noreply at github.com Wed Apr 22 17:58:58 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 10:58:58 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 948a48: rest_client: Disable "Expect: 100-continue" by def... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 948a48fdf5d835dbaed62bae7ad1ac94cdf57406 https://github.com/OpenSIPS/opensips/commit/948a48fdf5d835dbaed62bae7ad1ac94cdf57406 Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M modules/rest_client/doc/rest_client_admin.xml M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Disable "Expect: 100-continue" by default Although the "100 Continue" flow sometimes saves bandwidth when the server replies with an error response, it also has some drawbacks: * extra roundtrips, adding latency and complicating the async handling * the client body upload and server body download must be performed within the same curl_multi_perform() loop, during the async resume callback, limiting the amount of parallelism that can be obtained when compared to the simple flow >From now on, the "100 Continue" flow for POST/PUT requests with bodies larger than 1024 bytes is disabled by default. Developers may enable it using a new, backwards-compatible, "enable_expect_100" module parameter. Fixes #2081 From noreply at github.com Wed Apr 22 18:01:10 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 11:01:10 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f46afc: rest_client: Disable "Expect: 100-continue" by def... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: f46afc50a7247052cbb5255a15fdb888a8979049 https://github.com/OpenSIPS/opensips/commit/f46afc50a7247052cbb5255a15fdb888a8979049 Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M modules/rest_client/doc/rest_client_admin.xml M modules/rest_client/rest_client.c M modules/rest_client/rest_methods.c Log Message: ----------- rest_client: Disable "Expect: 100-continue" by default Although the "100 Continue" flow sometimes saves bandwidth when the server replies with an error response, it also has some drawbacks: * extra roundtrips, adding latency and complicating the async handling * the client body upload and server body download must be performed within the same curl_multi_perform() loop, during the async resume callback, limiting the amount of parallelism that can be obtained when compared to the simple flow >From now on, the "100 Continue" flow for POST/PUT requests with bodies larger than 1024 bytes is disabled by default. Developers may enable it using a new, backwards-compatible, "enable_expect_100" module parameter. Fixes #2081 From noreply at github.com Wed Apr 22 18:02:17 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 11:02:17 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] eabdd2: async statement: Improve error log when tm is missing Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: eabdd2d10d8ad4f84547f3b3ed12d7dca8769abe https://github.com/OpenSIPS/opensips/commit/eabdd2d10d8ad4f84547f3b3ed12d7dca8769abe Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M action.c Log Message: ----------- async statement: Improve error log when tm is missing (cherry picked from commit afb721ed164206855130202cf5b0ff4c83bf2394) From noreply at github.com Wed Apr 22 18:02:24 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 22 Apr 2020 11:02:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] a62775: async statement: Improve error log when tm is missing Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: a627750df5dd6dbf5f738f8cd670824846cbdd63 https://github.com/OpenSIPS/opensips/commit/a627750df5dd6dbf5f738f8cd670824846cbdd63 Author: Liviu Chircu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M action.c Log Message: ----------- async statement: Improve error log when tm is missing (cherry picked from commit afb721ed164206855130202cf5b0ff4c83bf2394) From noreply at github.com Wed Apr 22 20:45:36 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 13:45:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 70180f: Mark several script vars as obsolete. Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 70180f16bb303b80612fcb34ecbc70ad63f4725b https://github.com/OpenSIPS/opensips/commit/70180f16bb303b80612fcb34ecbc70ad63f4725b Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M pvar.c Log Message: ----------- Mark several script vars as obsolete. $Ri to be replaced by $socket_in(ip) $Rp to be replaced by $socket_in(port) $pr/$proto to be replaced by $socket_in(proto) $fs to be replaced by $socket_out From noreply at github.com Wed Apr 22 20:47:04 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 13:47:04 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 5d82f9: When doing advertising, if advertised port is not ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5d82f98ff62f947c5f5d3c40b1a3bca79673e112 https://github.com/OpenSIPS/opensips/commit/5d82f98ff62f947c5f5d3c40b1a3bca79673e112 Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M socket_info.c Log Message: ----------- When doing advertising, if advertised port is not give, use the real port From noreply at github.com Wed Apr 22 20:50:33 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 13:50:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] b41115: Adapted default cfg to the changes in socket-relat... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: b41115bebf516d1e0a1fb76182dee5e9c07edb5d https://github.com/OpenSIPS/opensips/commit/b41115bebf516d1e0a1fb76182dee5e9c07edb5d Author: Bogdan-Andrei Iancu Date: 2020-04-22 (Wed, 22 Apr 2020) Changed paths: M etc/opensips.cfg Log Message: ----------- Adapted default cfg to the changes in socket-related keywors/variables From noreply at github.com Wed Apr 22 21:22:43 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 14:22:43 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] fa0826: Bulk replacement of "listen=" with "socket=" Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: fa08263479e8cb8b3c39589ccb51879dbccf5d43 https://github.com/OpenSIPS/opensips/commit/fa08263479e8cb8b3c39589ccb51879dbccf5d43 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M examples/acc-mysql.cfg M examples/nathelper.cfg M examples/serial_183.cfg M modules/clusterer/doc/clusterer_admin.xml M modules/db_text/doc/db_text.cfg M modules/dispatcher/doc/dispatcher.cfg M modules/imc/doc/imc.cfg M modules/jabber/doc/jabber.cfg M modules/jabber/doc/jabberx.cfg M modules/msilo/doc/msilo.cfg M modules/osp/etc/sample-osp-opensips.cfg M modules/proto_bin/doc/proto_bin_admin.xml M modules/proto_hep/doc/proto_hep_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/sipcapture/examples/opensips.cfg M modules/tls_mgm/doc/tls_mgm_admin.xml M modules/xmpp/doc/opensips-xmpp.cfg M modules/xmpp/doc/xmpp_admin.xml M net/proto_tcp/doc/proto_tcp_admin.xml M obsolete_modules/mi_xmlrpc/doc/mi_xmlrpc.cfg M obsolete_modules/pdt/doc/pdt.cfg M obsolete_modules/seas/doc/seas_admin.xml M test/19.cfg M test/20.cfg M test/21.cfg M test/25.cfg M test/35.cfg M test/5.cfg M test/7.cfg M test/presence.cfg Log Message: ----------- Bulk replacement of "listen=" with "socket=" Commit: b599792c10c2235c8e9d88b5b89eaf5ef0348dc3 https://github.com/OpenSIPS/opensips/commit/b599792c10c2235c8e9d88b5b89eaf5ef0348dc3 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M examples/acc-mysql.cfg M examples/flag_reply.cfg M examples/msilo.cfg M modules/db_text/doc/db_text.cfg M modules/jabber/doc/jabber.cfg M modules/jabber/doc/jabberx.cfg M modules/mangler/mangler.cfg M modules/osp/etc/sample-osp-opensips.cfg M modules/sipcapture/examples/opensips.cfg M modules/tls_mgm/doc/tls_mgm_admin.xml M modules/xmpp/doc/opensips-xmpp.cfg M obsolete_modules/mi_xmlrpc/doc/mi_xmlrpc.cfg M obsolete_modules/pdt/doc/pdt.cfg M obsolete_modules/seas/doc/seas_admin.xml M test/11.cfg M test/21.cfg M test/5.cfg M test/7.cfg M test/presence.cfg Log Message: ----------- Bulk replacement of [tcp_]children with tcp|udp_workers Commit: ca00e8ebe7d0460a1a5e643d4fd48efbf7796fc0 https://github.com/OpenSIPS/opensips/commit/ca00e8ebe7d0460a1a5e643d4fd48efbf7796fc0 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M modules/nathelper/examples/alg.cfg 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/rtpproxy/examples/alg.cfg M net/proto_tcp/doc/proto_tcp_admin.xml M test/12.cfg Log Message: ----------- Bulk replacement of $Ri/$Rp with $socket_in(ip)/(port) Commit: 11303ed7cc4bac9fa50a3e952c5adb273c2c0fe8 https://github.com/OpenSIPS/opensips/commit/11303ed7cc4bac9fa50a3e952c5adb273c2c0fe8 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M modules/nat_traversal/doc/nat_traversal_admin.xml M modules/permissions/doc/permissions_admin.xml M test/7.cfg Log Message: ----------- Bulk replacement of $proto with $socket_in(proto) Compare: https://github.com/OpenSIPS/opensips/compare/b41115bebf51...11303ed7cc4b From noreply at github.com Wed Apr 22 21:28:54 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Wed, 22 Apr 2020 14:28:54 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] df9fa2: Updated the cfg templates with the new socket-rela... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: df9fa201b6c431727f67fb5fa0ce36ccf3e38d32 https://github.com/OpenSIPS/opensips/commit/df9fa201b6c431727f67fb5fa0ce36ccf3e38d32 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M menuconfig/configs/opensips_loadbalancer.m4 M menuconfig/configs/opensips_residential.m4 M menuconfig/configs/opensips_trunking.m4 Log Message: ----------- Updated the cfg templates with the new socket-related vars From noreply at github.com Thu Apr 23 11:28:51 2020 From: noreply at github.com (Bogdan Andrei IANCU) Date: Thu, 23 Apr 2020 04:28:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e3317c: Added 'af' field to $socket_in/out() Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: e3317ce5facd3df463bc377ffbc42815fa5cec71 https://github.com/OpenSIPS/opensips/commit/e3317ce5facd3df463bc377ffbc42815fa5cec71 Author: Bogdan-Andrei Iancu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M pvar.c Log Message: ----------- Added 'af' field to $socket_in/out() $af to be obsoleted by $socket_in(af) From noreply at github.com Thu Apr 23 15:01:25 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 Apr 2020 08:01:25 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 52e30a: registrar: Fix missing includes; Make tests more q... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 52e30a6e1314f9c631cd179fee105deae108193e https://github.com/OpenSIPS/opensips/commit/52e30a6e1314f9c631cd179fee105deae108193e Author: Liviu Chircu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M main.c M modules/registrar/test/opensips.cfg M modules/registrar/test/test.c M test/unit_tests.c M test/unit_tests.h Log Message: ----------- registrar: Fix missing includes; Make tests more quiet From noreply at github.com Thu Apr 23 18:50:35 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 23 Apr 2020 11:50:35 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 43bf76: fraud_detection: Improve fraud threshold names in ... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 43bf761c55b95f6c6c948ab304a260c29d3e453c https://github.com/OpenSIPS/opensips/commit/43bf761c55b95f6c6c948ab304a260c29d3e453c Author: Liviu Chircu Date: 2020-04-23 (Thu, 23 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M modules/fraud_detection/frd_events.c Log Message: ----------- fraud_detection: Improve fraud threshold names in events Make the threshold names consistent and more compatible with HTTP (so they don't require escaping): * calls-per-minute * total-calls * concurrent-calls * sequential-calls * call-duration From noreply at github.com Sun Apr 26 19:35:23 2020 From: noreply at github.com (opensips-github) Date: Sun, 26 Apr 2020 12:35:23 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ceb2aa: Rebuild documentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ceb2aae1e2fdeded2b14d0a64cc8a125b9ffcc5d https://github.com/OpenSIPS/opensips/commit/ceb2aae1e2fdeded2b14d0a64cc8a125b9ffcc5d Author: OpenSIPS Date: 2020-04-26 (Sun, 26 Apr 2020) Changed paths: M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/siptrace/README M modules/siptrace/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 26 19:49:47 2020 From: noreply at github.com (opensips-github) Date: Sun, 26 Apr 2020 12:49:47 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 26bcfb: Rebuild documentation Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 26bcfb77e2ca244ec6c04d29b7c8b09ec7784ffc https://github.com/OpenSIPS/opensips/commit/26bcfb77e2ca244ec6c04d29b7c8b09ec7784ffc Author: OpenSIPS Date: 2020-04-26 (Sun, 26 Apr 2020) Changed paths: M modules/rest_client/README M modules/rest_client/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml Log Message: ----------- Rebuild documentation From noreply at github.com Sun Apr 26 20:03:59 2020 From: noreply at github.com (opensips-github) Date: Sun, 26 Apr 2020 13:03:59 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 191e6c: Rebuild documentation Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 191e6c4fd08a525adcaa1a47781e2aa6b58319c2 https://github.com/OpenSIPS/opensips/commit/191e6c4fd08a525adcaa1a47781e2aa6b58319c2 Author: OpenSIPS Date: 2020-04-26 (Sun, 26 Apr 2020) Changed paths: M modules/b2b_entities/README M modules/b2b_entities/doc/contributors.xml M modules/b2b_logic/README M modules/b2b_logic/doc/contributors.xml M modules/clusterer/README M modules/clusterer/doc/contributors.xml M modules/db_text/README M modules/db_text/doc/contributors.xml M modules/dispatcher/README M modules/dispatcher/doc/contributors.xml M modules/drouting/README M modules/drouting/doc/contributors.xml M modules/fraud_detection/README M modules/fraud_detection/doc/contributors.xml M modules/imc/README M modules/imc/doc/contributors.xml M modules/jabber/README M modules/jabber/doc/contributors.xml M modules/mangler/README M modules/mangler/doc/contributors.xml M modules/msilo/README M modules/msilo/doc/contributors.xml M modules/nat_traversal/README M modules/nat_traversal/doc/contributors.xml M modules/nathelper/README M modules/nathelper/doc/contributors.xml M modules/osp/README M modules/osp/doc/contributors.xml M modules/permissions/README M modules/permissions/doc/contributors.xml M modules/proto_bin/README M modules/proto_bin/doc/contributors.xml M modules/proto_hep/README M modules/proto_hep/doc/contributors.xml M modules/proto_tls/README M modules/proto_tls/doc/contributors.xml M modules/proto_ws/README M modules/proto_ws/doc/contributors.xml M modules/proto_wss/README M modules/proto_wss/doc/contributors.xml M modules/rest_client/README M modules/rest_client/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/tls_mgm/README M modules/tls_mgm/doc/contributors.xml M modules/tracer/README M modules/tracer/doc/contributors.xml M modules/xmpp/README M modules/xmpp/doc/contributors.xml M net/proto_tcp/README Log Message: ----------- Rebuild documentation From noreply at github.com Mon Apr 27 13:35:27 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 06:35:27 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e1767c: fraud_detection: Avoid random str_strcmp() error logs Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: e1767c80d3a7852285797bca853e879a39fad18d https://github.com/OpenSIPS/opensips/commit/e1767c80d3a7852285797bca853e879a39fad18d Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M ut.h Log Message: ----------- fraud_detection: Avoid random str_strcmp() error logs From noreply at github.com Mon Apr 27 13:39:16 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 06:39:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ee2912: fraud_detection: Fix bad test in e1767c80 Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: ee2912bad428090b4a645dfde1a335b69655e2c2 https://github.com/OpenSIPS/opensips/commit/ee2912bad428090b4a645dfde1a335b69655e2c2 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M ut.h Log Message: ----------- fraud_detection: Fix bad test in e1767c80 From noreply at github.com Mon Apr 27 13:40:28 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 06:40:28 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 8b870a: fraud_detection: Avoid random str_strcmp() error logs Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 8b870af97911b8d14841439b42ed7f736156e5fe https://github.com/OpenSIPS/opensips/commit/8b870af97911b8d14841439b42ed7f736156e5fe Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M ut.h Log Message: ----------- fraud_detection: Avoid random str_strcmp() error logs (cherry picked from commit e1767c80d3a7852285797bca853e879a39fad18d) From noreply at github.com Mon Apr 27 13:44:39 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 06:44:39 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] f66d69: fraud_detection: Fix badly solved merge conflict Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: f66d69a120c6bc2cd6123a9ccf88ef0c6545f574 https://github.com/OpenSIPS/opensips/commit/f66d69a120c6bc2cd6123a9ccf88ef0c6545f574 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c Log Message: ----------- fraud_detection: Fix badly solved merge conflict From noreply at github.com Mon Apr 27 13:54:12 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 06:54:12 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 559921: fraud_detection: Avoid random str_strcmp() error logs Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 559921962c69575bcdc90c1f03102e6d5c56d776 https://github.com/OpenSIPS/opensips/commit/559921962c69575bcdc90c1f03102e6d5c56d776 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/fraud_detection/fraud_detection.c M ut.h Log Message: ----------- fraud_detection: Avoid random str_strcmp() error logs (cherry picked from commit f66d69a120c6bc2cd6123a9ccf88ef0c6545f574) From noreply at github.com Mon Apr 27 15:25:51 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 08:25:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 380344: HP_MALLOC: Dramatically reduce memory fragmentation Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: 3803441bba9e8cd4b0348c7e3c0ff0cd39fc98ba https://github.com/OpenSIPS/opensips/commit/3803441bba9e8cd4b0348c7e3c0ff0cd39fc98ba Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M mem/common.h M mem/hp_malloc.c M mem/hp_malloc.h M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h M statistics.c Log Message: ----------- HP_MALLOC: Dramatically reduce memory fragmentation For HP_MALLOC to offer optimal parallel allocation performance, it needs the memory to be fragmented: the more available chunks, the better its performance. However, there needs to be some coalescing as well, otherwise variable-length allocations past the 10K range will quickly deplete (fragment) even SHM pools of 10+ GB. This patch adds the following heuristics to HP_MALLOC and HP_MALLOC_DBG: * shm_malloc(): only split a fragment if the resulting chunk is at least MIN_SPLIT_SIZE bytes (default 256 for PKG, 4096 for SHM) * shm_free(): try to coalesce the next fragment (enough to fix all fragmentation issues) Commit: 1531f56611e6979d3514f179dbb44ff9171cf0ae https://github.com/OpenSIPS/opensips/commit/1531f56611e6979d3514f179dbb44ff9171cf0ae Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M mem/hp_malloc.c M mem/hp_malloc_stats.c M mem/hp_malloc_stats.h Log Message: ----------- HP_MALLOC: Fix computation of PKG stats Commit: 25eec9f5fa32909044b38b9d84f29661f0864499 https://github.com/OpenSIPS/opensips/commit/25eec9f5fa32909044b38b9d84f29661f0864499 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M mem/hp_malloc.c Log Message: ----------- HP_MALLOC: Add "re-scanning" logic Given that HP_MALLOC has fine-grained locking, if the big fragment shifts down from hash bucket N to bucket N-1 due to another process performing the allocation, we may actually "lose" it during our own scan, since bucket N-1 was empty and we're now waiting for bucket N to unlock. When it does unlock, it will also be empty. As a solution: retry the scan up to N times, as long as it's feasible! Commit: 4b8ad9689c6b7b153590545053426da15418cbc0 https://github.com/OpenSIPS/opensips/commit/4b8ad9689c6b7b153590545053426da15418cbc0 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M mem/hp_malloc.c Log Message: ----------- HP_MALLOC: Aggregate SHM statistic updates It is better to update the stats with a diff of the attached/detached/split/merged fragment changes. Updating the stats in a "step by step" manner has the side-effect of creating temporarily bogus values. (i.e. negative "used" and/or "real_used") Commit: 6e2f1d2e2d5d5aa0fe58fc5ba424b85d0512f829 https://github.com/OpenSIPS/opensips/commit/6e2f1d2e2d5d5aa0fe58fc5ba424b85d0512f829 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M mem/hp_malloc.c A mem/test/test_hp_malloc.c A mem/test/test_hp_malloc.h M pt.c M test/unit_tests.c Log Message: ----------- Core: Add an HP_MALLOC stress testing suite Fixes #2089 Compare: https://github.com/OpenSIPS/opensips/compare/ee2912bad428...6e2f1d2e2d5d From noreply at github.com Mon Apr 27 17:45:46 2020 From: noreply at github.com (Liviu Chircu) Date: Mon, 27 Apr 2020 10:45:46 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 26b595: usrloc: Organize mod_init() code Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 26b59520d92e3ddabf3e6547ec3f8314d82762c2 https://github.com/OpenSIPS/opensips/commit/26b59520d92e3ddabf3e6547ec3f8314d82762c2 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/ul_callback.c M modules/usrloc/ul_callback.h M modules/usrloc/ul_mod.c M modules/usrloc/urecord.c M modules/usrloc/usrloc.c Log Message: ----------- usrloc: Organize mod_init() code Also remove the "init_flag" concept -- even if a module binds the usrloc API functions before usrloc is initialized, this is completely fine! Commit: ff6029b3c5033da68b61cefaf31cb6792a827978 https://github.com/OpenSIPS/opensips/commit/ff6029b3c5033da68b61cefaf31cb6792a827978 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_mod.c M modules/usrloc/ul_mod.h M modules/usrloc/urecord.h Log Message: ----------- usrloc: Add modparams for RFC 8599 - SIP Push Notifications Commit: 231d4df8837cbcafffd1000c757cfe2397ea0454 https://github.com/OpenSIPS/opensips/commit/231d4df8837cbcafffd1000c757cfe2397ea0454 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/ul_mod.c M modules/usrloc/ul_mod.h A modules/usrloc/ul_pn.c A modules/usrloc/ul_pn.h M modules/usrloc/urecord.c M ut.h Log Message: ----------- usrloc: Add flexibile RFC 8599 contact matching Once "pn_enable" is set to true, contacts are matched using pn-provider + pn-prid + pn-param by default. But this can be easily customized, for example: * pn-param can be dropped if it's irrelevant for a provider * new (custom) parameters can be included in the matching process Commit: 6a64c53a694d39238ab421f534a650ea6e7b8c0c https://github.com/OpenSIPS/opensips/commit/6a64c53a694d39238ab421f534a650ea6e7b8c0c Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/doc/usrloc_admin.xml Log Message: ----------- usrloc: Document the "pn_pnsreg_interval" modparam Commit: 450b6dc7315a89c8355e0e8851158e9934bcb9a1 https://github.com/OpenSIPS/opensips/commit/450b6dc7315a89c8355e0e8851158e9934bcb9a1 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/csv.c M lib/csv.h M lib/url.c M modules/freeswitch/fs_api.c M modules/freeswitch/fs_api.h M modules/freeswitch_scripting/fss_db.c M modules/freeswitch_scripting/fss_evs.c M modules/freeswitch_scripting/fss_evs.h M modules/freeswitch_scripting/fss_mod.c M modules/nathelper/nathelper.c M modules/tls_mgm/tls_domain.c M modules/tls_mgm/tls_domain.h M modules/tls_mgm/tls_helper.h M modules/tls_mgm/tls_mgm.c M modules/tm/mi.c M str_list.h Log Message: ----------- str_list.h: Make "str_list" a typedef, not a struct This way, we gain consistency, as we now have the "str" and "str_list" typedefs. Commit: 3aae7e652d2d39b3b600de4be452e8f948e33612 https://github.com/OpenSIPS/opensips/commit/3aae7e652d2d39b3b600de4be452e8f948e33612 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: A lib/reg/pn.c A lib/reg/pn.h M lib/reg/save_flags.c M lib/reg/save_flags.h M modules/mid_registrar/doc/mid_registrar.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/registrar/Makefile A modules/registrar/doc/pn_modparams.xml M modules/registrar/doc/registrar.xml M modules/registrar/doc/registrar_admin.xml M modules/registrar/reg_mod.c M modules/registrar/save.c M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/ul_cluster.c M modules/usrloc/ul_mod.c R modules/usrloc/ul_pn.c R modules/usrloc/ul_pn.h M modules/usrloc/urecord.c M modules/usrloc/urecord.h M parser/parse_uri.c Log Message: ----------- SIP PN Support: Refactor usrloc code, move to /lib/reg Most of the PN support is better placed in the registrar module code, since that's where we also have access to the SIP message in order to make changes to it (e.g. append the Feature-Caps header field) Commit: db3eaea24e386938df0a3ed543ba42f0f30bde14 https://github.com/OpenSIPS/opensips/commit/db3eaea24e386938df0a3ed543ba42f0f30bde14 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M evi/evi_transport.h M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/save.c M str_list.h Log Message: ----------- mid_registrar: Adapt to new contact matching interface Commit: 82af8653ab7466a5847b8298a756ade8283bb0d4 https://github.com/OpenSIPS/opensips/commit/82af8653ab7466a5847b8298a756ade8283bb0d4 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/urecord.c M parser/parse_uri.c Log Message: ----------- Contact matching: Fix bad test; Improve coding style Commit: 8a1e4573cff6eddb7ba605ed214ec5efb7a7ddd6 https://github.com/OpenSIPS/opensips/commit/8a1e4573cff6eddb7ba605ed214ec5efb7a7ddd6 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M error.c M lib/reg/pn.c M lib/reg/pn.h M lib/reg/rerrno.c M lib/reg/rerrno.h M modules/mid_registrar/save.c M modules/registrar/Makefile M modules/registrar/doc/pn_modparams.xml M modules/registrar/reply.c M modules/registrar/save.c Log Message: ----------- SIP PN: Add handling for capability querying ... via the newly introduced header field, Feature-Caps. Commit: 89baa600f470f68dbe5947375fadd7e0b0a79b31 https://github.com/OpenSIPS/opensips/commit/89baa600f470f68dbe5947375fadd7e0b0a79b31 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/dlist.c M modules/usrloc/ucontact.c M modules/usrloc/udomain.c A modules/usrloc/ul_evi.c A modules/usrloc/ul_evi.h M modules/usrloc/urecord.c Log Message: ----------- usrloc: Move event interface code in its own file Commit: 766c80284cfa5fc193a917ff6fd617e993a79f59 https://github.com/OpenSIPS/opensips/commit/766c80284cfa5fc193a917ff6fd617e993a79f59 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/ci.c M modules/usrloc/dlist.c M modules/usrloc/dlist.h M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ucontact.c M modules/usrloc/ucontact.h M modules/usrloc/udomain.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/ul_mi.c M modules/usrloc/ul_mod.c M modules/usrloc/ul_mod.h A modules/usrloc/ul_timer.c A modules/usrloc/ul_timer.h M modules/usrloc/urecord.h Log Message: ----------- usrloc: Add the E_UL_CONTACT_REFRESH event By enabling 'contact_refresh_timer', the usrloc module will periodically scan for contacts which are near expiration and raise E_UL_CONTACT_REFRESH before the binding is about to expire. Currently, the triggering duration is given by registrar's 'pn_trigger_interval' module parameter (default: 120s before expiry). Commit: adbd56e4086754480614680916dde5fb05019713 https://github.com/OpenSIPS/opensips/commit/adbd56e4086754480614680916dde5fb05019713 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/registrar/doc/pn_modparams.xml M modules/usrloc/udomain.h Log Message: ----------- registrar: Document 'pn_trigger_interval' Commit: ac6acd228290e2db72acc4d4c4b7052a0e82b76d https://github.com/OpenSIPS/opensips/commit/ac6acd228290e2db72acc4d4c4b7052a0e82b76d Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/ul_timer.c M modules/usrloc/ul_timer.h M modules/usrloc/urecord.c Log Message: ----------- usrloc: Detach contact from timer list on expiry Commit: d55c3aa8170a6f37e2bda24bbacfcf6aeeeadc60 https://github.com/OpenSIPS/opensips/commit/d55c3aa8170a6f37e2bda24bbacfcf6aeeeadc60 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/tm/t_fwd.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc/tm: Refactor event code (avoid copy-paste) Commit: 488ad45afafa534cbcef75372631803a8422b040 https://github.com/OpenSIPS/opensips/commit/488ad45afafa534cbcef75372631803a8422b040 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/tm/t_fwd.c Log Message: ----------- t_inject_branches(): Do not load contact attributes Loading the attributes was completely redundant, as they were not used afterwards. Commit: 204961532301fbe5906a775500d76b89e8c85a86 https://github.com/OpenSIPS/opensips/commit/204961532301fbe5906a775500d76b89e8c85a86 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: A modules/event_routing/api.h M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c Log Message: ----------- event_routing: Add module API interface & function stubs Commit: 4fa2948434bd326546598c3fd911386d88c7547e https://github.com/OpenSIPS/opensips/commit/4fa2948434bd326546598c3fd911386d88c7547e Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M parser/parse_uri.c M parser/parse_uri.h Log Message: ----------- get_uri_param_idx(): Export as static inline Commit: e120ccc2e0f8259c5455d98eef538c9f4617ad82 https://github.com/OpenSIPS/opensips/commit/e120ccc2e0f8259c5455d98eef538c9f4617ad82 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c Log Message: ----------- event_routing: Add API loading; Begin implementation Commit: e65653a221f8f16a91f9461bf97818168c252daa https://github.com/OpenSIPS/opensips/commit/e65653a221f8f16a91f9461bf97818168c252daa Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/event_routing/ebr_data.c M ut.h Log Message: ----------- event_routing: Implement event SIP URI param filters Commit: f760bbfa0534789e7e6d9d87435a1d662aa24df0 https://github.com/OpenSIPS/opensips/commit/f760bbfa0534789e7e6d9d87435a1d662aa24df0 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/event_routing/event_routing.c M ut.h Log Message: ----------- event_routing: Implement api.notify_on_event() Commit: 8b2d3d2186505063f3002c6409fb118975a91225 https://github.com/OpenSIPS/opensips/commit/8b2d3d2186505063f3002c6409fb118975a91225 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M Makefile.modules M Makefile.test M globals.h M main.c A modules/registrar/test/opensips.cfg A modules/registrar/test/test.c M sr_module.c M sr_module.h M test/unit_tests.c M test/unit_tests.h Log Message: ----------- Add support for writing module unit tests Developers may easily write module unit tests as follows: 1. any testing code .c files must be placed in modules//test/ 2. you must provide a "modules//test/opensips.cfg" file for the module tests to run on top of (TODO: ideally, there should be support for multiple of these) 3. the tests will be executed using an entry-point function, which _must_ be named "mod_tests: typedef int (*mod_tests_f) (void); 4. "make test module=registrar" in order to start OpenSIPS using your opensips.cfg and run your 'mod_tests' function Commit: 6623177b888ce427996b7efe268e1fa7f3e4bea7 https://github.com/OpenSIPS/opensips/commit/6623177b888ce427996b7efe268e1fa7f3e4bea7 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/registrar/lookup.c M modules/usrloc/ul_dbg.h M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc/registrar: Minor clean-ups Commit: b5b595294682dce35879ea02a3797fefc749c366 https://github.com/OpenSIPS/opensips/commit/b5b595294682dce35879ea02a3797fefc749c366 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M Makefile.modules M context.c M context.h M test/unit_tests.c A test/ut.c A test/ut.h Log Message: ----------- Improve module test infrastructure * ensure a global context while the tests are run * add an utility for quickly building parsed sip_msg structs * fix a Makefile wildcard expansion bug Commit: 5ed1fcc3ab639b9618d2b02a25653b9c2fc6cb9f https://github.com/OpenSIPS/opensips/commit/5ed1fcc3ab639b9618d2b02a25653b9c2fc6cb9f Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/reg_mod.c Log Message: ----------- SIP Push Notifications: Add the "pn_skip_pn_interval" modparam Sometimes, it may be useful to skip sending a PN if a wake-up + re-registration were recently triggered. Default value: 0 seconds (always trigger a PN) Commit: 838d63e3a360db1825f815c25732bcd4660450e2 https://github.com/OpenSIPS/opensips/commit/838d63e3a360db1825f815c25732bcd4660450e2 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c M modules/registrar/test/opensips.cfg Log Message: ----------- registrar: Add SIP PN contact detection & iteration Commit: 588131346215aca60b3322acbafee7b7566b449e https://github.com/OpenSIPS/opensips/commit/588131346215aca60b3322acbafee7b7566b449e Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/doc/pn_modparams.xml M modules/registrar/reg_mod.c Log Message: ----------- registrar: Add 'pn_inv_timeout' modparam Controls the amount of time that the EBR subscription will be valid for. Commit: 46ce8bc1e3f4fa7c9719356422662deb205b6e45 https://github.com/OpenSIPS/opensips/commit/46ce8bc1e3f4fa7c9719356422662deb205b6e45 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- usrloc: Export E_UL_CONTACT_REFRESH via API Commit: b0d9c54797ba40a2f7aba5863b643626cd31c60b https://github.com/OpenSIPS/opensips/commit/b0d9c54797ba40a2f7aba5863b643626cd31c60b Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M ipc.h M lib/reg/pn.c M lib/reg/pn.h M modules/event_routing/api.h M modules/event_routing/ebr_data.c M modules/event_routing/ebr_data.h M modules/registrar/lookup.c M modules/registrar/test/opensips.cfg Log Message: ----------- registrar SIP PN: Finalize integration with EBR & usrloc Commit: d761f15530375d5ccce36a3864a381210cfdcb45 https://github.com/OpenSIPS/opensips/commit/d761f15530375d5ccce36a3864a381210cfdcb45 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/registrar/test/test.c Log Message: ----------- registrar: Add some lookup() unit tests Commit: 41d2b5779d2a7637693f72175e7b514f40f76963 https://github.com/OpenSIPS/opensips/commit/41d2b5779d2a7637693f72175e7b514f40f76963 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M evi/evi_params.c M evi/evi_params.h Log Message: ----------- evi: Be more compatible with calling code Commit: b69d33947ee900a7e0838297c9a5758bc02ccee0 https://github.com/OpenSIPS/opensips/commit/b69d33947ee900a7e0838297c9a5758bc02ccee0 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h M modules/usrloc/usrloc.c M modules/usrloc/usrloc.h Log Message: ----------- SIP PN: Rework the async Push Notification support Although the previous version seemed to work, it was broken conceptually, since passing a (ucontact_t *) without a ref counting mechanism may lead to invalid SHM memory access whenever the contact is freed before the PN job gets to be executed. Commit: 5feebf42e3f9341538a10930c45fb4a813e85c7e https://github.com/OpenSIPS/opensips/commit/5feebf42e3f9341538a10930c45fb4a813e85c7e Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/registrar/test/opensips.cfg M modules/usrloc/doc/usrloc_admin.xml M modules/usrloc/ul_evi.c M modules/usrloc/ul_evi.h Log Message: ----------- usrloc: Add the 'domain' attribute to all events Fixes #2062 Commit: dddf9c253d6fb445cd1e9782f1c584f2c4ef98dc https://github.com/OpenSIPS/opensips/commit/dddf9c253d6fb445cd1e9782f1c584f2c4ef98dc Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/tm/h_table.h M modules/tm/t_fwd.c Log Message: ----------- tm: Minor improvements * t_forward_nonack(): Avoid redundant str copying * improve docs on t->nr_of_outgoings Commit: 5586cb80dfd860eac0821090a8dd20ba3e4df3d3 https://github.com/OpenSIPS/opensips/commit/5586cb80dfd860eac0821090a8dd20ba3e4df3d3 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M modules/tm/t_fwd.c M modules/tm/t_fwd.h M modules/tm/tm.c M modules/tm/tm_load.h Log Message: ----------- tm: Extend the API with await/inject functions Specifically: * tm.t_wait_for_new_branches(msg) * tm.t_inject_ul_event_branch(msg) Commit: ab84f71dd97da466839fa4fa1d323d8add1f04bc https://github.com/OpenSIPS/opensips/commit/ab84f71dd97da466839fa4fa1d323d8add1f04bc Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M modules/registrar/lookup.c M parser/msg_parser.h Log Message: ----------- registrar SIP PN: Finalize integration with tm Commit: 0837c1f537515afb472f8c3d1acb72ae4b0321aa https://github.com/OpenSIPS/opensips/commit/0837c1f537515afb472f8c3d1acb72ae4b0321aa Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M socket_info.h Log Message: ----------- proto2a(): Do not segfault on PROTO_NONE (0) Commit: 790a390a5abc716ecd0e8c8cc67afb2bf1ef9bd9 https://github.com/OpenSIPS/opensips/commit/790a390a5abc716ecd0e8c8cc67afb2bf1ef9bd9 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M test/ut.c Log Message: ----------- mk_sip_req(): Properly init the sip_msg This way, parse_headers() will work as expected Commit: ffaa5148dff5ec705ad6cd5efe6104806703cba6 https://github.com/OpenSIPS/opensips/commit/ffaa5148dff5ec705ad6cd5efe6104806703cba6 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M sr_module_deps.c M sr_module_deps.h Log Message: ----------- module dependencies: Be able to easily specify N dependencies Commit: 49641775b8c53179cf7e2e749f7acf4bfb8e28e3 https://github.com/OpenSIPS/opensips/commit/49641775b8c53179cf7e2e749f7acf4bfb8e28e3 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/reg_mod.c Log Message: ----------- SIP PN Support: Add conditional module dependencies Commit: 16e939b100c30895571223878547e3ba246f1727 https://github.com/OpenSIPS/opensips/commit/16e939b100c30895571223878547e3ba246f1727 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/reply.c Log Message: ----------- registrar: Move common Feature-Caps code under lib/reg/ Commit: 6d45aab48efb9f36fdf68b53ad7ea7a65808ddec https://github.com/OpenSIPS/opensips/commit/6d45aab48efb9f36fdf68b53ad7ea7a65808ddec Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M lib/reg/sip_msg.h M modules/mid_registrar/lookup.c M modules/registrar/doc/registrar_admin.xml M modules/registrar/lookup.c M modules/registrar/test/test.c M ut.h Log Message: ----------- registrar lookup(): Add a new retcode + unit tests The new return code "2" of lookup() is needed when all found contacts are PN-enabled. In this case, script developers must NOT call t_relay() afterwards. Commit: 4943563b8f8448ae10767b192d569f322424eab1 https://github.com/OpenSIPS/opensips/commit/4943563b8f8448ae10767b192d569f322424eab1 Author: Liviu Chircu Date: 2020-04-27 (Mon, 27 Apr 2020) Changed paths: M main.c M modules/registrar/test/opensips.cfg M modules/registrar/test/test.c M test/unit_tests.c M test/unit_tests.h Log Message: ----------- registrar: Fix missing includes; Make tests more quiet Compare: https://github.com/OpenSIPS/opensips/compare/52e30a6e1314...4943563b8f84 From noreply at github.com Tue Apr 28 08:24:16 2020 From: noreply at github.com (Liviu Chircu) Date: Tue, 28 Apr 2020 01:24:16 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 362f8f: drouting: Fix segfault during dr API reloads (frau... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 362f8ffa49f2a1070ac16f5021a81871f568f4af https://github.com/OpenSIPS/opensips/commit/362f8ffa49f2a1070ac16f5021a81871f568f4af Author: Liviu Chircu Date: 2020-04-28 (Tue, 28 Apr 2020) Changed paths: M modules/drouting/dr_api_internal.c Log Message: ----------- drouting: Fix segfault during dr API reloads (fraud_detection) From noreply at github.com Tue Apr 28 08:24:34 2020 From: noreply at github.com (Liviu Chircu) Date: Tue, 28 Apr 2020 01:24:34 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 20ffc6: drouting: Fix segfault during dr API reloads (frau... Message-ID: Branch: refs/heads/3.0 Home: https://github.com/OpenSIPS/opensips Commit: 20ffc6c8c193bb952fe67a89e36309cca0eb06ba https://github.com/OpenSIPS/opensips/commit/20ffc6c8c193bb952fe67a89e36309cca0eb06ba Author: Liviu Chircu Date: 2020-04-28 (Tue, 28 Apr 2020) Changed paths: M modules/drouting/dr_api_internal.c Log Message: ----------- drouting: Fix segfault during dr API reloads (fraud_detection) (cherry picked from commit 362f8ffa49f2a1070ac16f5021a81871f568f4af) From noreply at github.com Tue Apr 28 08:25:14 2020 From: noreply at github.com (Liviu Chircu) Date: Tue, 28 Apr 2020 01:25:14 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] c147d1: drouting: Fix segfault during dr API reloads (frau... Message-ID: Branch: refs/heads/2.4 Home: https://github.com/OpenSIPS/opensips Commit: c147d16a101fe0b1628d78720909200f9a875f02 https://github.com/OpenSIPS/opensips/commit/c147d16a101fe0b1628d78720909200f9a875f02 Author: Liviu Chircu Date: 2020-04-28 (Tue, 28 Apr 2020) Changed paths: M modules/drouting/dr_api_internal.c Log Message: ----------- drouting: Fix segfault during dr API reloads (fraud_detection) (cherry picked from commit 362f8ffa49f2a1070ac16f5021a81871f568f4af) From bogdan at opensips.org Tue Apr 28 17:23:50 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Tue, 28 Apr 2020 20:23:50 +0300 Subject: [OpenSIPS-Devel] [Blog] DFKS or the "Key to Synchronization" Message-ID: <12015047-b8bd-9986-70bb-f04fe32c8cc5@opensips.org> This ability to control Class 5 features from multiple places raises the problem of synchronizing the features' status, as at the end of the day we want to experience an unified behavior of the feature. Even if it is not an IETF standard, an answer to this issue is provided by the Broadsoft's Device Feature Key Synchronization protocol (or shortly, DFKS) https://blog.opensips.org/2020/04/28/dfks-or-the-key-to-synchronization/ Enjoy it, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From sobomax at sippysoft.com Wed Apr 29 02:18:27 2020 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Tue, 28 Apr 2020 19:18:27 -0700 Subject: [OpenSIPS-Devel] RTPProxy's catch_dtmf module progress and bridge_srtp module RFC/plans Message-ID: Hey Razvan & OpenSIPS folks, This is quick update on what's going on with the DTMF intercept functionality and some ideas as to where we go from there to allow SRTP<->RTP bridging. The very good question that has been brought up by Razvan last Saturday on our SIPChronicles show. Basically the work to integrate code from the rtpp_2_1_dtmf into master is in progress. I am adding missing bits and pieces to allow module tap into command channel. Once it's all done, with very little extra effort it would allow us adding SRTP bridging as a separate module. The idea there is to use the same mechanism we used by DTMF to intercept packets for inspection, but with small extension that the SRTP module would "steal" the packet to do decoding/encoding in the module based on direction and then re-introduce it into the normal queue after processing. On the OpenSIPS end this would look like the following, bridging SRTP-RTP in the following examples: U[...] && M4.1 C AES_CM_128_HMAC_SHA1_80:9sOd+W72ilwfNgNt0FzlGYj6YZPMqN1sJJx43UuS L[...] This would bridge SRTP on Alice side to plain RTP on Bob's side. U[...] L[...] && M4.1 C AES_CM_128_HMAC_SHA1_80:NhqBK/JjtVJgmOgPyDKpvMTEjvFCQ4eiyVQelF6x This would bridge SRTP on Bob side to plain RTP on Alice's side. Scalability-wise we are going to start with a single dedicated thread to handle encryption/decryption per instance, I suspect that we are still going to be I/O bound. However if this fails this mechanism allows further scaling up by loading SRTP module multiple times within a single instance and then load-balancing by using M4.1, M4.2, M4.3, etc based on some hash of the session ID on the OpenSIPS end. Once it is working, we would cut the 2.2 release and hopefully continue work on bridge_dtls as well as adding some method to secure control channel communication. Any comments/suggestions are appreciated! -Max -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Wed Apr 29 08:29:51 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 01:29:51 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 70ebe2: registrar: Move common code in lib/reg Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 70ebe281ddceac05d16aeffc8249ddd6728c6fff https://github.com/OpenSIPS/opensips/commit/70ebe281ddceac05d16aeffc8249ddd6728c6fff Author: Liviu Chircu Date: 2020-04-28 (Tue, 28 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/registrar/lookup.c Log Message: ----------- registrar: Move common code in lib/reg Commit: dbcd08991cf4d5b3aaf9372e784fde6b70da6b1e https://github.com/OpenSIPS/opensips/commit/dbcd08991cf4d5b3aaf9372e784fde6b70da6b1e Author: Liviu Chircu Date: 2020-04-28 (Tue, 28 Apr 2020) Changed paths: M modules/mid_registrar/lookup.c M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/ul_storage.c M modules/mid_registrar/ulcb.c Log Message: ----------- mid_registrar/registrar: Normalize shared variable names Commit: f23f2f8f533196beeb4746f7f2fb31e2d33c79b6 https://github.com/OpenSIPS/opensips/commit/f23f2f8f533196beeb4746f7f2fb31e2d33c79b6 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: A lib/reg/common.c A lib/reg/common.h M lib/reg/config.h A lib/reg/lookup.c A lib/reg/lookup.h M lib/reg/pn.c M lib/reg/pn.h M lib/reg/sip_msg.c M lib/reg/sip_msg.h M modules/mid_registrar/lookup.c M modules/mid_registrar/lookup.h M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/save.c M modules/registrar/Makefile M modules/registrar/lookup.c M modules/registrar/lookup.h M modules/registrar/reg_mod.c M modules/registrar/reg_mod.h M modules/registrar/save.c M modules/registrar/test/test.c Log Message: ----------- mid_registrar/registrar: Move common lookup() code in lib/reg Commit: 5acc3e00bc222083914b83915c2ccfd358477776 https://github.com/OpenSIPS/opensips/commit/5acc3e00bc222083914b83915c2ccfd358477776 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M modules/mid_registrar/doc/mid_registrar.xml M modules/mid_registrar/doc/mid_registrar_admin.xml A modules/registrar/doc/lookup_flags.xml A modules/registrar/doc/lookup_retcodes.xml M modules/registrar/doc/pn_modparams.xml M modules/registrar/doc/registrar.xml M modules/registrar/doc/registrar_admin.xml Log Message: ----------- registrar docs: Move common lookup() markup in one place Compare: https://github.com/OpenSIPS/opensips/compare/4943563b8f84...5acc3e00bc22 From noreply at github.com Wed Apr 29 09:12:15 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 02:12:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] e6db1b: registrar/mid_registrar: Fix redundant includes Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: e6db1b98f9134d7e20819a55b986413d7d302406 https://github.com/OpenSIPS/opensips/commit/e6db1b98f9134d7e20819a55b986413d7d302406 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M lib/reg/ci.c M lib/reg/ci.h M lib/reg/common.h M lib/reg/sip_msg.c M lib/reg/sip_msg.h M modules/mid_registrar/Makefile M modules/mid_registrar/gruu.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/ul_storage.c M modules/mid_registrar/ulcb.c M modules/registrar/reg_mod.h M modules/registrar/reply.c M modules/registrar/save.c M modules/registrar/sip_msg.c M modules/registrar/test/test.c Log Message: ----------- registrar/mid_registrar: Fix redundant includes From noreply at github.com Wed Apr 29 09:40:30 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 02:40:30 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 549b12: [mid-]registrar: Improve Makefile logic Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 549b12bd909215d58f03e08afd7ec78411efa494 https://github.com/OpenSIPS/opensips/commit/549b12bd909215d58f03e08afd7ec78411efa494 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M modules/mid_registrar/Makefile M modules/registrar/Makefile Log Message: ----------- [mid-]registrar: Improve Makefile logic Always include all lib/reg code, without having to enumerate each file. From bogdan at opensips.org Wed Apr 29 12:52:39 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 29 Apr 2020 15:52:39 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] opensips-mi-client In-Reply-To: References: Message-ID: <0a066571-8039-3542-f943-c665ea6a6470@opensips.org> Nice job Dioris, Is it fine with you to link your project from the MI manual page in 3.0, so people will be aware of this option ? Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 4/29/20 8:35 AM, Dioris Moreno wrote: > I just published to npm opensips-mi-client, a node client library for > the OpenSIPS Management Interface 3.0. > This library wraps all OpenSIPS 3.0 MI functions in a comprehensive > and easy-to-use way. At this moment opensips-mi-client only supports > http transport. > I hope this library will facilitate the development of applications > that require to connect to OpenSIPS MI. > > https://npmjs.com/package/opensips-mi-client > > Regards, > > *Dioris Moreno* > /Systems Architect > /Libereco Systems > dmoreno at libersys.io > +507 6150-5756 > > > > > P  Tome en consideración el medio ambiente antes de imprimir este > correo electrónico. > > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at github.com Wed Apr 29 13:36:36 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 06:36:36 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] adaf8e: mid-registrar: Add PN modparams & deps; Update lic... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: adaf8e90afa97ed16d1534412c70b76cf83e0383 https://github.com/OpenSIPS/opensips/commit/adaf8e90afa97ed16d1534412c70b76cf83e0383 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M lib/reg/lookup.c M lib/reg/lookup.h M lib/reg/pn.c M lib/reg/pn.h M modules/mid_registrar/encode.c M modules/mid_registrar/encode.h M modules/mid_registrar/gruu.c M modules/mid_registrar/gruu.h M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/save.h M modules/mid_registrar/ul_storage.c M modules/mid_registrar/ul_storage.h M modules/mid_registrar/ulcb.c M modules/mid_registrar/ulcb.h M modules/registrar/test/test.c Log Message: ----------- mid-registrar: Add PN modparams & deps; Update license headers Commit: 349511539540d197cdeedb254a1b5824bdc82b4c https://github.com/OpenSIPS/opensips/commit/349511539540d197cdeedb254a1b5824bdc82b4c Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M lib/reg/common.c M lib/reg/common.h M lib/reg/pn.c M lib/reg/pn.h M lib/reg/sip_msg.c M lib/reg/sip_msg.h M modules/mid_registrar/doc/mid_registrar.xml M modules/mid_registrar/doc/mid_registrar_admin.xml M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/mid_registrar/save.h M modules/registrar/doc/pn_modparams.xml A modules/registrar/doc/reg_modparams.xml M modules/registrar/doc/registrar.xml M modules/registrar/doc/registrar_admin.xml M modules/registrar/reg_mod.c M modules/registrar/reg_mod.h M modules/registrar/save.c Log Message: ----------- [mid-]registrar: Tidy up codebase & docs * move common modparams & docs in shared files * normalize coding style & variable naming Commit: 11c8a18f1f81d337e6baf0c382be3d9a105650b2 https://github.com/OpenSIPS/opensips/commit/11c8a18f1f81d337e6baf0c382be3d9a105650b2 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M lib/reg/common.c M lib/reg/common.h M lib/reg/sip_msg.c M modules/registrar/doc/reg_modparams.xml Log Message: ----------- [mid-]registrar: Add the "max_contact_len" modparam Compare: https://github.com/OpenSIPS/opensips/compare/549b12bd9092...11c8a18f1f81 From noreply at github.com Wed Apr 29 14:16:38 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 14:16:38 +0000 (UTC) Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 4b779d: [mid-]registrar docs: Parameterize examples; Move ... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 4b779d0a7017809ca224205e7e5689612475a90b https://github.com/OpenSIPS/opensips/commit/4b779d0a7017809ca224205e7e5689612475a90b Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M doc/entities.xml A lib/reg/doc/lookup_flags.xml A lib/reg/doc/lookup_retcodes.xml A lib/reg/doc/pn_modparams.xml A lib/reg/doc/reg_modparams.xml M modules/mid_registrar/doc/mid_registrar.xml R modules/registrar/doc/lookup_flags.xml R modules/registrar/doc/lookup_retcodes.xml R modules/registrar/doc/pn_modparams.xml R modules/registrar/doc/reg_modparams.xml M modules/registrar/doc/registrar.xml Log Message: ----------- [mid-]registrar docs: Parameterize examples; Move to lib/reg From noreply at github.com Wed Apr 29 17:46:08 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 10:46:08 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 6bfb11: mid_registrar PN: Finalize PN contact storage & ma... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 6bfb11c02b989813b6c0c1759e1c3c3370fbdf44 https://github.com/OpenSIPS/opensips/commit/6bfb11c02b989813b6c0c1759e1c3c3370fbdf44 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/save.c Log Message: ----------- mid_registrar PN: Finalize PN contact storage & matching Commit: a4e772c660dc1d4bb23d3871eba6dd318dd57ba6 https://github.com/OpenSIPS/opensips/commit/a4e772c660dc1d4bb23d3871eba6dd318dd57ba6 Author: Liviu Chircu Date: 2020-04-29 (Wed, 29 Apr 2020) Changed paths: M lib/reg/ci.c M lib/reg/doc/lookup_retcodes.xml M lib/reg/save_flags.c M modules/mid_registrar/save.c M str_list.h Log Message: ----------- registrar: Code styling & documentation nitpicks Compare: https://github.com/OpenSIPS/opensips/compare/4b779d0a7017...a4e772c660dc From noreply at github.com Wed Apr 29 21:34:15 2020 From: noreply at github.com (Liviu Chircu) Date: Wed, 29 Apr 2020 14:34:15 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 579c55: mid-registrar PN: Add Feature-Caps hf management Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 579c558e31962a76031ca8a8dd0996200129a752 https://github.com/OpenSIPS/opensips/commit/579c558e31962a76031ca8a8dd0996200129a752 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/mid_registrar/mid_registrar.c M modules/mid_registrar/mid_registrar.h M modules/mid_registrar/save.c M modules/registrar/reply.c M modules/usrloc/kv_store.c Log Message: ----------- mid-registrar PN: Add Feature-Caps hf management Both for forwarded REGISTER requests and for relayed 200 OK replies. From noreply at github.com Thu Apr 30 11:08:24 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 Apr 2020 04:08:24 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] ae57b5: SIP Parser: Add support for Feature-Caps header field Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: ae57b505b419bb6d983ebc6c641e99c52bd45713 https://github.com/OpenSIPS/opensips/commit/ae57b505b419bb6d983ebc6c641e99c52bd45713 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: A parser/case_feat.h M parser/hf.c M parser/hf.h M parser/keys.h M parser/msg_parser.c M parser/msg_parser.h A parser/parse_fcaps.c A parser/parse_fcaps.h M parser/parse_hname2.c Log Message: ----------- SIP Parser: Add support for Feature-Caps header field Commit: da29c36f1570acad92c62149795f8e5264bf9442 https://github.com/OpenSIPS/opensips/commit/da29c36f1570acad92c62149795f8e5264bf9442 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: A parser/test/test_parse_fcaps.c A parser/test/test_parse_fcaps.h M test/unit_tests.c Log Message: ----------- Feature-Caps parser: Add unit tests Compare: https://github.com/OpenSIPS/opensips/compare/579c558e3196...da29c36f1570 From noreply at github.com Thu Apr 30 11:50:19 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 Apr 2020 04:50:19 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 36b388: [mid-]registrar: Add handling for upstream Feature... Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 36b38810f9116287cb201e7b6243a0567fa5c97b https://github.com/OpenSIPS/opensips/commit/36b38810f9116287cb201e7b6243a0567fa5c97b Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M lib/reg/ci.c M lib/reg/config.h M lib/reg/lookup.c M lib/reg/pn.c M lib/reg/pn.h M modules/mid_registrar/save.c M modules/registrar/save.c M modules/usrloc/ucontact.h M parser/parse_fcaps.h Log Message: ----------- [mid-]registrar: Add handling for upstream Feature-Caps hf From noreply at github.com Thu Apr 30 11:53:52 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 Apr 2020 04:53:52 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 84d1e7: SIP PN support: Avoid further pkg leak on oom Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 84d1e7030cfdc17a7d9ae0a4f4b146b2b44d5e17 https://github.com/OpenSIPS/opensips/commit/84d1e7030cfdc17a7d9ae0a4f4b146b2b44d5e17 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M lib/reg/pn.c M modules/mid_registrar/save.c Log Message: ----------- SIP PN support: Avoid further pkg leak on oom Commit: 0a98da7afebcb7d28c043e1f00730170f012c129 https://github.com/OpenSIPS/opensips/commit/0a98da7afebcb7d28c043e1f00730170f012c129 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M lib/reg/pn.c M modules/mid_registrar/save.h M modules/registrar/save.c M modules/usrloc/ucontact.h Log Message: ----------- registrars: Minor coding nitpicks Logging, coding style, duplicate macros Compare: https://github.com/OpenSIPS/opensips/compare/36b38810f911...0a98da7afebc From noreply at github.com Thu Apr 30 15:33:33 2020 From: noreply at github.com (Liviu Chircu) Date: Thu, 30 Apr 2020 08:33:33 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 90ad02: SIP PN Support: Improve Feature-Caps interpretation Message-ID: Branch: refs/heads/feature/rfc-8599-sip-pn Home: https://github.com/OpenSIPS/opensips Commit: 90ad02777bb4cd324e327c39f5446682630080c9 https://github.com/OpenSIPS/opensips/commit/90ad02777bb4cd324e327c39f5446682630080c9 Author: Liviu Chircu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M lib/reg/pn.c M lib/reg/pn.h M modules/mid_registrar/save.c M modules/registrar/save.c Log Message: ----------- SIP PN Support: Improve Feature-Caps interpretation Keep performing PN param-based Contact matching even when PNs are already handled by upstream side. Also move more common code under lib/reg From bogdan at opensips.org Thu Apr 30 17:11:52 2020 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 30 Apr 2020 20:11:52 +0300 Subject: [OpenSIPS-Devel] [Blog] Back-to-Back & Clustering, a love story in OpenSIPS 3.1 Message-ID: The need for the clustering support in Back-2-Back is even stronger as coming from the High-Availability direction. Yes, in order to build a highly available system for OpenSIPS, with an hot (fully sync’ed) stand-by, you need clustering support, mainly the ability of the back-2-back engine to replicate its internal data in realtime, with other OpenSIPS instances. https://blog.opensips.org/2020/04/30/back-to-back-clustering-a-love-story-in-opensips-3-1/ Enjoy, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com From noreply at github.com Thu Apr 30 17:39:45 2020 From: noreply at github.com (=?UTF-8?B?VmxhZCBQxIN0cmHImWN1?=) Date: Thu, 30 Apr 2020 10:39:45 -0700 Subject: [OpenSIPS-Devel] [OpenSIPS/opensips] 580827: b2b_entities: fix differing entity keys for replic... Message-ID: Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 5808271ad87b87c8b3c1ebec159989a683ea5ed8 https://github.com/OpenSIPS/opensips/commit/5808271ad87b87c8b3c1ebec159989a683ea5ed8 Author: Vlad Patrascu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2be_clustering.c M modules/b2b_entities/b2be_db.c M modules/b2b_entities/client.c M modules/b2b_entities/dlg.c M modules/b2b_entities/dlg.h M modules/b2b_entities/server.c Log Message: ----------- b2b_entities: fix differing entity keys for replicated entities Use the received timestamp instead of the local one for the entity key of a new replicated entity. Commit: 344dd5827ec2d8a0ada8de1564f6d6c5a4d78d92 https://github.com/OpenSIPS/opensips/commit/344dd5827ec2d8a0ada8de1564f6d6c5a4d78d92 Author: Vlad Patrascu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M modules/b2b_entities/dlg.c Log Message: ----------- b2b_entities: fix a crash when replicating entity delete event Commit: 55f1534e4d8f2bfc9f2050497178828137fde709 https://github.com/OpenSIPS/opensips/commit/55f1534e4d8f2bfc9f2050497178828137fde709 Author: Vlad Patrascu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M modules/b2b_logic/b2bl_clustering.c Log Message: ----------- b2b_logic: replicate entire tuple info for all entity create events Even though it would be optimal to include the entire tuple info in a single replicated entity, this would cause races on the receiving instance when processing the packets. New entities carrying only tuple "updates" could be processed before actually creating the tuple. As such, the b2b_logic level entity could not be created in these cases. Commit: d012b9af34cfbb5a156aa01197be074c318f2264 https://github.com/OpenSIPS/opensips/commit/d012b9af34cfbb5a156aa01197be074c318f2264 Author: Vlad Patrascu Date: 2020-04-30 (Thu, 30 Apr 2020) Changed paths: M modules/b2b_entities/b2be_clustering.c Log Message: ----------- b2b_entities: properly sync from cluster Compare: https://github.com/OpenSIPS/opensips/compare/362f8ffa49f2...d012b9af34cf From tpaivaa at gmail.com Wed Apr 29 05:59:41 2020 From: tpaivaa at gmail.com (Tomi Hakkarainen) Date: Wed, 29 Apr 2020 08:59:41 +0300 Subject: [OpenSIPS-Devel] [OpenSIPS-Users] opensips-mi-client In-Reply-To: References: Message-ID: <38387EA2-EAF5-4DF5-B06E-71DD6BDD9B42@gmail.com> Nice! And I really like the doc showing examples of use and responses -> Well done Br, Tomi On 29. Apr 2020, at 8.35, Dioris Moreno wrote: I just published to npm opensips-mi-client, a node client library for the OpenSIPS Management Interface 3.0. This library wraps all OpenSIPS 3.0 MI functions in a comprehensive and easy-to-use way. At this moment opensips-mi-client only supports http transport. I hope this library will facilitate the development of applications that require to connect to OpenSIPS MI. https://npmjs.com/package/opensips-mi-client Regards, Dioris Moreno Systems Architect Libereco Systems dmoreno at libersys.io +507 6150-5756 P Tome en consideración el medio ambiente antes de imprimir este correo electrónico. _______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: