This API is used for communication with call-list apps.
The API doesn't define any service info.
{ "mt": "ApiModel", "api": "com.innovaphone.calllist", "model": { } }
All messages are JSON objects that have a mandatory attribute "mt" that specifies the message type.
Call list app will provide the requested amount of available call list entries.
Call list app wil also provide new entries at runtime.
{ "mt": "Subscribe", "count": 20 }
Call list app sends this message every time a new entries has been added.
{ "mt": "Update", "entries": [ { "cdr": 21173, "sip": "tac", "id": "c06ab5ee-cc1c-5c01-8a68-009033420759", "dir": "o", "node": "root", "phys": "", "cause": 0, "time": 1545391345000, "alert-duration": 12, "call-duration": 0, "conn-duration": 0, "billing-duration": 0, "call": "int", "remote": { "number": "40", "sip": "rh", "dn": "Ralf Hütter" }, "status": "al" }, { "cdr": 20713, "sip": "tac", "id": "2d61b691-9c1b-5c01-ed7a-009033420759", "dir": "i", "node": "root", "phys": "berlin", "cause": 0, "time": 1545313426000, "alert-duration": 7, "call-duration": 2814, "conn-duration": 2814, "billing-duration": 0, "call": "int", "remote": { "number": "683", "sip": "fs", "dn": "Florian Schneider" }, "status": "co" }, ] }
{ "mt": "Clear" }