[Asterisk-Users] Music - Hold -> live sound source ?

Gary gary at ausmail.com
Wed Mar 12 23:04:59 MST 2003


working examples would be appreciated ;-)


On Wed, 12 Mar 2003 23:32:05 -0600 (CST), Mark Spencer wrote:

>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 <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
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users

.






More information about the asterisk-users mailing list