[Bug 574936] New: I can't store CDRs in mySQL DB using Asterisk asterisk-addons-1.6.1 package
http://bugzilla.novell.com/show_bug.cgi?id=574936 http://bugzilla.novell.com/show_bug.cgi?id=574936#c0 Summary: I can't store CDRs in mySQL DB using Asterisk asterisk-addons-1.6.1 package Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tswiderski@op.pl QAContact: qa@suse.de Found By: Other Blocker: No After installing asterisk-addons-1.6.1 opackage and compilling witjout errors I have problems with storing CDRs to mySQL DB. +---- Asterisk-Addons Installation Complete ----+ + + + Addons has successfully been installed. + + If you would like to install the sample + + configuration files (overwriting any + + existing config files), run: + + + + make samples + +-----------------------------------------------+ The modules were correctly loaded: linux-1i0f*CLI> module show like sql Module Description Use Count cdr_addon_mysql.so MySQL CDR Backend 0 res_config_mysql.so MySQL RealTime Configuration Driver 0 app_addon_sql_mysql.so Simple Mysql Interface 0 3 modules loaded linux-1i0f*CLI> cdr mysql status No such command 'cdr mysql status' (type 'help cdr mysql status' for other possible commands) linux-1i0f*CLI> realtime mysql status general connected to asteriskcdrdb@127.0.0.1, port 3306 with username asteriskuser for 0 seconds. **************************************** But mysql DB wasn't connected as place for storing CDRs: **************************************** linux-1i0f*CLI> cdr show status linux-1i0f*CLI> Call Detail Record (CDR) settings ---------------------------------- Logging: Enabled Mode: Simple Log unanswered calls: No * Registered Backends ------------------- cdr-custom csv linux-1i0f*CLI> ***************************************** DB is created properly: mysql> show databases; Current database: asteriskcdrdb +--------------------+ | Database | +--------------------+ | information_schema | | asterisk | | asteriskcdrdb | | mysql | | test | +--------------------+ 5 rows in set (0.00 sec) mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | asterisk | | asteriskcdrdb | | mysql | | test | +--------------------+ 5 rows in set (0.00 sec) mysql> show tables; +-------------------------+ | Tables_in_asteriskcdrdb | +-------------------------+ | cdr | +-------------------------+ 1 row in set (0.01 sec) mysql> ****************************** And the config file: ****************************** vim cdr_mysql.conf [globals] hostname=localhost ;dbname=asterisk password=asterisk ;user=asterisk table=cdr ;port=3306 ;userfield=1 ;sock=/var/lib/mysql/mysql.sock dbname=asteriskcdrdb user=asteriskuser ;user=root ls -ltr -rw-r--r-- 1 root root 1766 Jan 28 13:11 cdr_mysql.conf.orig -rw-r--r-- 1 root root 1880 Jan 28 16:11 res_mysql.conf -rw-r--r-- 1 root root 195 Jan 28 18:01 cdr_mysql.conf ~ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574936 http://bugzilla.novell.com/show_bug.cgi?id=574936#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |nix@opensuse.org |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574936 http://bugzilla.novell.com/show_bug.cgi?id=574936#c Peter Nixon <nix@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nix@opensuse.org |vittorio@vitsoft.bz -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574936 http://bugzilla.novell.com/show_bug.cgi?id=574936#c1 Vittorio Manfredini <vittorio@vitsoft.bz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Vittorio Manfredini <vittorio@vitsoft.bz> 2010-06-15 13:03:06 UTC --- Seem that during asterisk startup the module cdr_addon_mysql fail to connect to the mysql database. Restarting asterisk solve the problem, I will try to understand where the problem is. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=574936 https://bugzilla.novell.com/show_bug.cgi?id=574936#c2 Bruno Friedmann <bruno@ioda-net.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED CC| |bruno@ioda-net.ch Resolution| |NORESPONSE --- Comment #2 from Bruno Friedmann <bruno@ioda-net.ch> 2011-04-02 19:30:03 UTC --- openbug-day comment : The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4, please reopen the bug and move it to the appropriate version. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com