Q. I observed that adding an observer to terminal takes more than 1 second.
Its quite a slow operation.
I have thousand terminals in my setup.
Initializing JTAPI application with these thousand terminals take lot of time.
I am using two approaches here:
1. To register terminals under a user
2. To create terminal using super provider
Both of the aforementioned approaches require more than 1 second to add observer per terminal.
How I can minimize the time required to add observer.
A. addObserver and addCallObserver typically takes ~150 to 200 milli-seconds to complete if there is no network delay between application machine and CUCM.
Check the CPU on application server, network latency between app server and CUCM, CPU utilization on CUCM.