said by Takamurasan :
Do you have any suggestion for a PDF or a website where I can look more deeply into this? I started looking, I think it might just be what I'm looking for.
A quick overview (from the shell/terminal): [edited for grammar]
asterisk -rx "core show application EAGI"
Overview of AGI - EAGI is a variant:
Sample perl script:
Another option to get the audio stream:
Have fun! :)