User Tools

Site Tools


api:pbx:queue:calls-handled

API : PBX : Queue Mark call as handled

Introduction

A Queue item is a dialplan call distribution entity with advanced features for members and callers.

Request

This request mark a call processed by a queue as handled. It is only possible to mark an unanswered call as handled.

URL https://api.telecomx.dk/pbx/queue/QUEUE_ID/calls/CALL_ID/handled
Method POST
Access level PERSONAL if user has access to the queue
VIEWER, MANAGE, OWNER if queue items belongs to the customer
RESELLER if customer belongs to the reseller
ADMIN.
Params QUEUE_ID Id Id of queue to show callers in.
CALL_ID Id Id of the call to mark as handled.
Query extension Id Id of the extension who handled the call.

Query examples

{
  "extension": "12345678901234567890ABCD"
}

Response

JSON object
success Boolean True on success.

Example

{
  "success": true
}

Errors

Error code Message Description
404 id Queue not found
404 call Call not found
404 extension Extension not found
409 customer Extension does not belong to the queue
409 call Call already handled
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/queue/calls-handled.txt · Last modified: 2022/02/02 12:15 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki