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

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


A NOTE has been added to this issue. 
====================================================================== 
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 21: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> 

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

---------------------------------------------------------------------- 
 (0117349) alecdavis (manager) - 2010-01-28 21:25
 https://issues.asterisk.org/view.php?id=16726#c117349 
---------------------------------------------------------------------- 
from configs/cdr_mysql.conf.samples

shouldn't it be [global] not [globals] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 21:25 alecdavis      Note Added: 0117349                          
======================================================================




More information about the asterisk-bugs mailing list