public class AgentCalledEvent extends ManagerEvent
eventwhencalled = yes
in queues.conf
. apps/app_queue.c
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
AgentCalledEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getAccountcode() |
String |
getAgentCalled()
Returns the member interface of the agent that has been called.
|
String |
getAgentName()
Deprecated.
use instead (asterisk 13)
|
String |
getCallerId()
Deprecated.
as of 1.0.0, use
ManagerEvent.getCallerIdNum() instead. |
String |
getChannel() |
String |
getChannelCalling()
Returns the name of the caller's channel that is about to be handled by
the agent.
|
String |
getDestAccountCode() |
String |
getDestCallerIdName() |
String |
getDestCallerIdNum() |
String |
getDestChannel() |
String |
getDestChannelState() |
String |
getDestChannelStateDesc() |
String |
getDestConnectedLineName() |
String |
getDestConnectedLineNum() |
String |
getDestContext() |
String |
getDestExten() |
String |
getDestinationChannel()
Returns the name of the channel calling the agent.
|
String |
getDestLanguage() |
String |
getDestLinkedId() |
String |
getDestPriority() |
String |
getDestUniqueId() |
String |
getExtension() |
String |
getInterface() |
String |
getLanguage() |
String |
getLinkedId() |
String |
getMemberName()
Returns the Queue Member name.
|
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 |
setAccountcode(String accountcode) |
void |
setAgentCalled(String agentCalled)
Sets the member interface of the agent that has been called.
|
void |
setAgentName(String agentName)
Deprecated.
|
void |
setCallerId(String callerId)
Sets the Caller ID number of the caller's channel.
|
void |
setChannel(String channel) |
void |
setChannelCalling(String channelCalling)
Sets the name of the caller's channel.
|
void |
setDestAccountCode(String destAccountCode) |
void |
setDestCallerIdName(String destCallerIdName) |
void |
setDestCallerIdNum(String destCallerIdNum) |
void |
setDestChannel(String destChannel) |
void |
setDestChannelState(String destChannelState) |
void |
setDestChannelStateDesc(String destChannelStateDesc) |
void |
setDestConnectedLineName(String destConnectedLineName) |
void |
setDestConnectedLineNum(String destConnectedLineNum) |
void |
setDestContext(String destContext) |
void |
setDestExten(String destExten) |
void |
setDestinationChannel(String destinationChannel) |
void |
setDestLanguage(String destLanguage) |
void |
setDestLinkedId(String destLinkedId) |
void |
setDestPriority(String destPriority) |
void |
setDestUniqueId(String destUniqueId) |
void |
setExtension(String extension) |
void |
setInterface(String iface) |
void |
setLanguage(String language) |
void |
setLinkedId(String linkedId) |
void |
setMemberName(String memberName) |
void |
setQueue(String queue) |
void |
setUniqueId(String uniqueId) |
void |
setVariables(Map<String,String> variables)
Sets the channel variables.
|
appendPropertyIfNotNull, getCallerIdName, getCallerIdNum, getChannelState, getChannelStateDesc, getConnectedLineName, getConnectedLineNum, getContext, getDateReceived, getExten, getFile, getFunc, getLine, getPriority, getPrivilege, getSequenceNumber, getServer, getSystemName, getTimestamp, setCallerIdName, setCallerIdNum, setChannelState, setChannelStateDesc, setConnectedLineName, setConnectedLineNum, setContext, setDateReceived, setExten, setFile, setFunc, setLine, setPriority, setPrivilege, setSequenceNumber, setServer, setSystemName, 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.@Deprecated public String getAgentName()
Available since Asterisk 1.6.
@Deprecated 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)
@Deprecated public String getCallerId()
ManagerEvent.getCallerIdNum()
instead.public void setCallerId(String callerId)
callerId
- the Caller ID number of the caller's channel.public String getExtension()
public void setExtension(String extension)
public String getUniqueId()
getChannelCalling()
.
Available since Asterisk 1.6
public void setUniqueId(String uniqueId)
public String getMemberName()
Available since Asterisk 13 replace agentName
public void setMemberName(String memberName)
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 getDestExten()
public void setDestExten(String destExten)
destExten
- the destExten to setpublic String getDestChannelStateDesc()
public void setDestChannelStateDesc(String destChannelStateDesc)
destChannelStateDesc
- the destChannelStateDesc to setpublic String getDestUniqueId()
public void setDestUniqueId(String destUniqueId)
destUniqueId
- the destUniqueId to setpublic String getDestConnectedLineNum()
public void setDestConnectedLineNum(String destConnectedLineNum)
destConnectedLineNum
- the destConnectedLineNum to setpublic String getDestCallerIdName()
public void setDestCallerIdName(String destCallerIdName)
destCallerIdName
- the destCallerIdName to setpublic String getDestCallerIdNum()
public void setDestCallerIdNum(String destCallerIdNum)
destCallerIdNum
- the destCallerIdNum to setpublic String getDestContext()
public void setDestContext(String destContext)
destContext
- the destContext to setpublic String getDestPriority()
public void setDestPriority(String destPriority)
destPriority
- the destPriority to setpublic String getDestChannel()
public void setDestChannel(String destChannel)
destChannel
- the destChannel to setpublic String getDestChannelState()
public void setDestChannelState(String destChannelState)
destChannelState
- the destChannelState to setpublic String getInterface()
public void setInterface(String iface)
iface
- the iface to setpublic String getChannel()
public void setChannel(String channel)
channel
- the channel to setpublic String getDestConnectedLineName()
public void setDestConnectedLineName(String destConnectedLineName)
destConnectedLineName
- the destConnectedLineName to setpublic String getDestAccountCode()
public void setDestAccountCode(String destAccountCode)
public String getLanguage()
public void setLanguage(String language)
public String getDestLanguage()
public void setDestLanguage(String destLanguage)
public String getLinkedId()
public void setLinkedId(String linkedId)
public String getDestLinkedId()
public void setDestLinkedId(String destLinkedId)
public String getAccountcode()
public void setAccountcode(String accountcode)
Copyright © 2004–2024. All rights reserved.