- Joined
- May 5, 2021
- Messages
- 10
- Reaction score
- 9
Hi everyone,
I am working on a project involving the Call Control API. The workflow is as follows:
Where I am stuck:I need a reliable way to check the call logs to determine whether the call was answered or missed. I tried using the Configuration API (ReportCallLogData / Pbx.GetCallLogData), but I cannot find a unique callId to filter or search the logs for that specific call.
My questions:
Many thanks!
I am working on a project involving the Call Control API. The workflow is as follows:
- A user creates a ticket in a ticketing system.
- The system triggers an HTTP request to the callcontrol/makecall endpoint to call the engineer on duty.
- The Challenge: If the first engineer does not answer, the system needs to escalate and call the next engineer—but only after a 30-minute delay.
Where I am stuck:I need a reliable way to check the call logs to determine whether the call was answered or missed. I tried using the Configuration API (ReportCallLogData / Pbx.GetCallLogData), but I cannot find a unique callId to filter or search the logs for that specific call.
My questions:
- Is there a way to retrieve a unique identifier (callId) when initiating a call via callcontrol/makecall so I can query its status later?
- Should I stick to the REST API for this verification, or is it better to switch to a WebSocket connection to listen for real-time call events (like no-answer/busy)?
Many thanks!