Summary:ASTERISK-03517: [patch] cdr_tds not tolerant of database server connectivity problems
Reporter:Tony Mountifield (softins)Labels:
Date Opened:2005-02-15 03:22:41.000-0600Date Closed:2008-01-15 15:25:52.000-0600
Versions:Frequency of
Environment:Attachments:( 0) cdr_tds-patch-head.diff
( 1) cdr_tds-patch-stable.diff
Description:If the SQL database server is not up, cdr_tds returns an error and prevents Asterisk from starting. If the database server goes down while Asterisk is running, CDR logging will cease and never be retried.

The attached patches (one for HEAD and one for Stable) correct both problems and were based on the structure of cdr_mysql.


Disclaimer on file.
Comments:By: Tony Mountifield (softins) 2005-02-15 03:25:38.000-0600

I should just mention that the patched version has been in production use since November without problems. It just took me a while to get around to filing the bug report.

By: Mark Spencer (markster) 2005-02-15 21:53:30.000-0600

Added to CVS, thanks!

By: Russell Bryant (russell) 2005-02-20 22:46:43.000-0600

Added to 1.0, will be in 1.0.6

Thanks for adding the stable patch as well!

By: Digium Subversion (svnbot) 2008-01-15 15:25:29.000-0600

Repository: asterisk
Revision: 5037

U   trunk/cdr/cdr_tds.c

r5037 | markster | 2008-01-15 15:25:29 -0600 (Tue, 15 Jan 2008) | 2 lines

Make TDS CDR more resilient (bug ASTERISK-3517)



By: Digium Subversion (svnbot) 2008-01-15 15:25:52.000-0600

Repository: asterisk
Revision: 5063

U   branches/v1-0/cdr/cdr_tds.c

r5063 | russell | 2008-01-15 15:25:51 -0600 (Tue, 15 Jan 2008) | 2 lines

handle server going down (bug ASTERISK-3517)