'Changed Extension Status' Report
Prerequisite: Enable Status Monitor of the extension on the PBX web interface: PBX > Tools > API.
Extension Status
Ringing: The PBX will send a report when the extension is ringing.
Busy: The PBX will send a report when the extension is off-hook.
Idle: The PBX will send a report when the extension is on-hook.
Registered: The PBX will send a report when the extension status is changed from Unregistered to Registered.
Unregistered: The PBX will send a report when the extension status is changed from Registered to Unregistered.
Report Parameters
Name | Type | Description |
---|---|---|
| String | Status change of extension. |
| Int | The number of extension with status change. |
| String | The status of extension after change. |
| String | The PBX's serial number. |
Report Example
POST HTTP/1.1
Host:172.16.6.150
Content-Length:83
Accept: application/json
Content-Type:application/json
Connection:close
{
"action":"ExtensionStatus",
"extension":"101",
"status":"InUse",
"sn":"a09805021987"
}