dbsep.conf.sample 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Configuration file for dbsep.cgi
  3. #
  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.
  8. #
  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).
  12. #
  13. # This file contains the information necessary to configure dbsep.cgi.
  14. #
  15. #
  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:
  18. #
  19. # voicemail => curl,http://server/path/to/dbsep.cgi/voicemail
  20. # sippeers => curl,http://server/path/to/dbsep.cgi/sippeers
  21. #
  22. # The Data Source Name, as specified by the Perl DBI module.
  23. # Typically, this will be along the lines of 'DBI:mysql:astdbname[:dbhostname]' or 'DBI:Pg:dbname=astdbname;hostname=dbhostname'
  24. dsn=somedsn
  25. # Connected database user
  26. dbuser=someuser
  27. # And its password
  28. dbpass=password
  29. # For most databases, this is fine. Set to 'no' for Sybase or MS SQL Server.
  30. backslash_is_escape=yes