ExtensionStatus
If Status Monitor is enabled for the extension on PBX web interface, the PBX will send an ExtensionStatus report to the application server when extension status changes.
Report parameters
Parameter | Type | Description |
---|---|---|
event | String | Event type. |
extension | Integer | Number of extension whose status is changed. |
status | String | The current status of extension.
|
sn | String | The PBX's serial number. |
Report example
POST / HTTP/1.1 Host: 192.168.5.150: 8260 Accept: application/json User-Agent: WebAPI Content-Type: application/json Accept: application/json { "event": "ExtensionStatus", "extension": "1023", "status": "Ringing", "sn": "369451090405" }