User-to-user muting in all channels
How to mute one or more users in all channels.
Read time 1 minuteLast updated 20 hours ago
To mute one or more users in all channels, use
vx_req_account_control_communicationsvx_req_account_control_communicationsThe response contains successfully muted users from the specified list. If a user is already muted or is cross-muted by a previous request, then the response does not contain their URI. The following table details the possible operations for this request:vx_req_account_control_communications_t* reqStruct;vx_req_account_control_communications_create(&reqStruct);reqStruct->account_handle = vx_strdup(“session handle”);reqStruct->operation = vx_control_communication_operation_block;reqStruct->user_uris = vx_strdup( “sip:.user1.@realm.vivox.com\n” “sip.userN.@realm.vivox.com”);int ret = vx_issue_request3((vx_req_base_t*) reqStruct);
| Operation | Function |
| Mute | vx_control_communications_operation_mute = 4 |
| Remove mute or unmute | vx_control_communications_operation_unmute = 5 |
| Get a list of muted users | vx_control_communications_operation_mute_list = 6 |
| Remove mute from all users | vx_control_communications_operation_clear_mute_list = 7 |