Found here: https://tech.ipcortex.co.uk/jsdoctype.IPCortex.PBX.queue
I found this on what I think is an out of date resource, but I can not find any mention of how to get a similar result using the most up to date documentation hosted here: https://developer.ipcortex.co.uk/gs/js/
I have tried matching Call IDs from the queue and the Call IDs from the calls that are being presented but the Call IDs seem to change every time it is being presented.
I have also tried using the "uid" of each call (I have no idea what this represents, as it is a different format to what gets pulled when getting the call id of a history object) but these seem to also be completely random and not match up when the call gets presented to the agent.
If anyone could help me with this issue I would be very greatful.