CM API which requires only an IP_API_A registration ($40 list per port) in CM, plus the STA/IP_STA license for the station. It exposes shared control methods for the phone much like IP Agent/IP Softphone.
Generally, this will require AE Services on CM3, or a dedicated CMAPI server on linux for CM1/2. AEServices requires no additional license for CMAPI but is capable of TSAPI (Avaya CT) and other legacy CTI APIs concurrent with the CMAPI (additional cost of course). The cost for an AE Services solution is $30 list if you have a Red Hat ES 3.0 box you can supply, else about $5000 for an Avaya provided "turnkey" solution on IBM x306 (s8500). The license provided with the $30 SW Only offer is all you need on the AES box for CMAPI solutions.
CMAPI SDK is free for devconnect members (also free for corporate developers with limited support). Premier devconnect memberships with support will start to cost you, but if you are sharp with Java, CMAPI SDK resources can probably get you going.