Package org.freeswitch.esl.client.transport

Examples of org.freeswitch.esl.client.transport.SendMsg


        log.info( "Received event [{}]", event );
    }
   
    private void hangupCall( Channel channel )
    {
        SendMsg hangupMsg = new SendMsg();
        hangupMsg.addCallCommand( "execute" );
        hangupMsg.addExecuteAppName( "hangup" );
       
        EslMessage response = sendSyncMultiLineCommand( channel, hangupMsg.getMsgLines() );
       
        if ( response.getHeaderValue( Name.REPLY_TEXT ).startsWith( "+OK" ) )
        {
            log.info( "Call hangup successful" );
        }
View Full Code Here

TOP

Related Classes of org.freeswitch.esl.client.transport.SendMsg

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.