|
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.PlayDtmfAction
public class PlayDtmfAction
The PlayDTMFAction plays a DTMF digit on the specified channel.
It is definied in apps/app_senddtmf.c.
Available since Asterisk 1.2.8
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| 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 PlayDtmfAction()
public PlayDtmfAction(String channel,
String digit)
channel - the name of the channel to send the digit to.digit - the DTML digit to play.| 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 send the digit to.public String getDigit()
public void setDigit(String digit)
digit - the DTMF digit to play.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||