|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.AtxferAction
public class AtxferAction
Starts an attended transfer. This action seems to be a bit of a hack. See http://bugs.digium.com/view.php?id=12158 for details.
Available since Asterisk 1.6
| Constructor Summary | |
|---|---|
AtxferAction()
Creates a new empty AtxferAction. |
|
AtxferAction(String channel,
String context,
String exten,
Integer priority)
Creates a new AtxferAction that initiates an attended transfer of the given channel to the given context, extension, priority triple. |
|
| Method Summary | |
|---|---|
String |
getAction()
Returns the name of this action, i.e. |
String |
getChannel()
Returns name of the channel to transfer. |
String |
getContext()
Returns the destination context. |
String |
getExten()
Returns the destination extension. |
Integer |
getPriority()
Returns the destination priority. |
void |
setChannel(String channel)
Sets name of the channel to transfer. |
void |
setContext(String context)
Sets the destination context. |
void |
setExten(String exten)
Sets the destination extension. |
void |
setPriority(Integer priority)
Sets the destination priority. |
| Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
|---|
getActionId, setActionId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AtxferAction()
public AtxferAction(String channel,
String context,
String exten,
Integer priority)
channel - the name of the channel to transfercontext - the destination contextexten - the destination extensionpriority - the destination priority| Method Detail |
|---|
public String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic String getChannel()
public void setChannel(String channel)
channel - the name of the channel to transferpublic String getContext()
public void setContext(String context)
context - the destination contextpublic String getExten()
public void setExten(String exten)
exten - the destination extensionpublic Integer getPriority()
public void setPriority(Integer priority)
priority - the destination priority
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||