api:pbx:recording:status
Table of Contents
API : PBX : Recording Status
Request
This request is used to check if the user self is currently recording.
| URL | https://api.telecomx.dk/pbx/recording/status | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER or ADMIN. | ||
| Query | employee | Id | [optional] Id of employee to lookup status for. Defaults to user self. ADMIN only. |
Query examples
https://api.telecomx.dk/pbx/recording/status https://api.telecomx.dk/pbx/recording/status?employee=12345678901234567890ABCD
Response
Array of channel the employee currently has, and their recording status.
| Item (JSON object) | ||
|---|---|---|
| channel | String | Id of channel |
| host | String | Hostname of PBX server the channel is on |
| recording | Boolean | True if channel is being recorded |
Example
[ { "channel": "vhe8ghge8ghvneiv", "host": "pbx3.telecomx.dk", "recording": true }, { ... } ]
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/recording/status.txt · Last modified: 2021/06/22 10:51 by Per Møller