Commit 9ff3c142 authored by Erwan Sevellec's avatar Erwan Sevellec 馃敟 Committed by Jean-Pierre Thomasset

3210 add recoding server API documentation for retrieving cel

parent 269f26be
......@@ -299,3 +299,55 @@ Query::
Response::
{"agentNumber":"2000"}
Channel Events Logging
======================
Get CEL
-------
This api retrieve the CEL from the whole XDS System (main and media servers).
**Description:**
:URL: ``/recording/cel``
:Method: ``GET``
:Url parameters:
:from: The first cel id to retrieve
:limit: The number of cel to retrieve
**Example**
Query::
curl H "Content-Type: application/json" -H "Accept: application/json" -H 'X-Auth-Token: [email protected]#41[gYHJm<]9N[a0iWDQQ7`e9k' 'http://localhost:9400/recording/cel?from=10&limit=1000'
Response::
[
{
"id": "11",
"eventtype": "LINKED_END",
"eventtime": "2020-03-23 16:21:25.722316",
"userdeftype": "",
"cid_name": "James Bond",
"cid_num": "1000",
"cid_ani": "1000",
"cid_rdnis": "",
"cid_dnid": "",
"exten": "s",
"context": "echotest",
"channame": "SIP/4uqyf9q-00000001",
"appname": "",
"appdata": "",
"amaflags": "3",
"accountcode": "",
"peeraccount": "",
"uniqueid": "1584976887.1",
"linkedid": "1584976887.1",
"userfield": "",
"peer": "",
"call_log_id": "",
"extra": ""
},
{...}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment