Detailed CallLog : given an Incoming Call who receives it?

  • 1
  • Question
  • Updated 2 years ago
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.



  • 152 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

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


  • 152 Points 100 badge 2x thumb
 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.