Just the contrary - Most QoS schemes will drop TCP first, specifically because it is known that with TCP, the packet will be resent, so no application will be hurt.  UDP is not dropped first because it is known that there will likely be more impact.<br>
<br>I am not aware of any way to run IAX over TCP, and I agree it would be a bad idea.  The proper thing to do is to implement PROPER QoS on BOTH SIDES of the link, which I hope is point to point.  If it goes over the Internet, your QoS is lost as soon as it hits a router you dont control (or pay for QoS services on)<br>
<br>I think in IAX, the jitter buffer size can be adjusted, but I dont know the detail on this..  A jitter buffer can be looked upon as like a funnel - as packets arrive, they are dumped in the funnel, which is then pouring your audio out the bottom in a smooth stream, no matter how much delay there is in the filling of the funnel.   When the funnel runs out of packets (ie: delay has caused you to run out of data) then you get a break in your audio stream.  Increasing the jitter buffer (bigger funnel) can fix this, but at a certain point, the audio will be SO DELAYED (because the packets are waiting in the buffer) that the users will notice and get confused.<br>
<br><br><br>-Steve<br><br><br><br>---------original message ------<br><br>From: &quot;Mike&quot; &lt;<a href="mailto:list@net-wall.com">list@net-wall.com</a>&gt;<br>To: &quot;&#39;Asterisk Users Mailing List - Non-Commercial Discussion&#39;&quot; &lt;<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>&gt;<br>
Date: Tue, 30 Nov 2010 12:34:08 -0500<br>Subject: Re: [asterisk-users] TCP port, VPN and resolving the cutting voice problem<br><br>
&gt; I know understand the latency due to the resending .. But if the link was<br>
have a good speed internet, then resending will make a big latency?<br>
<br>
I think the point is that with TCP, congestion will create a vicious circle<br>
of more congestion, while with UDP congestion is bad in itself, but doesn&#39;t<br>
result in more congestion created by the original congestion.<br>
<br>
That being said, isn&#39;t UDP sometimes looked at as being lower priority than<br>
TCP by many routers out there and dropped first when congestion does occur?<br>
That makes it a good reason to use TCP in some cases.<br>
<br>
Mike<br>