package org.asteriskjava.manager.action;

/**
 * The ConfbridgeStartAction starts an audio recording of a conference.
 *
 * @author jmb
 * @version $Id$
 */
public class ConfbridgeStartRecordAction extends AbstractManagerAction {

    /**
     * Serializable version identifier
     */
    private static final long serialVersionUID = 3059632508521358701L;

    private String conference;

    /**
     * Creates a new empty ConfbridgeStartRecordAction.
     */
    public ConfbridgeStartRecordAction() {
        super();
    }

    /**
     * Creates a new ConfbridgeStartRecordAction for a specific conference.
     */
    public ConfbridgeStartRecordAction(String conference) {
        this.setConference(conference);
    }

    /**
     * Returns the name of this action, i.e. "ConfbridgeStartRecord".
     */
    @Override
    public String getAction() {
        return "ConfbridgeStartRecord";
    }

    /**
     * Sets the id of the conference for which to start an audio recording.
     */
    public void setConference(String conference) {
        this.conference = conference;
    }

    /**
     * Returns the id of the conference for which to start an audio recording.
     */
    public String getConference() {
        return conference;
    }

}

@@ -1,8 +1,623 @@
+/*%0A * Copyright 2004-2022 Asterisk-Java contributors%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A
 package 
@@ -838,17 +838,16 @@
 ction %7B%0A
-%0A
     /**%0A
@@ -995,16 +995,47 @@
 ference;
+%0A    private String recordFile;
 %0A%0A    /*
@@ -1898,10 +1898,175 @@
 %0A    %7D%0A%0A
+    public String getRecordFile() %7B%0A        return recordFile;%0A    %7D%0A%0A    public void setRecordFile(String recordFile) %7B%0A        this.recordFile = recordFile;%0A    %7D%0A
 %7D%0A

Add recordFile field to ConfbridgeStartRecordAction