GenesysCommunity | 2016-06-08 15:26:05 UTC | #1
When looking at the Participants of a call, what is the best way to determine the caller versus the callee? Would it be the 'purpose' field, or the 'participantType' field?
KevinGlinski | 2016-06-08 15:26:34 UTC | #2
participants are sorted in order they join the conversation. The caller should always be first
rob.gevers | 2016-06-09 13:47:21 UTC | #3
More generally, we are also introducing peerId fields. Currently this should be available on calls and may be present on other media types as well in the future. The callPeerId on a communication will give you the id of the other end of that communication. This is added in response to the communication channel being created and the participant getting an INVITE (or equiv across media types). The participant that initiates a communication won't have a peerId set. The other side of the communication will have the communication id of the initiator set for its callPeerId.
system | 2017-08-28 19:24:33 UTC | #4
This post was migrated from the old Developer Forum.
ref: 26