I am using
function call() {
// get the phone number to connect the call to
params = {"PhoneNumber": $("#number").val()};
Twilio.Device.connect(params);
}
to make a call and
function mute() {
connection.mute(true);
}
to mute a call.
This works for incoming call but does not work for outgoing calls.
Can anyone assist?