question

Gerben Stam avatar image
Gerben Stam asked Phong Vu commented

Call Log Records - Date Filter by recording end date

Guys, could you please explain how https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog Get Company Call Log Records Date Filter Window works? Seems the dateFrom and dateTo are filtering on the startTime field instead of endTime (startTime + duration) and because of that its possible to miss some calls if we just set the dateFom on the next collection to the previous dateTo + 1ms.
My questions:
1. Does this API filter by startTime or end time? If it filters by startTime, do we have possibility to change to endTime?
2. Does this API return calls that are not completed? Like in progress in this time interval (if this API filter by recording start time)


call logscall recording
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 Phong Vu commented

The API dateTo filter is the startTime of a call. Unfortunately, it is the issue as you wrote and I have reported this issue long time ago but it is not fixed or improved yet.

For your question #2. No, the API does not return call records for in-progress calls.

There are 2 workaround solutions for this.

1. After you read the call log, read also the active calls and keep track of those active calls until they get disconnected then use the sessionId of a call to read it from the call log and patch your call records result from the call-log API.

2. Use the Sync Call Log API

4 comments
1 |3000

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

Gerben Stam avatar image Gerben Stam commented ·

Thanks for reply!
How can we know that this bug will be fixed? Do you know when it will be? Very important for us.

0 Likes 0 ·
Phong Vu avatar image Phong Vu ♦♦ Gerben Stam commented ·

Unfortunately, I don't have any ETA for the fixes. Please consider the workaround solutions.

1 Like 1 ·
Gerben Stam avatar image Gerben Stam Phong Vu ♦♦ commented ·

Thanks for answer!

0 Likes 0 ·
Show more comments

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