Goal: Log an agent into a skill group and set their work mode.
This uses Avaya-specific extensions:
AvayaTerminal terminal = (AvayaTerminal) provider.getTerminal("agent123"); AvayaACDAddress acdAddress = (AvayaACDAddress) provider.getAddress("skill1");// Log in the agent acdAddress.login(terminal, "agent123", null, null);
// Set to Auto-In (ready to take calls) acdAddress.setWorkMode(terminal, AvayaACDAddress.WORK_MODE_AUTO_IN);avaya jtapi programmer 39-s guide
Avaya Communication Manager is mission-critical. Your JTAPI application must be a good citizen.
According to the Programmer’s Guide:
From your code’s perspective, these are your best friends:
📌 Pro tip: The AvayaCallObserver and AvayaTerminalObserver are where you’ll spend 70% of your debugging time.
This is the most common point of confusion for new Avaya developers. Goal: Log an agent into a skill group
Critical Avaya Nuance: If you want to control a phone, you usually need to monitor both the Address and the Terminal.
The guide is not freely available on public repositories due to licensing. You can obtain it via:
File naming convention: Typically 07-300xxx_Avaya_JTAPI_Programmers_Guide.pdf, where xxx changes per release. Avaya Communication Manager is mission-critical