====== 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. [[ixnx:wrtc:js:api:call:getpartner|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:…}] * name - string containing user's address * name_dn - string containing user's display name * talking - string: * "yes" - user is currently talking * "no" - user is currently silent 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 ===== [[ixnx:wrtc:js:api:call:getpartner|call.getPartner()]] [[ixnx:wrtc:js:api:wrtc:onmultiuserchanged|wrtc.onMultiuserChanged()]]