public class AgentCalledEvent extends ManagerEvent
eventwhencalled = yes
in queues.conf
.
apps/app_queue.c
source
Constructor and Description |
---|
AgentCalledEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAgentCalled()
Returns the member interface of the agent that has been called.
|
String |
getAgentName()
Returns the name of the agent that has been called.
|
String |
getCallerId()
Deprecated.
as of 1.0.0, use
getCallerIdNum() instead. |
String |
getCallerIdName()
Returns the Caller ID name of the caller's channel.
|
String |
getCallerIdNum()
Returns the Caller ID number of the caller's channel.
|
String |
getChannelCalling()
Returns the name of the caller's channel that is about to be handled by
the agent.
|
String |
getConnectedlinename()
Returns the Caller*ID name of the channel connected if set.
|
String |
getConnectedlinenum()
Returns the Caller*ID number of the channel connected if set.
|
String |
getContext() |
String |
getDestinationChannel()
Returns the name of the channel calling the agent.
|
String |
getExtension() |
String |
getPriority() |
String |
getQueue()
Returns the name of the queue.
|
String |
getUniqueId()
Returns the unique id of the caller's channel that is about to be handled by
the agent.
|
Map<String,String> |
getVariables()
Returns the channel variables if
eventwhencalled is set to vars
in queues.conf . |
void |
setAgentCalled(String agentCalled)
Sets the member interface of the agent that has been called.
|
void |
setAgentName(String agentName) |
void |
setCallerId(String callerId)
Sets the Caller ID number of the caller's channel.
|
void |
setCallerIdName(String callerIdName)
Sets the Caller ID name of the caller's channel.
|
void |
setCallerIdNum(String callerIdNum) |
void |
setChannelCalling(String channelCalling)
Sets the name of the caller's channel.
|
void |
setConnectedlinename(String connectedlinename) |
void |
setConnectedlinenum(String connectedlinenum) |
void |
setContext(String context) |
void |
setDestinationChannel(String destinationChannel) |
void |
setExtension(String extension) |
void |
setPriority(String priority) |
void |
setQueue(String queue) |
void |
setUniqueId(String uniqueId) |
void |
setVariables(Map<String,String> variables)
Sets the channel variables.
|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public AgentCalledEvent(Object source)
source
- public String getQueue()
Available since Asterisk 1.6.
public void setQueue(String queue)
public String getAgentCalled()
QueueMemberEvent.getLocation()
public void setAgentCalled(String agentCalled)
agentCalled
- the member interface of the agent that has been
called.public String getAgentName()
Available since Asterisk 1.6.
public void setAgentName(String agentName)
public String getChannelCalling()
public void setChannelCalling(String channelCalling)
channelCalling
- the name of the caller's channel.public String getDestinationChannel()
Available since Asterisk 1.6
public void setDestinationChannel(String destinationChannel)
public String getCallerIdNum()
public void setCallerIdNum(String callerIdNum)
@Deprecated public String getCallerId()
getCallerIdNum()
instead.public void setCallerId(String callerId)
callerId
- the Caller ID number of the caller's channel.public String getCallerIdName()
public void setCallerIdName(String callerIdName)
callerIdName
- the Caller ID name of the caller's channel.public String getContext()
public void setContext(String context)
public String getExtension()
public void setExtension(String extension)
public String getPriority()
public void setPriority(String priority)
public String getUniqueId()
getChannelCalling()
.Available since Asterisk 1.6
public void setUniqueId(String uniqueId)
public Map<String,String> getVariables()
eventwhencalled
is set to vars
in queues.conf
.Available since Asterisk 1.6
public void setVariables(Map<String,String> variables)
Available since Asterisk 1.6
variables
- the channel variables.public String getConnectedlinename()
public void setConnectedlinename(String connectedlinename)
public String getConnectedlinenum()
public void setConnectedlinenum(String connectedlinenum)
Copyright © 2004–2016. All rights reserved.