This page describes the representation of the resources used by the Extension Presence Service.
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
Presence resource
The presence information for an Extension is represented by the UnifiedAPI as a Presence resource. It contains the agent where the Extension is registered and the expiration date of the registration.
JSON representation
The example below contains the Presence in JSON representation. All fields are fictitious.
{ "agent": "0", "registration": "-1", "status": "0", "extension": "0003*001", "expire": "011-02-10T15:10:55Z", }
Presence event fields
Name | Type | Description |
---|---|---|
agent | String | The agent that uses the extension. |
registration | Number | Defines registration status. Possible values: 1 - Registered 2 - No registration necessary -1 - Not registered -2 - Registration expired 0 - Unknown |
status | Number | Defines presence status. Possible values: 1 - Online 2 - Ringing 3 - Busy 0 - Unknown |
extension | The phone number of the Extension. | |
expire | Date | Specifies registration expiration date. Missing when the registration is expired. |
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.