This API is available on Firefox OS for internal applications only.

The onremoteheld property of the Telephony interface specifies an event listener to receive remoteheld events. These events occur whenever a remote party (e.g. the person you called) puts the call on hold..


myTelephony.onremoteheld = function() { ... };

These events are of type CallEvent.


// Telephony object
var tel = navigator.mozTelephony;

tel.onremoteheld = function() {
  console.log('your call recipient held the call.');


Specification Status Comment
Web Telephony Draft Draft

Browser compatibility

For obvious reasons, support is primarily expected on mobile browsers.

Supported in Firefox OS 1.0.1.

See also