Summary: | ASTERISK-16982: Fix reconnecting to pgsql database after connection loss. | ||
Reporter: | german aracil boned (tecnoxarxa) | Labels: | |
Date Opened: | 2010-11-18 17:13:39.000-0600 | Date Closed: | 2012-02-13 11:22:19.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_config_pgsql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) res_config_pgsql.c ( 1) res_config_pgsql.c.patch | |
Description: | If you close database connection, asterisk can't reconnect to. TO ALL VERSIONS ****** ADDITIONAL INFORMATION ****** It is easy to repair: Simply, replace calls to pgsql_reconnect(database) by (!pgsql_reconnect(dbname) With database variable, you send [general] from file and not dbname=X variable. TO ALL VERSIONS | ||
Comments: | By: Richard Mudgett (rmudgett) 2012-02-10 18:20:23.860-0600 See https://reviewboard.asterisk.org/r/1731/ for new patch. |