|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.ResponseEvent
org.asteriskjava.manager.event.OriginateResponseEvent
public class OriginateResponseEvent
Response to an OriginateAction.
OriginateAction
,
Serialized FormField Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
OriginateResponseEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getCallerIdName()
Returns the Caller*ID Name of the originated channel. |
java.lang.String |
getCallerIdNum()
Returns the Caller*ID Number of the originated channel. |
java.lang.String |
getChannel()
Returns the name of the channel to connect to the outgoing call. |
java.lang.String |
getContext()
Returns the name of the context of the extension to connect to. |
java.lang.String |
getExten()
Returns the the extension to connect to. |
java.lang.Integer |
getReason()
|
java.lang.String |
getResponse()
Returns the result of the corresponding Originate action. |
java.lang.String |
getUniqueId()
Returns the unique id of the originated channel. |
boolean |
isSuccess()
|
void |
setCallerId(java.lang.String callerId)
|
void |
setCallerIdName(java.lang.String callerIdName)
|
void |
setCallerIdNum(java.lang.String callerId)
|
void |
setChannel(java.lang.String channel)
Sets the name of the channel to connect to the outgoing call. |
void |
setContext(java.lang.String context)
Sets the name of the context of the extension to connect to. |
void |
setExten(java.lang.String exten)
Sets the the extension to connect to. |
void |
setReason(java.lang.Integer reason)
|
void |
setResponse(java.lang.String response)
Sets the result of the corresponding Originate action. |
void |
setUniqueId(java.lang.String uniqueId)
|
Methods inherited from class org.asteriskjava.manager.event.ResponseEvent |
---|
getActionId, getInternalActionId, setActionId, setInternalActionId |
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent |
---|
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OriginateResponseEvent(java.lang.Object source)
source
- Method Detail |
---|
public java.lang.String getResponse()
public void setResponse(java.lang.String response)
response
- "Success" or "Failure"public boolean isSuccess()
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.String getContext()
public void setContext(java.lang.String context)
public java.lang.String getExten()
public void setExten(java.lang.String exten)
public java.lang.Integer getReason()
public void setReason(java.lang.Integer reason)
public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
public java.lang.String getCallerIdNum()
Available sind Asterisk 1.4.
null
if none was set.public void setCallerIdNum(java.lang.String callerId)
public void setCallerId(java.lang.String callerId)
public java.lang.String getCallerIdName()
Available sind Asterisk 1.4.
null
if none was set.public void setCallerIdName(java.lang.String callerIdName)
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |