Call Recording with CCM 6.0

Unanswered Question
May 30th, 2008

I trying application invoked call recording. Am I doing anything wrong in my code.

My Code:

if(callev instanceof CallCtlTermConnTalkingEv) {

logger.debug("CallCtlTermConnTalkingEv");

try {

TerminalConnection tc = ((CallCtlTermConnTalkingEv)callev).getTerminalConnection();

String tname = tc.getTerminal().getName().toUpperCase();

logger.debug("Device Mac:" + tname);

CiscoTerminalConnection ctc = (CiscoTerminalConnection)tc;

CiscoAddress ca = (CiscoAddress)ctc.getConnection().getAddress();

if ( (ca.getRecordingConfig(ctc.getTerminal()) == CiscoAddress.APPLICATION_CONTROLLED_RECORDING) &&

(ctc.getCallControlState() == CallControlTerminalConnection.TALKING) ) {

logger.debug("Send startRecording(CiscoCall.PLAYTONE_NOLOCAL_OR_REMOTE)");

ctc.startRecording(CiscoCall.PLAYTONE_NOLOCAL_OR_REMOTE);

logger.debug("Send Start Recording request to phone");

} else {

logger.debug("check terminal state for startRecording() = " + tname);

logger.debug("CiscoAddress.APPLICATION_CONTROLLED_RECORDING && CallControlTerminalConnection.TALKING");

}

} catch (Exception e1) {

logger.debug("Exception in CallCtlTermConnTalkingEv-" + e1.getMessage());

e1.printStackTrace();

}

}

I'm getting the following error when i'm triggering startRecording().

Exception in CallCtlTermConnTalkingEv-Start Recording request failed: com.cisco.cti.client.CCNException

com.cisco.jtapi.PlatformExceptionImpl: Start Recording request failed: com.cisco.cti.client.CCNException

at com.cisco.jtapi.TerminalConnectionImpl.startRecording(CTQF)

at com.corvero.ccs.recorder.jtapiAdapter.JTAPIController.callChangedEvent(Unknown Source)

at com.cisco.jtapi.ObserverProxy.Z(CTQF)

at com.cisco.jtapi.ObserverThread.messageReceived(CTQF)

at com.cisco.cti.util.MessageThread.append(CTQF)

at com.cisco.cti.util.MessageThread.CTQF(CTQF)

at com.cisco.cti.util.MessageThread.run(CTQF)

-SVK

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion