News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Call Log Records - Date Filter by recording end date
Tags: call recording, call logs
Nov 21, 2022 at 7:09am   •   1 replies  •  0 likes
Gerben Stam

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)


1 Answer
answered on Nov 21, 2022 at 11:24am  

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


 0
on Nov 22, 2022 at 3:15am   •  0 likes

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

on Nov 22, 2022 at 7:41am   •  1 likes

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

on Nov 23, 2022 at 4:32am   •  0 likes

Thanks for answer!

on Nov 23, 2022 at 10:03am   •  0 likes

If your use case is just for reporting call data and you don't need it near real time. An easy way to overcome this problem is to read the call log a day or a few hours back from the current time to avoid missing active calls.



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us