McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 817

↗ View in doc context
page
817
source
cucm/v15/jtapi-dev-guide/jtapi-dev-guide.md
chunk_id
cucm::v15::jtapi-dev-guide::jtapi-dev-guide::820

flush (); } } } protected void makecall () throws ResourceUnavailableException, InvalidStateException, PrivilegeViolationException, MethodNotSupportedException, InvalidPartyException, InvalidArgumentException { println ( "Making call #" + ++iteration + " from " + srcAddress + " to " + destAddress + " " + Thread.currentThread ().getName () ); Call call

srcAddress.getProvider ().createCall (); call.connect ( srcAddress.getTerminals ()[0], srcAddress, destAddress ); setCallProgressState ( false ); println ( "Done making call" ); } protected final void onStart () { stopSignal

new StopSignal (); new ActionThread ().start (); } protected final void fireStateChanged () { checkReadyState (); } protected final void onStop () { stopSignal.stop (); Connection[] connections

srcAddress.getConnections (); try { if ( connections ! = null ) { for (int i = 0; i< connections.length; i++ ) { connections[i].disconnect (); } } } catch ( Exception e ) { println (" Caught Exception " + e); } } public int getReceiverState () { return receiverState; } public void setReceiverState ( int state ) { if ( receiverState ! = state ) { receiverState

state; checkReadyState (); } } public synchronized void checkReadyState () { if ( receiverState

= Actor.ACTOR_IN_SERVICE && state

= Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 753 Cisco Unified JTAPI Examples Originator.java

Page 817 content