Skip to content

webPhone.call()

Initiates a phone call to a phone number and establishes a call session.

Sample

const callSession = await webPhone.call(callee, callerId);

Inputs

Parameter Description
callee The phone number you want to call. Format is 16506668888.
callerId The phone number you want to display on the callee's phone. Format is 16506668888.

You can't use any caller ID phone number that you desire. You are limited to a list of pre-registered caller IDs that you can retrieve from RingCentral using the list extension phone numbers API. You will need to filter the phone numbers returned by that API and only use the ones with the CallerId feature.

{
  "features": [
     ...,
     "CallerId", 
     ...
  ]
}

Outputs

Parameter Description
callSession A call session.