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

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Aug 5 09:55:48 CDT 2007


email_notification_title_for_status_bug_ready_for_testing 
====================================================================== 
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:                     ready for testing
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:              
====================================================================== 
Date Submitted:             03-27-2007 10:48 CDT
Last Modified:              08-05-2007 09:55 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-05-07 09:55  Corydon76      Asterisk Version         1.4.2 => 1.4.9      
08-05-07 09:55  Corydon76      SVN Branch (only for SVN checkou 1.4 => N/A      
  
08-05-07 09:55  Corydon76      Status                   feedback => ready for
testing
08-05-07 09:55  Corydon76      Summary                  res_config_odbc never
reconnects => [patch] res_config_odbc never reconnects
======================================================================




More information about the asterisk-bugs mailing list