In connected Conference Across Lines scenario, apart from the events mentioned, applications can see another
temporary call GC3 going active(CallActiveEv) and GC3 goes idle (CallInvalidEv) immediately after the
conference is completed.
Note
Join on Same Lines Sample Application Code
Handle(CiscoCallEv event)
{
…..
…..
if (event instanceOf
CiscoConferenceStartEv)
{
CiscoConferenceStartEv ev
(CiscoConferenceStartEv)event;
processConference(ev);
}
}
processConference(CiscoConferenceStartEv ev){
CiscoAddress controllerAddr
ev.getConferenceControllerAddress();
CiscoCall[] consultCalls
ev.getConferenedCalls();
CiscoCall GC1
ev.getFinalCall();
CiscoConnection[] movedConns[]
findConnections(consultCalls,
controllerAddr);
//Additional App logic to clear connections.
}
Connection[] findConnections(CiscoCall[] calls,
CiscoAddress addr){
ArrayList connList
new ArrayList();
for(x = 0; x < calls.length; x++)
{
CiscoConnection[] conns
calls[x].getConnections();
for (i = 0; i<conns.length; i++)
{
if conns[i]
.getAddress().equals(addr) {
connList.add(conns[i]);
}
}
}
return connList.toArray(Connection[] conns);
}
Join Across Lines Sample Application Code
Handle(CiscoCallEv event)
{
…..
…..
if (event instanceOf
CiscoConferenceStartEv)
{
CiscoConferenceEv ev
(CiscoConferenceStartEv)event;
processConference(ev);
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs
114
Features Supported by Cisco Unified JTAPI
Event Flow Comparison and Sample Code

