Real time processing of audio data

Hi,
trying to make my previous post a bit more general.
Before going through how to write a module for asterisk, can anyone confirm me if it’s possible to have the realtime PCM dta of the called passed to a custom C function that I’ll write? thanks
Alessandro

That’s really a developer question.

At the very least, you would be able to write a format module. You could also write a channel driver, and conference to it.

I presume the voice recognition API is modular, as well.

Note, this is the wrong forum, even for user level support.

I believe you should be able to do that using EAGI (AGI + audio streams), but I’ve frankly never tried it. See e.g. voip-info.org/wiki/view/Perl+EAGI