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”: “hangupincoming”, “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"}