In principle you could use a named pipe in the filesystem right? Then you don't have to fork/exec anything (man mkfifo)
Mark On Wed, 12 Mar 2003, Chris Albertson wrote: > > Try this. Make a "pipe" called "live.mp3" then use the normal > Asterisk music on hold function for play the pipe. > > Next you will need a very simple copy type script to read > dev/audio filtr it through an MP3 encoder and write it to the > pipe. > > Somehow you fork/exec the script just before connecting the > call to music on hold. > > > --- Steven Critchfield <[EMAIL PROTECTED]> wrote: > > On Wed, 2003-03-12 at 18:35, Gary wrote: > > > Hi folks, > > > > > > I am looking for a way to actually have a live feed for a music on > > hold > > > channel. > > > > > > Basically this is for a local radio station feed so people can ring > > to > > > get the lastest report... Sort of like the US vhf weather > > channels.... > > > > > > ANy ideas please ?? > > > > If you are only wanting to use 1 line, then you could use chan_oss > > and > > autoanswer to connect an incoming call to the soundcard. If you want > > more, you may need to write an app that would access the soundcard or > > an > > app that could multiplex the soundcards input. > > -- > > Steven Critchfield <[EMAIL PROTECTED]> > > > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > ===== > Chris Albertson > Home: 310-376-1029 [EMAIL PROTECTED] > Cell: 310-990-7550 > Office: 310-336-5189 [EMAIL PROTECTED] > KG6OMK > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
