Skip to content

Protocol Call Queue

Kim Rostgaard Christensen edited this page Feb 28, 2014 · 2 revisions

GET /call/queue

Returns the current list of queued calls in the PBX, visible to the calling agent. It is subject to the same constraints as the call/list resource, and is merely a server-side filtering of the list, returning only the calls that are queued.

Responses

Condition: Success.

The call queue is returned. An empty list is preferable over a 204 No Content as this makes client code more clean.

HTTP 200 OK

{
   "calls" : [<Call Object>, <Call Object>, ...]
}

Events

Causes no events.

Clone this wiki locally