aboutsummaryrefslogtreecommitdiffstats
path: root/configs/extconfig.conf.sample
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-23 16:19:21 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-23 16:19:21 +0000
commit6bb04df2e6f7377453ef49c4263bf1ab27a542bb (patch)
tree538275561397978c5e939125a8d73d7633159867 /configs/extconfig.conf.sample
parent30dfe48aa733d962aacea312e9ee308e30b1c749 (diff)
Merge the realtime failover branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278957 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/extconfig.conf.sample')
-rw-r--r--configs/extconfig.conf.sample16
1 files changed, 14 insertions, 2 deletions
diff --git a/configs/extconfig.conf.sample b/configs/extconfig.conf.sample
index 32ec6ad63..bde5d1268 100644
--- a/configs/extconfig.conf.sample
+++ b/configs/extconfig.conf.sample
@@ -9,7 +9,7 @@
;
; Static configuration files:
;
-; file.conf => driver,database[,table]
+; file.conf => driver,database[,table[,priority]]
;
; maps a particular configuration file to the given
; database driver, database and table (or uses the
@@ -40,14 +40,26 @@
; database and table (or uses the name of
; the family if the table is not specified
;
-;example => odbc,asterisk,alttable
+;example => odbc,asterisk,alttable,1
+;example => mysql,asterisk,alttable,2
;example2 => ldap,"dc=oxymium,dc=net",example2
;
+; Additionally, priorities are now supported for use as failover methods
+; for retrieving realtime data. If one connection fails to retrieve any
+; information, the next sequential priority will be tried next. This
+; especially works well with ODBC connections, since res_odbc now caches
+; when connection failures occur and prevents immediately retrying those
+; connections until after a specified timeout. Note: priorities must
+; start at 1 and be sequential (i.e. if you have only priorities 1, 2,
+; and 4, then 4 will be ignored, because there is no 3).
+;
; "odbc" is shown in the examples below, but is not the only valid realtime
; engine. There is:
; odbc ... res_config_odbc
; sqlite ... res_config_sqlite
; pgsql ... res_config_pgsql
+; curl ... res_config_curl
+; ldap ... res_config_ldap
;
;iaxusers => odbc,asterisk
;iaxpeers => odbc,asterisk