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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 20 17:04:55 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
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:                     feedback
Asterisk Version:           1.4.2 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 59255 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             03-27-2007 10:48 CDT
Last Modified:              07-20-2007 17:04 CDT
====================================================================== 
Summary:                    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.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 07-20-07 17:04  
---------------------------------------------------------------------- 
I have updated the patch for 1.2 to revision 76215, the latest for today. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 17:04  Corydon76      Note Added: 0067669                          
======================================================================




More information about the asterisk-bugs mailing list