[asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Ma Zhiyong
HI, today I download Web-MeetMe-3.0.0 for asterisk 1.4.0 but when I call the 
extension which invoke cbmysql, a warning appears:

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

and in my start log, it shows

[Jan 30 18:40:15] VERBOSE[6702] logger.c:   == Parsing 
'/etc/asterisk/cbmysql.conf': [Jan 30 18:40:15] VERBOSE[6702] logger.c: Found
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got hostname of 
localhost
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got port of 3306
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got sock file of 
/var/lib/mysql/mysql.sock
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got user of root
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got dbname of 
meetme
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got password of 
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: Using Database  
for Admin  User Options
 [Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got Connference 
Application of MeetMe
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got Conference 
Count Application of MeetMeCount
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMuSQL: Early Alert set 
to 300 seconds.
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: Successfully connected to 
MySQL database.

this seems it was loaded successful.

what's the matter?___
--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


RE: [asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Bill Gibbs
I am experiencing the same problem.  Fresh install.

Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ma Zhiyong
Sent: Tuesday, January 30, 2007 6:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] web-meetme cbmysql not registered

HI, today I download Web-MeetMe-3.0.0 for asterisk 1.4.0 but when I call
the extension which invoke cbmysql, a warning appears:

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

and in my start log, it shows

[Jan 30 18:40:15] VERBOSE[6702] logger.c:   == Parsing
'/etc/asterisk/cbmysql.conf': [Jan 30 18:40:15] VERBOSE[6702] logger.c:
Found
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
hostname of localhost
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got port
of 3306
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got sock
file of /var/lib/mysql/mysql.sock
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got user
of root
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got dbname
of meetme
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
password of 
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: Using
Database  for Admin  User Options
 [Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
Connference Application of MeetMe
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
Conference Count Application of MeetMeCount
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMuSQL: Early
Alert set to 300 seconds.
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: Successfully
connected to MySQL database.

this seems it was loaded successful.

what's the matter?
___
--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


RE: [asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Dan Austin
Ma write:
 HI, today I download Web-MeetMe-3.0.0 for asterisk
 1.4.0 but when I call the extension which invoke 
 cbmysql, a warning appears:

What version of Asterisk?  I ask because I have had
Reports of problems against svn trunk and svn branches
after 1.4.0 was released.

   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

log snip
 this seems it was loaded successful.
That portion of the log looks good.

 what's the matter?

These steps will help identify the problem-
1.  module unload app_cbmysql.so
2.  core set verbose 10
3.  core set debug 10
4.  module load app_cbmysql.so

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


RE: [asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Bill Gibbs
-pstngw1-3
[Jan 30 12:27:11] DEBUG[3619] devicestate.c: No provider found, checking 
channel drivers for IAX2 - trunk-pstngw1
[Jan 30 12:27:11] DEBUG[3619] chan_iax2.c: Checking device state for device 
trunk-pstngw1
[Jan 30 12:27:11] DEBUG[3619] chan_iax2.c: iax2_devicestate: Found peer. What's 
device state of trunk-pstngw1? addr=54609872, defaddr=0 maxms=2000, lastms=3
[Jan 30 12:27:11] DEBUG[3619] devicestate.c: Changing state for 
IAX2/trunk-pstngw1 - state 1 (Not in use)




-Original Message-
From: [EMAIL PROTECTED] on behalf of Bill Gibbs
Sent: Tue 1/30/2007 12:17 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] web-meetme cbmysql not registered
 
I am experiencing the same problem.  Fresh install.

Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ma Zhiyong
Sent: Tuesday, January 30, 2007 6:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] web-meetme cbmysql not registered

HI, today I download Web-MeetMe-3.0.0 for asterisk 1.4.0 but when I call
the extension which invoke cbmysql, a warning appears:

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

and in my start log, it shows

[Jan 30 18:40:15] VERBOSE[6702] logger.c:   == Parsing
'/etc/asterisk/cbmysql.conf': [Jan 30 18:40:15] VERBOSE[6702] logger.c:
Found
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
hostname of localhost
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got port
of 3306
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got sock
file of /var/lib/mysql/mysql.sock
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got user
of root
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got dbname
of meetme
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
password of 
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: Using
Database  for Admin  User Options
 [Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
Connference Application of MeetMe
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMySQL: got
Conference Count Application of MeetMeCount
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: CBMuSQL: Early
Alert set to 300 seconds.
[Jan 30 18:40:15] DEBUG[6702] app_cbmysql.c: Successfully
connected to MySQL database.

this seems it was loaded successful.

what's the matter?
___
--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

winmail.dat___
--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


RE: [asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Dan Austin
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


RE: [asterisk-users] web-meetme cbmysql not registered

2007-01-30 Thread Bill Gibbs
That solved the problem thank you.

Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
___
--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