I used IAX2 trunks between Asterisk boxes back when I did VoIP with Asterisk and even though it was bandwidth efficient on paper, whenever the MPLS backbone (with Voice networks prioritised mind you) was a little congested we experienced stutter in all cals made on the trunk and only fix was to hang-up and dial again. When we switched to SIP stutters and problems still happened sometimes, but not all calls failed at the same time, which made users believe the PBX was not broken after all.<br>
<br>Just another of my horrible experiences debugging VoIP problems and running on minimal infrastructure.<br><br>Regards,<br>Kerem<br><br><div class="gmail_quote">On Tue, Jan 31, 2012 at 7:36 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">I have pondered this topic for years and have never come to a<br>
conclusion I was happy with to move on it.<br>
<br>
Basically, on one hand, as Ken mentioned if you increase the ptime of<br>
every call, you get a lot of the same benefits of trunking at the cost<br>
of more audio lost if a packet disappears.  This is not a big risk<br>
even at 60ms its only a minor loss of audio.  The trunking approach<br>
does offer much less latency but its a matter of deciding if a complex<br>
implementation of trunking is worth the few ms of latency.<br>
<br>
If you look at trunking as a whole, its the idea of muxing in as many<br>
calls bound to the same destination into one stream to avoid overhead.<br>
 One problem on the internet is that many devices very tightly obey a<br>
small MTU and even drop packets that exceed it. There are some ideas<br>
floating around but determining the acceptable MTU all the way across<br>
the internet is somewhat tricky.<br>
<br>
Assuming you can choose any MTU you want, trunking looks more<br>
attractive, the max allowed size of a UDP packet of 64K can contain<br>
several hundred calls even at PCMU.  But this is unrealistic.  We are<br>
most likely limited to the standard MTU in the neighborhood of 1500<br>
and most guidelines suggest you only use a max percentage and you end<br>
up with 1200 bytes per packet for payload data.  This only allows room<br>
for trunking 7 PCMU calls.<br>
<br>
Based on this conclusion it&#39;s obvious that only codecs that can<br>
compress the audio better are even practical in trunking.  G.729 for<br>
instance, can hold dozens of calls since its very compressed.   That<br>
makes me feel to even bother making trunking, it should probably<br>
revolve around some specific low bitrate codec.<br>
<br>
Then there is a matter of implementation.  There are a few drafts on<br>
how to do SIP/RTP trunking but none are formally adopted and new sip<br>
drafts tend to be over engineered.  I&#39;ve had some ideas on it but the<br>
more I think of it, it pushes me towards making a dedicated protocol<br>
for it, and if I bother with that, I may as well make a full blown<br>
protocol that does everything else I always wanted from VoIP.<br>
<br>
So every time I think about this issue i go in an endless circle and<br>
end up just suggesting with Ken did and say use bigger ptimes between<br>
the boxes in question.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On Mon, Jan 30, 2012 at 6:53 PM, Nowlin, Win &lt;<a href="mailto:win@telisimo.com">win@telisimo.com</a>&gt; wrote:<br>
&gt; Josue,<br>
&gt;<br>
&gt;&gt; Is there any way to have a SIP Trunk. I mean to have for example 32<br>
&gt; channels merged in one? or something like this?<br>
&gt;&gt;When i try to find SIP trunk on internet i just see options for TDM<br>
&gt; gateway or similar but not really a multiplexed trunk.<br>
&gt;<br>
&gt;        Let&#39;s define a SIP trunk for this discussion as &quot;virtual<br>
&gt; internet connection&quot; between your switch or gateway&#39;s IP address and<br>
&gt; your SIP provider&#39;s IP address.   Over this connection your SIP provider<br>
&gt; can send you any number of simultaneous conversations (basically<br>
&gt; equivalent to &quot;channels&quot; or &quot;time slots&quot; in the TDM world).  A SIP<br>
&gt; &quot;trunk&quot; can have as many simultaneous conversations (&quot;Channels&quot;) as you<br>
&gt; wish, limited only by your internet bandwidth, how many &quot;channels&quot; you<br>
&gt; wish to pay for, and any limits set by your SIP provider.  Also the SIP<br>
&gt; trunk can have as many different DID numbers as you wish or as limited<br>
&gt; by your provider.  In this scenario, your provider is multiplexing the<br>
&gt; TDM sources into your SIP trunk.  In its most basic form, a SIP provider<br>
&gt; can &quot;point&quot; the SIP traffic directly at your Freeswitch&#39;s external IP<br>
&gt; address and there you are!!  Set up Freeswitch to be compatible with<br>
&gt; your Provider&#39;s requirements and you are there.<br>
&gt;<br>
&gt;        As far as TDM gateways are concerned, if you are using legacy<br>
&gt; equipment that requires TDM service, there are several SIP-TDM gateways<br>
&gt; available that can receive the SIP traffic from your Provider and<br>
&gt; convert it back-and-forth between SIP and TDM.  As far as the<br>
&gt; suitability and hardware requirements for Freeswitch to perform that<br>
&gt; function, since I am newly acquainted with Freeswitch, I leave that<br>
&gt; discussion to those who are experienced.<br>
&gt;<br>
&gt; Win N.<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt; [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
&gt; Sergey Okhapkin<br>
&gt; Sent: Saturday, January 28, 2012 12:14<br>
&gt; To: FreeSWITCH Users Help<br>
&gt; Subject: Re: [Freeswitch-users] SIP Multiplexed Trunk as IAX2 or TDM<br>
&gt;<br>
&gt; SIP (and RTP) have no concept of trunking/audio frames multiplexing<br>
&gt; unlike<br>
&gt; IAX2 and TDM.<br>
&gt;<br>
&gt; On Saturday 28 January 2012 21:06:50 Josue Diaz Cruz wrote:<br>
&gt;&gt; Is there any way to have a SIP Trunk. I mean to have for example 32<br>
&gt; channels<br>
&gt;&gt; merged in one? or something like this? When i try to find SIP trunk on<br>
&gt;&gt; internet i just see options for TDM gateway or similar but not really<br>
&gt; a<br>
&gt;&gt; multiplexed trunk.<br>
&gt;&gt;<br>
&gt;&gt; Can we do something with freeswitch?<br>
&gt;&gt;<br>
&gt;&gt; Josue Diaz Cruz<br>
&gt;&gt;<br>
&gt;&gt; Departamento Tecnico y Soporte<br>
&gt;&gt;<br>
&gt;&gt;  &lt;mailto:<a href="mailto:jdiaz@coinfru.com">jdiaz@coinfru.com</a>&gt; <a href="mailto:jdiaz@coinfru.com">jdiaz@coinfru.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; C/ Balsicas 3<br>
&gt;&gt;<br>
&gt;&gt; Alquerias | 30580 | Murcia<br>
&gt;&gt;<br>
&gt;&gt;   &lt;<a href="http://www.coinfru.com/" target="_blank">http://www.coinfru.com/</a>&gt; <a href="http://www.coinfru.com" target="_blank">www.coinfru.com</a><br>
&gt;<br>
&gt; ________________________________________________________________________<br>
&gt; _<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
</div></div>--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
<div><div></div><div class="h5"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kerem Erciyes - Sistem Danismani<br><a href="http://keremerciyes.com" target="_blank">http://keremerciyes.com</a><br><br><br>