[asterisk-users] How to create distortion, echo, and chopping sound in a SIP trunk?
Bruce B
bruceb444 at gmail.com
Thu Apr 28 13:23:04 CDT 2011
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 <tony at softins.co.uk>wrote:
> 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/74902bcd/attachment.htm>
More information about the asterisk-users
mailing list