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