asterisk/configs/res_odbc.conf.sample
Tilghman Lesher 859bc68383 Merged revisions 43464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43464 | tilghman | 2006-09-21 18:24:41 -0500 (Thu, 21 Sep 2006) | 2 lines

Twould help if we actually documented how the new features in res_odbc actually work. (Oops)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 23:29:32 +00:00

42 lines
934 B
Text

;;; odbc setup file
; ENV is a global set of environmental variables that will get set.
; Note that all environmental variables can be seen by all connections,
; so you can't have different values for different connections.
[ENV]
INFORMIXSERVER => my_special_database
INFORMIXDIR => /opt/informix
; All other sections are arbitrary names for database connections.
[asterisk]
enabled => yes
dsn => asterisk
;username => myuser
;password => mypass
pre-connect => yes
[mysql2]
enabled => no
dsn => MySQL-asterisk
username => myuser
password => mypass
pre-connect => yes
; Certain servers, such as MS SQL Server and Sybase use the TDS protocol, which
; limits the number of active queries per connection to 1. By setting up pools
; of connections, Asterisk can be made to work with these servers.
[sqlserver]
enabled => no
dsn => mickeysoft
pooling => yes
limit => 5
username => oscar
password => thegrouch
pre-connect => yes