Hello There,
Is there an easy way to access channel data real time from a script/program(preferably python3 or PHP, or in worst case, perl) as objects (for example as a python3 dict) ?
I need to process the call data and display on intranet as a html table.
I tried to access via cronjob "asterisk -rx ‘core show channels concise’ " written to a text file and process the output but its has some messing up with user privileges that is not accepted by security board (nginx/www-data and asterisk user, neither should be the member of the other group).
Is it accessable with any kind of API with a working lib/solution?
ARI with any url doesn’t show channel data (or maybe I’m not skilled enough to display it) and tried a lot of magic with AMI, but no cannot construct the structure with the appropriate data.
Thank you for your help!