Overview:
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?
Attempt:
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 15.0.17.55
Thanks!