question

Viresh P avatar image
Viresh P asked Anirban edited

Finding missed call in call log api

I was going through call log api and I was figuring out how to get missed call value in the APi.

How can I find from the response if a call was a miss call?

call logs
1 |3000

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

Anirban avatar image
Anirban answered Viresh P commented

There is a section in response called result. This value returns the status description of the call operation.

A missed call will have the result value of “Missed” .

Other values are In Progress, Voicemail, Reply etc.

Check the API response details:

https://developers.ringcentral.com/api-reference/Call-Log/readUserCallRecord

Also refer: https://stackoverflow.com/questions/52051334/does-the-ringcentral-call-log-api-return-a-missed-value

And also this excellent article by @Phong Vu :

https://medium.com/ringcentral-developers/visualize-your-business-communications-history-2c81f85c324a

1 comment
1 |3000

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

Thanks, references are good and useful. One small query since I am new to this.

What is direction in the response for? Is it the call direction like in coming/outgoing calls?

Just to confirm.

0 Likes 0 ·
Anirban avatar image
Anirban answered Anirban edited

@vikas p If you see the docs carefully there is an Enum value: Inbound, Outbound

So, yes this is what the direction is explained in docs

1 |3000

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

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