Bryan Field-Elliot
2011-Feb-10 22:24 UTC
[asterisk-users] res_pgsql re-connect on db failure?
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