cel.conf.sample 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. ;
  2. ; Asterisk Channel Event Logging (CEL)
  3. ;
  4. ; Channel Event Logging is a mechanism to provide fine-grained event information
  5. ; that can be used to generate billing information. Such event information can
  6. ; be recorded to various backend modules.
  7. ;
  8. [general]
  9. ; CEL Activation
  10. ;
  11. ; Use the 'enable' keyword to turn CEL on or off.
  12. ;
  13. ; Accepted values: yes and no
  14. ; Default value: no
  15. ;enable=yes
  16. ; Application Tracking
  17. ;
  18. ; Use the 'apps' keyword to specify the list of applications for which you want
  19. ; to receive CEL events. This is a comma separated list of Asterisk dialplan
  20. ; applications, such as Dial, Queue, and Park.
  21. ;
  22. ; Accepted values: A comma separated list of Asterisk dialplan applications
  23. ; Default value: none
  24. ;
  25. ; Note: You may also use 'all' which will result in CEL events being reported
  26. ; for all Asterisk applications. This may affect Asterisk's performance
  27. ; significantly.
  28. apps=dial,park
  29. ; Event Tracking
  30. ;
  31. ; Use the 'events' keyword to specify the list of events which you want to be
  32. ; raised when they occur. This is a comma separated list of the values in the
  33. ; table below.
  34. ;
  35. ; Accepted values: A comma separated list of one or more of the following:
  36. ; ALL -- Generate entries on all events
  37. ; CHAN_START -- The time a channel was created
  38. ; CHAN_END -- The time a channel was terminated
  39. ; ANSWER -- The time a channel was answered (ie, phone taken off-hook)
  40. ; HANGUP -- The time at which a hangup occurred
  41. ; BRIDGE_ENTER -- The time a channel was connected into a conference room
  42. ; BRIDGE_EXIT -- The time a channel was removed from a conference room
  43. ; APP_START -- The time a tracked application was started
  44. ; APP_END -- the time a tracked application ended
  45. ; PARK_START -- The time a call was parked
  46. ; PARK_END -- Unpark event
  47. ; BLINDTRANSFER -- When a blind transfer is initiated
  48. ; ATTENDEDTRANSFER -- When an attended transfer is initiated
  49. ; PICKUP -- This channel picked up the specified channel
  50. ; FORWARD -- This channel is being forwarded somewhere else
  51. ; LINKEDID_END -- The last channel with the given linkedid is retired
  52. ; USER_DEFINED -- Triggered from the dialplan, and has a name given by the
  53. ; user
  54. ; LOCAL_OPTIMIZE -- A local channel pair is optimizing away.
  55. ;
  56. ; Default value: none
  57. ; (Track no events)
  58. events=APP_START,CHAN_START,CHAN_END,ANSWER,HANGUP,BRIDGE_ENTER,BRIDGE_EXIT
  59. ; Date Format
  60. ;
  61. ; Use the 'dateformat' keyword to specify the date format used when CEL events
  62. ; are raised.
  63. ;
  64. ; Accepted values: A strftime format string (see man strftime)
  65. ;
  66. ; Example: "%F %T"
  67. ; -> This gives the date and time in the format "2009-06-23 17:02:35"
  68. ;
  69. ; If this option is not specified, the default format is "<seconds>.<microseconds>"
  70. ; since epoch. The microseconds field will always be 6 digits in length, meaning it
  71. ; may have leading zeros.
  72. ;
  73. ;dateformat = %F %T
  74. ;
  75. ; Asterisk Manager Interface (AMI) CEL Backend
  76. ;
  77. [manager]
  78. ; AMI Backend Activation
  79. ;
  80. ; Use the 'enable' keyword to turn CEL logging to the Asterisk Manager Interface
  81. ; on or off.
  82. ;
  83. ; Accepted values: yes and no
  84. ; Default value: no
  85. ;enabled=yes
  86. ; Use 'show_user_defined' to put "USER_DEFINED" in the EventName header,
  87. ; instead of (by default) just putting the user defined event name there.
  88. ; When enabled the UserDefType header is added for user defined events to
  89. ; provide the user defined event name.
  90. ;
  91. ;show_user_defined=yes
  92. ;
  93. ; RADIUS CEL Backend
  94. ;
  95. [radius]
  96. ;
  97. ; Log date/time in GMT
  98. ;usegmtime=yes
  99. ;
  100. ; Set this to the location of the radiusclient-ng configuration file
  101. ; The default is /etc/radiusclient-ng/radiusclient.conf
  102. ;radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf
  103. ;