Fix the FIFO lag time
This is also known as the wrap-up time after the call ends with the agent.
This commit is contained in:
parent
e186958006
commit
2a9798b370
|
|
@ -63,13 +63,17 @@ if (session:ready()) then
|
||||||
sounds_dir = session:getVariable("sounds_dir");
|
sounds_dir = session:getVariable("sounds_dir");
|
||||||
end
|
end
|
||||||
|
|
||||||
--set default values
|
--number of simultaneous calls for one extension with multiple registrations
|
||||||
if (fifo_simo == nil) then
|
if (fifo_simo == nil) then
|
||||||
fifo_simo = '';
|
fifo_simo = '5';
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--how long to ring the fifo member (agent)
|
||||||
if (fifo_timeout == nil) then
|
if (fifo_timeout == nil) then
|
||||||
fifo_timeout = '';
|
fifo_timeout = '20';
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--wrap up time for the fifo member
|
||||||
if (fifo_lag == nil) then
|
if (fifo_lag == nil) then
|
||||||
fifo_lag = '';
|
fifo_lag = '';
|
||||||
end
|
end
|
||||||
|
|
@ -122,7 +126,7 @@ dbh:query(sql, params, function(row)
|
||||||
fifo_member_uuid = row["fifo_member_uuid"];
|
fifo_member_uuid = row["fifo_member_uuid"];
|
||||||
member_contact = row["member_contact"];
|
member_contact = row["member_contact"];
|
||||||
member_call_timeout = row["member_call_timeout"];
|
member_call_timeout = row["member_call_timeout"];
|
||||||
member_wrap_up_time = row["member_wrap_up_time"];
|
fifo_lag = row["member_wrap_up_time"];
|
||||||
end);
|
end);
|
||||||
|
|
||||||
--press 1 to login and 2 to logout
|
--press 1 to login and 2 to logout
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue