Is there a way to track how long someone has their phone set to DND?
Yes, you can implement a simple app to subscribe for user presence notifications. Every time you get a presence event notification, parse the payload and detect if a user DnD presence is "DoNotAcceptAnyCalls" , mark the time and wait until you get an event when the user presence changed to "TakeAllCalls", then calculate the time difference.
Let me know what programming language you are using so I can give you better guidance.
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:
7 People are following this question.