The schema defines the following properties:
state (string, enum, required)Current state of the call. Allowed values are: busy, no-answer, cancelled, failed, voicemail
This element must be one of the following enum values:
busyno-answercanceledfailedvoicemailapiCode (string, required)The code used to authorize against VoIP provider API.
callId (string, required)Call identifier complient with UUID V4.
Additional restrictions:
^([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})|[a-f0-9]{32}$timestamp (string, required)Time when the event was dispatched. Must be complient with RFC3339 section 5.6. Example: 2016-01-30T15:56:03+02:00
actualTime (string, required)Time when the event has actually happened. Must be complient with RFC3339 section 5.6. Example: 2016-01-30T15:56:03+02:00
metadata (object)Arbitrary metadata.
{
"state": "busy",
"apiCode":"QWERTASDRZXC",
"callId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"timestamp": "2016-04-03T15:24:16+02:00",
"actualTime": "2016-04-03T15:24:11+02:00"
}