mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r317486 | russell | 2011-05-05 18:15:53 -0500 (Thu, 05 May 2011) | 9 lines Fix some more realtime MySQL schema issues. (closes issue #18537) Reported by: denzs Patches: sipfriends.sql.svndiff uploaded by denzs (license 1182) queue_log.sql.svndiff uploaded by denzs (license 1182) meetme.sql.svndiff uploaded by denzs (license 1182) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
25 lines
806 B
SQL
25 lines
806 B
SQL
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)
|
|
);
|