Package org.asteriskjava.manager.action

Examples of org.asteriskjava.manager.action.AgiAction


            }
        });
        dmc.login();
        System.out.println("Dial 1296");
        Thread.sleep(5000);
        ManagerResponse response = dmc.sendAction(new AgiAction(
                "IAX2/iax0-cgn_reucon_net-2",
                "EXEC Playback tt-monkeysintro",
                "myCommandId"));
        System.out.println(response);
View Full Code Here


        this.channelName = channelName;
    }

    public void sendCommand(AgiCommand command) throws AgiException
    {
        final AgiAction agiAction;
        final ManagerResponse response;

        agiAction = new AgiAction(channelName, command.buildCommand());

        try
        {
            response = connection.sendAction(agiAction);
        }
View Full Code Here

TOP

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

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.