summaryrefslogtreecommitdiff
path: root/configs/extconfig.conf.sample
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-23 16:19:21 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-23 16:19:21 +0000
commit3ab004111841f96bc845c8965ea5e5db6a9227d0 (patch)
tree538275561397978c5e939125a8d73d7633159867 /configs/extconfig.conf.sample
parent76c1992f38a918d96e51f692e7ab0d39387fa944 (diff)
Merge the realtime failover branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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