[asterisk-dev] module_list

Clod Patry cpatry at gmail.com
Thu Mar 1 09:36:08 MST 2007


*CLI> module show like page
Module                         Description                              Use
Count
app_page.so                    Page Multiple Phones                     0
1 modules loaded
*CLI> module unload app_page.so
  == Unregistered application 'Page'
*CLI> module show like page
Module                         Description                              Use
Count
app_page.so                    Page Multiple Phones                     0
1 modules loaded


How the module can be still here?

*CLI> module unload app_page.so
Unable to unload resource app_page.so
*CLI> module load app_page.so
  == Registered application 'Page'
 Loaded app_page.so => (Page Multiple Phones)
*CLI>

That scenario is the same for all modules.

If i get it well:
app_page.c:unload_module() is calling
pbx.c:ast_unregister_application(), but that remove from the linked list
"apps". That's correctly done, since i dont see it in core show
applications.

But what's the link between ast_unregister_application() and
modlist_modentry exactly?


I wonder what could cause this exactly, any hints?


-- 
Clod Patry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070301/713bfd35/attachment.htm


More information about the asterisk-dev mailing list