Avaya Client SDK

< Back to Package Overview

Call Participant Information

Using the Avaya Client SDK, you can easily integrate the ability for users of your application to retrieve information about call participants.

The methods to retrieve participant information are different between a peer-to-peer call (P2P) and a conference call. For a P2P call, participant information is obtained from the CSCall object whereas, for a conference call, information for the participant(s) are obtained from the CSConference object.

Retrieving participant info for a P2P call

To get the participant's name only, use the remoteDisplayName property.

NSString* remotePartyName = call.remoteDisplayName;

To get full participant's data, use the remoteParticipant property which contains the CSParticipant object.

CSParticipant* remoteParticipant = call.remoteParticipant;

Retrieving participant info for a conference call

For a conference call, get a CSConference object first using the CSCall.conference property.

if (call.isConference) {
    CSConference* conference = call.conference;
    ...
}

From the CSConference object, use the participants property to retrieve an array which contains all the active participants in the CSConference. From the array, information of an CSActiveParticipant can be obtained by accessing the appropriate property (e.g., for display name, use the displayName property).

NSArray* arrayOfParticipants = conference.participants;
NSMutableArray* participants = [NSMutableArray array];
for (CSActiveParticipant *participant in arrayOfParticipants) {
    [participants addObject: participant.displayName];
}