FS-7509: add local mute to verto

This commit is contained in:
Anthony Minessale
2015-03-24 13:39:51 -05:00
committed by Michael Jerris
parent 30a11959fa
commit d34c85aeb7
3 changed files with 19 additions and 3 deletions

View File

@@ -514,6 +514,17 @@ $("#mutebtn").click(function() {
cur_call.dtmf("0");
});
$("#localmutebtn").click(function() {
var muted = cur_call.setMute("toggle");
if (muted) {
display("Talking to: " + cur_call.cidString() + " [LOCALLY MUTED]");
} else {
display("Talking to: " + cur_call.cidString());
}
});
$("#vmutebtn").click(function() {
cur_call.dtmf("*0");
});