[asterisk-bugs] [Asterisk 0012580]: Fails to load if sock not specified in config

noreply at bugs.digium.com noreply at bugs.digium.com
Sun May 4 21:58:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12580 
====================================================================== 
Reported By:                pnlarsson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12580
Category:                   Addons/cdr_addon_mysql
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 584 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-04-2008 03:50 CDT
Last Modified:              05-04-2008 21:58 CDT
====================================================================== 
Summary:                    Fails to load if sock not specified in config
Description: 
If the socket is not specified in the config file, cdr_addons_mysql will
fail to load. This is where mysql is running on the same machine. 

The patch attached solves this issue, without the patch the dbsock->str
contains (null) and then fails the ast_strlen_zero test.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 05-04-08 21:58  
---------------------------------------------------------------------- 
Furthermore, it is not clear what test of ast_strlen_zero you're talking
about.  That is a common API, and there are 4 different occurrences of that
API call in that source file alone. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-04-08 21:58  Corydon76      Note Added: 0086387                          
======================================================================




More information about the asterisk-bugs mailing list