question

don-jackson7565 avatar image
don-jackson7565 asked Phong Vu answered

Extension number not showing up in call log

I am pulling the call log via the API using:


/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log


I get the information requested except the Extension Number. It shows up in a very few calls, but in the majority of calls it returns undefined.


I'm selecting both:

record.from.extensionNumber

record.to.extensionNumber


I saw another post from two years ago that asked the same question:

https://devcommunity.ringcentral.com/ringcentraldev/topics/extension-id-in-call-log


The answer was that it would be fixed in January. Is there any resolution to this or is there a different way I should be requesting the information?


call logs
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
Hi Don,

My apologies for the delayed response.

The extension number does not exist probably because the call was made with a direct number. See the API reference below.

extensionNumber: short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message.

https://developer.ringcentral.com/api-docs/latest/index.html#!#CallLogCallerInfo

+ Phong
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