/mcpDescription Method Interface Starts recording a call. The system delivers CiscoTermConnRecordingStartEv and CiscoTermConnRecordingTargetInfoEv to the call observer when this method is successful. Pre-conditions • ((this.getTerminal()).getProvider()).getState() = = Provider.IN_SERVICE • this.getCallControlState() = = CallControlTerminalConnection.TALKING • ((CiscoProviderCapabilities) (this.getTerminal().getProvider(). getProviderCapabilities()).canRecord() = = TRUE • this.getConnection().getAddress(). getRecordingConfig(this.getTerminal()) = = CiscoAddress. APPLICATION_CONTROLLED__RECORDING Parameters • playToneDirection—Specifies whether to play a tone. Valid values are: • CiscoCall. PLAYTONE_NOLOCAL_OR_REMOTE • CiscoCall. PLAYTONE_LOCALONLY • CiscoCall. PLAYTONE_REMOTEONLY • CiscoCall.PLAYTONE_BOTHLOCALANDREMOTE Throws • javax.telephony. InvalidStateException—Either the Provider was not "in service" or the TerminalConnection is not in the "TALKING" state. • javax.telephony. PrivilegeViolationException—The application does not have the proper authority to invoke this method. • javax.telephony. ResourceUnavailableException—An internal resource that this method requires is not available. • javax.telephony. InvalidArgumentException—The value for playToneDirection is not valid. startRecording(intplayToneDirection) void This method is similar to the startRecording(int playToneDirection) method. startRecording(int playToneDirection, int invocationType) void Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 640 Cisco Unified JTAPI Extensions Methods