cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
567
Views
0
Helpful
1
Replies

CiscoTermConnRecordingStartEv

david.dommisse
Level 1
Level 1

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

1 Reply 1

mpotluri
Level 5
Level 5

CiscoTermConnRecordingStartEv is seen whenever the call is connected and media is established. In your case you seem to want the previous state of the call (Ringing to talking for Call Start, and Hold to talking for Call Resume)?

CiscoTermConnRecordingStartEv doesn't give that info. Application needs to maintain the state of the terminal connection to determine if it is 'Call Start' or 'Call Resume'

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: