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

Reply via email to