public class AgentConnectEvent extends AbstractAgentEvent
It is implemented in apps/app_queue.c.
Available since Asterisk 1.2
source| Constructor and Description |
|---|
AgentConnectEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBridgedChannel()
Returns the unique ID of the queue member channel that is taking the
call.
|
Long |
getHoldTime()
Returns the amount of time the caller was on hold.
|
Long |
getRingtime()
Returns the amount of time the agent's channel was ringing before answered.
|
void |
setBridgedChannel(String bridgedChannel)
Sets the unique ID of the queue member channel that is taking the call.
|
void |
setHoldTime(Long holdtime)
Sets the amount of time the caller was on hold.
|
void |
setRingtime(Long ringtime) |
getChannel, getMember, getMemberName, getQueue, getUniqueId, getVariables, setChannel, setMember, setMemberName, setQueue, setUniqueId, setVariablesappendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toStringgetSourcepublic AgentConnectEvent(Object source)
public Long getHoldTime()
public void setHoldTime(Long holdtime)
holdtime - the amount of time the caller was on hold in seconds.public String getBridgedChannel()
Available since Asterisk 1.4.
public void setBridgedChannel(String bridgedChannel)
bridgedChannel - the unique ID of the queue member channel that is
taking the call.public Long getRingtime()
Available since Asterisk 1.6.
public void setRingtime(Long ringtime)
Copyright © 2004–2016. All rights reserved.