[asterisk-users] res_pgsql re-connect on db failure?
Bryan Field-Elliot
bryan+asterisk-users at nextalarm.com
Thu Feb 10 16:24:59 CST 2011
We are using PostgreSQL real-time connector (res_config_pgsql) with Asterisk 1.6.2.15.
From time to time, we need to reset our PostgreSQL server, causing all active DB connections to close. While other packages in our system re-connect gracefully when this happens, Asterisk appears to not bother trying. It instead goes into an endless loop complaining that the connection has closed.
Question -- is there any option I might be missing, to tell Asterisk to try re-connecting to PostgreSQL if the existing connection fails?
Thank you,
Bryan
More information about the asterisk-users
mailing list