File: queue_log.sql

package info (click to toggle)
asterisk 1%3A1.8.13.1~dfsg1-3%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,336 kB
  • sloc: ansic: 497,975; sh: 11,763; cpp: 5,934; makefile: 3,065; perl: 3,019; yacc: 2,147; xml: 498; sql: 387; tcl: 113; php: 62; python: 42
file content (24 lines) | stat: -rw-r--r-- 806 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CREATE TABLE queue_log (
	-- Event date and time
	time datetime,
	-- "REALTIME", "NONE", or channel uniqueid
	callid char(50),
	-- Name of the queue affected
	queuename char(50),
	-- Interface name of the queue member
	agent char(50),
	-- One of ADDMEMBER, REMOVEMEMBER, RINGNOANSWER, EXITEMPTY, TRANSFER,
	-- AGENTDUMP, ABANDON, SYSCOMPAT, CONNECT, COMPLETECALLER, COMPLETEAGENT,
	-- PAUSEALL, UNPAUSEALL, PAUSE, UNPAUSE, PENALTY, ENTERQUEUE,
	-- EXITWITHTIMEOUT, EXITEMPTY, EXITWITHKEY, or another defined by the user.
	event char(20),
	-- data1 through data5 are possible arguments to the event, the definitions
	-- of which are dependent upon the type of event.
	data1 char(50),
	data2 char(50),
	data3 char(50),
	data4 char(50),
	data5 char(50),
	index bydate (time),
	index qname (queuename,time)
);