[asterisk-bugs] [Asterisk 0009389]: [patch] res_config_odbc never reconnects

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Aug 7 13:59:08 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=9389 
====================================================================== 
Reported By:                norman
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   9389
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 59255 
Disclaimer on File?:        No 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-27-2007 10:48 CDT
Last Modified:              08-07-2007 13:59 CDT
====================================================================== 
Summary:                    [patch] res_config_odbc never reconnects
Description: 
If I restart my ODBC-connected database, MS SQL in my case, Astersik will
not re-connect to the database when accessed via res_config_odbc, i.e. the
ast_load_realtime() functions. res_odbc will try to do so, but since
res_config_odbc calls SQLPrepare directly instead of using res_odbc's
ast_odbc_prepare_and_execute functions, res_config_odbc will this never
reconnect and all subsequent queries fail.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-07-07 13:59  Corydon76      Status                   ready for testing =>
closed
08-07-07 13:59  Corydon76      Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list