McDewey

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

Page 201

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

Interface CiscoCall Changes CiscoCall represents a call in the JTAPI model. This interface is enhanced with the addition of a new API. isPersistentCall () This interface returns true if the call is a persistent call and false otherwise (if it is a normal call). boolean Interface CiscoJtapiException Changes CiscoJtapiException contains all of the error codes that can be delivered by JTAPI to applications. This interface is enhanced with the addition of new error codes. public static final int • CTIERR_CREATE_PERSISTENT_CALL_FAILED = "Failed to create Persistent Call." (0x8CCC0132) • CTIERR_PERSISTENT_CALL_EXISTS = "Persistent Call exists." (0x8CCC0133) • CTIERR_OPERATION_NOT_ALLOWED_ON_PERSISTENT_CALL = "Operation is not allowed on a Persistent Call." (0x8CCC0134) • CTIERR_DISCONNECT_PERSISTENT_CALL_FAILED_CALL_ACTIVE = "Disconnect persistent call failing, there are active calls." (0x8CCC0136) • CTIERR_PERSISTENT_CALL_BEING_SETUP = "Persistent Call is being set up." (0x8CCC0139) Play Zip Tone The Play Zip Tone feature allows Cisco JTAPI application to play zip tones on active calls. The application specifies the type and the direction of the tone. Zip tones are played at local or remote end of the call. They are audible and played only for IP phones. These tones are not played if the remote side is a trunk, conference or Cisco Media Terminal or Route Terminal. The following tones can be played: • CiscoTone.ZIPZIP • CiscoTone.ZIP • CiscoTone.CALLWAITINGTONE Sample Code Void playTone(TerminalConnection termConn, int tone, int direction){ If ( termConn ! = null ){ try { ((CiscoTerminalConnection)termConn).playTone(tone, direction); } catch (Exception e){ System.out.println("Exception for playtone request " + e); } Interface Changes See CiscoTerminalConnection, on page 636, CiscoTone, on page 658 Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 137 Features Supported by Cisco Unified JTAPI Play Zip Tone