McDewey

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

Page 690

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

Description Method Inteface Reports the terminal protocol (SCCP, SIP, or none) and returns the protocol of this terminal as one of the following constants: • CiscoTerminalProtocol.PROTOCOL_NONE • CiscoTerminalProtocol.PROTOCOL_SCCP • CiscoTerminalProtocol.PROTOCOL_SIP getProtocol() int Sets the DND status, which enables or disables the DND feature. This feature does not apply to route points. Parameters • dndStatus Throws • javax.telephony.InvalidStateException —CiscoTerminal.getState() is not IN_SERVICE. setDNDStatus(booleandndStatus) void Reports the DND status and returns dndStatus. Throws • javax.telephony.InvalidStateException —CiscoTerminal.getState() is not IN_SERVICE. getDNDStatus() boolean Returns the value of the DND option. This value is not significant for a CiscoMediaTerminal or CiscoRouteTerminal because the DND feature applies only to physical phones. The DND option can be any of the following constants: • CiscoTerminal.DND_OPTION_NONE • CiscoTerminal.DND_OPTION_RINGER_OFF • CiscoTerminal.DND_OPTION_CALL_REJECT Throws • javax.telephony.InvalidStateException —CiscoTerminal.getState() is not IN_SERVICE. getDNDOption() int Returns extension mobility (EM) login user name. If no EM user has logged into Terminal, this interface will return null/empty string Throws • javax.telephony.InvalidStateException —if CiscoTerminal.getState() is not IN_SERVICE. Note You must use this API with CiscoTerminal.getLoginType() to determine if an EM login is done. getEMLoginUsername() java.lang.String Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 626 Cisco Unified JTAPI Extensions Methods

Page 690 diagram