[OpenSIPS-Devel] [OpenSIPS/opensips] 8caa3d: qrouting: Use a reverse-dependency to drouting ins...

2021-04-27 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8caa3d0c663c3446eaa64fa762ae5d48298c1047
  
https://github.com/OpenSIPS/opensips/commit/8caa3d0c663c3446eaa64fa762ae5d48298c1047
  Author: Liviu Chircu 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/drouting/drouting.c
M modules/qrouting/qrouting.c

  Log Message:
  ---
  qrouting: Use a reverse-dependency to drouting instead

Taking advantage of the recently added support to specify this
dependency in a cleaner way (in the qrouting code, not drouting).



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 707ff8: qrouting: Use an IPC to load data during child_init()

2021-04-27 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 707ff810a42c3e15dd9b167d1b9ea65a8d2415ba
  
https://github.com/OpenSIPS/opensips/commit/707ff810a42c3e15dd9b167d1b9ea65a8d2415ba
  Author: Liviu Chircu 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/qrouting/qrouting.c

  Log Message:
  ---
  qrouting: Use an IPC to load data during child_init()

This fixes a design issue where qrouting _always_ loads its data before
drouting, simply because it's doing it via an inline child_init() load,
while drouting is lazy-loading via an IPC job.



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 0fa6b9: Module deps: Re-order the child_init() callbacks

2021-04-27 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0fa6b96bc47d409c97ac8e01244caa9211c72499
  
https://github.com/OpenSIPS/opensips/commit/0fa6b96bc47d409c97ac8e01244caa9211c72499
  Author: Liviu Chircu 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M sr_module.c
M sr_module.h
M sr_module_deps.c
M sr_module_deps.h

  Log Message:
  ---
  Module deps: Re-order the child_init() callbacks

The child_init() callbacks are now processed in the same order as the
mod_init() callbacks (obeying any existing "init" module dependencies).



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 63cbf4: dialog: Force "tm" to always destroy first

2021-04-27 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 63cbf4c32cc81095ab8688ed90dfb2d4d67c5cf9
  
https://github.com/OpenSIPS/opensips/commit/63cbf4c32cc81095ab8688ed90dfb2d4d67c5cf9
  Author: Liviu Chircu 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/dialog/dialog.c

  Log Message:
  ---
  dialog: Force "tm" to always destroy first

This should fix all types of shutdown issues where tm cleans up after
dialog, with dialog having leaked some of its own cleanup callbacks in
tm, but which are now segfaulting because all dialog internal structures
have been already freed.

Credits to Peter Lemenkov for reporting this issue!

Closes #2487



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] c46979: Module deps: Re-order mod_destroy(); Add reverse d...

2021-04-27 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c46979bc014c7d4053e60dc0803a9c69962d781c
  
https://github.com/OpenSIPS/opensips/commit/c46979bc014c7d4053e60dc0803a9c69962d781c
  Author: Liviu Chircu 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M sr_module.c
M sr_module.h
M sr_module_deps.c
M sr_module_deps.h

  Log Message:
  ---
  Module deps: Re-order mod_destroy(); Add reverse dep support

Expanding on 5deded37fb9, this commit adds two new features:

  * the mod_destroy() callbacks are now also ordered using the module
  dependencies.  By default, modules are destroyed in the
  reverse-order of their dependencies (e.g. approximately opposite
  to mod_init() callback sequencing)

  * using the new DEP_REVERSE_INIT and DEP_REVERSE_DESTROY flags, any
  module dependency may be manipulated to behave in the opposite
  way, during either startup or shutdown

Related to #2487



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 366628: deps: rework deps to allow specifying a reversed o...

2021-04-27 Thread Răzvan Crainea
  Branch: refs/heads/feature/rtp_relay
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3666289a9a23b84f9e1642a62786afe1462c0a75
  
https://github.com/OpenSIPS/opensips/commit/3666289a9a23b84f9e1642a62786afe1462c0a75
  Author: Razvan Crainea 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M sr_module_deps.c
M sr_module_deps.h

  Log Message:
  ---
  deps: rework deps to allow specifying a reversed order


  Commit: cf9afd02aa94c62cc1f7c354dd6a6528442d92e3
  
https://github.com/OpenSIPS/opensips/commit/cf9afd02aa94c62cc1f7c354dd6a6528442d92e3
  Author: Razvan Crainea 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/rtpproxy/rtpproxy.c

  Log Message:
  ---
  rtpproxy: load rtp_relay in reversed order


  Commit: 205d02a0d3e3d17391272e03c33ccc7b335dba7e
  
https://github.com/OpenSIPS/opensips/commit/205d02a0d3e3d17391272e03c33ccc7b335dba7e
  Author: Razvan Crainea 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/rtp_relay/rtp_relay.c
M modules/rtp_relay/rtp_relay_ctx.c
M modules/rtp_relay/rtp_relay_ctx.h

  Log Message:
  ---
  WIP: rtp_relay: register dialog pointer in pre-init

Make sure that all dialogs that are loaded do have the dialog pointer
registered, otherwise the dialogs get to be corrupted.


  Commit: 6db7ea74eaaf121cdf0bb5132a9bdaa231debbb2
  
https://github.com/OpenSIPS/opensips/commit/6db7ea74eaaf121cdf0bb5132a9bdaa231debbb2
  Author: Razvan Crainea 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M modules/rtp_relay/rtp_relay_ctx.c

  Log Message:
  ---
  WIP: rtp_relay: cleanup dialog ctx var, as it is useless


Compare: 
https://github.com/OpenSIPS/opensips/compare/aee0cb0e7f08...6db7ea74eaaf

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5deded: deps: rework deps to allow specifying a reversed o...

2021-04-27 Thread Răzvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5deded37fb97b51c992b2606583d2e960b5e77f7
  
https://github.com/OpenSIPS/opensips/commit/5deded37fb97b51c992b2606583d2e960b5e77f7
  Author: Razvan Crainea 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M sr_module_deps.c
M sr_module_deps.h

  Log Message:
  ---
  deps: rework deps to allow specifying a reversed order



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ec0a7e: Don't forget to release the insertq lock when down...

2021-04-27 Thread Walter Doekes
  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec0a7e6fcabc04463637a20a9919b3c6a429d441
  
https://github.com/OpenSIPS/opensips/commit/ec0a7e6fcabc04463637a20a9919b3c6a429d441
  Author: Walter Doekes 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M db/db_insertq.c
M pt.c

  Log Message:
  ---
  Don't forget to release the insertq lock when downscaling workers

Not sure if this is a problem or of the locks gets freed correctly
after exit(). But it looks nicer this way.

(cherry picked from commit ad7a1c1d45b193bccd4893b24d54d340e6c65fbd)



___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ad7a1c: Don't forget to release the insertq lock when down...

2021-04-27 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad7a1c1d45b193bccd4893b24d54d340e6c65fbd
  
https://github.com/OpenSIPS/opensips/commit/ad7a1c1d45b193bccd4893b24d54d340e6c65fbd
  Author: Walter Doekes 
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
M db/db_insertq.c
M pt.c

  Log Message:
  ---
  Don't forget to release the insertq lock when downscaling workers

Not sure if this is a problem or of the locks gets freed correctly
after exit(). But it looks nicer this way.


  Commit: 407f5f66c5a8aed344272fbb38e1b9f4f7d8172c
  
https://github.com/OpenSIPS/opensips/commit/407f5f66c5a8aed344272fbb38e1b9f4f7d8172c
  Author: Bogdan Andrei IANCU 
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
M db/db_insertq.c
M pt.c

  Log Message:
  ---
  Merge pull request #2481 from wdoekes/release-insertq-lock-when-downscaling

Don't forget to release the insertq lock when downscaling workers


Compare: 
https://github.com/OpenSIPS/opensips/compare/f7b8e1bf0c9c...407f5f66c5a8

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel