[asterisk-dev] modules.conf - loading modules

Kevin P. Fleming kpfleming at digium.com
Thu Nov 5 10:06:31 CST 2009


Nick Lewis wrote:
>> 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.
> 
> How is modules.conf parsed and actioned? Will this work if require is a
> flag
> 
> load=chan_sip.so
> require=chan_sip.so

Yes, the entire file is parsed and list(s) built before any loading is
actually attempted.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list