<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
You can use tc (traffic control) on linux and limit your bandwidth<br><br>http://www.linuxtoday.com/infrastructure/2008092400820OSDBNT <br><br><br>> To: asterisk-users@lists.digium.com<br>> From: tony@softins.co.uk<br>> Date: Thu, 28 Apr 2011 15:57:26 +0000<br>> Subject: Re: [asterisk-users] How to create distortion, echo,        and chopping sound in a SIP trunk?<br>> <br>> In article <BANLkTim8W+vjJJ87oYy1MVpPsfwfLUt0Kg@mail.gmail.com>,<br>> Bruce B <bruceb444@gmail.com> wrote:<br>> > <br>> > How can I introduce some distortion, echo, chopping sound and all other bad<br>> > quality things that can happen to a SIP trunk? I have plenty of bandwidth<br>> > and crisp clear lines so the only thing that I can think of is to limit<br>> > bandwidth but even that requires quite some scripting work.<br>> > <br>> > Is there any easy way to simulate a distorted SIP line temporarily for<br>> > testing?<br>> > <br>> > I am appreciate experienced inputs.<br>> <br>> You could use iptables to cause random packet loss.<br>> <br>> See http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/<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>> -- <br>> Tony Mountifield<br>> Work: tony@softins.co.uk - http://www.softins.co.uk<br>> Play: tony@mountifield.org - http://tony.mountifield.org<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>