[asterisk-dev] loading modules help

Kevin P. Fleming kpfleming at digium.com
Fri Aug 21 13:42:55 CDT 2009


Boehm, Matthew wrote:

> Take, for example, app_mp3. I type “module load app_mp3.so” which calls
> main/cli:handle_load(), which passes to main/loader:ast_load_resource(),
> then main/loader:load_resource then main/loader:load_dynamic_module()
> which then calls the dlopen().
> 
>  
> 
> But again, nowhere along that path do I see anything calling app_mp3’s
> load_module() function.

Look for the references to mod->info->load().

-- 
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