I am trying to press keys programmatically using Cisco JTapi. Right now I am able to make calls and receive calls using JTapi. However, I cannot find any relevant information regarding key presses. Could anyone tell me how to do this or point me in the right direction. Any help would be greatly appreciated.
In order to execute key presses on a cisco phone using Jtapi, the sendData command can be used on a CiscoTerminal. Example
ciscoterminal.sendData("<CiscoIPPhoneExecute><ExecuteItem URL='Key:Applications'/><ExecuteItem URL='Key:KeyPad0'/></CiscoIPPhoneExecute>");
The above example presses the applications button(settings) and then the button 0. Be sure that the data sent is below 1000 bytes otherwise the request will be rejected.