Hans-Christoph Steiner wrote:
I just had a thought about this, perhaps it would make more sense to make Asterisk use Jack (http://jackaudio.org/) as the interface for transferring audio to Pd. It's a common standard, it runs on GNU/Linux, Mac OS X, is alpha on Windows. It would allow Asterisk to interface with a wide range of audio apps that support Jack. AFAIK, you can dynamically allocate and deallocate jack "channels". There is already some support for managing the jack channels in Pd, and I don't think it would be too hard to support.
So the idea would be that for each call that is sent to Pd, it would open up a jack channel and notify Pd about it. The question there is whether Jack can support hundreds or thousands of channels.
Yeah, I really do like the Jack idea. I think this is going to be the way to go. Now that I'm looking at it, I'm really quite surprised that nobody has already written a Jack interface in Asterisk. So, I guess this is where I'll start.
Thanks for the pointers. :)
-- Russell Bryant