|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.sf.asterisk.manager.event.ManagerEvent
net.sf.asterisk.manager.event.ResponseEvent
net.sf.asterisk.manager.event.ParkedCallEvent
public class ParkedCallEvent
A ParkedCallEvent is triggered when a channel is parked (in this case no
action id is set) and in response to a ParkedCallsAction.
It is implemented in res/res_features.c
ParkedCallsAction,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ParkedCallEvent(java.lang.Object source)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCallerId()
Returns the Caller*ID number of the parked channel. |
java.lang.String |
getCallerIdName()
Returns the Caller*ID name of the parked channel. |
java.lang.String |
getChannel()
Returns the name of the channel that is parked. |
java.lang.String |
getExten()
Returns the extension the channel is parked at. |
java.lang.String |
getFrom()
Returns the name of the channel that parked the call. |
java.lang.Integer |
getTimeout()
Returns the number of seconds this call will be parked. This corresponds to the parkingtime option in
features.conf. |
java.lang.String |
getUniqueId()
Returns the unique id of the parked channel. |
void |
setCallerId(java.lang.String callerId)
Sets the Caller*ID number of the parked channel. |
void |
setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID name of the parked channel. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel that is parked. |
void |
setExten(java.lang.String exten)
Sets the extension the channel is parked at. |
void |
setFrom(java.lang.String from)
Sets the name of the channel that parked the call. |
void |
setTimeout(java.lang.Integer timeout)
Sets the number of seconds this call will be parked. |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the parked channel. |
| Methods inherited from class net.sf.asterisk.manager.event.ResponseEvent |
|---|
getActionId, getInternalActionId, setActionId, setInternalActionId |
| Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent |
|---|
getDateReceived, getPrivilege, setDateReceived, setPrivilege, 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 ParkedCallEvent(java.lang.Object source)
source - | Method Detail |
|---|
public java.lang.String getExten()
public void setExten(java.lang.String exten)
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
public java.lang.Integer getTimeout()
parkingtime option in
features.conf.
public void setTimeout(java.lang.Integer timeout)
public java.lang.String getCallerId()
public void setCallerId(java.lang.String callerId)
callerId - the Caller*ID number of the parked channel.public java.lang.String getCallerIdName()
public void setCallerIdName(java.lang.String callerIdName)
callerIdName - the Caller*ID name of the parked channel.public java.lang.String getUniqueId()
public void setUniqueId(java.lang.String uniqueId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||