Hi all,<br><br>I have browsed through a couple of posts that deal with the failure of applications that originally worked on asterisk 1.2 but fail on asterisk 1.4, but can't seem to understand what I need to change in my installation. I also went through the CHANGES.txt file in my asterisk source directory, and still was none the wiser.<br>
<br>I have a a MySQL integrated Prepaid application which worked on 1.2, but now 'fails to register' on 1.4. i.e.<br><br><b>loader.c:376 load_dynamic_module: Module 'app_prepaid.so' did not register itself during load</b><br>
<br>A <b>module reload app_prepaid.so</b> attempt in the CLI returns the following:<br><br><b>[Dec 3 16:39:36] WARNING[16146]: loader.c:376 load_dynamic_module: Module 'app_prepaid.so' did not register itself during load
<br>[Dec 3 16:39:36] WARNING[16146]: loader.c:657 load_resource: Module 'app_prepaid.so' could not be loaded.
</b><br><br>Which is the following block of code in the main/loader.c file:<br><i></i><br><span style="background-color: rgb(255, 255, 255);"> <i>if (resource_being_loaded != (mod = AST_LIST_LAST(&module_list))) {
</i></span><i><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> ast_log(LOG_WARNING, "Module '%s' did not register itself during load\n", resource_in);
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> /* no, it did not, so close it and return */
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> while (!dlclose(lib));
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> /* note that the module's destructor will call ast_module_unregister(),
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> which will free the structure we allocated in resource_being_loaded */
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> return NULL;
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);"> }</span><br></i><br>My voicemail application uses realtime with MySQL but that seems to work fine. I have a prepaid.conf rfile readily setup. Any comments or suggestions? Thanks alot,<br>
<br>Mos<br><br>Some more info:<br><br>OS: Ubuntu Hardy<br>Asterisk version: Asterisk 1.4.21.2-BRIstuffed-0.4.0-RC3c<br>MySQL Server version: 5.0<br><br><br>