Extension number not showing up in call log

  • 1
  • Question
  • Updated 9 months ago
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?
Photo of Don Jackson

Don Jackson

  • 160 Points 100 badge 2x thumb

Posted 9 months ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 2,496 Points 2k badge 2x thumb
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