[asterisk-dev] Whimsical idea, please comment

alex at pilosoft.com alex at pilosoft.com
Sat Jun 3 07:08:20 MST 2006


On Fri, 2 Jun 2006, John Todd wrote:

> >I'd like to create a "chan_file", which would read its input from a
> >specified file (optionally looping) and write to another file. I'm
> >thinking of using chan_oss as a model. Unless somebody has already made
> >something on that lines. (Did anyone?)
> >
> >If the files are named pipes, all kinds of fun could be had.
> 
> I think that sounds like a good idea, though I can't put my finger on
> any particular uses at the moment.  I expect it would be the core of a
> good number of truly awful hacks, but that's good for everyone.  :-)
Here's an extension of idea - make the "audio-stream" a first-class object
(essentially, separate call control from audio-flow), and add primitives
to tee/mix/redirect streams. Then, reimplement asterisk applications based 
on this concept.

-alex




More information about the asterisk-dev mailing list