/mcpFor virtual devices with no firmware such as CTI Ports and CTI RoutePoints, the CTIManager or Cisco Unified JTAPI performs the failover. Device State Server The Device State server provides the cumulative state of all the addresses on a terminal. These events are delivered as TerminalEvent. Applications need to add TerminalObserver to get these events. The states follow: • IDLE—If no calls exist on any of the addresses on the terminal, consider the DeviceState as IDLE, and Cisco Unified JTAPI sends CiscoTermDeviceStateIdleEv to applications. • ACTIVE—If any addresses on the terminal have an outgoing call (in CTI State Dialtone, Dialing, Proceeding, Ringback, or Connected) or an incoming call (in CTI State Connected), the consider DeviceState as ACTIVE, and Cisco Unified JTAPI sends CiscoTermDeviceStateActiveEv to the application. • ALERTING—If address on the terminal has an outgoing call (in CTI State Dialtone, Dialing, Proceeding, Ringback, or Connected) or an incoming call (in CTI State Connected) and at least one of the addresses on the terminal has an unanswered incoming call (in CTI State Offering, Accepted, or Tinging), the DeviceState is ALERTING, and Cisco Unified JTAPI sends CiscoTermDeviceStateAlertingEv to the application. • HELD—If all the calls on any of the address on the terminal are held (in CTI State OnHold), the DeviceState is HELD and Cisco Unified JTAPI sends CiscoTermDeviceStateHeldEv to the application. New Events • CiscoTermDeviceDeviceStateIdleEv • CiscoTermDeviceStateActiveEv • CiscoTermDeviceStateAlertingEv • CiscoTermDeviceStateHeldEv New and Changed Interfaces public int getDeviceState() returns the device state of the terminal. The following new interfaces on CiscoTermEvFilter set and get the device state: setDevideStateActiveEvFilter(boolean filterValue) Enables and disables the CiscoTermDeviceStateActiveEv filter.The default value is disable. void setDeviceStateAlertingEvFilter(boolean filterValue) Enables and disables the CiscoTermDeviceAlertingEv filter.Thedefault value is disable. void setDeviceStateHeldEvFilter(boolean filterValue) Enables and disables the CiscoTermDeviceHeldEv filter.Thedefault value is disable. void Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 76 Features Supported by Cisco Unified JTAPI Device State Server