Package org.asteriskjava.manager.action

Examples of org.asteriskjava.manager.action.PauseMixMonitorAction


   
    public void pauseMixMonitor(MixMonitorDirection direction) throws ManagerCommunicationException, NoSuchChannelException
    {
        ManagerResponse response;
        response = server.sendAction(new PauseMixMonitorAction(this.name,1,direction.getStateName()));
        if (response instanceof ManagerError) {
            throw new NoSuchChannelException("Channel '" + name + "' is not available: " + response.getMessage());
        }
    }
View Full Code Here


   
    public void unPauseMixMonitor(MixMonitorDirection direction) throws ManagerCommunicationException, NoSuchChannelException
    {
        ManagerResponse response;
        response = server.sendAction(new PauseMixMonitorAction(this.name,0,direction.getStateName()));       
        if (response instanceof ManagerError) {
            throw new NoSuchChannelException("Channel '" + name + "' is not available: " + response.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of org.asteriskjava.manager.action.PauseMixMonitorAction

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.