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&#39;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 &#39;fails to register&#39; on 1.4. i.e.<br><br><b>loader.c:376 load_dynamic_module: Module &#39;app_prepaid.so&#39; 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&nbsp; 3 16:39:36] WARNING[16146]: loader.c:376 load_dynamic_module: Module &#39;app_prepaid.so&#39; did not register itself during load
<br>[Dec&nbsp; 3 16:39:36] WARNING[16146]: loader.c:657 load_resource: Module &#39;app_prepaid.so&#39; 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);">&nbsp;<i>if (resource_being_loaded != (mod = AST_LIST_LAST(&amp;module_list))) {
</i></span><i><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ast_log(LOG_WARNING, &quot;Module &#39;%s&#39; did not register itself during load\n&quot;, resource_in);
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* 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);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while (!dlclose(lib));
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* note that the module&#39;s destructor will call ast_module_unregister(),
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return NULL;
</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">&nbsp;}</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>