[asterisk-bugs] [Asterisk 0012652]: Whenever I issue reload, I get "No [csv] section in cdr.conf. Unregistering backend."

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 14 14:08:30 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12652 
====================================================================== 
Reported By:                DennisD
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   12652
Category:                   CDR/cdr_csv
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-14-2008 14:05 CDT
Last Modified:              05-14-2008 14:08 CDT
====================================================================== 
Summary:                    Whenever I issue reload, I get "No [csv] section in
cdr.conf.  Unregistering backend."
Description: 

It looks like this COULD be the problem:

In cdr_csv.c:

    if (!(cfg = ast_config_load(config, config_flags))) {
        ast_log(LOG_WARNING, "unable to load config: %s\n", config);
        return 0;
    } else if (cfg == CONFIG_STATUS_FILEUNCHANGED)
        return 0;

Shouldn't line 107 return 1 if the config file status unchanged?


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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 14:08  murf           Status                   new => assigned     
05-14-08 14:08  murf           Assigned To               => murf            
======================================================================




More information about the asterisk-bugs mailing list