cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
731
Views
6
Helpful
5
Replies

Application using JTAPI API

asmita_jams
Level 1
Level 1

we are developing application using JTAPI API.
Could you please tell me,how we can receive events using JTAPI. is there any sample application to receive events.


Thanks in advance.

5 Replies 5

dstaudt
Cisco Employee
Cisco Employee

The sample MakeCall application in the JTAPI Developer Guide shows how this can be done:

https://developer.cisco.com/site/collaboration/call-control/jtapi/documentation/

Also see the 'JTAPI XSI Device Data Pass Through Sample Application' on the same page, which shows how to monitor Provider and Terminal events

In general JTAPI events are handled via the Java 'Observer/Observable' pattern:

Observer pattern - Wikipedia, the free encyclopedia

Hello,

I am developing application where i just need incoming call and call end event. i dont want any other functionality for e.g make call. The sample given in developer guide,it includes make call functionality. I designed class which extends Actor class and i have overridden metaEvent() method but still am not able to receive CallCtlTermConnRingingEv event.

Can you please guide if i missed out something .

Thanks in Advavance.

Hi Asmita,

Is your application observing the call?

Thanks,

Adrienne

Hi Adrienne,

My application is not observing the call. I have attached addCallObserver listener to Address.

Still am not able to receive event.

Is this correct way or is  there any other listener that i have to attach?

Thanks,

Asmita

Hi Asmita,

Is the address associated to a device that is registered in CUCM?

Are you able to observer any other addresses?

Is your application receiving any errors? If so, can you provide them?

Thanks,

Adrienne

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: