Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/main/java/org/asteriskjava/manager/action/PlayDtmfAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class PlayDtmfAction extends AbstractManagerAction {
private String channel;
private String digit;
private Integer duration = null;
private Boolean receive;

/**
* Creates a new empty PlayDtmfAction.
Expand All @@ -62,6 +63,26 @@ public String getAction() {
return "PlayDTMF";
}

/**
* Returns the 'receive' property of this action.
* (since asterisk 16.7.0)
*
* @return the receive property, or null if not set
*/
public Boolean getReceive() {
return this.receive;
}

/**
* Set the receive property of the action.
* (since asterisk 16.7.0)
*
* @param receive value for receive, or null to unset
*/
public void setReceive(Boolean receive) {
this.receive = receive;
}

/**
* Returns the name of the channel to send the digit to.
*
Expand Down