McDewey

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

Page 480

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

Fields None Inherited Fields From Class com.cisco.jtapi.extensions.CiscoMediaCapability G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS, ISAC, WIDEBAND_256K_10_MILLISECONDS Methods None Inherited Methods Inherited From Class com.cisco.jtapi.extensions.CiscoMediaCapability getMaxFramesPerPacket, getPayloadType, isSupported, toString Inherited From Class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait CiscoJtapiException The CiscoJtapiException interface defines error codes that CTI requests may return. Cisco JTAPI extends all of the JTAPI exceptions to implement this interface. You can get the error codes by casting the exception to CiscoJtapiException and calling the method getErrorCode(). For example, if “e” is any exception caught by an application, the following code checks whether the exception is an instance of CiscoJtapiException. try { // some code here } catch ( Exception e ) { if( e instanceof CiscoJtapiException){ CiscoJtapiException ce

com.cisco.cti.client.CTIFAILURE.(CiscoJtapiException) e int errorCode

com.cisco.cti.client.CTIFAILURE.ce.getErrorCode() //returns the ErrorCode. } } Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 416 Cisco Unified JTAPI Extensions Fields

Page 480 content