<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>When using Postgres as the backend to voicemail.conf using </P>
<P>[general]</P>
<P>dboption=dbname=asteriskdb user=asterisk password=asterisk</P>
<P>Everything works great until I restart Postgres. In this case asterisk does
not attempt to reconnect to the database even when it knows that there is a dead
connection.</P>
<P>I receive the following message at the console.</P>
<P>PGSQL_query: Connection Error (no connection to the server)</P>
<P>And I can not get it to reset even with a "reload" command on the CLI. </P>
<P>I have to restart asterisk.</P>
<P>Has anyone found a way to work around this "feature" that only connects to
the postgresql database at asterisk startup for voicemail?</P>
<P>Thanks</P>
<P>Michael </P></FONT></FONT></DIV></BODY></HTML>