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
Detailed CallLog : given an Incoming Call who receives it?
Tags: call logs
Nov 17, 2017 at 10:18am   •   2 replies  •  0 likes
thompson

Sorry for such a simple question. I'm retrieving detailed call log data and trying to determine which RC user picked up the inbound call.


I'd thought I could just look at each Call where call result= "Accepted"

and final leg result = "Accepted"

and the call recipient would be the 'to' of the receiving RC user.


Instead, I'm mostly seeing the 'to' number as something I don't recognise, but the 'from' is an RC user.


last Leg from call where Call 'from' was a customer phoning in, eg:


"result": "Accepted",

"to": {


"phoneNumber": "+440000000005" <-- no idea about this (example) number

},

"from": {


"name": "Bob Dobbs", <!-- Bob is an RC User


What should I be looking at to determine which user picked up an Incoming call?


Sorry if I'm not being clear. I don't actually use RC, I'm just accessing the API.


Thanks

2 Answers
answered on Nov 18, 2017 at 2:58am  
 I am not sure I phrased my question very well. You can delete this question if you like and I will submit a better example from the actual logs on Monday. Thank you anyway.

 0
answered on Nov 17, 2017 at 11:27am  
Hi Thompson,

I am not sure if the "to" phone number you showed is a real one you received. But if that is real, then it looks like some international number issue.

If you question is purely about how to map the "to" number to one of the extension under your account, then maybe you use the phone-number (at the account level /account/~/phone-number) endpoint to read all phone numbers under the account and match with the number you received to determine the user.

+ Phong

 0



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