Avaya Jtapi Programmer 39-s Guide
The server-side gateway that acts as a secure translator between IP networks and the switch.
The Avaya JTAPI implementation is built on the industry-standard Java Telephony API (JTAPI) but is specifically tailored for Avaya's infrastructure:
Address address = provider.getAddress("5001"); address.addObserver(new CallMonitor()); Use code with caution. 5. Core Telephony Controls
To change an agent's state to "Ready" or "Auxiliary", cast your standard Terminal to a LucentTerminal or leverage the Agent interface via the Call Center package. avaya jtapi programmer 39-s guide
The Provider object is your entry point. Think of it as your application's authenticated session with the telephony system.
public class CallMonitor public static void main(String[] args) throws Exception TsapiPeer peer = new TsapiPeerImpl(); TsapiProvider provider = (TsapiProvider) peer.getProvider( "192.168.1.100", // CM IP "user", "passwd", "switchName" ); provider.initialize();
import java.util.*; import javax.telephony.*; import javax.telephony.events.*; The server-side gateway that acts as a secure
The entry point to the JTAPI system. It represents the connection to the Avaya Communication Manager (the CTI link).
: Obtain and install the TSAPI/JTAPI SDK (available via Avaya DevConnect ).
// Create a new Call object Call call = provider.createCall(); Core Telephony Controls To change an agent's state
[ Java Application ] │ (Standard JTAPI / Avaya Extensions) [ Avaya JTAPI Client (JAR) ] │ (TCP/IP Secure Link via TSAPI Service) [ Avaya AES Server ] │ (ASA / Proprietary Link) [ Avaya Communication Manager (CM) ] 2. Setting Up Your Development Environment
| Chapter | What it really means | |--------|----------------------| | | The “what & why” – 3 models (1st, 2nd, third-party call control) | | Platform specifics | Avaya extensions: AvayaTerminal , AvayaCall , AvayaConnection | | Event Model | How to not miss a call state change | | Provider & Services | Login, failover, capabilities | | Advanced features | Call park, pickup, whisper page, monitored agent groups |
// Add a call listener call.addCallListener(new CallListener() public void callEstablished(CallEvent event) System.out.println("Call established");
Here’s how to initiate telephony actions using the objects from your provider.
Outlines requirements for secure connection between the JTAPI client application and the AES server using Transport Layer Security (TLS) .