org.asteriskjava.manager.event.UnholdEvent Maven / Gradle / Ivy
Show all versions of asterisk-java Show documentation
/*
* Copyright 2004-2006 Stefan Reuter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package org.asteriskjava.manager.event;
/**
* An UnholdEvent is triggered by the SIP channel driver when a channel is no
* longer put on hold.
*
* It is implemented in channels/chan_sip.c
.
*
* Available since Asterisk 1.2, as of Asterisk 1.6 only
* {@link org.asteriskjava.manager.event.HoldEvent} is sent with the status set
* to false
to indicate unhold.
*
* @author srt
* @version $Id$
* @see org.asteriskjava.manager.event.HoldEvent
* @since 0.2 Enro 2015-03: No longer deprecated since Asterisk 13 uses this
* again.
*/
public class UnholdEvent extends AbstractHoldEvent
{
/**
* Serializable version identifier.
*/
static final long serialVersionUID = 1L;
/**
* Creates a new UnholdEvent.
*
* @param source
*/
public UnholdEvent(Object source)
{
super(source);
setStatus(false);
}
}