public class AgentCompleteEvent extends AbstractAgentEvent
It is implemented in apps/app_queue.c
.
Available since Asterisk 1.2
source
Constructor and Description |
---|
AgentCompleteEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
Long |
getHoldTime()
Returns the amount of time the caller was on hold.
|
String |
getReason()
Returns if the agent or the caller terminated the call.
|
Long |
getTalkTime()
Returns the amount of time the caller talked to the agent.
|
void |
setHoldTime(Long holdtime)
Sets the amount of time the caller was on hold.
|
void |
setReason(String reason)
Sets if the agent or the caller terminated the call.
|
void |
setTalkTime(Long talkTime)
Sets the amount of time the caller talked to the agent.
|
getChannel, getMember, getMemberName, getQueue, getUniqueId, getVariables, setChannel, setMember, setMemberName, setQueue, setUniqueId, setVariables
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public AgentCompleteEvent(Object source)
public Long getHoldTime()
public void setHoldTime(Long holdtime)
holdtime
- the amount of time the caller was on hold in seconds.public Long getTalkTime()
public void setTalkTime(Long talkTime)
talkTime
- the amount of time the caller talked to the agent in
seconds.public String getReason()
public void setReason(String reason)
reason
- "agent" if the agent terminated the call, "caller" if the
caller terminated the call.Copyright © 2004–2016. All rights reserved.