How does one fetch the audio data for the “recordingfile” listed in the CDR API data response?
Cazn you clarify what you ‘know’ about the “recordingfile” from your API call ?
I end up with the local path (really just the filename, but the path is inferred) for the recording file. Problem is I am using the API over the network (not on the PBX) to integrate with another system. Is there a way to retrieve the file contents from disk via the API?
Which “API” ?
But given a password-less linux login for ‘user’ who has read permission on /var/spool/asterisk/monitor/
rsync -e ‘ssh -p (sshport)’ -a “[email protected] /var/spool/asterisk/monitor/2022/10/05/*” .
would get all calls for today into a local directory structure.
Thank you for the option. This API: API - PBX GUI - Documentation
Hoping to avoid a shell solution as I don’t want to require multiple forms of authentication. The point-and-click web UI configuration for API authentication is an easier requirement for integration.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.