[asterisk-dev] modules.conf - loading modules

Chris Tooley chris at tooley.com
Thu Nov 5 07:41:38 CST 2009


On Thu, Nov 5, 2009 at 7:35 AM, Kevin P. Fleming <kpfleming at digium.com>wrote:

> Olle E. Johansson wrote:
>
> > If I add a load= directive for a module in asterisk's modules.conf,
> > and it doesn't load Asterisk proceeds happily.
> > I would like a new statement where if Asterisk can't load the module
> > for some reason - bad config, bad compilation or something else,
> > Asterisk fails utterly and fails to start.
>
> This should not be true; if the module's load_module() function returns
> AST_MODULE_LOAD_FAILURE, the loading process will be stopped and
> Asterisk will not continue starting up. The only way for the module to
> let Asterisk continue loading is for that function to return one of the
> other AST_MODULE_LOAD_<xxx> values.
>
> While my data is purely imperative, I haven't seen this occur. Every time I
tell modules.conf to load something and it's "missing", Asterisk happily
throws a warning in the log and CLI and keeps right on trucking. Is this
relatively new?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20091105/15f78bed/attachment-0001.htm 


More information about the asterisk-dev mailing list