mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
FS-7509: add local mute to verto
This commit is contained in:
committed by
Michael Jerris
parent
30a11959fa
commit
d34c85aeb7
@@ -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");
|
||||
});
|
||||
|
Reference in New Issue
Block a user