Package org.asteriskjava.live

Examples of org.asteriskjava.live.Extension


        firePropertyChange(PROPERTY_ACCOUNT, oldAccount, account);
    }

    public Extension getCurrentExtension()
    {
        final Extension extension;

        synchronized (extensionHistory)
        {
            if (extensionHistory.isEmpty())
            {
View Full Code Here


        return extension;
    }

    public Extension getFirstExtension()
    {
        final Extension extension;

        synchronized (extensionHistory)
        {
            if (extensionHistory.isEmpty())
            {
View Full Code Here

     * @param date      the date the extension has been visited.
     * @param extension the visted dialplan entry to add.
     */
    void extensionVisited(Date date, Extension extension)
    {
        final Extension oldCurrentExtension = getCurrentExtension();
        final ExtensionHistoryEntry historyEntry;

        historyEntry = new ExtensionHistoryEntry(date, extension);

        synchronized (extensionHistory)
View Full Code Here

        firePropertyChange(PROPERTY_DTMF_SENT, oldDtmfSent, digit);
    }

    void setParkedAt(Extension parkedAt)
    {
        final Extension oldParkedAt = this.parkedAt;

        this.parkedAt = parkedAt;
        firePropertyChange(PROPERTY_PARKED_AT, oldParkedAt, parkedAt);
    }
View Full Code Here

        firePropertyChange(PROPERTY_ACCOUNT, oldAccount, account);
    }

    public Extension getCurrentExtension()
    {
        final Extension extension;

        synchronized (extensionHistory)
        {
            if (extensionHistory.isEmpty())
            {
View Full Code Here

        return extension;
    }

    public Extension getFirstExtension()
    {
        final Extension extension;

        synchronized (extensionHistory)
        {
            if (extensionHistory.isEmpty())
            {
View Full Code Here

     * @param date      the date the extension has been visited.
     * @param extension the visted dialplan entry to add.
     */
    void extensionVisited(Date date, Extension extension)
    {
        final Extension oldCurrentExtension = getCurrentExtension();
        final ExtensionHistoryEntry historyEntry;

        historyEntry = new ExtensionHistoryEntry(date, extension);

        synchronized (extensionHistory)
View Full Code Here

        firePropertyChange(PROPERTY_DTMF_SENT, oldDtmfSent, digit);
    }

    void setParkedAt(Extension parkedAt)
    {
        final Extension oldParkedAt = this.parkedAt;

        this.parkedAt = parkedAt;
        firePropertyChange(PROPERTY_PARKED_AT, oldParkedAt, parkedAt);
    }
View Full Code Here

TOP

Related Classes of org.asteriskjava.live.Extension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.