Hi,<br><br>Thanks for your answer.<br><br>Thinking in a local system, is it possible to send the samples directly to Asterisk, without a server and setting a custom application in musiconhold.conf, without changing Asterisk code?
<br><br>Any idea?<br><br>Thanks again!<br><br>Paulo<br><br><br><br><br><br><br><br><br><br><br><div><span class="gmail_quote">On 10/9/07, <b class="gmail_sendername">John Todd</b> <<a href="mailto:jtodd@loligo.com">jtodd@loligo.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At 5:38 PM -0300 2007/10/9, Paulo Garcia wrote:<br>>Hi,<br>><br>
>I'd like to use my channel driver as a music on hold for Asterisk.<br>>My hardware has a line-in interface, as a standard sound card but<br>>due to my SDK limitations, I can access this line-in audio only<br>
>using my channel driver instead of a external application. (The<br>>channel driver has other duties like PSTN interface, etc).<br>><br>>My first thought was reading the line-in samples from inside my<br>>channel driver and write it to a pipe or something. Then, I could
<br>>try to configure the musiconhold.conf to run an external script that<br>>read from this pipe. I think it can works but I'm not convinced that<br>>it is a good solution.<br>><br>>Any advice on this?
<br>><br>>Thanks!<br>><br>>--<br>>--------------<br>>Paulo Garcia<br>>Pika Technologies Inc<br><br>Paulo -<br> Perhaps an interesting concept would be to write a channel driver<br>that turned audio directly into an MP3 stream that could be uploaded
<br>to a broadcasting server (or served locally). Then you could just<br>use the streaming methods to play off of localhost, or you could use<br>it to transmit up to a larger broadcasting system to distribute to<br>other consumers of the media. It may be possible to do this with an
<br>EAGI and sox and named pipes, but that's complex and easily lost to<br>the shifting sands of Google method searches. It would be handy to<br>have all of that distilled in a channel driver that took the correct<br>
arguments and went on it's way, and then possibly embedded into<br>Asterisk permanently.<br><br>JT<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">
http://www.api-digital.com--</a><br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br></blockquote></div><br><br clear="all"><br>-- <br>--------------<br>Paulo Garcia<br>Pika Technologies Inc