/mcpThe following interface specifies whether the message waiting indicator should be activated or deactivated for the address that the destination specifies. If enable is true, message waiting activates if not already activated. If enable is false, message waiting deactivates if not already deactivated. { public void setMessageWaiting (java.lang.String destination, boolean enable) throws javax.telephony.MethodNotSupportedException, javax.telephony.InvalidStateException, javax.telephony.PrivilegeViolationException } Shared Line Support Shared line represents the same DN appearances on multiple terminals. CiscoJtapi provides support for Shared Line, which provides applications with the ability to control shared DN terminals, hold a call on one shared DN Terminal and unhold the same call from another shared DN Terminal, make calls between two shared lines, initiate a call from one shared line terminal while another active call exists on another shared line terminal with the same DN. Share line provides the following interfaces: • CiscoAddress.getInServiceAddrTerminals()—Returns an array of terminals for which the address is in service. Terminal {} getInServiceAddrTerminals(); • CiscoAddrOutOfService.getTerminal()—Returns the terminal that is going out of service. Terminal getTerminal(); • CiscoAddrInService.getTerminal()—Returns the terminal that is going in service. Terminal getTerminal(); • CiscoConnection.setRequestController(TerminalConnection tc)—Allows an application to select a terminalConnection that is associated with a connection on which you can perform park, redirect, or disconnect operations. You need to do this in a situation where more than one active TerminalConnection exists in a SharedLine scenario. • CiscoConnection.getRequestController()—Returns TerminalConnection that application sets as request controller. • CiscoAddrAddedToTerminalEv—Gets sent when the following conditions occur: • A Terminal/Device gets added into the user controlList that contains a SharedDN, which sends the event to the application. In other words, if user has an address in control list, and a new device gets added with same address in control list, this event gets sent. • An EM (extension mobility) user logs into the terminal with a profile that contains a SharedDN. In this scenario, this event notifies that a new terminal is added to an already existing Address. • A new SharedDN is added to a device in a user control list Interface getTerminal() returns the terminal that gets added to the address. Interface getAddress() returns the address on which a new terminal is added. Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 165 Features Supported by Cisco Unified JTAPI Shared Line Support