This request will answer a call on the specific device (phone).
This is only supported on SIP devices of type MITEL and YEALINK.
| URL | https://api.telecomx.dk/pbx/app/action/answer | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| query | device | Id | Id of the device to answer the call on. |
| target | String | Id of call to answer. | |
https://api.telecomx.dk/pbx/app/action/answer?device=12345678901234567890ABCD https://api.telecomx.dk/pbx/app/action/answer?device=12345678901234567890ABCD&target=pbx4.telecomx.dk:573678576872876786ygfig378gfiiegiv
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 422 | device | Invalid device |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |