[Asterisk-Users] Music - Hold -> live sound source ?
Chris Albertson
chrisalbertson90278 at yahoo.com
Wed Mar 12 21:50:13 MST 2003
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 at 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 at basesys.com>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
=====
Chris Albertson
Home: 310-376-1029 chrisalbertson90278 at yahoo.com
Cell: 310-990-7550
Office: 310-336-5189 Christopher.J.Albertson at aero.org
KG6OMK
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
More information about the asterisk-users
mailing list