User Tools

Site Tools


api:pbx:sipphone:configreload

API : PBX: SIP phone Configuration Reload

Introduction

This request will ask the SIP phone to fetch its configuration from the provisioning server immediately and apply it.

This is used if the phone is not running with the actual configuration and needs to be forced to update.

Request

URL https://api.telecomx.dk/pbx/sipphone/SIPPHONE_ID/configreload
Method GET
Access level MANAGER, OWNER if user belongs to the customer.
RESELLER if customer belongs to the reseller.
ADMIN.
Param SIPPHONE_ID Id of the SIP phone (24 hex-char string).

Query example

https://api.telecomx.dk/pbx/sipphone/1234567890ABCDEF12345678/configreload

Response

JSON object
success Boolean True on success.

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Id not found in request URI
404 not_found SIP phone not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/sipphone/configreload.txt · Last modified: 2015/11/06 07:11 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki