public abstract class AbstractAgentEvent extends ManagerEvent
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, prioritysource| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAgentEvent(Object source) |
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel()
Returns the name of the channel.
|
String |
getMember()
Returns the name of the member's interface.
|
String |
getMemberName()
Returns the member name supplied for logging when the member is added.
|
String |
getQueue()
Returns the name of the queue.
|
String |
getUniqueId()
Returns the unique id of the channel.
|
Map<String,String> |
getVariables()
Returns the channel variables if
eventwhencalled is set to vars
in queues.conf. |
void |
setChannel(String channel) |
void |
setMember(String member) |
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, toStringgetSourceprotected AbstractAgentEvent(Object source)
public String getChannel()
public void setChannel(String channel)
public String getUniqueId()
public void setUniqueId(String uniqueId)
public String getQueue()
public void setQueue(String queue)
public String getMember()
public void setMember(String member)
public String getMemberName()
public void setMemberName(String memberName)
public Map<String,String> getVariables()
eventwhencalled is set to vars
in queues.conf.Available since Asterisk 1.6
Copyright © 2004–2020. All rights reserved.