API Query for callersIDs?

We’re seeking a way to query the FreePBX API for a list of inbound callers for a particular DID.

Is there a REST API endpoint that can be queried for a list of callers and their number? Is this where we use GraphQL?

I tried the GraphQL Explorer tab of API { coreDevice { callerId } }
but it produces { "errors": [ { "message": "Internal server error", "status": false } ] }
Is there a way to find more details about “Internal server error”? tail -f /var/log/asterisk/full doesn’t offer any more info.

Use case:
We operate a radio station that has fund drives and it’s helpful for our hosts to be able to say there are X callers on the line.

We’re running FreePBX


Have you reviewed the available documentation?


Yes, I have reviewed the docs but was unable to locate a suitable option / endpoint. If you know of an option that shows a list of active inbound callers could you please provide a link? Thanks!

assuming you are using a queue. https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_QueueStatus

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.