public class OriginateResponseEvent extends ResponseEvent
OriginateAction
,
Serialized Formsource
Constructor and Description |
---|
OriginateResponseEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
String |
getCallerIdName()
Returns the Caller*ID Name of the originated channel.
|
String |
getCallerIdNum()
Returns the Caller*ID Number of the originated channel.
|
String |
getChannel()
Returns the name of the channel to connect to the outgoing call.
|
String |
getContext()
Returns the name of the context of the extension to connect to.
|
String |
getExten()
Returns the the extension to connect to.
|
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 |
setCallerId(String callerId) |
void |
setCallerIdName(String callerIdName) |
void |
setCallerIdNum(String callerId) |
void |
setChannel(String channel)
Sets the name of the channel to connect to the outgoing call.
|
void |
setContext(String context)
Sets the name of the context of the extension to connect to.
|
void |
setExten(String exten)
Sets the the extension to connect to.
|
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, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, 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 String getContext()
public void setContext(String context)
public String getExten()
public void setExten(String exten)
public Integer getReason()
public void setReason(Integer reason)
public String getUniqueId()
public void setUniqueId(String uniqueId)
public String getCallerIdNum()
Available sind Asterisk 1.4.
null
if none was set.public void setCallerIdNum(String callerId)
public void setCallerId(String callerId)
public String getCallerIdName()
Available sind Asterisk 1.4.
null
if none was set.public void setCallerIdName(String callerIdName)
Copyright © 2004–2016. All rights reserved.