Event;Webhook
The call goes to the IVR;{ “event”: “ringing”, “callerid”: “420774852629”, “user”: “800”, “usertype”:”other”, “did”: “DID-420222000320”, “id”: “230115121143_9-1” }
The call is placed in the queue;{ “event”: “ringing”, “callerid”: “381629759787”, “user”: “804”, “usertype”:” queue”, “did”: “DID-420222000320”, “id”: “240729145056_39-1” }
The phone rings;{ “event”: “ringing”, “callerid”: “381629759787”, “user”: “102”, “usertype”:” ext”, “did”: “DID-420222000320”, “id”: “240729145056_39-1” }
The operator picks up the phone;{ “event”: “pickupincoming”, “callerid”: “420774852629”, “user”: “102”, “usertype”:” ext”, “did”: “DID-420222000320”, “id”: “240729145056_39-1” }
End of call;{ “event”: “incoming”, “callerid”: “420774852629”, “user”: “102”, “usertype”:” ext”, “transfer”:”False”, “did”: “DID-420222000320”, “title”: “DID-420222000320:Answered call from 420774852629 (0:43)”, “id”: “240729145056_39-1” }
The recording of the conversation is ready;{"FILES": ["https://{3CXFQDN}:5001/webapi/recording/381629759787-100_240729145056_39-1-1.mp3"], "event": "incoming", "callerid": "381629759787", "user": "102", "finishtype": "Ok", "transfer": "False", "breakside": "External", "did": "DID-420222000320", "title": "Answered call from 381629759787 (0:43)", "id": "240729145056_39-1"}
The voice recognitions is ready;{"event": "ai","id": "240729145056_39-1","summary": "The transcript consists only of the sound \"Beep. Beep.\" and contains no substantive discussion or conversation to summarize.", "transcription": "Beep. Beep.", "sentiment_score": "5"}