Question

RingOut API for an extension rather than a direct dial number

  • 19 July 2023
  • 1 reply
  • 94 views

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


1 reply

Userlevel 1

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
    }

Reply