I'm developing an application to connect and listen to cisco events via JTAPI. My current issue is I get a CiscoTermConnRecordingStartEv event for both Call Start and Call Resume - so how do I know form this event which one of the 2 it is? Cause and State are same for both. Any help would be appreciated!!!
Snippet of current code:
if (callEvs[i] instanceof CiscoTermConnRecordingStartEv) {
CallImpl callObj = (CallImpl) callEvs[i].getCall();
Integer callCause = callEvs[i].getCause();
Integer metaCode = callEvs[i].getMetaCode();
Integer callState = callObj.getState();
callCause, MetaCode and callState are same for Cal Start and Call Resume