public class AtxferAction extends AbstractManagerAction
Available since Asterisk 1.6
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getActionId, setActionId, toString
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 prioritypublic String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public 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 priorityCopyright © 2004–2020. All rights reserved.