All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.pbx.asterisk.wrap.events.AbstractParkedCallEvent Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.events;

import org.asteriskjava.pbx.InvalidChannelName;
import org.asteriskjava.util.Log;
import org.asteriskjava.util.LogFactory;

public class AbstractParkedCallEvent extends ChannelEventHelper {
    private static final long serialVersionUID = 1L;

    @SuppressWarnings("unused")
    private static final Log logger = LogFactory.getLog(AbstractParkedCallEvent.class);

    private final String exten;
    private final String parkingLot;

    AbstractParkedCallEvent(final org.asteriskjava.manager.event.AbstractParkedCallEvent event) throws InvalidChannelName {
        super(event.getParkeeChannel(), event.getUniqueId(), event.getCallerIdNum(), event.getCallerIdName());
        this.exten = event.getExten();
        this.parkingLot = event.getParkingLot();
    }

    public String getExten() {
        return this.exten;
    }

    public String getParkingLot() {
        return this.parkingLot;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy