|
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(java.lang.String channel,
java.lang.String digit)
Creates a new PlayDtmfAction that sends the given DTMF digit to the given channel. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getChannel()
Returns the name of the channel to send the digit to. |
java.lang.String |
getDigit()
Returns the DTMF digit to play. |
void |
setChannel(java.lang.String channel)
Sets the name of the channel to send the digit to. |
void |
setDigit(java.lang.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(java.lang.String channel, java.lang.String digit)
channel
- the name of the channel to send the digit to.digit
- the DTML digit to play.Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getChannel()
public void setChannel(java.lang.String channel)
channel
- the name of the channel to send the digit to.public java.lang.String getDigit()
public void setDigit(java.lang.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 |