let me explain in detail.
I don't want to record calls.
I am using JTAPI for integrating my application with avaya. I want sample code which is for monitering the agent's extension.
If the agent got call or made call in his extension, some events should be raised in my code like(connections established event).