<div><span class="gmail_quote">On 10/3/05, <b class="gmail_sendername">Kevin P. Fleming</b> <<a href="mailto:kpfleming@digium.com">kpfleming@digium.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;">
Carlos Antunes wrote:<br><br>> I ran asterisk without synchronous generation for a couple of hours feeding<br>> to clients music on hold and Allison samples and apparently, nothing bad<br>> happened. So, why not eliminate the synchronous thing altogether when a
<br>> timing source is available (which should be all the time!)?<br><br>Because it is _not_ available all the time! Many people run Asterisk on<br>platforms that don't have Zaptel/ztdummy, or they aren't able/willing to
<br>load kernel modules for that purpose.</blockquote><div><br>
</div></div><br>
Kevin,<br>
<br>
It was never my intention to prevent those without a timing device from using Asterisk!<br>
<br>
Here's a patch for channel.c that does the following:<br>
<br>
1) Uses asynchronous generator if timing device is available<br>
<br>
2) Falls back to synchronous generation if timing device isn't available<br>
<br>
This is actually a very simple patch. So simple, indeed, that I'm
afraid it will break something either incredibly obvious or something
incredibly non-obvious. But if you give me your go ahead, I'll be happy
to upload it to Mantis and allow other people to give it a try and
report back.<br>
<br>
Thanks!<br>
<br>
Carlos<br><br clear="all"><br>-- <br>"We hold [...] that all men are created equal; that they are<br>endowed [...] with certain inalienable rights; that among<br>these are life, liberty, and the pursuit of happiness"
<br> -- Thomas Jefferson