[asterisk-users] How to create distortion, echo, and chopping sound in a SIP trunk?

satish patel satish_lx at hotmail.com
Thu Apr 28 11:03:26 CDT 2011


You can use tc (traffic control) on linux and limit your bandwidth

http://www.linuxtoday.com/infrastructure/2008092400820OSDBNT 


> To: asterisk-users at lists.digium.com
> From: tony at softins.co.uk
> Date: Thu, 28 Apr 2011 15:57:26 +0000
> Subject: Re: [asterisk-users] How to create distortion, echo,	and chopping sound in a SIP trunk?
> 
> In article <BANLkTim8W+vjJJ87oYy1MVpPsfwfLUt0Kg at mail.gmail.com>,
> Bruce B <bruceb444 at gmail.com> 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: tony at softins.co.uk - http://www.softins.co.uk
> Play: tony at mountifield.org - 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110428/97568e59/attachment.htm>


More information about the asterisk-users mailing list