(30029) Agent Status Changed
When agent status is changed, the PBX will send an event report to the third-party application.
Report parameters
| Parameter | Type | Description |
|---|---|---|
| type | Integer | Event ID. |
| sn | String | PBX's serial number. |
| msg | Object <Detailed_Info> | The detailed information. |
Detailed_Info
| Parameter | Type | Description |
|---|---|---|
| queue_number | String | Queue number. |
| agent_number | String | The extension number of the agent whose status has changed. |
| status | String | The current status. |
| reason | String | The reason why the agent status changed to pause. |
Report example
{
"type": 30029,
"sn": "3631A2124788",
"msg": {
"queue_number": "queue-6402",
"agent_number": "1002",
"status": "Paused",
"reason": "Lunch"
}
}