api:pbx:sipphone:redirectorstatus
Table of Contents
API : PBX : Redirector Status
Introduction
This request will query the redirection service, for supported SIP phones, for their redirection status.
Currently Mitel, Yealink and Snom are supported.
Request
| URL | https://api.telecomx.dk/pbx/sipphone/SIPPHONE_ID/redirectorstatus | ||
|---|---|---|---|
| Method | GET | ||
| Access level | VIEWER, MANAGER, OWNER if user belongs to the customer. RESELLER if customer belongs to the reseller. ADMIN. |
||
Request example
https://api.telecomx.dk/pbx/sipphone/12345678901234567890ABCD/redirectorstatus
Response
The response will be the current redirector status.
| Json object | ||
|---|---|---|
| _id | Id | Unique id of the SIP phone. |
| registered | Boolean | True if registered at redirection service. |
Example
{ _id: '12345678901234567890ABCD', status: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | not_found | Device not found |
| 422 | id | Device does not supported |
| 500 | internal_error | <Unspecified> |
api/pbx/sipphone/redirectorstatus.txt · Last modified: 2023/04/25 08:22 by Per Møller