[asterisk-users] web-meetme cbmysql not registered
Bill Gibbs
bgibbs at edurotech.com
Tue Jan 30 13:53:56 MST 2007
That solved the problem thank you.
Bill
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dan Austin
Sent: Tuesday, January 30, 2007 1:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] web-meetme cbmysql not registered
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
More information about the asterisk-users
mailing list