Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

MozVoicemail.getNumber()

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

Summary

The getNumber method is used to get the voicemail box dialing number of a specified service.

Syntax

var number = navigator.mozVoicemail.getNumber([service]);

Properties

serviceId Optional
A number representing the voicemail service to access.

Returns

A string or null if no number was found.

Specification

Not part of any specification yet.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills,