Hi everyone, I have been trying to solve this issue for a few months not on and off.
We have a custom developed CRM platform that handles order processing. I am looking for a way that when a call is answered, I can identify the extension that answered it and the callers number to then lookup against our database to bring up the customers details automatically.
I’ve got the webhooks working, but it is knowing the extension that answered the call. The webhook is only showing the extension after the call has ended. Is there another way to find this information?
I’ve setup a test interface with FreePBX to Postman with the REST API. I’ve got it working, but I can’t seem to find the documentation for this.
From the CLI and connected to Asterisk, the command ‘core show channels verbose’ gives me all the info I need as I can then link the caller ID with the extension. Is there a way to get this information with an API call?