hi I load cdr_addon_mysql.so without error configuration of cdr_mysql.conf [general] dbhost = localhost dbname = recharge dbuser = root dbpass = ast dbport = 3306 dbsock = /var/lib/mysql/mysql.sock But, I get nothing in the table of cdr of my database. Somebody have an idea ? Thanks you for your help best regards --------------------------------- DO YOU YAHOO!? ????G??????????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050911/931572d9/attachment.htm
Did you confirm that cdr_addon_mysql is indeed built and loading? I had missed that it wasn?t being built (I didn?t have mysql-devel installed) when I first tried to do that a few months ago. -Jonathan ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of alexandre zhang Sent: Sunday, September 11, 2005 2:11 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] cdr_addon_mysql.so pb hi I load cdr_addon_mysql.so without error configuration of cdr_mysql.conf [general] dbhost = localhost dbname = recharge dbuser = root dbpass = ast dbport = 3306 dbsock = /var/lib/mysql/mysql.sock But, I get nothing in the table of cdr of my database. Somebody have an idea ? Thanks you for your help best regards ________________________________ DO YOU YAHOO!? ????G??????????????????? <http://cn.mail.yahoo.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050911/f5cd1fdf/attachment.htm
Run the command "cdr mysql status" from asterisk CLI. What does that say? If it says command not found then the module is not loaded. -Matthew> From: alexandre zhang <etongth@yahoo.com.cn> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Date: Mon, 12 Sep 2005 02:11:05 +0800 (CST) > To: <asterisk-users@lists.digium.com> > Subject: [Asterisk-Users] cdr_addon_mysql.so pb > > hi > > I load cdr_addon_mysql.so without error > > configuration of cdr_mysql.conf > > [general] > dbhost = localhost > dbname = recharge > dbuser = root > dbpass = ast > dbport = 3306 > dbsock = /var/lib/mysql/mysql.sock > > > But, I get nothing in the table of cdr of my database. > > > Somebody have an idea ? Thanks you for your help > > best regards > > > > --------------------------------- > DO YOU YAHOO!? > ????G??????????????????? > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users