How-To: Remote Control the Robin
Robin Tech Note
call_log
Retrieve the call log.
Arguments:
•
id: id of a specific call
Command:
curl -u admin:<password> “http://<address>/api/v1/call_log”
Goal:
Retrieve the call log
Answer:
{
“ok”: true,“rv”: {“call_log”: [
{
“number”: “[email protected]”,
“direction”: “incoming”,
“time”: 1386753209,
“id”: “55826c80”,
“duration”: 44
“result”:”hangup”
“answered”:true},
{
“number”: “[email protected]”,
“direction”: “incoming”,
“time”: 1386753970,
“id”: “19b46a5f”,
“duration”: 10
“result”:”busy”
“answered”:false},
{
“number”: “[email protected]”,
“direction”: “incoming”,
“time”: 1386754004,
“id”: “483ae77c”,
“duration”: 3
“result”:”error”
“answered”:false}
]
}
}