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