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
When is "presenceStatus" ever "offline"?
Tags: hardware
Jun 15, 2016 at 1:20pm   •   7 replies  •  0 likes
colin-calvert

For the purpose of explaining this I've got two extensions setup. Extension 101, with the id 378712345, is using a Polycom VVX-410 and extension 103, with the id 378712345, is just logged in with the softphone on OS X. If I unplug the Polycom phone and close the softphone (essentially making both extensions "offline") the API presence endpoint still responds with the following:

{
  "uri": "https://platform.ringcentral.com/restapi/v1.0/account/378712345/extension/378712345";,
    "id": 378712345,
    "extensionNumber": "101"
  },
  "presenceStatus": "Available",
  "telephonyStatus": "NoCall",
  "userStatus": "Available",
  "dndStatus": "TakeAllCalls",
  "allowSeeMyPresence": true,
  "ringOnMonitoredCall": false,
  "pickUpCallsOnHold": false
}


{
  "uri": "https://platform.ringcentral.com/restapi/v1.0/account/378712345/extension/378712345";,
    "id": 378712345,
    "extensionNumber": "103"
  },
  "presenceStatus": "Available",
  "telephonyStatus": "NoCall",
  "userStatus": "Available",
  "dndStatus": "TakeAllCalls",
  "allowSeeMyPresence": true,
  "ringOnMonitoredCall": false,
  "pickUpCallsOnHold": false
}


Additionally, on the Polycom phone, if I press the DND button the status reflects the change on the phone, however, the API results are the same as above.


What I'm expecting, based off the API docs, is that the "presenceStatus" should return "Offline" when either the softphone is closed or the Polycom phone has no network connection. Additionally, when the DND button is pressed on the Polycom phone, I would expect the "dndStatus" to return "DoNotAcceptAnyCalls".


My question is, what am I missing? Is there something specific that needs to be configured in the web interface (I do have "Allow other users to see my Presence status" set to on for both extensions)? How can we achieve the expected results outlined above?

7 Answers
answered on Jul 7, 2021 at 1:31pm  

@kalen-white I still don't think presence status is available in normal physical phone because that is impossible. However there are certain presence capable deskphone is available like Cisco 508G, Cisco SPA 525G2, Polycom IP650 etc which are capable to show their presence.

check here : https://www.ringcentral.com/office/features/presence/overview.html


 0
answered on Jul 7, 2021 at 12:16pm  

Hi! Do we have an update on the ability to monitor the physical phone status via API as mentioned above?


 0
on Jul 7, 2021 at 1:31pm   •  0 likes

I still don't think presence status is available in normal physical phone because that is impossible. However there are certain presence capable deskphone is available like Cisco 508G, Cisco SPA 525G2, Polycom IP650 etc which are capable to show their presence.

check here : https://www.ringcentral.com/office/features/presence/overview.html

answered on Oct 27, 2017 at 1:45pm  
Is there any update on this feature? We have just checked, the API endpoint still doesn't seem to return the connectivity status of users. It would be a very useful feature to monitor remote users with softphone-only access. Other SIP providers have this service too.

 0
answered on Jun 16, 2016 at 10:30am  
I do see the value in what you have suggested and will share with our Product Management for consideration.

There currently is no feature (of which I am aware) on the desktop soft phones which "ping the mothership" or vice-versa to determine if a particular soft phone is still executing in memory on the host machine. I think this would be the type of feature needed to achieve the results you are seeking.

We expect the operating agent to modify their settings, and then for the IVR, call-routing, or voicemail to kick-in (in events where nobody answers on a particular leg).

 0
answered on Jun 15, 2016 at 3:17pm  
Thanks for the detailed response and video. I'm not sure I agree with the methodology behind the software is closed but "a computer is still authorized"  so the "presenceStatus" is online. If the software is closed then the software can't ring. In my opinion, that is the definition of offline.

 0
answered on Jun 15, 2016 at 3:00pm  
Hey Colin,

Thanks for your patience.

So I have the answer for you sir.

Physical Device Status:

Currently, there is no way to monitor the state of a physical device's connectivity or availability via the API. This feature is being actively developed and is on-track to be shipped in an upcoming release cycle.

Soft Phone Status:

You can monitor (using a subscription) the status which the user defines within the softphone for their settings (Busy, Available, Offline), but the Presence data does not display when the soft phone application is closed as "offline" unless the user has first set the soft phone into "Offline" mode (or by not accepting calls).

I put together this video for you to show you what I mean (it is in the final stages of processing by YouTube): https://www.youtube.com/watch?v=sUU8XuMkNH4

 0
answered on Jun 15, 2016 at 1:42pm  
Hey Colin, thanks for providing such good information about the issue you are experiencing. I think there are a few different things which could be causing what you are seeing, but I'd like to be certain.

I'm communicating with our engineering team to be certain the answer you receive is 100% accurate.

Either myself or another member of our team will respond here as soon as we have the "gospel truth" for you.

 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