This page describes the representation of the resources used by the Extension Presence Service. |
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.
The following example contains the Presence in JSON representation. All fields are fictitious.
{ "status": "0", "extension": "0003*001", "registration": [ { "agent": "3CXPhone 5.0.14439.0", "registration": "-1", "expire": "2011-02-10T15:10:55Z" } ] } |
Name | Type | Description |
---|---|---|
registration | PhoneRegistration | See PhoneRegistration |
status | Number | Defines presence status. Possible values: 1 - online 2 - ringing 3 - busy 0 - unknown |
extension | The phone number of the extension. |
Name | Type | Description |
---|---|---|
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 |
expire | Date | Specifies registration expiration date. Missing when registration has expired. |