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.
|
Integer |
getDuration() |
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.
|
void |
setDuration(Integer duration) |
getActionId, setActionId, toStringpublic String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic 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.public void setDuration(Integer duration)
public Integer getDuration()
Copyright © 2004–2022. All rights reserved.