public class OriginateResponseEvent extends ResponseEvent
OriginateAction
,
Serialized FormactionId
callerIdName, callerIdNum, channelState, channelStateDesc, connectedLineName, connectedLineNum, context, exten, priority
source
Constructor and Description |
---|
OriginateResponseEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getApplication() |
String |
getChannel()
Returns the name of the channel to connect to the outgoing call.
|
String |
getData() |
Integer |
getReason() |
String |
getResponse()
Returns the result of the corresponding Originate action.
|
String |
getUniqueId()
Returns the unique id of the originated channel.
|
boolean |
isSuccess() |
void |
setApplication(String application) |
void |
setCallerId(String callerId) |
void |
setChannel(String channel)
Sets the name of the channel to connect to the outgoing call.
|
void |
setData(String data) |
void |
setReason(Integer reason) |
void |
setResponse(String response)
Sets the result of the corresponding Originate action.
|
void |
setUniqueId(String uniqueId) |
getActionId, getInternalActionId, setActionId, setInternalActionId
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 OriginateResponseEvent(Object source)
source
- public String getResponse()
public void setResponse(String response)
response
- "Success" or "Failure"public boolean isSuccess()
public String getChannel()
public void setChannel(String channel)
public Integer getReason()
public void setReason(Integer reason)
public String getUniqueId()
public void setUniqueId(String uniqueId)
public void setCallerId(String callerId)
public String getData()
public void setData(String data)
public String getApplication()
public void setApplication(String application)
Copyright © 2004–2024. All rights reserved.