From ea4b3d3ac08ec7ddbbb3ec2b5e5b7dc00f2bcf62 Mon Sep 17 00:00:00 2001 From: Nathan Bruning Date: Thu, 16 Feb 2023 14:55:50 +0100 Subject: [PATCH] Add receive property to PlayDtmfAction --- .../manager/action/PlayDtmfAction.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/main/java/org/asteriskjava/manager/action/PlayDtmfAction.java b/src/main/java/org/asteriskjava/manager/action/PlayDtmfAction.java index 50ea790d5..c0b71995c 100644 --- a/src/main/java/org/asteriskjava/manager/action/PlayDtmfAction.java +++ b/src/main/java/org/asteriskjava/manager/action/PlayDtmfAction.java @@ -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. @@ -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. *