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”: “420774852629”, “user”: “804”, “usertype”:” queue”, “did”: “DID-420222000320”, “id”: “230115121143_9-1” }
The phone rings;{ “event”: “ringing”, “callerid”: “420774852629”, “user”: “102”, “usertype”:” ext”, “did”: “DID-420222000320”, “id”: “230115121143_9-1” }
The operator picks up the phone;{ “event”: “hangupincoming”, “callerid”: “420774852629”, “user”: “102”, “usertype”:” ext”, “did”: “DID-420222000320”, “id”: “230115121143_9-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:07)”, “id”: “230115121143_9-1” }
The recording of the conversation is ready;{ “event”: “incoming”, “callerid”: “420774852629”, “user”: “102”, “finishtype”: “OK”, “transfer”: “false”, “did”: “empty”, “title”: “Successful call to 420774852629 (0:07)”, “id”: “230115121143_9-1”, “FILES”: [ “https://{3CXFQDN:PORT}/webapi/recording/230115121143_9-1-1.mp3” ] }