[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:10:23 CDT 2008


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


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

---------------------------------------------------------------------- 
 qwell - 05-14-08 14:10  
---------------------------------------------------------------------- 
I believe you are correct.  It also looks like all of the cdr modules have
this same flaw. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 14:10  qwell          Note Added: 0086865                          
======================================================================




More information about the asterisk-bugs mailing list