« Back to Cisco JTAPI Questions

How do I get all the call legs from a single call leg ?

Combination View Flat View Tree View
Threads [ Previous | Next ]
How do I get all the call legs from a single call leg ?

1 - Obtain the global call from the current connection, from the global call you can retrieve data such as the Calling Party
2 - Retrieve the list of connections associated with that call

E.G. :

CiscoCall ciscoCall = (CiscoCall)connection.getCall();
Address currentCallingParty = ciscoCall.getCurrentCallingAddress (); //This will give currentCallingParty in that call
Connection[] conns = ciscoCall.getConnections();//This will give all participants in that call.