« Back to Cisco JTAPI Questions

how to use only selected phone monitering events to avoid network traffic

Combination View Flat View Tree View
Threads [ Previous | Next ]
To reduce network traffic, I want to use only selected phone monitering events . Can some one share the idea please.

Syed,
 
Could you be more specific about what you want events you want to monitor, or ignore?
 
There are various "Filter" objects in JTAPI that allow you to essentially "ignore" JTAPI events and not receive them, but they do not cover all of the events. That is to say, some events cannot be ignored currently.
 
Let us know exactly what sort of events you want to blacklist or whitelist, and we can help you more.

I need to get only the availability informatins of all the phones. So how do we filter to get only following events
Call Events:
 
CallObservationEndedEv
ConnConnectedEv
CallCtlConnAlertingEv
CallCtlConnOfferedEv
CallCtlConnEstablishedEv
CallCtlConnDisconnectedEv
 
Terminal Events:

CiscoTermInServiceEv
CiscoTermOutOfServiceEv
CiscoRTPInputStartedEv
CiscoRTPInputStoppedEv
 
 

Sanoop,
 
You can take a look at the CiscoTermEvFilter to limit the number of Terminal Events received. You can use the set methods to turn off events you're not at all interested in. There is a "bare minimum" that JTAPI sends, events which cannot be filtered out, which might be slightly more than you want, but you can reduce network traffic by using the filter and turning off what you don't need.
 
Currently, there is no filter for Call Events at the JTAPI layer.