(30009) Extension Presence State Changed
When the extension presence status is changed, the PBX will send an event report to the third-party application.
Prerequisites
You have enabled the Presence Status Monitor feature for the desired extensions on the PBX. For more information, see Enable Cloud One Business Communication Suite API.
Report parameters
| Parameter | Type | Description |
|---|---|---|
| type | Integer | Event ID. |
| sn | String | PBX's serial number. |
| msg | Object<Ext_Presence> | The current presence status of the extension. |
Ext_Presence
| Parameter | Type | Description |
|---|---|---|
| extension | String | Extension number. |
| status | String | The current presence status of extension.
|
Report examples
The presence of extension 2005 is changed to "Business Trip".
{
"type": 30009,
"sn": "3631A2124XXX",
"msg": "{"extension":"2005","status":"business_trip"}"
}