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?