• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. MozVoicemail
  6. MozVoicemail.getNumber()

MozVoicemail.getNumber()

In This Article
  1. Summary
  2. Syntax
    1. Properties
    2. Returns
  3. Specification
  4. See also

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

  • MozVoicemail

Document Tags and Contributors

Tags: 
  • API
  • B2G
  • Firefox OS
  • Method
  • Reference
  • voicemail
 Contributors to this page: chrisdavidmills, teoli, kscarfone, Jeremie
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:09:03 AM
See also
  1. Archive
  2. Related pages for Voicemail API
    1. MozVoicemail
    2. MozVoicemailEvent
    3. MozVoicemailStatus