cel_pgsql.conf.sample 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ;
  2. ; Asterisk Channel Event Logging (CEL) - PostgreSQL Backend
  3. ;
  4. ; Sample Asterisk config file for CEL logging to PostgreSQL
  5. ;
  6. ; CEL field names:
  7. ;
  8. ; eventtype
  9. ; CHANNEL_START = 1
  10. ; CHANNEL_END = 2
  11. ; HANGUP = 3
  12. ; ANSWER = 4
  13. ; APP_START = 5
  14. ; APP_END = 6
  15. ; BRIDGE_START = 7
  16. ; BRIDGE_END = 8
  17. ; CONF_START = 9
  18. ; CONF_END = 10
  19. ; PARK_START = 11
  20. ; PARK_END = 12
  21. ; BLINDTRANSFER = 13
  22. ; ATTENDEDTRANSFER = 14
  23. ; TRANSFER = 15
  24. ; HOOKFLASH = 16
  25. ; 3WAY_START = 17
  26. ; 3WAY_END = 18
  27. ; CONF_ENTER = 19
  28. ; CONF_EXIT = 20
  29. ; USER_DEFINED = 21
  30. ; LINKEDID_END = 22
  31. ; BRIDGE_UPDATE = 23
  32. ; PICKUP = 24
  33. ; FORWARD = 25
  34. ; eventtime (timeval, includes microseconds)
  35. ; userdeftype (set only if eventtype == USER_DEFINED)
  36. ; cid_name
  37. ; cid_num
  38. ; cid_ani
  39. ; cid_rdnis
  40. ; cid_dnid
  41. ; exten
  42. ; context
  43. ; channame
  44. ; appname
  45. ; appdata
  46. ; accountcode
  47. ; peeraccount
  48. ; uniqueid
  49. ; linkedid
  50. ; amaflags (an int)
  51. ; userfield
  52. ; peer
  53. ; extra
  54. [global]
  55. ; Use 'show_user_defined' to put "USER_DEFINED" in the eventtype field,
  56. ; instead of (by default) just putting the user defined event name there.
  57. ;
  58. ;show_user_defined=yes
  59. ;hostname=localhost
  60. ;port=5432
  61. ;dbname=asterisk
  62. ;password=password
  63. ;user=postgres
  64. ;table=cel ;SQL table where CEL's will be inserted
  65. ;appname=asterisk ; Postgres application_name support (optional). Whitespace not allowed.