3 ; ENV is a global set of environmental variables that will get set.
4 ; Note that all environmental variables can be seen by all connections,
5 ; so you can't have different values for different connections.
7 ;INFORMIXSERVER => my_special_database
8 ;INFORMIXDIR => /opt/informix
9 ;ORACLE_HOME => /home/oracle
11 ; All other sections are arbitrary names for database connections.
20 ; What should we execute to ensure that our connection is still alive? The
21 ; statement should return a non-zero value in the first field of its first
22 ; record. The default is "select 1".
23 ;sanitysql => select 1
33 ; On some databases, the connection times out and a reconnection will be
34 ; necessary. This setting configures the amount of time a connection
35 ; may sit idle (in seconds) before a reconnection will be attempted.
38 ; Certain servers, such as MS SQL Server and Sybase use the TDS protocol, which
39 ; limits the number of active queries per connection to 1. By telling res_odbc
40 ; not to share connections, Asterisk can be made to work with these servers.
44 share_connections => no
49 sanitysql => select count(*) from systables
51 ; Many databases have a default of '\' to escape special characters. MS SQL
53 backslash_is_escape => no