cel.conf.sample 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. ; CONF_ENTER -- The time a channel was connected into a conference room
  42. ; CONF_EXIT -- The time a channel was removed from a conference room
  43. ; CONF_START -- The time the first person enters a conference room
  44. ; CONF_END -- The time the last person left a conference room (and
  45. ; turned out the lights?)
  46. ; APP_START -- The time a tracked application was started
  47. ; APP_END -- the time a tracked application ended
  48. ; PARK_START -- The time a call was parked
  49. ; PARK_END -- Unpark event
  50. ; BRIDGE_START -- The time a bridge is started
  51. ; BRIDGE_END -- The time a bridge is ended
  52. ; BRIDGE_UPDATE -- This is a replacement channel (Masquerade)
  53. ; 3WAY_START -- When a 3-way conference starts (usually via attended transfer)
  54. ; 3WAY_END -- When one or all exit a 3-way conference
  55. ; BLINDTRANSFER -- When a blind transfer is initiated
  56. ; ATTENDEDTRANSFER -- When an attended transfer is initiated
  57. ; TRANSFER -- Generic transfer initiated; not used yet...?
  58. ; PICKUP -- This channel picked up the peer channel
  59. ; FORWARD -- This channel is being forwarded somewhere else
  60. ; HOOKFLASH -- So far, when a hookflash event occurs on a DAHDI
  61. ; interface
  62. ; LINKEDID_END -- The last channel with the given linkedid is retired
  63. ; USER_DEFINED -- Triggered from the dialplan, and has a name given by the
  64. ; user
  65. ;
  66. ; Default value: none
  67. ; (Track no events)
  68. events=APP_START,CHAN_START,CHAN_END,ANSWER,HANGUP,BRIDGE_START,BRIDGE_END
  69. ; Date Format
  70. ;
  71. ; Use the 'dateformat' keyword to specify the date format used when CEL events
  72. ; are raised.
  73. ;
  74. ; Accepted values: A strftime format string (see man strftime)
  75. ;
  76. ; Example: "%F %T"
  77. ; -> This gives the date and time in the format "2009-06-23 17:02:35"
  78. ;
  79. ; If this option is not specified, the default format is "<seconds>.<microseconds>"
  80. ; since epoch. The microseconds field will always be 6 digits in length, meaning it
  81. ; may have leading zeros.
  82. ;
  83. ;dateformat = %F %T
  84. ;
  85. ; Asterisk Manager Interface (AMI) CEL Backend
  86. ;
  87. [manager]
  88. ; AMI Backend Activation
  89. ;
  90. ; Use the 'enable' keyword to turn CEL logging to the Asterisk Manager Interface
  91. ; on or off.
  92. ;
  93. ; Accepted values: yes and no
  94. ; Default value: no
  95. ;enabled=yes
  96. ; Use 'show_user_defined' to put "USER_DEFINED" in the EventName header,
  97. ; instead of (by default) just putting the user defined event name there.
  98. ; When enabled the UserDefType header is added for user defined events to
  99. ; provide the user defined event name.
  100. ;
  101. ;show_user_defined=yes
  102. ;
  103. ; RADIUS CEL Backend
  104. ;
  105. [radius]
  106. ;
  107. ; Log date/time in GMT
  108. ;usegmtime=yes
  109. ;
  110. ; Set this to the location of the radiusclient-ng configuration file
  111. ; The default is /etc/radiusclient-ng/radiusclient.conf
  112. ;radiuscfg => /usr/local/etc/radiusclient-ng/radiusclient.conf
  113. ;