Thanks for the input guys. What Tony and Satish suggested are alone the lines of what I need. It gives me a controlled solution. So, I can change the level of distortion as I please. Using tc I pretty much killed the line to the point I wasn&#39;t able to receive call and terminal was really slow as well. I am going to try the the packet drop method now. I think that is the right one for the situation.<div>

<br></div><div>Thanks again<br><br><div class="gmail_quote">On Thu, Apr 28, 2011 at 11:57 AM, Tony Mountifield <span dir="ltr">&lt;<a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

In article &lt;<a href="mailto:BANLkTim8W%2BvjJJ87oYy1MVpPsfwfLUt0Kg@mail.gmail.com">BANLkTim8W+vjJJ87oYy1MVpPsfwfLUt0Kg@mail.gmail.com</a>&gt;,<br>
<div><div></div><div class="h5">Bruce B &lt;<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; How can I introduce some distortion, echo, chopping sound and all other bad<br>
&gt; quality things that can happen to a SIP trunk? I have plenty of bandwidth<br>
&gt; and crisp clear lines so the only thing that I can think of is to limit<br>
&gt; bandwidth but even that requires quite some scripting work.<br>
&gt;<br>
&gt; Is there any easy way to simulate a distorted SIP line temporarily for<br>
&gt; testing?<br>
&gt;<br>
&gt; I am appreciate experienced inputs.<br>
<br>
</div></div>You could use iptables to cause random packet loss.<br>
<br>
See <a href="http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/" target="_blank">http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/</a><br>


for examples. You might want to precede those rules with ACCEPT rules<br>
for the traffic you want to remain reliable (such as TCP connections).<br>
<br>
Cheers<br>
Tony<br>
<font color="#888888">--<br>
Tony Mountifield<br>
Work: <a href="mailto:tony@softins.co.uk">tony@softins.co.uk</a> - <a href="http://www.softins.co.uk" target="_blank">http://www.softins.co.uk</a><br>
Play: <a href="mailto:tony@mountifield.org">tony@mountifield.org</a> - <a href="http://tony.mountifield.org" target="_blank">http://tony.mountifield.org</a><br>
</font><div><div></div><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>