File tree Expand file tree Collapse file tree 9 files changed +25
-3
lines changed Expand file tree Collapse file tree 9 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 72
72
</description >
73
73
</column >
74
74
75
+ <column id =" last_call_end" >
76
+ <name >last_call_end</name >
77
+ <type >int</type >
78
+ <size >11</size >
79
+ <default >0</default >
80
+ <description >The timestamp of the last call of an agent.
81
+ If different than 0, the agent will only receive calls after
82
+ wrapup seconds pass after this timestamp.
83
+ </description >
84
+ </column >
85
+
75
86
<index >
76
87
<name >unique_agentid</name >
77
88
<colref linkend =" agentid" />
Original file line number Diff line number Diff line change 1
1
METADATA_COLUMNS
2
- id(int) agentid(str) location(str) logstate(int) skills(str)
2
+ id(int) agentid(str) location(str) logstate(int) skills(str) last_call_end(int)
3
3
METADATA_KEY
4
4
5
5
METADATA_READONLY
6
6
0
7
7
METADATA_LOGFLAGS
8
8
0
9
9
METADATA_DEFAULTS
10
- NIL|NIL|NIL|0|NIL
10
+ NIL|NIL|NIL|0|NIL|0
Original file line number Diff line number Diff line change 1
- id(int,auto) agentid(string) location(string) logstate(int) skills(string)
1
+ id(int,auto) agentid(string) location(string) logstate(int) skills(string) last_call_end(int)
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ CREATE TABLE cc_agents (
17
17
location CHAR (128 ) NOT NULL ,
18
18
logstate INT (10 ) UNSIGNED DEFAULT 0 NOT NULL ,
19
19
skills CHAR (255 ) NOT NULL ,
20
+ last_call_end INT (11 ) DEFAULT 0 NOT NULL ,
20
21
CONSTRAINT unique_agentid UNIQUE (agentid)
21
22
) ENGINE= MyISAM;
22
23
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ CREATE TABLE cc_agents (
25
25
location VARCHAR2 (128 ),
26
26
logstate NUMBER (10 ) DEFAULT 0 NOT NULL ,
27
27
skills VARCHAR2 (255 ),
28
+ last_call_end NUMBER (10 ) DEFAULT 0 NOT NULL ,
28
29
CONSTRAINT cc_agents_unique_agentid UNIQUE (agentid)
29
30
);
30
31
Original file line number Diff line number Diff line change 59
59
<col><field>location</field></col>
60
60
<col><field>logstate</field></col>
61
61
<col><field>skills</field></col>
62
+ <col><field>last_call_end</field></col>
62
63
</query_cols>
63
64
</cmd>
64
65
<cmd><cmd_name>add</cmd_name>
69
70
<col><field>location</field></col>
70
71
<col><field>logstate</field></col>
71
72
<col><field>skills</field></col>
73
+ <col><field>last_call_end</field></col>
72
74
</query_cols>
73
75
</cmd>
74
76
<cmd><cmd_name>update</cmd_name>
82
84
<col><field>location</field></col>
83
85
<col><field>logstate</field></col>
84
86
<col><field>skills</field></col>
87
+ <col><field>last_call_end</field></col>
85
88
</query_cols>
86
89
</cmd>
87
90
<cmd><cmd_name>delete</cmd_name>
Original file line number Diff line number Diff line change 19
19
<column><field>location</field><type>DB_STR</type></column>
20
20
<column><field>logstate</field><type>DB_INT</type></column>
21
21
<column><field>skills</field><type>DB_STR</type></column>
22
+ <column><field>last_call_end</field><type>DB_INT</type></column>
22
23
</db_table>
23
24
<!-- Declaration of cc_cdrs table-->
24
25
<db_table id="cc_cdrs">
Original file line number Diff line number Diff line change 246
246
<column ><field >location</field ><type >DB_STR</type ></column >
247
247
<column ><field >logstate</field ><type >DB_INT</type ></column >
248
248
<column ><field >skills</field ><type >DB_STR</type ></column >
249
+ <column ><field >last_call_end</field ><type >DB_INT</type ></column >
249
250
</db_table >
250
251
<!-- Declaration of cc_cdrs table-->
251
252
<db_table id =" cc_cdrs" >
1623
1624
<col ><field >location</field ></col >
1624
1625
<col ><field >logstate</field ></col >
1625
1626
<col ><field >skills</field ></col >
1627
+ <col ><field >last_call_end</field ></col >
1626
1628
</query_cols >
1627
1629
</cmd >
1628
1630
<cmd ><cmd_name >add</cmd_name >
1633
1635
<col ><field >location</field ></col >
1634
1636
<col ><field >logstate</field ></col >
1635
1637
<col ><field >skills</field ></col >
1638
+ <col ><field >last_call_end</field ></col >
1636
1639
</query_cols >
1637
1640
</cmd >
1638
1641
<cmd ><cmd_name >update</cmd_name >
1646
1649
<col ><field >location</field ></col >
1647
1650
<col ><field >logstate</field ></col >
1648
1651
<col ><field >skills</field ></col >
1652
+ <col ><field >last_call_end</field ></col >
1649
1653
</query_cols >
1650
1654
</cmd >
1651
1655
<cmd ><cmd_name >delete</cmd_name >
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ CREATE TABLE cc_agents (
18
18
location VARCHAR (128 ) NOT NULL ,
19
19
logstate INTEGER DEFAULT 0 NOT NULL ,
20
20
skills VARCHAR (255 ) NOT NULL ,
21
+ last_call_end INTEGER DEFAULT 0 NOT NULL ,
21
22
CONSTRAINT cc_agents_unique_agentid UNIQUE (agentid)
22
23
);
23
24
You can’t perform that action at this time.
0 commit comments