Fork me on GitHub

An example of sending DTMF for the logged in user.

In the example code below, currentCall is an instance of vertoHandle.newCall() as created in making an audio call.

// The sent key digits map to the <caller-controls> section of
// conference.conf.xml
var memberMute = function() {
  // Normally audio mute/unmute.
  currentCall.dtmf("0");
  // Normally video mute/unmute.
  currentCall.dtmf("*0");
}