Merged revisions 140817 via svnmerge from
[asterisk-bristuff.git] / configs / dbsep.conf.sample
blob00d187d147e865dcbef0fb9b94cf624cea47302a
2 # Configuration file for dbsep.cgi
4 # The purpose of this file is to provide realtime access to a database,
5 # possibly through ODBC, without needing to load the ODBC drivers into
6 # Asterisk, since there are several backend drivers which are rather
7 # buggy.
9 # We accomplish this separation by using the res_config_curl realtime
10 # driver to connect to a server running dbsep.cgi (or another, which
11 # implements the same protocol).
13 # This file contains the information necessary to configure dbsep.cgi.
16 # Once installed to a web server, you'll need to preload func_curl.so
17 # and res_config_curl.so in modules.conf and configure extconfig.conf:
19 # voicemail => curl,http://server/path/to/dbsep.cgi/voicemail
20 # sippeers => curl,http://server/path/to/dbsep.cgi/sipfriends
21 # sipusers => curl,http://server/path/to/dbsep.cgi/sipfriends
24 # The Data Source Name, as specified by the Perl DBI module.
25 dsn=somedsn
27 # Connected database user
28 dbuser=someuser
30 # And its password
31 dbpass=password
33 # For most databases, this is fine.  Set to 'no' for Sybase or MS SQL Server.
34 backslash_is_escape=yes