McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 155

↗ View in doc context
page
155
source
cucm/v15/jtapi-dev-guide/jtapi-dev-guide.md
chunk_id
cucm::v15::jtapi-dev-guide::jtapi-dev-guide::118

JTAPI sends CiscoTermOutOfServiceEv event to the application with the cause “CiscoOutOfServiceEv.CAUSE_ENERGYWISE_POWER_SAVE_PLUS” when a terminal goes out of service due to Deep Sleep mode configured. JTAPI sends CiscoAddrOutOfServiceEv event to application with a new cause “CiscoOutOfServiceEv.CAUSE_ENERGYWISE_POWER_SAVE_PLUS” when an address goes out of service due to Deep Sleep mode configured. Interface Changes public interface CiscoProvTerminalUnRegisteredEv When a terminal unregisters from the Cisco Unified CM because of Deep Sleep mode, JTAPI sends CiscoProvTerminalUnregisteredEv to the application with the reason “ENERGYWISE_POWER_SAVE_PLUS”. Field Summary ENERGYWISE_POWER_SAVE_PLUS public static final int Reason Codes ENERGYWISE_POWER_SAVE_PLUS Sample Code:public class MyTermObserver implements ProviderObserver { public void providerChangedEvent (ProvEv[] evlist) { for(int i = 0; evlist ! = null && i < evlist.length; i++){ … … If ( evlisth[i] instanceof CiscoProvTerminalUnregisteredEv){ CiscoProvTerminalUnregisteredEv ev

(CiscoProvTerminalUnregisteredEv)evlist[i]; if(ev.getReason()

= CiscoProvTerminalUnregisteredEv.ENERGYWISE_POWER_SAVE_MODE){ System.out.println(“Terminal Unregistered from CUCM because of deep with the reason as ENERGYWISE_POWER_SAVE_PLUS ”); } public interface CiscoOutOfServiceEv When a terminal/address unregisters from the Cisco Unified CM because of deep sleep mode, Jtapi delivers CiscoTermOutOfServiceEv and CiscoAddrOutOfServiceEv to the application with this new cause “CAUSE_ENERGYWISE_POWER_SAVE_PLUS”. Field Summary CAUSE_ENERGYWISE_POWER_SAVE_PLUS public static final int Cause Code CAUSE_ENERGYWISE_POWER_SAVE_PLUS Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 91 Features Supported by Cisco Unified JTAPI EnergyWise Deep Sleep Mode

Page 155 diagram