question

Jonathan Jeffrey avatar image
Jonathan Jeffrey asked Phong Vu answered

RingOut API for an extension rather than a direct dial number

Hello,


When using the RingOut API to initiate a call, is it possible to specify an extension (eg. 105) as the 'from' number, rather than a full number?


Or is a full number/direct dial number required in order to use the RingOut API?


Thanks,

Jonathan

ringout
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

You can't use the extension number directly to make a ring-out call. However, you can use the main company number and the extension number as shown below:

var params = {
      'from' : { 'phoneNumber': "16501112222*102" }, // provided the 102 extension number exists and belongs to the account
      'to'   : {'phoneNumber': "16503334444"},
      'playPrompt' : false
    }
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys