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 ?? Gary .
Steven Critchfield
2003-Mar-12 18:25 UTC
[Asterisk-Users] Music - Hold -> live sound source ?
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 <critch@basesys.com>
On Wed, 12 Mar 2003 19:25:16 -0600, Steven Critchfield 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 <critch@basesys.com>it does need to service multiple lines at the same time. Also as a background music (on loudspeaker type phones) would be nice. We are currently playing with festival, so the caller can select which area they want details for and we hourly download and massage the hourly updates avail from our weather mob... .
> it does need to service multiple lines at the same time. > > Also as a background music (on loudspeaker type phones) would be nice. > > We are currently playing with festival, so the caller can select which > area they want details for and we hourly download and massage the > hourly updates avail from our weather mob...The music on hold engine was designed to support plugins for this sort of purpose. Mark
Chris Albertson
2003-Mar-12 21:50 UTC
[Asterisk-Users] Music - Hold -> live sound source ?
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 <critch@basesys.com> 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 <critch@basesys.com> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users====Chris Albertson Home: 310-376-1029 chrisalbertson90278@yahoo.com Cell: 310-990-7550 Office: 310-336-5189 Christopher.J.Albertson@aero.org KG6OMK __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com