callContact

Contacts

Launches the native phone application and initiates a call to the specified phone number.

$m.callContact("12345677");

Syntax

        $m.callContact(contact)

        $m.callContact(phoneNumber)

Parameters

contact

$m.contact (required)

The contact to which phone call should be made to.  The phone numbers available in the contact are considered for the call in the following order,

  1. work
  2. mobile
  3. home
  4. other
  5. fax

The first available phone number will be used for the call.

phonenumber

string/number(required)

The phone number to make the call to.