res_pgsql.conf.sample 995 B

123456789101112131415161718192021222324252627282930
  1. ;
  2. ; Sample configuration for res_config_pgsql
  3. ;
  4. ; The value of dbhost may be either a hostname or an IP address.
  5. ; If dbhost is commented out or the string "localhost", a connection
  6. ; to the local host is assumed and dbsock is used instead of TCP/IP
  7. ; to connect to the server.
  8. ;
  9. [general]
  10. dbhost=127.0.0.1
  11. dbport=5432
  12. dbname=asterisk
  13. dbuser=asterisk
  14. dbpass=password
  15. ;
  16. ; dbsock is specified as the directory where the socket file may be found. The
  17. ; actual socket is constructed as a combination of dbsock and dbport. For
  18. ; example, the values of '/tmp' and '5432', respectively, will specify a socket
  19. ; file of '/tmp/.s.PGSQL.5432'.
  20. ;
  21. ;dbsock=/tmp
  22. ;
  23. ; requirements - At startup, each realtime family will make requirements
  24. ; on the backend. There are several strategies for handling requirements:
  25. ; warn - Warn if the required column does not exist.
  26. ; createclose - Create columns as close to the requirements as possible.
  27. ; createchar - Create char columns only
  28. ;
  29. requirements=warn