pjproject.conf.sample 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ; Common pjproject options
  2. ;
  3. ;[startup]
  4. ; NOTES: The name of this section in the pjproject.conf configuration file must
  5. ; remain startup or the configuration will not be applied.
  6. ;
  7. ;cache_pools = yes ; Cache pjproject memory pools for performance
  8. ; Disable this option to help track down pool content
  9. ; mismanagement when using valgrind or MALLOC_DEBUG.
  10. ; The cache gets in the way of determining if the
  11. ; pool contents are used after being freed and who
  12. ; freed it.
  13. ; Default yes
  14. ;log_level=default ; Initial maximum pjproject logging level to log
  15. ; Valid values are: 0-6, and default
  16. ;
  17. ; Note: This option is needed very early in the startup
  18. ; process so it can only be read from config files because
  19. ; the modules for other methods have not been loaded yet.
  20. ;type= ; Must be of type startup (default: "")
  21. ;========================LOG_MAPPINGS SECTION OPTIONS===============================
  22. ;[log_mappings]
  23. ; SYNOPSIS: Provides pjproject to Asterisk log level mappings.
  24. ; NOTES: The name of this section in the pjproject.conf configuration file must
  25. ; remain log_mappings or the configuration will not be applied.
  26. ; The defaults mentioned below only apply if this file or the 'log_mappings'
  27. ; object can't be found. If the object is found, there are no defaults. If
  28. ; you don't specify an entry, nothing will be logged for that level.
  29. ;
  30. ; These logging level meanings are typically used by pjproject:
  31. ; - 0: fatal error
  32. ; - 1: error
  33. ; - 2: warning
  34. ; - 3: info
  35. ; - 4: debug
  36. ; - 5: trace
  37. ; - 6: more detailed trace
  38. ;
  39. ;asterisk_error = ; A comma separated list of pjproject log levels to map to
  40. ; Asterisk errors.
  41. ; (default: "0,1")
  42. ;asterisk_warning = ; A comma separated list of pjproject log levels to map to
  43. ; Asterisk warnings.
  44. ; (default: "2")
  45. ;asterisk_notice = ; A comma separated list of pjproject log levels to map to
  46. ; Asterisk notices.
  47. ; (default: "")
  48. ;asterisk_verbose = ; A comma separated list of pjproject log levels to map to
  49. ; Asterisk verbose.
  50. ; (default: "")
  51. ;asterisk_debug = ; A comma separated list of pjproject log levels to map to
  52. ; Asterisk debug
  53. ; (default: "3,4,5,6")
  54. ;type= ; Must be of type log_mappings (default: "")