User Tools

Site Tools


api:pbx:callvariable:get

API : PBX : Call Variable Get

Introduction

This request will return the value of a variable on an ongoing call.

Request

URL https://api.telecomx.dk/pbx/callvariable/CALL_ID/VARIABLE_NAME
Method GET
Access level PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN.
Param CALL_ID Id of call.
VARIABLE_NAME Name of the variable.

Query example

https://api.telecomx.dk/pbx/variable/pbx4.telecomx.dk:45455544.43/onduty

Response

Json object
name String Name of variable
value String Value of variable

Example

{
  name: 'onduty',
  value: '203'
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 name Variable not found
500 internal_error <Unspecified>
api/pbx/callvariable/get.txt · Last modified: 2020/08/10 12:49 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki