If we detect that we are no longer connected, try to reconnect a few times
authorSean Bright <sean@malleable.com>
Thu, 14 Aug 2008 15:03:03 +0000 (15:03 +0000)
committerSean Bright <sean@malleable.com>
Thu, 14 Aug 2008 15:03:03 +0000 (15:03 +0000)
commit297ebf779fc869eb81fade4b79356481e3476db9
treee9acc75dc0f6b40de94c4282fd04099888447054
parent35a37e6724b30ae750f5f50cfb3f8d2493469bf6
If we detect that we are no longer connected, try to reconnect a few times
before giving up.  This relies on the timeout settings in the freetds.conf
file and, unfortunately, on a recent version of FreeTDS (0.82 or newer).

I either need to change the current execs to be non-blocking (which I do
not want to do) or we have to force people to run with the latest and
greatest of FreeTDS.  I'm on the fence...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cdr/cdr_tds.c