cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
145
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Lucas Ramires Vieira on 11-05-2011 01:38:17 PM
Hi all,
 
Im developing a application to control the Do Not Disturb state on devices.
 
I found on JTapi javadocs, the code for CiscoTerminal, that have the methods getDdnOption() getDndStatus() and setDndStatus(), and it's the method I want, but how do I choose for what device will be this ?
 
Someone can help me??
 
Thanks!

Subject: RE: New Message from Lucas Ramires Vieira in Cisco JTAPI (JTAPI) - Cisco JT
Replied by: Joseph Moskie on 11-05-2011 01:48:29 PM
Lucas,

There are various ways to get Terminal objects in JTAPI. Many events
related to Terminals will send a Terminal object along, to let you know
which Terminal the event happened on. You have to be observing the
Terminal initially to see these events, though.

The simplest way to get you started is to call the .getTerminals()
method on the Provider object after you have connected to JTAPI. This
will give you an array of Terminal objects, which you can iterate
through and check until you find the one that you want. Then you can
check any DND status that you want.
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:

Quick Links