This document was generated from CDN thread
Created by: Ting-Kun Tiong on 02-04-2010 03:24:46 AM
Hi,
I am trying to get the Call ID in any of the events in callChangedEvent.
Thanks.
Subject: RE: callChangedEvent - getCallID
Replied by: Joseph Moskie on 02-04-2010 04:55:53 PM
Cisco JTAPI will deliver a CiscoCallChangedEv to any Call Observers on the Call or Address involved on the call. These events are usually used to show a change in the global call ID of a specific call, and can happen for various things like transfer, conference, etc.
On this event, there are two methods of note to you:
CiscoCall.getSurvivingCall();
This method returns the CiscoCall object of the call that "survives", and continues on.
CiscoCall.getOriginalCall();
This method returns the CiscoCall object of the "other" call, that will go IDLE soon after the CiscoCallChangedEv.
Once you get a CiscoCall object, you can invoke CiscoCall.getID() to get the CallID you are looking for.
Subject: RE: callChangedEvent - getCallID
Replied by: Ting-Kun Tiong on 09-04-2010 04:56:35 PM
Thanks.