Merge the new Channel Event Logging (CEL) subsystem.
[asterisk/asterisk.git] / configs / cel_pgsql.conf.sample
1 ; Sample Asterisk config file for CEL logging to PostgresSQL
2 ;
3 ; CEL field names:
4 ;
5 ;       eventtype
6 ;         CEL_CHANNEL_START = 1
7 ;         CEL_CHANNEL_END = 2
8 ;         CEL_HANGUP = 3
9 ;         CEL_ANSWER = 4
10 ;         CEL_APP_START = 5
11 ;         CEL_APP_END = 6
12 ;         CEL_BRIDGE_START = 7
13 ;         CEL_BRIDGE_END = 8
14 ;         CEL_CONF_START = 9
15 ;         CEL_CONF_END = 10
16 ;         CEL_PARK_START = 11
17 ;         CEL_PARK_END = 12
18 ;         CEL_BLINDTRANSFER = 13
19 ;         CEL_ATTENDEDTRANSFER = 14
20 ;         CEL_TRANSFER = 15
21 ;         CEL_HOOKFLASH = 16
22 ;         CEL_3WAY_START = 17
23 ;         CEL_3WAY_END = 18
24 ;         CEL_CONF_ENTER = 19
25 ;         CEL_CONF_EXIT = 20
26 ;         CEL_USER_DEFINED = 21
27 ;         CEL_LINKEDID_END = 22
28 ;         CEL_BRIDGE_UPDATE = 23
29 ;         CEL_PICKUP = 24
30 ;         CEL_FORWARD = 25
31 ;       eventtime  (timeval, includes microseconds)
32 ;       userdeftype (set only if eventtype == USER_DEFINED)
33 ;       cid_name
34 ;       cid_num
35 ;       cid_ani
36 ;       cid_rdnis
37 ;       cid_dnid
38 ;       exten
39 ;       context
40 ;       channame
41 ;       appname
42 ;       appdata
43 ;       accountcode
44 ;       peeraccount
45 ;       uniqueid
46 ;       linkedid
47 ;       amaflag  (an int)
48 ;       userfield
49 ;       peer
50
51
52 [global]
53 ;hostname=localhost
54 ;port=5432
55 ;dbname=asterisk
56 ;password=password
57 ;user=postgres
58 ;table=cel              ;SQL table where CEL's will be inserted