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'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.

Thanks again

On Thu, Apr 28, 2011 at 11:57 AM, Tony Mountifield <[email protected]>wrote:

> In article <[email protected]>,
> Bruce B <[email protected]> wrote:
> >
> > How can I introduce some distortion, echo, chopping sound and all other
> bad
> > quality things that can happen to a SIP trunk? I have plenty of bandwidth
> > and crisp clear lines so the only thing that I can think of is to limit
> > bandwidth but even that requires quite some scripting work.
> >
> > Is there any easy way to simulate a distorted SIP line temporarily for
> > testing?
> >
> > I am appreciate experienced inputs.
>
> You could use iptables to cause random packet loss.
>
> See
> http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/
> for examples. You might want to precede those rules with ACCEPT rules
> for the traffic you want to remain reliable (such as TCP connections).
>
> Cheers
> Tony
> --
> Tony Mountifield
> Work: [email protected] - http://www.softins.co.uk
> Play: [email protected] - http://tony.mountifield.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to