Page 1 of 1

Mute and unMute mic API

PostPosted: Mon Sep 26, 2022 3:26 pm
by lmoreira
Hi folks,

How to mute agent mic when he's not on call, and unmute it right before he starts a manual call?

Re: Mute and unMute mic API

PostPosted: Tue Oct 11, 2022 5:10 am
by jamiemurray
There's no built in way to do that currently I can think of, but I don't think it's a good idea and I strongly discourage agents from muting their own mics (if they have the mute control on the headset cable) between calls because it causes increased hangups in the initial seconds. Some of my clients ban it entirely and it's disciplinary if agents are caught doing it.

Adding this as an extra step in the routing of a call to an agent will add time to the processing of that call to get it on the agent session, this something you want to avoid at all costs, especially if using AMD.

What is it you're trying to achieve? Perhaps there's a better way to achieve it.

Re: Mute and unMute mic API

PostPosted: Tue Oct 11, 2022 4:35 pm
by williamconley
1) Please remember to provide your Vicidial Version with Build. It makes a difference. Also your full installer version rather than .x would be useful since we're in WebRTC mode here. lol.

2) https://stackoverflow.com/questions/355 ... -in-webrtc

Not entirely difficult to add a quick javascript function when loading a call and terminating one.

But I do agree with jamie: You seem to be trying to solve a problem, but have not shared the problem with us. So while it may be technically possible, it may or may not be your best solution. :)