[asterisk-bugs] [JIRA] (ASTERISK-29686) Module loading should be more reasonable

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Wed Oct 13 06:38:49 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256588#comment-256588 ] 

Joshua C. Colp commented on ASTERISK-29686:
-------------------------------------------

Features requests without patches are not accepted through the issue tracker. Features requests are openly discussed on the mailing lists, forums, and IRC [1]. Please see the Asterisk Issue Guidelines [2] for more information on feature request and patch submission.

[1] http://asterisk.org/community/discuss
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines



> Module loading should be more reasonable
> ----------------------------------------
>
>                 Key: ASTERISK-29686
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29686
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 18.7.1
>            Reporter: Brian J. Murrell
>
> Module loading seems to be an all-or-none proposition currently.
> One can choose {{autoload=yes}} and every module under the sun is loaded, regardless of whether it's used or not.
> Or one can choose {{autoload=no}} but then one is responsible for discovering every module that one's configuration requires *AND* those modules' dependencies, recursively to load them explicitly.
> In today's times, those seem an unreasonable choice of two nasty policy implementations.
> It's not uncommon in today's module models for such models to understand their own dependencies, in the least.
> Asterisk should support at least understanding dependencies, and loading them, as well as a "load on first use" model.
> Moreover what makes the {{autoload=no}} policy even more draconian is that there is no **Total Use** counter (or even an **Ever Used** flag) to at least help the administrator know which {{autoload=yes}} modules have been in use and would need to be explicitly loaded with {{autoload=no}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list