[asterisk-users] web-meetme cbmysql not registered

Bill Gibbs bgibbs at edurotech.com
Tue Jan 30 10:54:00 MST 2007


Here are my logs:

Downloaded the no trunk version from www.asterisk.org this morning and installed on Fedora Core 5.
Asterisk 1.4.0 built by root @ blah on a i686 running Linux on 2007-01-30 14:56:42 UTC

confserver1*CLI> module unload app_cbmysql.so
Unable to unload resource app_cbmysql.so
confserver1*CLI> core set verbose 10
Verbosity was 3 and is now 10
confserver1*CLI> core set debug 10
Core debug was 0 and is now 10
confserver1*CLI> module load app_cbmysql.so
  == Parsing '/etc/asterisk/cbmysql.conf': Found
confserver1*CLI> 

/var/log/asterisk/full:
[Jan 30 12:25:20] WARNING[3685] loader.c: Firm unload failed for app_cbmysql.so
[Jan 30 12:25:33] VERBOSE[3685] logger.c:   == Parsing '/etc/asterisk/cbmysql.conf': [Jan 30 12:25:33] DEBUG[3685] config.c: Parsing /etc/asterisk/cbmysql.conf
[Jan 30 12:25:33] VERBOSE[3685] logger.c: Found
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got hostname of localhost
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got port of 3306
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got sock file of /var/lib/mysql/mysql.sock
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got user of <USER>
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got dbname of meetme
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got password of <PASSWORD>
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: Using Database  for Admin & User Options
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got Connference Application of MeetMe
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMySQL: got Conference Count Application of MeetMeCount
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: CBMuSQL: Early Alert set to 300 seconds.
[Jan 30 12:25:33] DEBUG[3685] app_cbmysql.c: Successfully connected to MySQL database.


Calling in:
    -- Executing [XXXXXXXXXX at default:1] Answer("IAX2/trunk-pstngw1-3", "") in new stack
    -- Executing [XXXXXXXXXX at default:2] Wait("IAX2/trunk-pstngw1-3", "3") in new stack
  == Spawn extension (default, XXXXXXXXXX, 3) exited non-zero on 'IAX2/trunk-pstngw1-3'
    -- Hungup 'IAX2/trunk-pstngw1-3'

and the log, the application is not registered, I do see it in "show modules"
No application 'CBMysql' for extension (default, XXXXXXXXXX, 3)


[Jan 30 12:27:07] VERBOSE[3617] logger.c:     -- Remote UNIX connection
[Jan 30 12:27:08] VERBOSE[3634] logger.c:     -- Accepting AUTHENTICATED call from x.x.x.x:
       > requested format = ulaw,
       > requested prefs = (ulaw),
       > actual format = ulaw,
       > host prefs = (ulaw),
       > priority = mine
[Jan 30 12:27:08] DEBUG[3703] pbx.c: Launching 'Answer'
[Jan 30 12:27:08] VERBOSE[3703] logger.c:     -- Executing [XXXXXXXXXX at default:1] Answer("IAX2/trunk-pstngw1-3", "") in new stack
[Jan 30 12:27:08] DEBUG[3703] chan_iax2.c: Answering IAX2 call
[Jan 30 12:27:08] DEBUG[3703] devicestate.c: Notification of state change to be queued on device/channel IAX2/trunk-pstngw1-3
[Jan 30 12:27:08] DEBUG[3619] devicestate.c: No provider found, checking channel drivers for IAX2 - trunk-pstngw1
[Jan 30 12:27:08] DEBUG[3619] chan_iax2.c: Checking device state for device trunk-pstngw1
[Jan 30 12:27:08] 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:08] DEBUG[3619] channel.c: Avoiding initial deadlock for channel '0x873db48'
[Jan 30 12:27:08] DEBUG[3703] pbx.c: Launching 'Wait'
[Jan 30 12:27:08] VERBOSE[3703] logger.c:     -- Executing [XXXXXXXXXX at default:2] Wait("IAX2/trunk-pstngw1-3", "3") in new stack
[Jan 30 12:27:08] DEBUG[3619] devicestate.c: Changing state for IAX2/trunk-pstngw1 - state 2 (In use)
[Jan 30 12:27:08] DEBUG[3627] chan_iax2.c: Ooh, voice format changed to 4
[Jan 30 12:27:08] DEBUG[3627] channel.c: Set channel IAX2/trunk-pstngw1-3 to read format ulaw
[Jan 30 12:27:11] WARNING[3703] pbx.c: No application 'CBMysql' for extension (default, XXXXXXXXXX, 3)
[Jan 30 12:27:11] DEBUG[3703] pbx.c: Spawn extension (default,XXXXXXXXXX,3) exited non-zero on 'IAX2/trunk-pstngw1-3'
[Jan 30 12:27:11] VERBOSE[3703] logger.c:   == Spawn extension (default, XXXXXXXXXX, 3) exited non-zero on 'IAX2/trunk-pstngw1-3'
[Jan 30 12:27:11] DEBUG[3703] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
[Jan 30 12:27:11] DEBUG[3703] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-01-30 12:27:08','XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','default', 'IAX2/trunk-pstngw1-3','','Wait','3',3,3,'ANSWERED',3,'')
[Jan 30 12:27:11] DEBUG[3703] channel.c: Hanging up channel 'IAX2/trunk-pstngw1-3'
[Jan 30 12:27:11] DEBUG[3703] chan_iax2.c: We're hanging up IAX2/trunk-pstngw1-3 now...
[Jan 30 12:27:11] VERBOSE[3703] logger.c:     -- Hungup 'IAX2/trunk-pstngw1-3'
[Jan 30 12:27:11] DEBUG[3703] devicestate.c: Notification of state change to be queued on device/channel IAX2/trunk-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: asterisk-users-bounces at lists.digium.com 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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5699 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070130/a9f0b83e/attachment.bin


More information about the asterisk-users mailing list