[asterisk-dev] modules.conf - loading modules

Tilghman Lesher tlesher at digium.com
Thu Nov 5 09:05:04 CST 2009


On Thursday 05 November 2009 08:08:13 Kevin P. Fleming wrote:
> Olle E. Johansson wrote:
> > If I have load= I think Asterisk should fail. But since it doesn't do
> > that today we need a new configuration option for it,
> > like "require=".
>
> OK, so I think I understand the issue here now; you are talking about
> when the module couldn't even be loaded, as opposed to the situation
> where it could be loaded but then failed to operate correctly.
>
> I would be fine with 'require' being a superset of 'load', although you
> might need 'prerequire' or something to be analogous to 'preload' too.

I think it would be better for 'require' to simply toggle a flag for that
module, so if you needed a required module to preload, you'd specify
both on separate lines.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list