Package org.asteriskjava.live

Source Code of org.asteriskjava.live.SofthangupTest

/*
* (c) 2004 Stefan Reuter
*
* Created on Oct 28, 2004
*/
package org.asteriskjava.live;

import org.asteriskjava.manager.action.OriginateAction;

/**
* @author srt
* @version $Id$
*/
public class SofthangupTest extends AsteriskServerTestCase
{
    public void testSofthangup() throws Exception
    {
        OriginateAction originate;
       
        originate = new OriginateAction();
        originate.setChannel("Local/1310");
        originate.setContext("default");
        originate.setExten("1340");
        originate.setPriority(1);
       
        //ManagerResponse response = managerConnection.sendAction(originate);
        //System.out.println("Response: " + response);
       
        Thread.sleep(10000);
    }
}
TOP

Related Classes of org.asteriskjava.live.SofthangupTest

TOP
Copyright © 2018 www.massapi.com. 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.