Hello guys!
I would like to know if it is possible to get data of the active calls from the API.
I can’t find any route to do this from the GraphQL API, I only can get the CDRs data.
And I don’t find the documentation of the REST API but the example route (admin/api/api/rest/userman/users) is working.
Use “core show channels” on the Asterisk API, or the CoreShowChannels action, over AMI.
Asterisk doesn’t really have any APIs that access what an end user might call a call. A channel owning OS thread might be good for simple cases, but even parking breaks that model.
I can’t think why FreePBX would need to track calls, outside of Asterisk, for its own purposes.