Table of Contents

adv.multiUser

If a call has multiple users at other end (is routed through a voice gateway) call.adv.multiUser contains the list of users at the other end.

call.getPartner() then only returns the address of the voice gateway, not the persons you are talking to through it.

Value

If there are multiple users at other end of call call.adv.multiUser contains a list of JSON structures:
[{name:…, name_dn:…, talking:…}]

If only one user at other end of call (a normal call) call.adv.multiUser is undefined.

Example

[{name:"john@company.com", name_dn:"John", talking:"yes"}, {name:"eve@company.com", name_dn:"Eve", talking:"no"}]

  for (var i = 0; i < call.adv.multiUser.length; i++) {
    -- display call.adv.multiUser[i].name, call.adv.multiUser[i].name_dn and call.adv.multiUser[i].talking --

See Also

call.getPartner()

wrtc.onMultiuserChanged()