<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, I have implemented a custom application module based in some esqueletone code I will provide below. I have tested it with asterisk 1.2.23 and it works fine. But when I tested the same application with a newest version of asterisk like 1.4.* it always returns an error trying to load the module or more specific, trying to register the application.<br><br>here is the code:<br><br>int load_module(void){<br> int res;<br> res = ast_register_application(app, example_exec, synopsis, descrip);<br> return res;<br>}<br>int reload(void){<br> return load_module();<br>}<br>int unload_module(void){<br> //STANDARD_HANGUP_LOCALUSERS;<br> return
ast_unregister_application(app);<br>}<br>char *description(void){<br> return tdesc;<br>}<br>int usecount(void){<br> int res;<br> //STANDARD_USECOUNT(res);<br> return res;<br>}<br>char *key(){<br> return ASTERISK_GPL_KEY;<br>}<br><br>Have the registration way that the applications are registered in arterisk 1.2.* changed to much from version 1.4.* and 1.6.*?<br><br>Best Regards.<br></div></div><br>
<hr size=1><br><font face="Verdana" size="-2">Yahoo! Encuentros<br>Ahora encontrar pareja es mucho más fácil, probá el nuevo Yahoo! Encuentros.<br> Visitá http://yahoo.cupidovirtual.com/servlet/NewRegistration</font></body></html>