[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
Thu May 15 12:53:39 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-14-2008 14:05 CDT
Last Modified:              05-15-2008 12:53 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?


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

---------------------------------------------------------------------- 
 svnbot - 05-15-08 12:53  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 116636

_U  branches/1.6.0/
U   branches/1.6.0/cdr/cdr_csv.c

------------------------------------------------------------------------
r116636 | tilghman | 2008-05-15 12:53:37 -0500 (Thu, 15 May 2008) | 11
lines

Merged revisions 116631 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r116631 | tilghman | 2008-05-15 12:58:22 -0500 (Thu, 15 May 2008) | 3
lines

Don't unload config on reload, when config has not changed.
(Closes issue http://bugs.digium.com/view.php?id=12652)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=116636 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-15-08 12:53  svnbot         Checkin                                      
05-15-08 12:53  svnbot         Note Added: 0086919                          
======================================================================




More information about the asterisk-bugs mailing list