McDewey

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

Page 706

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

Description Method Interface Plays tones at local or remote ends of the call. Parameters • int tonetype—One of the tones defined in CiscoTone interface. • int playToneDirection—Can be CiscoCall.PLAYTONE_LOCALONLY or CiscoCall.PLAYTONE_REMOTEONLY. Throws • InvalidStateException • InvalidArgumentException • PlatformException playTone(int toneType, int playToneDirection) void This interface puts a call on hold, and specifies a contentID that can be used to play video on hold, or other related features. Note that CiscoProvider must be in IN_SERVICE state. Also, the call control state needs to be in TALKING state. If not, InvalidStateException will be thrown. If the hold request fails, ResourceUnavailableException will be thrown. All other errors encountered will result in PlatformException to be thrown. Parameters String contentID—A String representing a specific video. Max 128 characters. hold (String contentID) void Inherited Methods From Interface javax.telephony.callcontrol.CallControlTerminalConnection getCallControlState, hold, join, leave, unhold From Interface javax.telephony.TerminalConnection answer, getCapabilities, getConnection, getState, getTerminal, getTerminalConnectionCapabilities, getObject, setObject From Interface com.cisco.jtapi.extensions.CiscoObjectContainer Related Documentation See Constant Field Values, on page 1667. Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 642 Cisco Unified JTAPI Extensions Inherited Methods

Page 706 diagram