[asterisk-bugs] [Asterisk 0016726]: I can't store CDRs in mysql DB

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 28 13:25:43 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16726 
====================================================================== 
Reported By:                swider
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16726
Category:                   Addons/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-28 13:25 CST
Last Modified:              2010-01-28 13:25 CST
====================================================================== 
Summary:                    I can't store CDRs in mysql DB
Description: 
I installed asterisk-addons-1.6.1 and didn't find any errors during
compilation. I created mysql db, modules were loaded but I can't still load
cdrs to my new my sql DB:

 +----	 Asterisk-Addons Build Complete ----+
 +                                           +
 +   Addons has successfully been built .    +
 +   If you would like to install it :       +
 +                                           +
 +                make install               +
 +-------------------------------------------+


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 at 127.0.0.1, port 3306 with username
asteriskuser for 0 seconds.
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> 

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 13:25 swider         New Issue                                    
2010-01-28 13:25 swider         Asterisk Version          => SVN             
2010-01-28 13:25 swider         Regression                => No              
2010-01-28 13:25 swider         SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.1           
======================================================================




More information about the asterisk-bugs mailing list