Blog
Avaya Jtapi Programmer 39-s Guide -
Extracting contextual business data passed inside the signaling channel of incoming calls.
Download the AE Services JTAPI SDK, usually available on the Avaya DevConnect Portal. avaya jtapi programmer 39-s guide
To initiate an outbound call programmatically, locate the originating terminal and push the call context to a destination number. import com
import com.avaya.jtapi.tsapi.LucentCallInfo; public void logAvayaCallDetails(Call activeCall) if (activeCall instanceof LucentCallInfo) LucentCallInfo avayaCallData = (LucentCallInfo) activeCall; // Extract the absolute UCID assigned by Avaya Communication Manager String ucid = avayaCallData.getUCID(); System.out.println("Avaya Enterprise Tracking UCID: " + ucid); Use code with caution. 7. Advanced Diagnostics and Best Practices Memory Leak Mitigation AgentTerminal agentTerm = (AgentTerminal) provider
This is the most common point of confusion for new Avaya developers.
AgentTerminal agentTerm = (AgentTerminal) provider.getTerminal("5000"); ACDAddress acdAddr = (ACDAddress) provider.getAddress("7000"); agentTerm.setAgentState(AgentTerminal.AGENT_READY, acdAddr); Use code with caution. 7. Best Practices and Troubleshooting
