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> &lt;<a href="mailto:jtodd@loligo.com">jtodd@loligo.com
</a>&gt; 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>&gt;Hi,<br>&gt;<br>
&gt;I&#39;d like to use my channel driver as a music on hold for Asterisk.<br>&gt;My hardware has a line-in interface, as a standard sound card but<br>&gt;due to my SDK limitations, I can access this line-in audio only<br>
&gt;using my channel driver instead of a external application. (The<br>&gt;channel driver has other duties like PSTN interface, etc).<br>&gt;<br>&gt;My first thought was reading the line-in samples from inside my<br>&gt;channel driver and write it to a pipe or something. Then, I could
<br>&gt;try to configure the musiconhold.conf to run an external script that<br>&gt;read from this pipe. I think it can works but I&#39;m not convinced that<br>&gt;it is a good solution.<br>&gt;<br>&gt;Any advice on this?
<br>&gt;<br>&gt;Thanks!<br>&gt;<br>&gt;--<br>&gt;--------------<br>&gt;Paulo Garcia<br>&gt;Pika Technologies Inc<br><br>Paulo -<br>&nbsp;&nbsp; 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).&nbsp;&nbsp;Then&nbsp;&nbsp;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.&nbsp;&nbsp;It may be possible to do this with an
<br>EAGI and sox and named pipes, but that&#39;s complex and easily lost to<br>the shifting sands of Google method searches.&nbsp;&nbsp;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&#39;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>&nbsp;&nbsp; <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