public class PlayDtmfAction extends AbstractManagerAction
It is definied in apps/app_senddtmf.c
.
Available since Asterisk 1.2.8
Constructor and Description |
---|
PlayDtmfAction()
Creates a new empty PlayDtmfAction.
|
PlayDtmfAction(String channel,
String digit)
Creates a new PlayDtmfAction that sends the given DTMF digit to the given channel.
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getChannel()
Returns the name of the channel to send the digit to.
|
String |
getDigit()
Returns the DTMF digit to play.
|
void |
setChannel(String channel)
Sets the name of the channel to send the digit to.
|
void |
setDigit(String digit)
Sets the DTMF digit to play.
|
getActionId, setActionId, toString
public 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 send the digit to.public String getDigit()
public void setDigit(String digit)
digit
- the DTMF digit to play.Copyright © 2004–2020. All rights reserved.