Ma wrote:
> WARNING[20225] pbx.c: No application 'CBMysql'
> for extension (default, 1995, 3)
> I check the application, it didn't registered
> CLI> core show application CBMySQL
> Your application(s) is (are) not registered
> But I can see it use "show module"
I made a small mess of supporting the new module
loading process. The code attempts to determine
if the config file was successfully loaded, and
only then load the module and register the
application.
That is all fine and well, except I failed to
properly flag a successful config load. How it
ever worked for me, I don't know, but here is a
quick fix:
Find this section of the code-
ast_log(LOG_NOTICE,"Successfully connected to MySQL database.\n");
connected = 1;
records = 0;
connect_time = time(NULL);
}
And add this:
if (connected)
return 1;
else
return 0;
I'll get an update into svn if this works for you and
release 3.0.1
Dan
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users