@@ -0,0 +1,2091 @@
+/*%0A *  Copyright 2004-2006 Stefan Reuter%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 */%0Apackage org.asteriskjava.manager.action;%0A%0Aimport org.asteriskjava.manager.action.AbstractManagerAction;%0A%0A/**%0A * %3Ca href=%22https://wiki.asterisk.org/wiki/display/AST/ManagerAction_LocalOptimizeAway%22%3ELocalOptimizeAway%3C/a%3E action -- Optimize away a local channel when possible.%0A * %3Cp%3E%0A * Available since Asterisk 1.8%0A *%0A * @author SYON Communications Inc.%0A */%0Apublic class LocalOptimizeAwayAction extends AbstractManagerAction%0A%7B%0A    /**%0A     * Serializable version identifier.%0A     */%0A    private static final long serialVersionUID = 1L;%0A    private String channel;%0A%0A    /**%0A     * Creates a new empty LocalOptimizeAwayAction.%0A     */%0A    public LocalOptimizeAwayAction()%0A    %7B%0A%0A    %7D%0A%0A    /**%0A     * Creates a new LocalOptimizeAwayAction with channel name.%0A     *%0A     * @param channel Name of the channel for clears the flag.%0A     */%0A    public LocalOptimizeAwayAction(String channel)%0A    %7B%0A%09this.channel = channel;%0A    %7D%0A%0A    /**%0A     * Returns the name of this action, i.e. %22LocalOptimizeAway%22.%0A     */%0A    @Override%0A    public String getAction()%0A    %7B%0A%09return %22LocalOptimizeAway%22;%0A    %7D%0A%0A    /**%0A     * Sets the name of the channel.%0A     *%0A     * @return Name of the channel for clears the flag.%0A     */%0A    public String getChannel()%0A    %7B%0A%09return channel;%0A    %7D%0A%0A    /**%0A     * Returns the name of tha channel.%0A     *%0A     * @param channel Name of the channel for clears the flag.%0A     */%0A    public void setChannel(String channel)%0A    %7B%0A%09this.channel = channel;%0A    %7D%0A%0A%7D%0A%0A

Add support for LocalOptimizeAway action.